	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diff_c
_diff_c:                                ## @diff_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movslq	%edx, %rax
	shlq	$3, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	$4, %eax
	movl	$56, %r13d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%r15,%r13), %rdi
	subq	-56(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %r12
	addl	%ebx, %r12d
	movq	-48(%r15,%r13), %rdi
	subq	-48(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movq	-40(%r15,%r13), %rdi
	subq	-40(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %r12
	addl	%ebx, %r12d
	movq	-32(%r15,%r13), %rdi
	subq	-32(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movq	-24(%r15,%r13), %rdi
	subq	-24(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %r12
	addl	%ebx, %r12d
	movq	-16(%r15,%r13), %rdi
	subq	-16(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %rbx
	addl	%r12d, %ebx
	movq	-8(%r15,%r13), %rdi
	subq	-8(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %r12
	addl	%ebx, %r12d
	movq	(%r15,%r13), %rdi
	subq	(%r14,%r13), %rdi
	callq	_ABS
	movq	%rax, %rbx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%r12d, %ebx
	addq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	decl	%eax
	jne	LBB0_1
## %bb.2:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_diff_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diff_c
_diff_c:                                ; @diff_c
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x19, x1
	mov	x21, #0
	mov	w20, #0
	sbfiz	x22, x2, #3, #32
	add	x23, x0, #32
	mov	w24, #4
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x25, x19, x21
	add	x26, x23, x21
	ldur	x8, [x26, #-32]
	ldr	x9, [x25]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldur	x8, [x26, #-24]
	ldr	x9, [x25, #8]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldur	x8, [x26, #-16]
	ldr	x9, [x25, #16]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldur	x8, [x26, #-8]
	ldr	x9, [x25, #24]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldr	x8, [x26]
	ldr	x9, [x25, #32]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldr	x8, [x26, #8]
	ldr	x9, [x25, #40]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldr	x8, [x26, #16]
	ldr	x9, [x25, #48]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	ldr	x8, [x26, #24]
	ldr	x9, [x25, #56]
	sub	x0, x8, x9
	bl	_ABS
	add	w20, w20, w0
	add	x21, x21, x22
	subs	w24, w24, #1
	b.ne	LBB0_1
; %bb.2:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_diff_c
.subsections_via_symbols
