	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ia32_set_fpcontext
_ia32_set_fpcontext:                    ## @ia32_set_fpcontext
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rsi), %rax
	movq	__MC_FPFMT_NODEV@GOTPCREL(%rip), %r8
	xorl	%r14d, %r14d
	cmpq	(%r8), %rax
	je	LBB0_7
## %bb.1:
	movq	__MC_FPFMT_XMM@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_6
## %bb.2:
	movq	8(%rsi), %rax
	movq	__MC_FPOWNED_NONE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_4
## %bb.3:
	callq	_fpstate_drop
	jmp	LBB0_7
LBB0_4:
	movq	__MC_FPOWNED_FPU@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_8
## %bb.5:
	movq	__MC_FPOWNED_PCB@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_8
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	addq	$16, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_fpusetregs                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__MC_FPFMT_NODEV,8,3            ## @_MC_FPFMT_NODEV
	.comm	__MC_FPFMT_XMM,8,3              ## @_MC_FPFMT_XMM
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	__MC_FPOWNED_NONE,8,3           ## @_MC_FPOWNED_NONE
	.comm	__MC_FPOWNED_FPU,8,3            ## @_MC_FPOWNED_FPU
	.comm	__MC_FPOWNED_PCB,8,3            ## @_MC_FPOWNED_PCB
	.no_dead_strip	_ia32_set_fpcontext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ia32_set_fpcontext
_ia32_set_fpcontext:                    ; @ia32_set_fpcontext
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
Lloh0:
	adrp	x9, __MC_FPFMT_NODEV@GOTPAGE
Lloh1:
	ldr	x9, [x9, __MC_FPFMT_NODEV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x9, __MC_FPFMT_XMM@GOTPAGE
Lloh4:
	ldr	x9, [x9, __MC_FPFMT_XMM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldr	x8, [x1, #8]
Lloh6:
	adrp	x9, __MC_FPOWNED_NONE@GOTPAGE
Lloh7:
	ldr	x9, [x9, __MC_FPOWNED_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	bl	_fpstate_drop
	b	LBB0_1
LBB0_5:
Lloh9:
	adrp	x9, __MC_FPOWNED_FPU@GOTPAGE
Lloh10:
	ldr	x9, [x9, __MC_FPOWNED_FPU@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, __MC_FPOWNED_PCB@GOTPAGE
Lloh13:
	ldr	x10, [x10, __MC_FPOWNED_PCB@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_7
; %bb.6:
	add	x1, x1, #16
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_fpusetregs
LBB0_7:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	__MC_FPFMT_NODEV,8,3            ; @_MC_FPFMT_NODEV
	.comm	__MC_FPFMT_XMM,8,3              ; @_MC_FPFMT_XMM
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	__MC_FPOWNED_NONE,8,3           ; @_MC_FPOWNED_NONE
	.comm	__MC_FPOWNED_FPU,8,3            ; @_MC_FPOWNED_FPU
	.comm	__MC_FPOWNED_PCB,8,3            ; @_MC_FPOWNED_PCB
	.no_dead_strip	_ia32_set_fpcontext
.subsections_via_symbols
