	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i387_fill_fsave                ## -- Begin function i387_fill_fsave
	.p2align	4, 0x90
_i387_fill_fsave:                       ## @i387_fill_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
	movl	%esi, %r12d
	movq	%rdi, %r14
	movq	_current_regcache@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_current_gdbarch@GOTPCREL(%rip), %rax
	movl	(%rax), %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_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_9:                                 ##   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
	xorl	%eax, %eax
	callq	_regcache_raw_collect
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_11
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_10
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_I387_FCTRL_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jl	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_I387_FIOFF_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_I387_FOOFF_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	leaq	-44(%rbp), %rdx
	xorl	%eax, %eax
	callq	_regcache_raw_collect
	movq	_I387_FOP_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	andb	$7, -43(%rbp)
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_FSAVE_ADDR
	movzbl	4(%rax), %eax
	andb	$-8, %al
	orb	%al, -43(%rbp)
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_FSAVE_ADDR
	movq	%rax, %rdi
	leaq	-44(%rbp), %rsi
	movl	$2, %edx
	callq	_memcpy
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_current_regcache,8,3           ## @current_regcache
	.comm	_current_gdbarch,4,2            ## @current_gdbarch
	.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_fill_fsave                ; -- Begin function i387_fill_fsave
	.p2align	2
_i387_fill_fsave:                       ; @i387_fill_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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _current_regcache@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current_regcache@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
Lloh3:
	adrp	x8, _current_gdbarch@GOTPAGE
Lloh4:
	ldr	x8, [x8, _current_gdbarch@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_gdbarch_tdep
	mov	x22, x0
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _I386_ST0_REGNUM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _I386_ST0_REGNUM@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ge
	bl	_gdb_assert
	ldr	w22, [x22]
Lloh9:
	adrp	x23, _I387_XMM0_REGNUM@GOTPAGE
Lloh10:
	ldr	x23, [x23, _I387_XMM0_REGNUM@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w22
	b.le	LBB0_10
; %bb.1:
Lloh11:
	adrp	x24, _I387_FCTRL_REGNUM@GOTPAGE
Lloh12:
	ldr	x24, [x24, _I387_FCTRL_REGNUM@GOTPAGEOFF]
Lloh13:
	adrp	x25, _I387_FIOFF_REGNUM@GOTPAGE
Lloh14:
	ldr	x25, [x25, _I387_FIOFF_REGNUM@GOTPAGEOFF]
Lloh15:
	adrp	x26, _I387_FOOFF_REGNUM@GOTPAGE
Lloh16:
	ldr	x26, [x26, _I387_FOOFF_REGNUM@GOTPAGEOFF]
	add	x27, sp, #12
Lloh17:
	adrp	x28, _I387_FOP_REGNUM@GOTPAGE
Lloh18:
	ldr	x28, [x28, _I387_FOP_REGNUM@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_FSAVE_ADDR
	str	x0, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_regcache_raw_collect
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	ldr	w8, [x23]
	cmp	w22, w8
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmn	w19, #1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w19, w22
	b.ne	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x25]
	ldr	w10, [x26]
	cmp	w22, w8
	ccmp	w22, w9, #4, ge
	ccmp	w22, w10, #4, ne
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x27, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_regcache_raw_collect
	ldr	w8, [x28]
	cmp	w22, w8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [sp, #13]
	and	w8, w8, #0x7
	strb	w8, [sp, #13]
	mov	x0, x20
	mov	x1, x22
	bl	_FSAVE_ADDR
	ldrb	w8, [x0, #4]
	ldrb	w9, [sp, #13]
	and	w8, w8, #0xf8
	orr	w8, w8, w9
	strb	w8, [sp, #13]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_FSAVE_ADDR
	add	x1, sp, #12
	mov	w2, #2
	bl	_memcpy
	b	LBB0_3
LBB0_10:
	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	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_current_regcache,8,3           ; @current_regcache
	.comm	_current_gdbarch,4,2            ; @current_gdbarch
	.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
