	.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_nans
LCPI0_0:
	.quad	0x8000000000000000              ## double -0
LCPI0_1:
	.quad	0x4045000000000000              ## double 42
LCPI0_2:
	.quad	0xc045000000000000              ## double -42
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_test_nans:                             ## @test_nans
	.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
	movq	_INFINITY@GOTPCREL(%rip), %r15
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movq	_NAN@GOTPCREL(%rip), %r14
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %edi
	callq	_creall
	cmpeqsd	(%r15), %xmm0
	movq	%xmm0, %rdi
	andl	$1, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_assert
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %edi
	callq	_cimagl
	callq	_isnan
	movl	%eax, %edi
	callq	_assert
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm1, %xmm0
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %edi
	callq	_creall
	callq	_isnan
	movl	%eax, %edi
	callq	_assert
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	xorps	%xmm1, %xmm0
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %edi
	callq	_cimagl
	callq	_isinf
	movl	%eax, %edi
	callq	_assert
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%r15), %xmm1                   ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	(%r15), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorps	%xmm2, %xmm1
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r15), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	xorps	%xmm2, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	xorps	%xmm0, %xmm0
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm1                   ## xmm1 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	xorps	%xmm1, %xmm1
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movsd	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert_equal                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_INFINITY,8,3                   ## @INFINITY
	.comm	_NAN,8,3                        ## @NAN
	.no_dead_strip	_test_nans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_nans
_test_nans:                             ; @test_nans
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
Lloh0:
	adrp	x21, _INFINITY@GOTPAGE
Lloh1:
	ldr	x21, [x21, _INFINITY@GOTPAGEOFF]
	ldr	d0, [x21]
Lloh2:
	adrp	x20, _NAN@GOTPAGE
Lloh3:
	ldr	x20, [x20, _NAN@GOTPAGEOFF]
	ldr	d1, [x20]
	bl	_CMPLXL
	bl	_t_csqrt
	bl	_creall
	ldr	d1, [x21]
	fcmp	d0, d1
	cset	w0, eq
	bl	_assert
	ldr	d0, [x21]
	ldr	d1, [x20]
	bl	_CMPLXL
	bl	_t_csqrt
	bl	_cimagl
	bl	_isnan
	bl	_assert
	ldr	d0, [x21]
	fneg	d0, d0
	ldr	d1, [x20]
	bl	_CMPLXL
	bl	_t_csqrt
	bl	_creall
	bl	_isnan
	bl	_assert
	ldr	d0, [x21]
	fneg	d0, d0
	ldr	d1, [x20]
	bl	_CMPLXL
	bl	_t_csqrt
	bl	_cimagl
	bl	_isinf
	bl	_assert
	ldr	d0, [x20]
	ldr	d1, [x21]
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x21]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d0, [x20]
	ldr	d1, [x21]
	fneg	d1, d1
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x21]
	fneg	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d1, [x20]
	movi	d0, #0000000000000000
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d1, [x20]
	mov	x8, #-9223372036854775808
	fmov	d8, x8
	fmov	d0, d8
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d1, [x20]
	mov	x8, #4631107791820423168
	fmov	d9, x8
	fmov	d0, d9
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d1, [x20]
	mov	x8, #-4592264245034352640
	fmov	d10, x8
	fmov	d0, d10
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d0, [x20]
	movi	d1, #0000000000000000
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d0, [x20]
	fmov	d1, d8
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d0, [x20]
	fmov	d1, d9
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d0, [x20]
	fmov	d1, d10
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	bl	_assert_equal
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x19, x0
	ldr	d0, [x20]
	fmov	d1, d0
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #80             ; 16-byte Folded Reload
	b	_assert_equal
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_INFINITY,8,3                   ; @INFINITY
	.comm	_NAN,8,3                        ; @NAN
	.no_dead_strip	_test_nans
.subsections_via_symbols
