	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spatial_compensation_10
_spatial_compensation_10:               ## @spatial_compensation_10
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movslq	%edx, %r10
	movq	_area2@GOTPCREL(%rip), %r8
	movl	(%r8), %r14d
	addq	$28, %rsi
	shlq	$2, %r10
	movl	$7, %r11d
	movq	_area4@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	addl	%r11d, %r14d
	movslq	%r14d, %rax
	movl	(%rdi,%rax,4), %eax
	movl	%eax, -28(%rsi)
	movl	(%r8), %r14d
	leal	(%r11,%r14), %eax
	cltq
	movl	(%rdi,%rax,4), %ecx
	leal	(,%rcx,8), %ebx
	subl	%ecx, %ebx
	movslq	(%r9), %rcx
	movl	4(%rdi,%rcx,4), %edx
	addl	%ebx, %edx
	addl	$4, %edx
	sarl	$3, %edx
	movl	%edx, -24(%rsi)
	movl	(%rdi,%rax,4), %edx
	leal	(%rdx,%rdx,2), %edx
	movl	8(%rdi,%rcx,4), %ebx
	addl	%ebx, %ebx
	leal	(%rbx,%rdx,2), %edx
	addl	$4, %edx
	sarl	$3, %edx
	movl	%edx, -20(%rsi)
	movl	(%rdi,%rax,4), %edx
	leal	(%rdx,%rdx,4), %edx
	movl	12(%rdi,%rcx,4), %ebx
	leal	(%rbx,%rbx,2), %ebx
	addl	%ebx, %edx
	addl	$4, %edx
	sarl	$3, %edx
	movl	%edx, -16(%rsi)
	movl	(%rdi,%rax,4), %edx
	movl	16(%rdi,%rcx,4), %ebx
	shll	$2, %ebx
	leal	(%rbx,%rdx,4), %edx
	addl	$4, %edx
	sarl	$3, %edx
	movl	%edx, -12(%rsi)
	movl	(%rdi,%rax,4), %edx
	leal	(%rdx,%rdx,2), %edx
	movl	20(%rdi,%rcx,4), %ebx
	leal	(%rbx,%rbx,4), %ebx
	addl	%ebx, %edx
	addl	$4, %edx
	sarl	$3, %edx
	movl	%edx, -8(%rsi)
	movl	(%rdi,%rax,4), %edx
	movl	24(%rdi,%rcx,4), %ebx
	leal	(%rbx,%rbx,2), %ebx
	addl	%ebx, %ebx
	leal	(%rbx,%rdx,2), %edx
	addl	$4, %edx
	sarl	$3, %edx
	movl	%edx, -4(%rsi)
	movl	(%rdi,%rax,4), %eax
	movl	28(%rdi,%rcx,4), %ecx
	leal	(,%rcx,8), %edx
	subl	%ecx, %edx
	addl	%edx, %eax
	addl	$4, %eax
	sarl	$3, %eax
	movl	%eax, (%rsi)
	addq	%r10, %rsi
	addl	$-1, %r11d
	jb	LBB0_1
## %bb.2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_area2,4,2                      ## @area2
	.comm	_area4,4,2                      ## @area4
	.no_dead_strip	_spatial_compensation_10
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spatial_compensation_10
_spatial_compensation_10:               ; @spatial_compensation_10
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
Lloh0:
	adrp	x8, _area2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _area2@GOTPAGEOFF]
	ldr	w10, [x8]
	add	x9, x1, #16
	sbfiz	x11, x2, #2, #32
	mov	w12, #7
Lloh2:
	adrp	x13, _area4@GOTPAGE
Lloh3:
	ldr	x13, [x13, _area4@GOTPAGEOFF]
	mov	w14, #6
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w10, w12
	ldr	w10, [x0, w10, sxtw #2]
	stur	w10, [x9, #-16]
	ldr	w10, [x8]
	add	w15, w12, w10
	sbfiz	x15, x15, #2, #32
	ldr	w16, [x0, x15]
	ldr	w17, [x13]
	add	w1, w17, #1
	ldr	w1, [x0, w1, sxtw #2]
	lsl	w2, w16, #3
	sub	w16, w2, w16
	add	w16, w16, w1
	add	w16, w16, #4
	asr	w16, w16, #3
	stur	w16, [x9, #-12]
	ldr	w16, [x0, x15]
	mul	w16, w16, w14
	add	w1, w17, #2
	ldr	w1, [x0, w1, sxtw #2]
	add	w16, w16, w1, lsl #1
	add	w16, w16, #4
	asr	w16, w16, #3
	stur	w16, [x9, #-8]
	ldr	w16, [x0, x15]
	add	w16, w16, w16, lsl #2
	add	w1, w17, #3
	ldr	w1, [x0, w1, sxtw #2]
	add	w1, w1, w1, lsl #1
	add	w16, w16, w1
	add	w16, w16, #4
	asr	w16, w16, #3
	stur	w16, [x9, #-4]
	ldr	w16, [x0, x15]
	lsl	w16, w16, #2
	add	w1, w17, #4
	ldr	w1, [x0, w1, sxtw #2]
	add	w16, w16, w1, lsl #2
	add	w16, w16, #4
	asr	w16, w16, #3
	str	w16, [x9]
	ldr	w16, [x0, x15]
	add	w1, w17, #5
	ldr	w1, [x0, w1, sxtw #2]
	add	w16, w16, w16, lsl #1
	add	w1, w1, w1, lsl #2
	add	w16, w16, w1
	add	w16, w16, #4
	asr	w16, w16, #3
	str	w16, [x9, #4]
	ldr	w16, [x0, x15]
	add	w1, w17, #6
	ldr	w1, [x0, w1, sxtw #2]
	mul	w1, w1, w14
	add	w16, w1, w16, lsl #1
	add	w16, w16, #4
	asr	w16, w16, #3
	str	w16, [x9, #8]
	ldr	w15, [x0, x15]
	add	w16, w17, #7
	ldr	w16, [x0, w16, sxtw #2]
	lsl	w17, w16, #3
	sub	w16, w17, w16
	add	w15, w15, w16
	add	w15, w15, #4
	asr	w15, w15, #3
	str	w15, [x9, #12]
	sub	w12, w12, #1
	add	x9, x9, x11
	cmn	w12, #1
	b.ne	LBB0_1
; %bb.2:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_area2,4,2                      ; @area2
	.comm	_area4,4,2                      ; @area4
	.no_dead_strip	_spatial_compensation_10
.subsections_via_symbols
