	.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_infinities
LCPI0_0:
	.quad	0xc060000000000000              ## double -128
LCPI0_1:
	.quad	0x4060000000000000              ## double 128
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_test_infinities:                       ## @test_infinities
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	_test_infinities.vals(%rip), %r14
	movq	%r14, %rdi
	callq	_nitems
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	xorl	%r15d, %r15d
	movq	%r14, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## 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	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	-40(%rbp), %xmm0                ## 8-byte Reload
                                        ## 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	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	incq	%r15
	movq	%r14, %rdi
	callq	_nitems
	movl	%eax, %eax
	addq	$8, %r12
	cmpq	%rax, %r15
	jae	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	callq	_isfinite
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_copysignl
	movaps	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_CMPLXL
	movl	%eax, %edi
	callq	_t_csqrt
	movl	%eax, %ebx
	xorps	%xmm0, %xmm0
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	callq	_copysignl
	movaps	%xmm0, %xmm1
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_CMPLXL
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assert_equal
	jmp	LBB0_4
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @test_infinities.vals
_test_infinities.vals:
	.quad	0x0000000000000000              ## double 0
	.quad	0x8000000000000000              ## double -0
	.quad	0x4045000000000000              ## double 42
	.quad	0xc045000000000000              ## double -42
	.quad	0x4060000000000000              ## double 128
	.quad	0xc060000000000000              ## double -128

	.no_dead_strip	_test_infinities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_infinities
_test_infinities:                       ; @test_infinities
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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 b8, -72
	.cfi_offset b9, -80
	.cfi_offset b10, -88
	.cfi_offset b11, -96
Lloh0:
	adrp	x19, _test_infinities.vals@PAGE
Lloh1:
	add	x19, x19, _test_infinities.vals@PAGEOFF
	mov	x0, x19
	bl	_nitems
	cbz	w0, LBB0_5
; %bb.1:
	mov	x21, #0
	mov	x22, #4638707616191610880
	mov	x23, #-4584664420663164928
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	fmov	d9, x22
	fmov	d0, d8
	fmov	d1, d9
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x20, x0
	fmov	d0, d9
	fmov	d1, d9
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x20
	bl	_assert_equal
	fmov	d10, x23
	fmov	d0, d8
	fmov	d1, d10
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x20, x0
	fmov	d0, d9
	fmov	d1, d10
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x20
	bl	_assert_equal
	add	x21, x21, #1
	mov	x0, x19
	bl	_nitems
	cmp	x21, w0, uxtw
	b.hs	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d8, [x19, x21, lsl #3]
	fmov	d0, d8
	bl	_isfinite
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	fmov	d0, x23
	fmov	d1, d8
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x20, x0
	fmov	d9, x22
	fmov	d0, d9
	fmov	d1, d8
	bl	_copysignl
	fmov	d1, d0
	movi	d0, #0000000000000000
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x20
	bl	_assert_equal
	fmov	d0, d9
	fmov	d1, d8
	bl	_CMPLXL
	bl	_t_csqrt
	mov	x20, x0
	movi	d0, #0000000000000000
	fmov	d1, d8
	bl	_copysignl
	fmov	d1, d0
	fmov	d0, d9
	bl	_CMPLXL
	mov	x1, x0
	mov	x0, x20
	bl	_assert_equal
	b	LBB0_2
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @test_infinities.vals
_test_infinities.vals:
	.quad	0x0000000000000000              ; double 0
	.quad	0x8000000000000000              ; double -0
	.quad	0x4045000000000000              ; double 42
	.quad	0xc045000000000000              ; double -42
	.quad	0x4060000000000000              ; double 128
	.quad	0xc060000000000000              ; double -128

	.no_dead_strip	_test_infinities
.subsections_via_symbols
