	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_masking
_test_masking:                          ## @test_masking
	.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
	xorl	%eax, %eax
	callq	_fegetexcept
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	movq	_FE_INVALID@GOTPCREL(%rip), %r12
	movq	_FE_OVERFLOW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	orl	(%r12), %edi
	callq	_feenableexcept
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	movq	_FE_UNDERFLOW@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_feenableexcept
	andl	(%r15), %eax
	movl	(%rbx), %ecx
	orl	(%r12), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_assert
	movl	(%rbx), %edi
	callq	_fedisableexcept
	andl	(%r15), %eax
	movl	(%rbx), %ecx
	orl	(%r12), %ecx
	orl	(%r14), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetexcept
	andl	(%r15), %eax
	movl	(%r14), %ecx
	orl	(%r12), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_assert
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fedisableexcept
	andl	(%r15), %eax
	movl	(%r14), %ecx
	orl	(%r12), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetexcept
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	leaq	-56(%rbp), %rdi
	callq	_sigemptyset
	movq	$0, -64(%rbp)
	movq	_trap_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_NEXCEPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movb	$1, %r14b
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	$1, %r14b
	movl	$0, %r14d
	je	LBB0_16
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	testl	%eax, %eax
	movl	$0, %eax
	je	LBB0_15
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	%r13d, %edi
	callq	_feraiseexcept
	xorl	%edi, %edi
	callq	_assert
	xorl	%edi, %edi
	callq	_assert
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=2
	leaq	-44(%rbp), %rdi
	callq	_wait
	xorl	%edi, %edi
	testl	%eax, %eax
	setg	%dil
	callq	_assert
	movl	-44(%rbp), %edi
	callq	_WIFEXITED
	testl	%eax, %eax
	je	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	-44(%rbp), %edi
	callq	_WEXITSTATUS
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %edi
	callq	_assert
	incq	%r12
	movq	_NEXCEPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r12
	jae	LBB0_15
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_std_excepts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,4), %r13d
	movq	_FE_INEXACT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	_FE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_FE_DIVBYZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%r13d, %ebx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_fork
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=2
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	callq	_fegetexcept
	xorl	%edi, %edi
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	movl	%r13d, %edi
	callq	_feenableexcept
	xorl	%edi, %edi
	andl	(%r15), %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetexcept
	xorl	%edi, %edi
	cmpl	%r13d, %eax
	sete	%dil
	callq	_assert
	movl	%ebx, %edi
	callq	_raiseexcept
	movl	%ebx, %edi
	callq	_feraiseexcept
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movl	(%r15), %edi
	callq	_fetestexcept
	movslq	%ebx, %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_assert
	movq	_SIGFPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rsi
	xorl	%edx, %edx
	callq	_sigaction
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	testb	$1, %r14b
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r13d, %edi
	callq	_raiseexcept
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
	jmp	LBB0_13
LBB0_16:
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fetestexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALL_STD_EXCEPT,4,2             ## @ALL_STD_EXCEPT
	.comm	_FE_INVALID,4,2                 ## @FE_INVALID
	.comm	_FE_OVERFLOW,4,2                ## @FE_OVERFLOW
	.comm	_FE_UNDERFLOW,4,2               ## @FE_UNDERFLOW
	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.comm	_trap_handler,4,2               ## @trap_handler
	.comm	_NEXCEPTS,4,2                   ## @NEXCEPTS
	.comm	_std_excepts,8,3                ## @std_excepts
	.comm	_FE_INEXACT,4,2                 ## @FE_INEXACT
	.comm	_FE_DIVBYZERO,4,2               ## @FE_DIVBYZERO
	.comm	_SIGFPE,4,2                     ## @SIGFPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"child aborted\n"

	.no_dead_strip	_test_masking
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_masking
_test_masking:                          ; @test_masking
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	bl	_fegetexcept
Lloh0:
	adrp	x22, _ALL_STD_EXCEPT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ALL_STD_EXCEPT@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_assert
Lloh2:
	adrp	x23, _FE_INVALID@GOTPAGE
Lloh3:
	ldr	x23, [x23, _FE_INVALID@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh4:
	adrp	x20, _FE_OVERFLOW@GOTPAGE
Lloh5:
	ldr	x20, [x20, _FE_OVERFLOW@GOTPAGEOFF]
	ldr	w9, [x20]
	orr	w0, w9, w8
	bl	_feenableexcept
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_assert
Lloh6:
	adrp	x19, _FE_UNDERFLOW@GOTPAGE
Lloh7:
	ldr	x19, [x19, _FE_UNDERFLOW@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_feenableexcept
	ldr	w8, [x22]
	and	w8, w8, w0
	ldr	w9, [x23]
	ldr	w10, [x20]
	orr	w9, w10, w9
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w0, [x20]
	bl	_fedisableexcept
	ldr	w8, [x22]
	and	w8, w8, w0
	ldr	w9, [x23]
	ldr	w10, [x20]
	orr	w9, w10, w9
	ldr	w10, [x19]
	orr	w9, w9, w10
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	bl	_fegetexcept
	ldr	w8, [x22]
	and	w8, w8, w0
	ldr	w9, [x23]
	ldr	w10, [x19]
	orr	w9, w10, w9
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
Lloh8:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_fedisableexcept
	ldr	w8, [x22]
	and	w8, w8, w0
	ldr	w9, [x23]
	ldr	w10, [x19]
	orr	w9, w10, w9
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	bl	_fegetexcept
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_assert
	add	x8, sp, #8
	add	x0, x8, #16
	bl	_sigemptyset
	str	xzr, [sp, #16]
Lloh11:
	adrp	x8, _trap_handler@GOTPAGE
Lloh12:
	ldr	x8, [x8, _trap_handler@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh14:
	adrp	x25, _NEXCEPTS@GOTPAGE
Lloh15:
	ldr	x25, [x25, _NEXCEPTS@GOTPAGEOFF]
	ldr	w8, [x25]
	mov	w9, #1
Lloh16:
	adrp	x26, _std_excepts@GOTPAGE
Lloh17:
	ldr	x26, [x26, _std_excepts@GOTPAGEOFF]
Lloh18:
	adrp	x27, _FE_INEXACT@GOTPAGE
Lloh19:
	ldr	x27, [x27, _FE_INEXACT@GOTPAGEOFF]
Lloh20:
	adrp	x28, _FE_DIVBYZERO@GOTPAGE
Lloh21:
	ldr	x28, [x28, _FE_DIVBYZERO@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
	tbz	w19, #0, LBB0_17
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x19, x9
	cbz	w8, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, #0
	b	LBB0_8
LBB0_4:                                 ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x20
	bl	_feraiseexcept
	mov	w0, #0
	bl	_assert
	mov	w0, #0
	bl	_assert
LBB0_5:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x0, sp, #4
	bl	_wait
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
	ldr	w0, [sp, #4]
	bl	_WIFEXITED
	cbz	w0, LBB0_16
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	w0, [sp, #4]
	bl	_WEXITSTATUS
	cmp	w0, #0
	cset	w0, eq
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	bl	_assert
	add	x24, x24, #1
	ldr	w8, [x25]
	cmp	x24, x8
	b.hs	LBB0_1
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x26]
	ldr	w20, [x8, x24, lsl #2]
	ldr	w8, [x27]
	cmp	w20, w8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x28]
	ldr	w9, [x23]
	orr	w21, w9, w8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w8, [x22]
	eor	w21, w8, w20
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=2
	bl	_fork
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=2
	cbnz	w0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=2
	bl	_fegetexcept
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_assert
	mov	x0, x20
	bl	_feenableexcept
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_assert
	bl	_fegetexcept
	cmp	w0, w20
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	bl	_raiseexcept
	mov	x0, x21
	bl	_feraiseexcept
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	ldr	w0, [x22]
	bl	_fetestexcept
	cmp	x0, w21, sxtw
	cset	w0, eq
	bl	_assert
Lloh22:
	adrp	x8, _SIGFPE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SIGFPE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	add	x1, sp, #8
	mov	x2, #0
	bl	_sigaction
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	tbz	w19, #0, LBB0_4
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x20
	bl	_raiseexcept
	b	LBB0_4
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	w0, #0
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	w0, #1
Lloh25:
	adrp	x1, l_.str@PAGE
Lloh26:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
	b	LBB0_6
LBB0_17:
Lloh27:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_fetestexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_ALL_STD_EXCEPT,4,2             ; @ALL_STD_EXCEPT
	.comm	_FE_INVALID,4,2                 ; @FE_INVALID
	.comm	_FE_OVERFLOW,4,2                ; @FE_OVERFLOW
	.comm	_FE_UNDERFLOW,4,2               ; @FE_UNDERFLOW
	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.comm	_trap_handler,4,2               ; @trap_handler
	.comm	_NEXCEPTS,4,2                   ; @NEXCEPTS
	.comm	_std_excepts,8,3                ; @std_excepts
	.comm	_FE_INEXACT,4,2                 ; @FE_INEXACT
	.comm	_FE_DIVBYZERO,4,2               ; @FE_DIVBYZERO
	.comm	_SIGFPE,4,2                     ; @SIGFPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"child aborted\n"

	.no_dead_strip	_test_masking
.subsections_via_symbols
