	.file	"extr_intrax8dsp.c_spatial_compensation_7.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spatial_compensation_7, @function
spatial_compensation_7:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	movsx	r11, edx
	mov	r8d, 8
	xor	r10d, r10d
	sal	r11, 2
	.p2align 4,,10
	.p2align 3
.L2:
	lea	r9d, [r10+r10]
	lea	ecx, -8[r8]
	xor	edx, edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	eax, DWORD PTR area3[rip]
	add	ecx, 1
	lea	ebx, -1[rax+rdx]
	add	eax, edx
	sub	ebx, r9d
	sub	eax, r9d
	movsx	rbx, ebx
	cdqe
	mov	eax, DWORD PTR [rdi+rax*4]
	add	eax, DWORD PTR [rdi+rbx*4]
	add	eax, 1
	sar	eax
	mov	DWORD PTR [rsi+rdx*4], eax
	add	rdx, 1
	cmp	r8d, ecx
	je	.L10
.L5:
	test	ecx, ecx
	jg	.L11
	mov	eax, DWORD PTR area2[rip]
	mov	ebx, edx
	add	ecx, 1
	sar	ebx
	sub	eax, r10d
	lea	eax, 8[rax+rbx]
	cdqe
	mov	eax, DWORD PTR [rdi+rax*4]
	mov	DWORD PTR [rsi+rdx*4], eax
	add	rdx, 1
	cmp	r8d, ecx
	jne	.L5
.L10:
	add	r10d, 1
	add	rsi, r11
	sub	r8d, 2
	cmp	r10d, 8
	jne	.L2
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	spatial_compensation_7, .-spatial_compensation_7
	.comm	area3,4,4
	.comm	area2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_intrax8dsp.c_spatial_compensation_7.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spatial_compensation_7, %function
spatial_compensation_7:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	lr, #0
	mov	r4, lr
	ldr	r6, .L12
	ldr	r5, .L12+4
	lsl	r7, r2, #2
.L2:
	mov	r3, #0
	rsb	ip, lr, #0
	b	.L5
.L11:
	ldr	r2, [r5]
	add	ip, ip, #1
	add	r2, r2, r3
	sub	r9, r2, #1
	sub	r8, r2, lr
	sub	r9, r9, lr
	ldr	r2, [r0, r9, lsl #2]
	ldr	r8, [r0, r8, lsl #2]
	add	r2, r2, r8
	add	r2, r2, #1
	asr	r2, r2, #1
	str	r2, [r1, r3, lsl #2]
	add	r3, r3, #1
	cmp	r3, #8
	beq	.L10
.L5:
	cmp	ip, #0
	bgt	.L11
	ldr	r2, [r6]
	add	ip, ip, #1
	add	r2, r2, #8
	sub	r2, r2, r4
	add	r2, r2, r3, asr #1
	ldr	r2, [r0, r2, lsl #2]
	str	r2, [r1, r3, lsl #2]
	add	r3, r3, #1
	cmp	r3, #8
	bne	.L5
.L10:
	add	r4, r4, #1
	cmp	r4, #8
	add	r1, r1, r7
	add	lr, lr, #2
	bne	.L2
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L13:
	.align	2
.L12:
	.word	area2
	.word	area3
	.size	spatial_compensation_7, .-spatial_compensation_7
	.comm	area3,4,4
	.comm	area2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
