	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function test_nan
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
LCPI0_2:
	.quad	0x0000000000000000              ## double 0
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.quad	0x8000000000000000              ## double -0
	.quad	0x8000000000000000              ## double -0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_test_nan:                              ## @test_nan
	.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	_finites@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	movq	_NAN@GOTPCREL(%rip), %r13
	movq	_FE_INVALID@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	callq	_nitems
	movl	%eax, %eax
	cmpq	%rax, %rbx
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_printf
	movq	(%r12), %rax
	movsd	(%rax,%rbx,8), %xmm0            ## xmm0 = mem[0],zero
	movsd	(%r13), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %r15d
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	callq	_CMPLXL
	movl	(%r14), %edx
	notl	%edx
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_testall
	movq	(%r12), %rdi
	movsd	(%rdi,%rbx,8), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	LCPI0_2(%rip), %xmm1
	jne	LBB0_3
	jnp	LBB0_4
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %r15d
	movsd	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	movapd	%xmm0, %xmm1
	callq	_CMPLXL
	movq	_FE_INEXACT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%r14), %edx
	notl	%edx
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_testall
	movq	(%r12), %rdi
	jmp	LBB0_4
LBB0_5:
	movq	_NAN@GOTPCREL(%rip), %r14
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	callq	_CMPLXL
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	xorpd	%xmm1, %xmm1
	callq	_CMPLXL
	movq	_ALL_STD_EXCEPT@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_testall
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	(%r15), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	callq	_testall
	movq	_INFINITY@GOTPCREL(%rip), %r12
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %ebx
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	(%r15), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_testall
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	xorps	LCPI0_1(%rip), %xmm0
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %ebx
	xorps	%xmm0, %xmm0
	xorps	%xmm1, %xmm1
	callq	_CMPLXL
	movl	(%r15), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_testall
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	(%r15), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_testall                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_finites,8,3                    ## @finites
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"# Run %d..\n"

	.comm	_NAN,8,3                        ## @NAN
	.comm	_ALL_STD_EXCEPT,4,2             ## @ALL_STD_EXCEPT
	.comm	_FE_INVALID,4,2                 ## @FE_INVALID
	.comm	_FE_INEXACT,4,2                 ## @FE_INEXACT
	.comm	_INFINITY,8,3                   ## @INFINITY
	.no_dead_strip	_test_nan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_nan
_test_nan:                              ; @test_nan
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
Lloh0:
	adrp	x24, _finites@GOTPAGE
Lloh1:
	ldr	x24, [x24, _finites@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_nitems
Lloh2:
	adrp	x23, _NAN@GOTPAGE
Lloh3:
	ldr	x23, [x23, _NAN@GOTPAGEOFF]
Lloh4:
	adrp	x22, _ALL_STD_EXCEPT@GOTPAGE
Lloh5:
	ldr	x22, [x22, _ALL_STD_EXCEPT@GOTPAGEOFF]
	cbz	w0, LBB0_5
; %bb.1:
	mov	x19, #0
Lloh6:
	adrp	x25, _FE_INVALID@GOTPAGE
Lloh7:
	ldr	x25, [x25, _FE_INVALID@GOTPAGEOFF]
Lloh8:
	adrp	x26, _FE_INEXACT@GOTPAGE
Lloh9:
	ldr	x26, [x26, _FE_INEXACT@GOTPAGEOFF]
Lloh10:
	adrp	x20, l_.str@PAGE
Lloh11:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x19, x19, #1
	bl	_nitems
	cmp	x19, w0, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_printf
	ldr	x8, [x24]
	lsl	x27, x19, #3
	ldr	d0, [x8, x27]
	ldr	d1, [x23]
	bl	_CMPLXL
	mov	x21, x0
	ldr	d0, [x23]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x25]
	bic	w2, w8, w9
	mov	x0, x21
	mov	w3, #0
	mov	w4, #0
	bl	_testall
	ldr	x0, [x24]
	ldr	d1, [x0, x27]
	fcmp	d1, #0.0
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	d0, [x23]
	bl	_CMPLXL
	mov	x21, x0
	ldr	d0, [x23]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	ldr	w8, [x22]
	ldr	w9, [x25]
	ldr	w10, [x26]
	orr	w9, w10, w9
	bic	w2, w8, w9
	mov	x0, x21
	mov	w3, #0
	mov	w4, #0
	bl	_testall
	ldr	x0, [x24]
	b	LBB0_2
LBB0_5:
	ldr	d0, [x23]
	movi	d1, #0000000000000000
	bl	_CMPLXL
	mov	x19, x0
	ldr	d0, [x23]
	movi	d1, #0000000000000000
	bl	_CMPLXL
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #1
	bl	_testall
	ldr	d0, [x23]
	mov	x8, #-9223372036854775808
	fmov	d8, x8
	fmov	d1, d8
	bl	_CMPLXL
	mov	x19, x0
	ldr	d0, [x23]
	fmov	d1, d8
	bl	_CMPLXL
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #1
	bl	_testall
Lloh12:
	adrp	x20, _INFINITY@GOTPAGE
Lloh13:
	ldr	x20, [x20, _INFINITY@GOTPAGEOFF]
	ldr	d0, [x20]
	ldr	d1, [x23]
	bl	_CMPLXL
	mov	x19, x0
	ldr	d0, [x20]
	ldr	d1, [x23]
	bl	_CMPLXL
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_testall
	ldr	d0, [x20]
	fneg	d0, d0
	ldr	d1, [x23]
	bl	_CMPLXL
	mov	x19, x0
	movi	d0, #0000000000000000
	movi	d1, #0000000000000000
	bl	_CMPLXL
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_testall
	ldr	d0, [x23]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x19, x0
	ldr	d0, [x23]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	ldr	w2, [x22]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	b	_testall
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_finites,8,3                    ; @finites
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"# Run %d..\n"

	.comm	_NAN,8,3                        ; @NAN
	.comm	_ALL_STD_EXCEPT,4,2             ; @ALL_STD_EXCEPT
	.comm	_FE_INVALID,4,2                 ; @FE_INVALID
	.comm	_FE_INEXACT,4,2                 ; @FE_INEXACT
	.comm	_INFINITY,8,3                   ; @INFINITY
	.no_dead_strip	_test_nan
.subsections_via_symbols
