	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_feholdupdate
_test_feholdupdate:                     ## @test_feholdupdate
	.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
	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), %r12
	cmpl	$0, (%r12)
	je	LBB0_26
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %edi
	callq	_WEXITSTATUS
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_assert
	incq	%r15
	movl	(%r12), %eax
	cmpq	%rax, %r15
	jae	LBB0_15
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_std_excepts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %r14d
	movq	_FE_INEXACT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_FE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_FE_DIVBYZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r14d, %r13d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fork
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	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
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
	jmp	LBB0_13
LBB0_15:
	testl	%eax, %eax
	je	LBB0_26
## %bb.16:
	xorl	%r15d, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	-44(%rbp), %edi
	callq	_WEXITSTATUS
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
LBB0_25:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	%ebx, %edi
	callq	_assert
	incq	%r15
	movl	(%r12), %eax
	cmpq	%rax, %r15
	jae	LBB0_26
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	_std_excepts@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r15,4), %r14d
	movq	_FE_INEXACT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_FE_INVALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_FE_DIVBYZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r14d, %r13d
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fork
	cmpl	$-1, %eax
	je	LBB0_25
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	testl	%eax, %eax
	je	LBB0_27
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	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
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$1, %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
	jmp	LBB0_24
LBB0_26:
	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
LBB0_7:
	movl	$1, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_27:
	movl	%r14d, %edi
	callq	_feenableexcept
	xorl	%edi, %edi
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	sete	%dil
	callq	_assert
	movb	$1, %bl
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r13d, %edi
	callq	_raiseexcept
	movq	_FE_DOWNWARD@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_fesetround
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	leaq	-48(%rbp), %rdi
	callq	_feholdexcept
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fetestexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movl	%r14d, %edi
	callq	_raiseexcept
	movq	_FE_UPWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fesetround
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	testb	%bl, %bl
	je	LBB0_10
## %bb.9:
	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
LBB0_10:
	leaq	-48(%rbp), %rdi
	callq	_feupdateenv
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetround
	xorl	%edi, %edi
	cmpl	(%r12), %eax
	sete	%dil
	callq	_assert
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fetestexcept
	orl	%r14d, %r13d
	movslq	%r13d, %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_assert
	movl	%r15d, %edi
	callq	_assert
	xorl	%edi, %edi
	callq	__exit
	.cfi_endproc
                                        ## -- End function
	.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	_FE_INVALID,4,2                 ## @FE_INVALID
	.comm	_ALL_STD_EXCEPT,4,2             ## @ALL_STD_EXCEPT
	.comm	_FE_DOWNWARD,4,2                ## @FE_DOWNWARD
	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.comm	_FE_UPWARD,4,2                  ## @FE_UPWARD
	.comm	_SIGFPE,4,2                     ## @SIGFPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"child aborted\n"

	.no_dead_strip	_test_feholdupdate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_feholdupdate
_test_feholdupdate:                     ; @test_feholdupdate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	add	x8, sp, #16
	add	x0, x8, #16
	bl	_sigemptyset
Lloh0:
	adrp	x8, _trap_handler@GOTPAGE
Lloh1:
	ldr	x8, [x8, _trap_handler@GOTPAGEOFF]
	str	xzr, [sp, #24]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #16]
Lloh3:
	adrp	x23, _NEXCEPTS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _NEXCEPTS@GOTPAGEOFF]
	ldr	w8, [x23]
	cbz	w8, LBB0_24
; %bb.1:
	mov	x28, #0
Lloh5:
	adrp	x24, _std_excepts@GOTPAGE
Lloh6:
	ldr	x24, [x24, _std_excepts@GOTPAGEOFF]
Lloh7:
	adrp	x25, _FE_INEXACT@GOTPAGE
Lloh8:
	ldr	x25, [x25, _FE_INEXACT@GOTPAGEOFF]
Lloh9:
	adrp	x26, _FE_DIVBYZERO@GOTPAGE
Lloh10:
	ldr	x26, [x26, _FE_DIVBYZERO@GOTPAGEOFF]
Lloh11:
	adrp	x27, _FE_INVALID@GOTPAGE
Lloh12:
	ldr	x27, [x27, _FE_INVALID@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str@PAGE
Lloh14:
	add	x21, x21, l_.str@PAGEOFF
Lloh15:
	adrp	x22, _ALL_STD_EXCEPT@GOTPAGE
Lloh16:
	ldr	x22, [x22, _ALL_STD_EXCEPT@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_assert
	add	x28, x28, #1
	ldr	w8, [x23]
	cmp	x28, x8
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w19, [x8, x28, lsl #2]
	ldr	w8, [x25]
	cmp	w19, w8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w20, w9, w8
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	eor	w20, w8, w19
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_fork
	cmn	w0, #1
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w0, LBB0_25
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_wait
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
	ldr	w0, [sp, #12]
	bl	_WIFEXITED
	cbnz	w0, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_errx
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #12]
	bl	_WEXITSTATUS
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_3
LBB0_12:
	cbz	w8, LBB0_24
; %bb.13:
	mov	x28, #0
Lloh17:
	adrp	x21, l_.str@PAGE
Lloh18:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #0
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_assert
	add	x28, x28, #1
	ldr	w8, [x23]
	cmp	x28, x8
	b.hs	LBB0_24
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	w19, [x8, x28, lsl #2]
	ldr	w8, [x25]
	cmp	w19, w8
	b.ne	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x27]
	orr	w20, w9, w8
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w8, [x22]
	eor	w20, w8, w19
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_fork
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	cbz	w0, LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	add	x0, sp, #12
	bl	_wait
	cmp	w0, #0
	cset	w0, gt
	bl	_assert
	ldr	w0, [sp, #12]
	bl	_WIFEXITED
	cbnz	w0, LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #1
	mov	x1, x21
	bl	_errx
LBB0_23:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	w0, [sp, #12]
	bl	_WEXITSTATUS
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_15
LBB0_24:
Lloh19:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_fetestexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_25:
	mov	w24, #0
	mov	w21, #1
	b	LBB0_27
LBB0_26:
	mov	x0, x19
	bl	_feenableexcept
	ldr	w8, [x22]
	tst	w8, w0
	cset	w0, eq
	bl	_assert
	mov	w21, #0
	mov	w24, #1
LBB0_27:
	mov	x0, x20
	bl	_raiseexcept
Lloh22:
	adrp	x23, _FE_DOWNWARD@GOTPAGE
Lloh23:
	ldr	x23, [x23, _FE_DOWNWARD@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_fesetround
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	add	x0, sp, #44
	bl	_feholdexcept
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
Lloh24:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	bl	_fetestexcept
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_raiseexcept
Lloh27:
	adrp	x8, _FE_UPWARD@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FE_UPWARD@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_fesetround
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	cbz	w24, LBB0_29
; %bb.28:
Lloh30:
	adrp	x8, _SIGFPE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SIGFPE@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x1, sp, #16
	mov	x2, #0
	bl	_sigaction
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
LBB0_29:
	add	x0, sp, #44
	bl	_feupdateenv
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
	bl	_fegetround
	ldr	w8, [x23]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldr	w0, [x22]
	bl	_fetestexcept
	orr	w8, w20, w19
	cmp	x0, w8, sxtw
	cset	w0, eq
	bl	_assert
	mov	x0, x21
	bl	_assert
	mov	w0, #0
	bl	__exit
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.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	_FE_INVALID,4,2                 ; @FE_INVALID
	.comm	_ALL_STD_EXCEPT,4,2             ; @ALL_STD_EXCEPT
	.comm	_FE_DOWNWARD,4,2                ; @FE_DOWNWARD
	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.comm	_FE_UPWARD,4,2                  ; @FE_UPWARD
	.comm	_SIGFPE,4,2                     ; @SIGFPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"child aborted\n"

	.no_dead_strip	_test_feholdupdate
.subsections_via_symbols
