	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_fegsetround
_test_fegsetround:                      ## @test_fegsetround
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_fegetround
	movq	_FE_TONEAREST@GOTPCREL(%rip), %r14
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_getround
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	movq	_FLT_ROUNDS@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpl	$1, (%r15)
	sete	%dil
	callq	_assert
	movq	_FE_DOWNWARD@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_fesetround
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetround
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_getround
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$3, (%r15)
	sete	%dil
	callq	_assert
	movq	_FE_UPWARD@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_fesetround
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_getround
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetround
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$2, (%r15)
	sete	%dil
	callq	_assert
	movq	_FE_TOWARDZERO@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_fesetround
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_getround
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_fegetround
	xorl	%edi, %edi
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$0, (%r15)
	sete	%dil
	callq	_assert
	movq	(%r14), %rdi
	callq	_fesetround
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_getround
	xorl	%edi, %edi
	cmpq	(%r14), %rax
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpl	$1, (%r15)
	sete	%dil
	callq	_assert
	movq	_FE_ALL_EXCEPT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_feclearexcept
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_TONEAREST,8,3               ## @FE_TONEAREST
	.comm	_FLT_ROUNDS,4,2                 ## @FLT_ROUNDS
	.comm	_FE_DOWNWARD,8,3                ## @FE_DOWNWARD
	.comm	_FE_UPWARD,8,3                  ## @FE_UPWARD
	.comm	_FE_TOWARDZERO,8,3              ## @FE_TOWARDZERO
	.comm	_FE_ALL_EXCEPT,4,2              ## @FE_ALL_EXCEPT
	.no_dead_strip	_test_fegsetround
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_fegsetround
_test_fegsetround:                      ; @test_fegsetround
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_fegetround
Lloh0:
	adrp	x19, _FE_TONEAREST@GOTPAGE
Lloh1:
	ldr	x19, [x19, _FE_TONEAREST@GOTPAGEOFF]
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	bl	_getround
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
Lloh2:
	adrp	x20, _FLT_ROUNDS@GOTPAGE
Lloh3:
	ldr	x20, [x20, _FLT_ROUNDS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	cset	w0, eq
	bl	_assert
Lloh4:
	adrp	x21, _FE_DOWNWARD@GOTPAGE
Lloh5:
	ldr	x21, [x21, _FE_DOWNWARD@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_fesetround
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	bl	_fegetround
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	bl	_getround
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #3
	cset	w0, eq
	bl	_assert
Lloh6:
	adrp	x21, _FE_UPWARD@GOTPAGE
Lloh7:
	ldr	x21, [x21, _FE_UPWARD@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_fesetround
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	bl	_getround
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	bl	_fegetround
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #2
	cset	w0, eq
	bl	_assert
Lloh8:
	adrp	x21, _FE_TOWARDZERO@GOTPAGE
Lloh9:
	ldr	x21, [x21, _FE_TOWARDZERO@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_fesetround
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	bl	_getround
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	bl	_fegetround
	ldr	x8, [x21]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #0
	cset	w0, eq
	bl	_assert
	ldr	x0, [x19]
	bl	_fesetround
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	bl	_getround
	ldr	x8, [x19]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	ldr	w8, [x20]
	cmp	w8, #1
	cset	w0, eq
	bl	_assert
Lloh10:
	adrp	x8, _FE_ALL_EXCEPT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FE_ALL_EXCEPT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_feclearexcept
	cmp	x0, #0
	cset	w0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_assert
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_TONEAREST,8,3               ; @FE_TONEAREST
	.comm	_FLT_ROUNDS,4,2                 ; @FLT_ROUNDS
	.comm	_FE_DOWNWARD,8,3                ; @FE_DOWNWARD
	.comm	_FE_UPWARD,8,3                  ; @FE_UPWARD
	.comm	_FE_TOWARDZERO,8,3              ; @FE_TOWARDZERO
	.comm	_FE_ALL_EXCEPT,4,2              ; @FE_ALL_EXCEPT
	.no_dead_strip	_test_fegsetround
.subsections_via_symbols
