	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_cache_c
_compute_cache_c:                       ## @compute_cache_c
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	testl	%edx, %edx
	jle	LBB0_3
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r13
	addl	%r9d, %edx
	movl	%ecx, %eax
	notl	%eax
	leal	(%rax,%r8), %esi
	movslq	%esi, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	addl	%ecx, %r8d
	movslq	%r8d, %rsi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movslq	%r9d, %rbx
	movslq	%ecx, %rcx
	movslq	%edx, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rcx,4), %r12
	leal	(%rbx,%rax), %r15d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movss	(%r14,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movslq	%r15d, %r15
	subss	(%r14,%r15,4), %xmm0
	callq	_SQR
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movss	(%r14,%rax,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	(%r12,%rbx,4), %xmm0
	callq	_SQR
	subss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	(%r13), %xmm0
	movss	%xmm0, (%r13)
	incq	%rbx
	addq	$4, %r13
	incl	%r15d
	cmpq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	jl	LBB0_2
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compute_cache_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_cache_c
_compute_cache_c:                       ; @compute_cache_c
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
                                        ; kill: def $w5 killed $w5 def $x5
	cmp	w2, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mvn	w8, w3
	add	w9, w8, w4
	sxtw	x21, w9
	add	w9, w4, w3
	sxtw	x22, w9
	add	w9, w5, w2
	sxtw	x23, w5
	sxtw	x24, w9
	add	x25, x1, w3, sxtw #2
	add	w26, w8, w5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x19, x21, lsl #2]
	ldr	s1, [x19, w26, sxtw #2]
	fsub	s0, s0, s1
	bl	_SQR
	fmov	s8, s0
	ldr	s0, [x19, x22, lsl #2]
	ldr	s1, [x25, x23, lsl #2]
	fsub	s0, s0, s1
	bl	_SQR
	fsub	s0, s0, s8
	ldr	s1, [x20]
	fadd	s0, s1, s0
	str	s0, [x20], #4
	add	x23, x23, #1
	add	w26, w26, #1
	cmp	x23, x24
	b.lt	LBB0_2
LBB0_3:
	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	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compute_cache_c
.subsections_via_symbols
