	.file	"extr_snow_dwt.c_spatial_decompose97i.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	spatial_decompose97i, @function
spatial_decompose97i:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, r8d
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14d, -1[rcx]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rdi
	mov	edi, -5
	mov	QWORD PTR 56[rsp], rsi
	mov	esi, r14d
	mov	DWORD PTR 28[rsp], edx
	mov	DWORD PTR 24[rsp], r8d
	call	avpriv_mirror@PLT
	mov	esi, r14d
	mov	edi, -4
	imul	eax, r15d
	cdqe
	lea	rax, [r12+rax*4]
	mov	QWORD PTR 40[rsp], rax
	call	avpriv_mirror@PLT
	mov	esi, r14d
	mov	edi, -3
	imul	eax, r15d
	cdqe
	lea	rax, [r12+rax*4]
	mov	QWORD PTR 32[rsp], rax
	call	avpriv_mirror@PLT
	mov	esi, r14d
	mov	edi, -2
	imul	eax, r15d
	cdqe
	lea	rbp, [r12+rax*4]
	call	avpriv_mirror@PLT
	imul	eax, r15d
	cdqe
	lea	rax, [r12+rax*4]
	mov	QWORD PTR 8[rsp], rax
	lea	eax, 3[rbx]
	or	eax, 1
	mov	DWORD PTR 52[rsp], eax
	cmp	ebx, -3
	jl	.L1
	mov	r15d, -1
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	ebx, ecx
	ja	.L17
.L5:
	lea	eax, -1[r15]
	cmp	ebx, eax
	ja	.L18
.L6:
	lea	eax, -2[r15]
	cmp	ebx, eax
	ja	.L19
.L7:
	lea	eax, -3[r15]
	cmp	ebx, eax
	ja	.L20
.L8:
	mov	QWORD PTR 40[rsp], r13
	add	r15d, 2
	mov	QWORD PTR 32[rsp], r12
	cmp	DWORD PTR 52[rsp], r15d
	je	.L1
.L9:
	mov	esi, r14d
	mov	edi, r15d
	mov	r13, rbp
	call	avpriv_mirror@PLT
	imul	eax, DWORD PTR 24[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	lea	ecx, 1[r15]
	mov	edi, ecx
	mov	DWORD PTR 48[rsp], ecx
	cdqe
	lea	rbp, [rsi+rax*4]
	mov	esi, r14d
	call	avpriv_mirror@PLT
	imul	eax, DWORD PTR 24[rsp]
	cmp	ebx, r15d
	mov	ecx, DWORD PTR 48[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	r12, QWORD PTR 8[rsp]
	cdqe
	lea	rax, [rsi+rax*4]
	mov	QWORD PTR 8[rsp], rax
	jbe	.L3
	mov	edx, DWORD PTR 28[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, rbp
	call	horizontal_decompose97i@PLT
	mov	ecx, DWORD PTR 48[rsp]
	cmp	ebx, ecx
	ja	.L4
.L13:
	mov	ecx, DWORD PTR 28[rsp]
	mov	rdx, QWORD PTR 8[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	call	vertical_decompose97iH0@PLT
	lea	eax, -1[r15]
	cmp	ebx, eax
	jbe	.L6
.L18:
	mov	ecx, DWORD PTR 28[rsp]
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r13
	call	vertical_decompose97iL0@PLT
	lea	eax, -2[r15]
	cmp	ebx, eax
	jbe	.L7
.L19:
	mov	ecx, DWORD PTR 28[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	rdx, r12
	mov	rsi, r13
	call	vertical_decompose97iH1@PLT
	lea	eax, -3[r15]
	cmp	ebx, eax
	jbe	.L8
.L20:
	mov	ecx, DWORD PTR 28[rsp]
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdx, r13
	mov	rdi, QWORD PTR 40[rsp]
	call	vertical_decompose97iL1@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edx, DWORD PTR 28[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	horizontal_decompose97i@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR 28[rsp]
	mov	rsi, QWORD PTR 56[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	call	horizontal_decompose97i@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	spatial_decompose97i, .-spatial_decompose97i
	.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_snow_dwt.c_spatial_decompose97i.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spatial_decompose97i, %function
spatial_decompose97i:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r3
	mov	ip, r0
	mov	r3, r1
	sub	r10, r5, #1
	sub	sp, sp, #28
	mov	r1, r10
	mvn	r0, #4
	mov	r4, ip
	mov	fp, r2
	str	ip, [sp]
	str	r3, [sp, #20]
	bl	avpriv_mirror
	ldr	r3, [sp, #64]
	mov	r1, r10
	mul	r3, r0, r3
	mvn	r0, #3
	add	r3, r4, r3, lsl #2
	str	r3, [sp, #12]
	bl	avpriv_mirror
	ldr	r3, [sp, #64]
	mov	r1, r10
	mul	r3, r0, r3
	mvn	r0, #2
	add	r3, r4, r3, lsl #2
	str	r3, [sp, #8]
	bl	avpriv_mirror
	ldr	r6, [sp, #64]
	mov	r1, r10
	mul	r6, r0, r6
	mvn	r0, #1
	bl	avpriv_mirror
	ldr	r7, [sp, #64]
	cmn	r5, #3
	mul	r7, r0, r7
	add	r6, r4, r6, lsl #2
	add	r7, r4, r7, lsl #2
	blt	.L1
	add	r3, r5, #3
	orr	r3, r3, #1
	mvn	r4, #0
	str	r3, [sp, #16]
	b	.L9
.L3:
	cmp	r5, r3
	bhi	.L17
.L5:
	sub	r3, r4, #1
	cmp	r5, r3
	bhi	.L18
.L6:
	sub	r3, r4, #2
	cmp	r5, r3
	bhi	.L19
.L7:
	sub	r3, r4, #3
	cmp	r5, r3
	bhi	.L20
.L8:
	ldr	r3, [sp, #16]
	add	r4, r4, #2
	cmp	r3, r4
	str	r9, [sp, #12]
	str	r8, [sp, #8]
	beq	.L1
.L9:
	mov	r1, r10
	mov	r0, r4
	bl	avpriv_mirror
	ldr	r2, [sp, #64]
	add	r3, r4, #1
	mul	r2, r0, r2
	str	r3, [sp, #4]
	mov	r0, r3
	ldr	r3, [sp]
	mov	r1, r10
	mov	r9, r6
	add	r6, r3, r2, lsl #2
	bl	avpriv_mirror
	ldr	r2, [sp, #64]
	ldr	r3, [sp]
	mul	r2, r0, r2
	cmp	r5, r4
	mov	r8, r7
	add	r7, r3, r2, lsl #2
	ldr	r3, [sp, #4]
	bls	.L3
	mov	r2, fp
	mov	r0, r6
	ldr	r1, [sp, #20]
	bl	horizontal_decompose97i
	ldr	r3, [sp, #4]
	cmp	r5, r3
	bhi	.L4
.L13:
	mov	r3, fp
	mov	r2, r7
	mov	r1, r6
	mov	r0, r8
	bl	vertical_decompose97iH0
	sub	r3, r4, #1
	cmp	r5, r3
	bls	.L6
.L18:
	mov	r3, fp
	mov	r2, r6
	mov	r1, r8
	mov	r0, r9
	bl	vertical_decompose97iL0
	sub	r3, r4, #2
	cmp	r5, r3
	bls	.L7
.L19:
	mov	r3, fp
	mov	r2, r8
	mov	r1, r9
	ldr	r0, [sp, #8]
	bl	vertical_decompose97iH1
	sub	r3, r4, #3
	cmp	r5, r3
	bls	.L8
.L20:
	mov	r3, fp
	mov	r2, r9
	ldr	r1, [sp, #8]
	ldr	r0, [sp, #12]
	bl	vertical_decompose97iL1
	b	.L8
.L17:
	mov	r2, fp
	mov	r0, r7
	ldr	r1, [sp, #20]
	bl	horizontal_decompose97i
	b	.L5
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	r2, fp
	mov	r0, r7
	ldr	r1, [sp, #20]
	bl	horizontal_decompose97i
	b	.L13
	.size	spatial_decompose97i, .-spatial_decompose97i
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
