	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fputrap_x87                    ## -- Begin function fputrap_x87
	.p2align	4, 0x90
_fputrap_x87:                           ## @fputrap_x87
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	xorl	%eax, %eax
	callq	_critical_enter
	movq	_fpcurthread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PCPU_GET
	movq	_curthread@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	leaq	-8(%rbp), %rdi
	callq	_fnstcw
	leaq	-4(%rbp), %rdi
	callq	_fnstsw
	jmp	LBB0_3
LBB0_1:
	movq	_curpcb@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movl	%ecx, -8(%rbp)
	movl	4(%rax), %eax
	movl	%eax, -4(%rbp)
LBB0_3:
	xorl	%eax, %eax
	callq	_critical_exit
	movq	_fpetable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	-8(%rbp), %ecx
	andl	$63, %ecx
	xorl	$127, %ecx
	andl	-4(%rbp), %ecx
	movl	(%rax,%rcx,4), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fpcurthread,4,2                ## @fpcurthread
	.comm	_curthread,8,3                  ## @curthread
	.comm	_curpcb,8,3                     ## @curpcb
	.comm	_fpetable,8,3                   ## @fpetable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fputrap_x87                    ; -- Begin function fputrap_x87
	.p2align	2
_fputrap_x87:                           ; @fputrap_x87
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_critical_enter
Lloh0:
	adrp	x8, _fpcurthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fpcurthread@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_PCPU_GET
Lloh3:
	adrp	x8, _curthread@GOTPAGE
Lloh4:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	sub	x0, x29, #4
	bl	_fnstcw
	add	x0, sp, #8
	bl	_fnstsw
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _curpcb@GOTPAGE
Lloh7:
	ldr	x8, [x8, _curpcb@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	w9, w8, [x8]
	stur	w9, [x29, #-4]
	str	w8, [sp, #8]
LBB0_3:
	bl	_critical_exit
Lloh9:
	adrp	x8, _fpetable@GOTPAGE
Lloh10:
	ldr	x8, [x8, _fpetable@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	ldr	w9, [sp, #8]
	ldur	w10, [x29, #-4]
	and	w10, w10, #0x3f
	eor	w10, w10, #0x7f
	and	x9, x10, x9
	ldr	w0, [x8, x9, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_fpcurthread,4,2                ; @fpcurthread
	.comm	_curthread,8,3                  ; @curthread
	.comm	_curpcb,8,3                     ; @curpcb
	.comm	_fpetable,8,3                   ; @fpetable
.subsections_via_symbols
