	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FE_TONEAREST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_FE_UPWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_FE_DOWNWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_FE_TOWARDZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	-64(%rbp), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_1
## %bb.17:
	leaq	L_.str.1(%rip), %r14
	leaq	L_.str.2(%rip), %r15
	leaq	-64(%rbp), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rbx
	incq	%r13
	movl	-64(%rbp,%rbx,4), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-64(%rbp,%rbx,4), %edi
	callq	_fesetround
	xorl	%eax, %eax
	callq	_test_zeroes
	movq	%r15, %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	%r12, %rdi
	callq	_nitems
	movl	%eax, %eax
	cmpq	%rax, %r13
	jb	LBB0_18
## %bb.2:
	incl	%r13d
	jmp	LBB0_3
LBB0_1:
	movl	$1, %r13d
LBB0_3:
	leaq	-64(%rbp), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	leaq	L_.str.3(%rip), %r14
	leaq	-64(%rbp), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rbx,%r13), %esi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	incl	%ebx
	movq	%r15, %rdi
	callq	_nitems
	cmpl	%eax, %ebx
	jb	LBB0_5
## %bb.6:
	addl	%ebx, %r13d
LBB0_7:
	movq	_FE_TONEAREST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fesetround
	xorl	%eax, %eax
	callq	_test_nans
	leaq	L_.str.4(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	incl	%r13d
	leaq	-64(%rbp), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_11
## %bb.8:
	movl	%r13d, %r14d
	leaq	-64(%rbp), %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r15), %ebx
	movl	-64(%rbp,%r15,4), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-64(%rbp,%r15,4), %edi
	callq	_fesetround
	xorl	%eax, %eax
	callq	_test_small_z
	leaq	L_.str.5(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	incq	%r15
	movq	%r12, %rdi
	callq	_nitems
	movl	%eax, %eax
	cmpq	%rax, %r15
	jb	LBB0_9
## %bb.10:
	addl	%r15d, %r13d
LBB0_11:
	leaq	-64(%rbp), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movl	%r13d, %r14d
	leaq	-64(%rbp), %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r14,%r15), %ebx
	movl	-64(%rbp,%r15,4), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movl	-64(%rbp,%r15,4), %edi
	callq	_fesetround
	xorl	%eax, %eax
	callq	_test_big_z
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_printf
	incq	%r15
	movq	%r12, %rdi
	callq	_nitems
	movl	%eax, %eax
	cmpq	%rax, %r15
	jb	LBB0_13
## %bb.14:
	addl	%r15d, %r13d
LBB0_15:
	movq	_FE_TONEAREST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fesetround
	xorl	%eax, %eax
	callq	_test_accuracy
	leaq	L_.str.7(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	incl	%r13d
	xorl	%eax, %eax
	callq	_test_double_rounding
	leaq	L_.str.8(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.16:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_TONEAREST,4,2               ## @FE_TONEAREST
	.comm	_FE_UPWARD,4,2                  ## @FE_UPWARD
	.comm	_FE_DOWNWARD,4,2                ## @FE_DOWNWARD
	.comm	_FE_TOWARDZERO,4,2              ## @FE_TOWARDZERO
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"rmode = %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"ok %d - fma zeroes\n"

L_.str.3:                               ## @.str.3
	.asciz	"ok %d # SKIP testcase fails assertion on amd64\n"

L_.str.4:                               ## @.str.4
	.asciz	"ok %d - fma NaNs\n"

L_.str.5:                               ## @.str.5
	.asciz	"ok %d - fma small z\n"

L_.str.6:                               ## @.str.6
	.asciz	"ok %d - fma big z\n"

L_.str.7:                               ## @.str.7
	.asciz	"ok %d - fma accuracy\n"

L_.str.8:                               ## @.str.8
	.asciz	"ok %d - fma double rounding\n"

L_str:                                  ## @str
	.asciz	"1..19"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x21, _FE_TONEAREST@GOTPAGE
Lloh4:
	ldr	x21, [x21, _FE_TONEAREST@GOTPAGEOFF]
Lloh5:
	adrp	x8, _FE_UPWARD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FE_UPWARD@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh7:
	ldr	w8, [x8]
	stp	w9, w8, [sp, #8]
Lloh8:
	adrp	x8, _FE_DOWNWARD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FE_DOWNWARD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _FE_TOWARDZERO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FE_TOWARDZERO@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh14:
	adrp	x0, l_str@PAGE
Lloh15:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	add	x22, sp, #8
	add	x0, sp, #8
	bl	_nitems
	cbz	w0, LBB0_4
; %bb.1:
	mov	x23, #0
Lloh16:
	adrp	x19, l_.str.1@PAGE
Lloh17:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh18:
	adrp	x20, l_.str.2@PAGE
Lloh19:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x24, x23, #1
	lsl	x23, x23, #2
	ldr	w8, [x22, x23]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	w0, [x22, x23]
	bl	_fesetround
	bl	_test_zeroes
	str	x24, [sp]
	mov	x0, x20
	bl	_printf
	mov	x23, x24
	add	x0, sp, #8
	bl	_nitems
	cmp	x24, w0, uxtw
	b.lo	LBB0_2
; %bb.3:
	add	w22, w23, #1
	b	LBB0_5
LBB0_4:
	mov	w22, #1
LBB0_5:
	add	x23, sp, #8
	add	x0, sp, #8
	bl	_nitems
	cbz	w0, LBB0_9
; %bb.6:
	mov	x24, #0
	mov	w25, w22
Lloh20:
	adrp	x19, l_.str.1@PAGE
Lloh21:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh22:
	adrp	x20, l_.str.3@PAGE
Lloh23:
	add	x20, x20, l_.str.3@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	x26, x25, x24
	lsl	x27, x24, #2
	ldr	w8, [x23, x27]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	w0, [x23, x27]
	bl	_fesetround
	bl	_test_infinities
	str	x26, [sp]
	mov	x0, x20
	bl	_printf
	add	x24, x24, #1
	add	x0, sp, #8
	bl	_nitems
	cmp	x24, w0, uxtw
	b.lo	LBB0_7
; %bb.8:
	add	w22, w22, w24
LBB0_9:
	ldr	w0, [x21]
	bl	_fesetround
	bl	_test_nans
	str	x22, [sp]
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
	add	w22, w22, #1
	add	x23, sp, #8
	add	x0, sp, #8
	bl	_nitems
	cbz	w0, LBB0_13
; %bb.10:
	mov	x24, #0
Lloh26:
	adrp	x19, l_.str.1@PAGE
Lloh27:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh28:
	adrp	x20, l_.str.5@PAGE
Lloh29:
	add	x20, x20, l_.str.5@PAGEOFF
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x25, x22, x24
	lsl	x26, x24, #2
	ldr	w8, [x23, x26]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	w0, [x23, x26]
	bl	_fesetround
	bl	_test_small_z
	str	x25, [sp]
	mov	x0, x20
	bl	_printf
	add	x24, x24, #1
	add	x0, sp, #8
	bl	_nitems
	cmp	x24, w0, uxtw
	b.lo	LBB0_11
; %bb.12:
	add	w22, w22, w24
	b	LBB0_14
LBB0_13:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_14:
	add	x23, sp, #8
	add	x0, sp, #8
	bl	_nitems
	cbz	w0, LBB0_18
; %bb.15:
	mov	x24, #0
	mov	w25, w22
Lloh30:
	adrp	x19, l_.str.1@PAGE
Lloh31:
	add	x19, x19, l_.str.1@PAGEOFF
Lloh32:
	adrp	x20, l_.str.6@PAGE
Lloh33:
	add	x20, x20, l_.str.6@PAGEOFF
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	add	x26, x25, x24
	lsl	x27, x24, #2
	ldr	w8, [x23, x27]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	ldr	w0, [x23, x27]
	bl	_fesetround
	bl	_test_big_z
	str	x26, [sp]
	mov	x0, x20
	bl	_printf
	add	x24, x24, #1
	add	x0, sp, #8
	bl	_nitems
	cmp	x24, w0, uxtw
	b.lo	LBB0_16
; %bb.17:
	add	w22, w22, w24
LBB0_18:
	ldr	w0, [x21]
	bl	_fesetround
	bl	_test_accuracy
	str	x22, [sp]
Lloh34:
	adrp	x0, l_.str.7@PAGE
Lloh35:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_printf
	add	w19, w22, #1
	bl	_test_double_rounding
	str	x19, [sp]
Lloh36:
	adrp	x0, l_.str.8@PAGE
Lloh37:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	ldr	x8, [sp, #24]
Lloh38:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh39:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh40:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	mov	w0, #0
	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
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_TONEAREST,4,2               ; @FE_TONEAREST
	.comm	_FE_UPWARD,4,2                  ; @FE_UPWARD
	.comm	_FE_DOWNWARD,4,2                ; @FE_DOWNWARD
	.comm	_FE_TOWARDZERO,4,2              ; @FE_TOWARDZERO
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"rmode = %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"ok %d - fma zeroes\n"

l_.str.3:                               ; @.str.3
	.asciz	"ok %d - fma infinities\n"

l_.str.4:                               ; @.str.4
	.asciz	"ok %d - fma NaNs\n"

l_.str.5:                               ; @.str.5
	.asciz	"ok %d - fma small z\n"

l_.str.6:                               ; @.str.6
	.asciz	"ok %d - fma big z\n"

l_.str.7:                               ; @.str.7
	.asciz	"ok %d - fma accuracy\n"

l_.str.8:                               ; @.str.8
	.asciz	"ok %d - fma double rounding\n"

l_str:                                  ; @str
	.asciz	"1..19"

.subsections_via_symbols
