	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_fegsetexceptflag
_test_fegsetexceptflag:                 ## @test_fegsetexceptflag
	.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
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_fetestexcept
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_NEXCEPTS@GOTPCREL(%rip), %rax
	cmpl	$31, (%rax)
	je	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_std_except_sets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r13,4), %ebx
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_fegetexceptflag
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_raiseexcept
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_fesetexceptflag
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	(%r12), %edi
	callq	_fetestexcept
	movl	(%r12), %ecx
	xorl	%ebx, %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_assert
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_fegetexceptflag
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	(%r14), %edi
	callq	_feclearexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_fesetexceptflag
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	(%r12), %edi
	callq	_fetestexcept
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	(%r12), %esi
	xorl	%ebx, %esi
	movq	%r15, %rdi
	callq	_fesetexceptflag
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	(%r12), %edi
	callq	_fetestexcept
	xorl	(%r12), %ebx
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	sete	%dil
	callq	_assert
	movl	(%r14), %edi
	callq	_feclearexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	_NEXCEPTS@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shll	%cl, %eax
	incq	%r13
	cltq
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.comm	_NEXCEPTS,4,2                   ## @NEXCEPTS
	.comm	_std_except_sets,8,3            ## @std_except_sets
	.comm	_ALL_STD_EXCEPT,4,2             ## @ALL_STD_EXCEPT
	.no_dead_strip	_test_fegsetexceptflag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_fegsetexceptflag
_test_fegsetexceptflag:                 ; @test_fegsetexceptflag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x20, _FE_ALL_EXCEPT@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FE_ALL_EXCEPT@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_fetestexcept
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
Lloh2:
	adrp	x21, _NEXCEPTS@GOTPAGE
Lloh3:
	ldr	x21, [x21, _NEXCEPTS@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #31
	b.eq	LBB0_3
; %bb.1:
	mov	x22, #0
Lloh4:
	adrp	x23, _std_except_sets@GOTPAGE
Lloh5:
	ldr	x23, [x23, _std_except_sets@GOTPAGEOFF]
Lloh6:
	adrp	x24, _ALL_STD_EXCEPT@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ALL_STD_EXCEPT@GOTPAGEOFF]
	mov	w25, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w19, [x8, x22, lsl #2]
	add	x0, sp, #12
	mov	x1, x19
	bl	_fegetexceptflag
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x24]
	bl	_raiseexcept
	add	x0, sp, #12
	mov	x1, x19
	bl	_fesetexceptflag
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x24]
	bl	_fetestexcept
	ldr	w8, [x24]
	eor	w8, w8, w19
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	w1, [x20]
	add	x0, sp, #12
	bl	_fegetexceptflag
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20]
	bl	_feclearexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	add	x0, sp, #12
	mov	x1, x19
	bl	_fesetexceptflag
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x24]
	bl	_fetestexcept
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w8, [x24]
	eor	w1, w8, w19
	add	x0, sp, #12
	bl	_fesetexceptflag
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x24]
	bl	_fetestexcept
	ldr	w8, [x24]
	eor	w8, w8, w19
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20]
	bl	_feclearexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	add	x22, x22, #1
	ldr	w8, [x21]
	lsl	w8, w25, w8
	cmp	x22, w8, sxtw
	b.lt	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.comm	_NEXCEPTS,4,2                   ; @NEXCEPTS
	.comm	_std_except_sets,8,3            ; @std_except_sets
	.comm	_ALL_STD_EXCEPT,4,2             ; @ALL_STD_EXCEPT
	.no_dead_strip	_test_fegsetexceptflag
.subsections_via_symbols
