	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function Var
LCPI0_0:
	.quad	0xbff0000000000000              ## double -1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_Var:                                   ## @Var
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_Avg
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	$0, (%rbx)
	movl	8(%rbx), %eax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	16(%rbx), %rdx
	leaq	-1(%rax), %rsi
	movl	%eax, %ecx
	andl	$3, %ecx
	cmpq	$3, %rsi
	jae	LBB0_6
## %bb.5:
	xorpd	%xmm0, %xmm0
	xorl	%esi, %esi
	movsd	-16(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	jmp	LBB0_8
LBB0_1:
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movl	8(%rbx), %eax
	jmp	LBB0_11
LBB0_3:
	xorl	%eax, %eax
	xorpd	%xmm0, %xmm0
	jmp	LBB0_11
LBB0_6:
	movl	%eax, %edi
	andl	$-4, %edi
	xorpd	%xmm0, %xmm0
	xorl	%esi, %esi
	movsd	-16(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rdx,%rsi,8), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm2, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm0, %xmm1
	movsd	%xmm1, (%rbx)
	movsd	8(%rdx,%rsi,8), %xmm0           ## xmm0 = mem[0],zero
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, (%rbx)
	movsd	16(%rdx,%rsi,8), %xmm1          ## xmm1 = mem[0],zero
	subsd	%xmm2, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm0, %xmm1
	movsd	%xmm1, (%rbx)
	movsd	24(%rdx,%rsi,8), %xmm0          ## xmm0 = mem[0],zero
	subsd	%xmm2, %xmm0
	mulsd	%xmm0, %xmm0
	addsd	%xmm1, %xmm0
	movsd	%xmm0, (%rbx)
	addq	$4, %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_7
LBB0_8:
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:
	leaq	(%rdx,%rsi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%rdx,%rsi,8), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm2, %xmm1
	mulsd	%xmm1, %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, (%rbx)
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_10
LBB0_11:
	movl	%eax, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
	addsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm1, %xmm0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Var
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Var
_Var:                                   ; @Var
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	bl	_Avg
	fmov	d8, d0
	ldr	d0, [x19]
	bl	_isnan
	cbz	x0, LBB0_4
; %bb.1:
	str	xzr, [x19]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x9, [x19, #16]
	movi	d0, #0000000000000000
	mov	x10, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x9], #8
	fsub	d1, d1, d8
	fmadd	d0, d1, d1, d0
	str	d0, [x19]
	subs	x10, x10, #1
	b.ne	LBB0_3
	b	LBB0_6
LBB0_4:
	ldr	d0, [x19]
	ldr	w8, [x19, #8]
	b	LBB0_6
LBB0_5:
	movi	d0, #0000000000000000
LBB0_6:
	ucvtf	d1, w8
	fmov	d2, #-1.00000000
	fadd	d1, d1, d2
	fdiv	d0, d0, d1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Var
.subsections_via_symbols
