	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_feholdexcept                   ## -- Begin function feholdexcept
	.p2align	4, 0x90
_feholdexcept:                          ## @feholdexcept
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	___fnstenv
	xorl	%eax, %eax
	callq	___fnclex
	xorl	%eax, %eax
	callq	___HAS_SSE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-20(%rbp), %r14
	movq	%r14, %rdi
	callq	___stmxcsr
	movl	(%rbx), %edi
	movl	-20(%rbp), %esi
	callq	___set_mxcsr
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %edx
	notl	%edx
	movq	__SSE_EMASK_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	andl	-20(%rbp), %edx
	orl	%edx, %eax
	movl	%eax, -20(%rbp)
	movq	%r14, %rdi
	callq	___ldmxcsr
LBB0_2:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.comm	__SSE_EMASK_SHIFT,4,2           ## @_SSE_EMASK_SHIFT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_feholdexcept                   ; -- Begin function feholdexcept
	.p2align	2
_feholdexcept:                          ; @feholdexcept
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	___fnstenv
	bl	___fnclex
	bl	___HAS_SSE
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, sp, #12
	bl	___stmxcsr
	ldr	w0, [x19]
	ldr	w1, [sp, #12]
	bl	___set_mxcsr
Lloh0:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w9, w9, w8
Lloh3:
	adrp	x10, __SSE_EMASK_SHIFT@GOTPAGE
Lloh4:
	ldr	x10, [x10, __SSE_EMASK_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w8, w8, w10
	orr	w8, w8, w9
	str	w8, [sp, #12]
	add	x0, sp, #12
	bl	___ldmxcsr
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.comm	__SSE_EMASK_SHIFT,4,2           ; @_SSE_EMASK_SHIFT
.subsections_via_symbols
