	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function Bodies_Energy
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_Bodies_Energy:                         ## @Bodies_Energy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.4:
	leaq	104(%rdi), %rax
	xorpd	%xmm0, %xmm0
	xorl	%r8d, %r8d
	movsd	LCPI0_0(%rip), %xmm8            ## xmm8 = mem[0],zero
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$56, %rax
	cmpq	%rsi, %r8
	je	LBB0_3
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movapd	%xmm0, %xmm3
	imulq	$56, %r8, %rcx
	movsd	(%rdi,%rcx), %xmm2              ## xmm2 = mem[0],zero
	movsd	8(%rdi,%rcx), %xmm4             ## xmm4 = mem[0],zero
	movapd	%xmm2, %xmm5
	mulsd	%xmm8, %xmm5
	movsd	16(%rdi,%rcx), %xmm0            ## xmm0 = mem[0],zero
	mulsd	%xmm0, %xmm0
	mulsd	%xmm4, %xmm4
	addsd	%xmm0, %xmm4
	movsd	24(%rdi,%rcx), %xmm0            ## xmm0 = mem[0],zero
	mulsd	%xmm0, %xmm0
	addsd	%xmm4, %xmm0
	mulsd	%xmm5, %xmm0
	addsd	%xmm3, %xmm0
	incq	%r8
	cmpq	%rsi, %r8
	jae	LBB0_2
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movsd	32(%rdi,%rcx), %xmm3            ## xmm3 = mem[0],zero
	movsd	40(%rdi,%rcx), %xmm4            ## xmm4 = mem[0],zero
	movsd	48(%rdi,%rcx), %xmm1            ## xmm1 = mem[0],zero
	movq	%rax, %rdx
	movq	%r8, %rcx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movapd	%xmm3, %xmm6
	subsd	-16(%rdx), %xmm6
	movapd	%xmm4, %xmm7
	subsd	-8(%rdx), %xmm7
	movapd	%xmm1, %xmm5
	subsd	(%rdx), %xmm5
	mulsd	%xmm7, %xmm7
	mulsd	%xmm6, %xmm6
	addsd	%xmm7, %xmm6
	mulsd	%xmm5, %xmm5
	addsd	%xmm6, %xmm5
	sqrtsd	%xmm5, %xmm5
	movsd	-48(%rdx), %xmm6                ## xmm6 = mem[0],zero
	mulsd	%xmm2, %xmm6
	divsd	%xmm5, %xmm6
	subsd	%xmm6, %xmm0
	incq	%rcx
	addq	$56, %rdx
	cmpq	%rsi, %rcx
	jb	LBB0_7
	jmp	LBB0_2
LBB0_3:
	popq	%rbp
	retq
LBB0_1:
	xorps	%xmm0, %xmm0
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_Bodies_Energy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Bodies_Energy
_Bodies_Energy:                         ; @Bodies_Energy
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_7
; %bb.1:
	mov	x12, #0
	sub	x8, x1, #1
	add	x9, x0, #104
	movi	d0, #0000000000000000
	mov	w10, #56
	fmov	d1, #0.50000000
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x8, x8, #1
	add	x9, x9, #56
	mov	x12, x11
	cmp	x11, x1
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	madd	x11, x12, x10, x0
	ldp	d2, d3, [x11]
	fmul	d4, d2, d1
	ldp	d5, d6, [x11, #16]
	fmul	d5, d5, d5
	fmadd	d3, d3, d3, d5
	fmadd	d3, d6, d6, d3
	fmadd	d0, d4, d3, d0
	add	x11, x12, #1
	cmp	x11, x1
	b.hs	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	madd	x12, x12, x10, x0
	ldp	d3, d4, [x12, #32]
	ldr	d5, [x12, #48]
	mov	x12, x9
	mov	x13, x8
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	d6, d7, [x12, #-16]
	fsub	d7, d4, d7
	fsub	d6, d3, d6
	ldr	d16, [x12]
	fsub	d16, d5, d16
	fmul	d7, d7, d7
	fmadd	d6, d6, d6, d7
	fmadd	d6, d16, d16, d6
	fsqrt	d6, d6
	ldur	d7, [x12, #-48]
	fmul	d7, d2, d7
	fdiv	d6, d7, d6
	fsub	d0, d0, d6
	add	x12, x12, #56
	subs	x13, x13, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	ret
LBB0_7:
	movi	d0, #0000000000000000
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_Bodies_Energy
.subsections_via_symbols
