	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_double
_check_double:                          ## @check_double
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movsd	%xmm1, -8(%rbp)                 ## 8-byte Spill
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movsd	-8(%rbp), %xmm0                 ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_isnan
LBB0_2:
	leaq	L_.str.3(%rip), %rdi
	callq	_puts
	movq	_passed@GOTPCREL(%rip), %rax
	andl	$1, (%rax)
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s = 0x%08x%08x [expected=0x%08x%08x] "

L_.str.3:                               ## @.str.3
	.asciz	"PASS"

	.comm	_passed,4,2                     ## @passed
	.no_dead_strip	_check_double
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_double
_check_double:                          ; @check_double
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	d9, d8, [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 b8, -24
	.cfi_offset b9, -32
	fmov	d8, d1
	fmov	d9, d0
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	fmov	d0, d9
	bl	_isnan
	cbz	x0, LBB0_2
; %bb.1:
	fmov	d0, d8
	bl	_isnan
LBB0_2:
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_puts
Lloh4:
	adrp	x8, _passed@GOTPAGE
Lloh5:
	ldr	x8, [x8, _passed@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0x1
	str	w9, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s = 0x%08x%08x [expected=0x%08x%08x] "

l_.str.3:                               ; @.str.3
	.asciz	"PASS"

	.comm	_passed,4,2                     ; @passed
	.no_dead_strip	_check_double
.subsections_via_symbols
