	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i387_supply_fsave              ## -- Begin function i387_supply_fsave
	.p2align	4, 0x90
_i387_supply_fsave:                     ## @i387_supply_fsave
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r15
	callq	_get_regcache_arch
	movl	%eax, %edi
	callq	_gdbarch_tdep
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_I386_ST0_REGNUM@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setge	%dil
	callq	_gdb_assert
	movl	(%rbx), %ebx
	movq	_I387_XMM0_REGNUM@GOTPCREL(%rip), %r13
	cmpl	%ebx, (%r13)
	jg	LBB0_1
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_regcache_raw_supply
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_14
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, %r12d
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%ebx, %r12d
	jne	LBB0_13
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r14, %r14
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_I387_FCTRL_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_I387_FIOFF_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_I387_FOOFF_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_FSAVE_ADDR
	leaq	-44(%rbp), %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_memcpy
	movw	$0, -42(%rbp)
	movq	_I387_FOP_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	andb	$7, -43(%rbp)
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-44(%rbp), %rdx
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_FSAVE_ADDR
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_I386_ST0_REGNUM,8,3            ## @I386_ST0_REGNUM
	.comm	_I387_XMM0_REGNUM,4,2           ## @I387_XMM0_REGNUM
	.comm	_I387_FCTRL_REGNUM,4,2          ## @I387_FCTRL_REGNUM
	.comm	_I387_FIOFF_REGNUM,4,2          ## @I387_FIOFF_REGNUM
	.comm	_I387_FOOFF_REGNUM,4,2          ## @I387_FOOFF_REGNUM
	.comm	_I387_FOP_REGNUM,4,2            ## @I387_FOP_REGNUM
	.comm	_I387_ST0_REGNUM,4,2            ## @I387_ST0_REGNUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i387_supply_fsave              ; -- Begin function i387_supply_fsave
	.p2align	2
_i387_supply_fsave:                     ; @i387_supply_fsave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_get_regcache_arch
	bl	_gdbarch_tdep
	mov	x22, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _I386_ST0_REGNUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I386_ST0_REGNUM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
	bl	_gdb_assert
	ldr	w22, [x22]
Lloh3:
	adrp	x23, _I387_XMM0_REGNUM@GOTPAGE
Lloh4:
	ldr	x23, [x23, _I387_XMM0_REGNUM@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w22
	b.le	LBB0_14
; %bb.1:
Lloh5:
	adrp	x24, _I387_FCTRL_REGNUM@GOTPAGE
Lloh6:
	ldr	x24, [x24, _I387_FCTRL_REGNUM@GOTPAGEOFF]
Lloh7:
	adrp	x25, _I387_FIOFF_REGNUM@GOTPAGE
Lloh8:
	ldr	x25, [x25, _I387_FIOFF_REGNUM@GOTPAGEOFF]
Lloh9:
	adrp	x26, _I387_FOOFF_REGNUM@GOTPAGE
Lloh10:
	ldr	x26, [x26, _I387_FOOFF_REGNUM@GOTPAGEOFF]
Lloh11:
	adrp	x27, _I387_FOP_REGNUM@GOTPAGE
Lloh12:
	ldr	x27, [x27, _I387_FOP_REGNUM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, #0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_regcache_raw_supply
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
	ldr	w8, [x23]
	cmp	w22, w8
	b.ge	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmn	w20, #1
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w20, w22
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x19, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	ldr	w10, [x26]
	cmp	w22, w8
	ccmp	w22, w9, #4, ge
	mov	x0, x19
	mov	x1, x22
	ccmp	w22, w10, #4, ne
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_FSAVE_ADDR
	mov	x2, x0
	b	LBB0_13
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_FSAVE_ADDR
	mov	x1, x0
	add	x0, sp, #12
	mov	w2, #2
	bl	_memcpy
	strh	wzr, [sp, #14]
	ldr	w8, [x27]
	cmp	w22, w8
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [sp, #13]
	and	w8, w8, #0x7
	strb	w8, [sp, #13]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #12
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	mov	x1, x22
	b	LBB0_3
LBB0_14:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_I386_ST0_REGNUM,8,3            ; @I386_ST0_REGNUM
	.comm	_I387_XMM0_REGNUM,4,2           ; @I387_XMM0_REGNUM
	.comm	_I387_FCTRL_REGNUM,4,2          ; @I387_FCTRL_REGNUM
	.comm	_I387_FIOFF_REGNUM,4,2          ; @I387_FIOFF_REGNUM
	.comm	_I387_FOOFF_REGNUM,4,2          ; @I387_FOOFF_REGNUM
	.comm	_I387_FOP_REGNUM,4,2            ; @I387_FOP_REGNUM
	.comm	_I387_ST0_REGNUM,4,2            ; @I387_ST0_REGNUM
.subsections_via_symbols
