	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function evaluate_lls
_evaluate_lls:                          ## @evaluate_lls
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	js	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movl	%edx, %edi
	movq	(%rax,%rdi,8), %rcx
	incq	%rdi
	movl	%edi, %eax
	andl	$3, %eax
	cmpl	$3, %edx
	jae	LBB0_4
## %bb.3:
	xorpd	%xmm0, %xmm0
	xorl	%edx, %edx
	jmp	LBB0_6
LBB0_1:
	xorps	%xmm0, %xmm0
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %edi
	xorpd	%xmm0, %xmm0
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rsi,%rdx,8), %xmm1            ## xmm1 = mem[0],zero
	movsd	8(%rsi,%rdx,8), %xmm2           ## xmm2 = mem[0],zero
	mulsd	(%rcx,%rdx,8), %xmm1
	mulsd	8(%rcx,%rdx,8), %xmm2
	addsd	%xmm0, %xmm1
	movsd	16(%rsi,%rdx,8), %xmm3          ## xmm3 = mem[0],zero
	mulsd	16(%rcx,%rdx,8), %xmm3
	addsd	%xmm1, %xmm2
	movsd	24(%rsi,%rdx,8), %xmm0          ## xmm0 = mem[0],zero
	mulsd	24(%rcx,%rdx,8), %xmm0
	addsd	%xmm2, %xmm3
	addsd	%xmm3, %xmm0
	addq	$4, %rdx
	cmpq	%rdx, %rdi
	jne	LBB0_5
LBB0_6:
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	(%rcx,%rdx,8), %rcx
	leaq	(%rsi,%rdx,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rdx,%rsi,8), %xmm1            ## xmm1 = mem[0],zero
	mulsd	(%rcx,%rsi,8), %xmm1
	addsd	%xmm1, %xmm0
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_8
LBB0_9:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_evaluate_lls
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function evaluate_lls
_evaluate_lls:                          ; @evaluate_lls
	.cfi_startproc
; %bb.0:
	tbnz	w2, #31, LBB0_3
; %bb.1:
	ldr	x8, [x0]
	ldr	x9, [x8, w2, uxtw #3]
	add	w8, w2, #1
	cmp	w2, #3
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	movi	d0, #0000000000000000
	b	LBB0_7
LBB0_3:
	movi	d0, #0000000000000000
	ret
LBB0_4:
	and	x10, x8, #0xfffffffc
	movi	d0, #0000000000000000
	mov	x11, x1
	mov	x12, x9
	mov	x13, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x11]
	ldr	d2, [x11, #24]
	ldr	d3, [x12]
	ldr	d4, [x12, #24]
	fmul	d1, d1, d3
	ldur	q3, [x11, #8]
	ldur	q5, [x12, #8]
	fmul.2d	v3, v3, v5
	fmul	d2, d2, d4
	fadd	d0, d0, d1
	fadd	d0, d0, d3
	mov	d1, v3[1]
	fadd	d0, d0, d1
	fadd	d0, d0, d2
	add	x12, x12, #32
	add	x11, x11, #32
	subs	x13, x13, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	lsl	x11, x10, #3
	add	x9, x9, x11
	add	x11, x1, x11
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x11], #8
	ldr	d2, [x9], #8
	fmadd	d0, d1, d2, d0
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_evaluate_lls
.subsections_via_symbols
