	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spatial_compensation_4
_spatial_compensation_4:                ## @spatial_compensation_4
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movslq	%edx, %r10
	movq	_area4@GOTPCREL(%rip), %r8
	movl	(%r8), %edx
	movq	_area6@GOTPCREL(%rip), %r9
	movl	(%r9), %eax
	addq	$28, %rsi
	shlq	$2, %r10
	movl	$8, %r11d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rdx
	movl	(%rdi,%rdx,4), %edx
	cltq
	movl	(%rdi,%rax,4), %eax
	addl	%edx, %eax
	incl	%eax
	sarl	%eax
	movl	%eax, -28(%rsi)
	movslq	(%r8), %rdx
	movl	4(%rdi,%rdx,4), %ecx
	movslq	(%r9), %rax
	movl	4(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, -24(%rsi)
	movl	8(%rdi,%rdx,4), %ecx
	movl	8(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, -20(%rsi)
	movl	12(%rdi,%rdx,4), %ecx
	movl	12(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, -16(%rsi)
	movl	16(%rdi,%rdx,4), %ecx
	movl	16(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, -12(%rsi)
	movl	20(%rdi,%rdx,4), %ecx
	movl	20(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, -8(%rsi)
	movl	24(%rdi,%rdx,4), %ecx
	movl	24(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, -4(%rsi)
	movl	28(%rdi,%rdx,4), %ecx
	movl	28(%rdi,%rax,4), %ebx
	addl	%ebx, %ecx
	incl	%ecx
	sarl	%ecx
	movl	%ecx, (%rsi)
	addq	%r10, %rsi
	decl	%r11d
	jne	LBB0_1
## %bb.2:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_area4,4,2                      ## @area4
	.comm	_area6,4,2                      ## @area6
	.no_dead_strip	_spatial_compensation_4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spatial_compensation_4
_spatial_compensation_4:                ; @spatial_compensation_4
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
Lloh0:
	adrp	x8, _area4@GOTPAGE
Lloh1:
	ldr	x8, [x8, _area4@GOTPAGEOFF]
	ldr	w11, [x8]
Lloh2:
	adrp	x9, _area6@GOTPAGE
Lloh3:
	ldr	x9, [x9, _area6@GOTPAGEOFF]
	ldr	w14, [x9]
	add	x10, x1, #16
	sbfiz	x12, x2, #2, #32
	mov	w13, #8
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0, w11, sxtw #2]
	ldr	w14, [x0, w14, sxtw #2]
	add	w11, w11, w14
	add	w11, w11, #1
	asr	w11, w11, #1
	stur	w11, [x10, #-16]
	ldr	w11, [x8]
	add	w14, w11, #1
	ldr	w15, [x0, w14, sxtw #2]
	ldr	w14, [x9]
	add	w16, w14, #1
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	stur	w15, [x10, #-12]
	add	w15, w11, #2
	ldr	w15, [x0, w15, sxtw #2]
	add	w16, w14, #2
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	stur	w15, [x10, #-8]
	add	w15, w11, #3
	ldr	w15, [x0, w15, sxtw #2]
	add	w16, w14, #3
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	stur	w15, [x10, #-4]
	add	w15, w11, #4
	ldr	w15, [x0, w15, sxtw #2]
	add	w16, w14, #4
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	str	w15, [x10]
	add	w15, w11, #5
	ldr	w15, [x0, w15, sxtw #2]
	add	w16, w14, #5
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	str	w15, [x10, #4]
	add	w15, w11, #6
	ldr	w15, [x0, w15, sxtw #2]
	add	w16, w14, #6
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	str	w15, [x10, #8]
	add	w15, w11, #7
	ldr	w15, [x0, w15, sxtw #2]
	add	w16, w14, #7
	ldr	w16, [x0, w16, sxtw #2]
	add	w15, w15, w16
	add	w15, w15, #1
	asr	w15, w15, #1
	str	w15, [x10, #12]
	add	x10, x10, x12
	subs	w13, w13, #1
	b.ne	LBB0_1
; %bb.2:
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_area4,4,2                      ; @area4
	.comm	_area6,4,2                      ; @area6
	.no_dead_strip	_spatial_compensation_4
.subsections_via_symbols
