	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i387_supply_fxsave             ## -- Begin function i387_supply_fxsave
	.p2align	4, 0x90
_i387_supply_fxsave:                    ## @i387_supply_fxsave
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %r13d
	movq	%rdi, %r14
	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
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setg	%dil
	callq	_gdb_assert
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r12d
	movq	_I387_MXCSR_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r12d, %ebx
	jle	LBB0_24
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%edx, %edx
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_regcache_raw_supply
	movq	_I387_MXCSR_REGNUM@GOTPCREL(%rip), %rax
LBB0_23:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	movl	(%rax), %ebx
	cmpl	%ebx, %r12d
	jge	LBB0_24
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	cmpl	$-1, %r13d
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r13d, %r12d
	jne	LBB0_23
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_I387_FCTRL_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jl	LBB0_21
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_I387_XMM0_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_I387_FIOFF_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_21
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_I387_FOOFF_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_FXSAVE_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), %r12d
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movb	-43(%rbp), %bl
	andb	$7, %bl
	jmp	LBB0_19
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_FXSAVE_ADDR
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rax, %rdx
	jmp	LBB0_22
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_I387_FTAG_REGNUM@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_20
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_I387_FSTAT_REGNUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_FXSAVE_ADDR
	movb	1(%rax), %al
	shrb	$3, %al
	negb	%al
	movzbl	%al, %r15d
	movl	$7, %r13d
	movl	$14, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	leal	(%r15,%r13), %esi
	andl	$7, %esi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_FXSAVE_ADDR
	movq	%rax, %rdi
	callq	_i387_tag
                                        ## kill: def $eax killed $eax def $rax
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=2
	movl	%r14d, %ecx
	shll	%cl, %eax
	orq	%rax, %rbx
	addl	$-2, %r14d
	addl	$-1, %r13d
	jae	LBB0_18
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	-44(%rbp), %eax
	btl	%r13d, %eax
	jb	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	$3, %eax
	jmp	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	%bl, -44(%rbp)
	shrq	$8, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movb	%bl, -43(%rbp)
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r12d, %esi
	leaq	-44(%rbp), %rdx
	jmp	LBB0_22
LBB0_24:
	cmpl	$-1, %r13d
	je	LBB0_26
## %bb.25:
	cmpl	%r13d, %ebx
	jne	LBB0_30
LBB0_26:
	testq	%r15, %r15
	je	LBB0_27
## %bb.28:
	movq	%r15, %rdi
	callq	_FXSAVE_MXCSR_ADDR
	movq	%rax, %rdx
	jmp	LBB0_29
LBB0_27:
	xorl	%edx, %edx
LBB0_29:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_regcache_raw_supply
LBB0_30:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I386_ST0_REGNUM,8,3            ## @I386_ST0_REGNUM
	.comm	_I387_MXCSR_REGNUM,4,2          ## @I387_MXCSR_REGNUM
	.comm	_I387_FCTRL_REGNUM,4,2          ## @I387_FCTRL_REGNUM
	.comm	_I387_XMM0_REGNUM,4,2           ## @I387_XMM0_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_FTAG_REGNUM,4,2           ## @I387_FTAG_REGNUM
	.comm	_I387_FSTAT_REGNUM,4,2          ## @I387_FSTAT_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_fxsave             ; -- Begin function i387_supply_fxsave
	.p2align	2
_i387_supply_fxsave:                    ; @i387_supply_fxsave
	.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	x20, x2
	mov	x21, x1
	mov	x19, 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	x8, [x22, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_gdb_assert
	ldr	w23, [x22]
Lloh3:
	adrp	x25, _I387_MXCSR_REGNUM@GOTPAGE
Lloh4:
	ldr	x25, [x25, _I387_MXCSR_REGNUM@GOTPAGEOFF]
	ldr	w24, [x25]
	cmp	w24, w23
	b.le	LBB0_22
; %bb.1:
Lloh5:
	adrp	x26, _I387_FCTRL_REGNUM@GOTPAGE
Lloh6:
	ldr	x26, [x26, _I387_FCTRL_REGNUM@GOTPAGEOFF]
Lloh7:
	adrp	x27, _I387_XMM0_REGNUM@GOTPAGE
Lloh8:
	ldr	x27, [x27, _I387_XMM0_REGNUM@GOTPAGEOFF]
Lloh9:
	adrp	x28, _I387_FIOFF_REGNUM@GOTPAGE
Lloh10:
	ldr	x28, [x28, _I387_FIOFF_REGNUM@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x23
	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	w23, w23, #1
	ldr	w24, [x25]
	cmp	w23, w24
	b.ge	LBB0_22
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	cmn	w21, #1
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w23, w21
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x20, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x27]
	ldr	w10, [x28]
Lloh11:
	adrp	x11, _I387_FOOFF_REGNUM@GOTPAGE
Lloh12:
	ldr	x11, [x11, _I387_FOOFF_REGNUM@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
	cmp	w23, w8
	ccmp	w23, w9, #0, ge
	ccmp	w23, w10, #4, lt
	mov	x0, x20
	mov	x1, x23
	ccmp	w23, w11, #4, ne
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_FXSAVE_ADDR
	mov	x2, x0
	b	LBB0_21
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_FXSAVE_ADDR
	mov	x1, x0
	add	x0, sp, #12
	mov	w2, #2
	bl	_memcpy
	strh	wzr, [sp, #14]
Lloh14:
	adrp	x8, _I387_FOP_REGNUM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I387_FOP_REGNUM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [sp, #13]
	and	w8, w8, #0x7
	b	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh17:
	adrp	x8, _I387_FTAG_REGNUM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _I387_FTAG_REGNUM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh20:
	adrp	x8, _I387_FSTAT_REGNUM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _I387_FSTAT_REGNUM@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_FXSAVE_ADDR
	mov	x24, #0
	ldrb	w8, [x0, #1]
	neg	w8, w8, lsr #3
	and	w27, w8, #0xff
	mov	w28, #7
	mov	w26, #14
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=2
	add	w8, w27, w28
	and	w8, w8, #0x7
	ldr	w9, [x22]
	add	w1, w8, w9
	mov	x0, x20
	bl	_FXSAVE_ADDR
	bl	_i387_tag
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	lsl	w8, w0, w26
	orr	x24, x24, x8
	sub	w28, w28, #1
	sub	w26, w26, #2
	cmn	w28, #1
	b.eq	LBB0_18
LBB0_16:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [sp, #12]
	lsr	w8, w8, w28
	tbnz	w8, #0, LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	w0, #3
	b	LBB0_15
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	w24, [sp, #12]
	lsr	x8, x24, #8
Lloh23:
	adrp	x26, _I387_FCTRL_REGNUM@GOTPAGE
Lloh24:
	ldr	x26, [x26, _I387_FCTRL_REGNUM@GOTPAGEOFF]
Lloh25:
	adrp	x27, _I387_XMM0_REGNUM@GOTPAGE
Lloh26:
	ldr	x27, [x27, _I387_XMM0_REGNUM@GOTPAGEOFF]
Lloh27:
	adrp	x28, _I387_FIOFF_REGNUM@GOTPAGE
Lloh28:
	ldr	x28, [x28, _I387_FIOFF_REGNUM@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	strb	w8, [sp, #13]
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x2, sp, #12
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x19
	mov	x1, x23
	b	LBB0_3
LBB0_22:
	cmn	w21, #1
	b.eq	LBB0_24
; %bb.23:
	cmp	w24, w21
	b.ne	LBB0_28
LBB0_24:
	cbz	x20, LBB0_26
; %bb.25:
	mov	x0, x20
	bl	_FXSAVE_MXCSR_ADDR
	mov	x2, x0
	b	LBB0_27
LBB0_26:
	mov	x2, #0
LBB0_27:
	mov	x0, x19
	mov	x1, x24
	bl	_regcache_raw_supply
LBB0_28:
	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	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_I386_ST0_REGNUM,8,3            ; @I386_ST0_REGNUM
	.comm	_I387_MXCSR_REGNUM,4,2          ; @I387_MXCSR_REGNUM
	.comm	_I387_FCTRL_REGNUM,4,2          ; @I387_FCTRL_REGNUM
	.comm	_I387_XMM0_REGNUM,4,2           ; @I387_XMM0_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_FTAG_REGNUM,4,2           ; @I387_FTAG_REGNUM
	.comm	_I387_FSTAT_REGNUM,4,2          ; @I387_FSTAT_REGNUM
	.comm	_I387_ST0_REGNUM,4,2            ; @I387_ST0_REGNUM
.subsections_via_symbols
