	.file	"extr_imc.c_imc_get_coeffs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Potential problem on band %i, coefficient %i: cw_len=%i\n"
	.text
	.p2align 4
	.type	imc_get_coeffs, @function
imc_get_coeffs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	ecx, DWORD PTR BANDS[rip]
	mov	QWORD PTR 24[rsp], rdi
	test	ecx, ecx
	jle	.L1
	mov	r13, rsi
	mov	r14, rdx
	xor	r15d, r15d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR 32[r14]
	cmp	QWORD PTR [rax+r15*8], 0
	jne	.L4
.L3:
	add	r15, 1
	cmp	DWORD PTR BANDS[rip], r15d
	jle	.L1
.L9:
	mov	rax, QWORD PTR 40[r14]
	mov	DWORD PTR 20[rsp], r15d
	lea	rcx, 0[0+r15*4]
	mov	edx, DWORD PTR [rax+r15*4]
	test	edx, edx
	je	.L3
	lea	rax, 0[0+r15*8]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 24[r14]
	cmp	QWORD PTR [rax+r15*8], 0
	je	.L18
.L4:
	mov	rdx, QWORD PTR band_tab[rip]
	lea	rbp, 4[rcx]
	mov	r12d, DWORD PTR [rdx+rcx]
	cmp	r12d, DWORD PTR 4[rdx+rcx]
	jge	.L3
	movsx	rbx, r12d
	sal	rbx, 2
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r9d, r9d
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[r14]
	add	r12d, 1
	mov	DWORD PTR [rax+rbx], r9d
	add	rbx, 4
	cmp	DWORD PTR [rdx+rbp], r12d
	jle	.L3
.L8:
	mov	rax, QWORD PTR [r14]
	mov	r9d, DWORD PTR [rax+rbx]
	test	r9d, r9d
	je	.L5
	mov	rax, QWORD PTR 24[r14]
	mov	rsi, QWORD PTR 8[rsp]
	cmp	QWORD PTR [rax+rsi], 0
	je	.L6
	mov	rax, QWORD PTR 16[r14]
	mov	eax, DWORD PTR [rax+rbx]
	test	eax, eax
	jne	.L10
.L6:
	mov	rdi, r13
	mov	DWORD PTR 16[rsp], r9d
	call	get_bits_count@PLT
	mov	r9d, DWORD PTR 16[rsp]
	add	eax, r9d
	cmp	eax, 512
	jle	.L7
	mov	ecx, DWORD PTR 20[rsp]
	mov	esi, DWORD PTR AV_LOG_WARNING[rip]
	mov	r8d, r12d
	lea	rdx, .LC0[rip]
	mov	rdi, QWORD PTR 24[rsp]
	call	av_log@PLT
	mov	rdx, QWORD PTR band_tab[rip]
	xor	r9d, r9d
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, r9d
	mov	rdi, r13
	call	get_bits@PLT
	mov	rdx, QWORD PTR band_tab[rip]
	mov	r9d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 40
	.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
	.cfi_endproc
.LFE0:
	.size	imc_get_coeffs, .-imc_get_coeffs
	.comm	band_tab,8,8
	.comm	BANDS,4,4
	.comm	AV_LOG_WARNING,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_imc.c_imc_get_coeffs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Potential problem on band %i, coefficient %i: cw_le"
	.ascii	"n=%i\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	imc_get_coeffs, %function
imc_get_coeffs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L30
	sub	sp, sp, #20
	ldr	r3, [r3]
	str	r0, [sp, #12]
	cmp	r3, #0
	ble	.L1
	mov	r10, r1
	mov	r5, r2
	mov	fp, #0
	ldr	r9, .L30+4
	b	.L9
.L27:
	ldr	r2, [r5, #16]
	ldr	r2, [r2, r7]
	cmp	r2, #0
	bne	.L4
.L3:
	ldr	r3, .L30
	add	fp, fp, #1
	ldr	r2, [r3]
	cmp	r2, fp
	ble	.L1
.L9:
	ldr	r2, [r5, #20]
	lsl	r7, fp, #2
	ldr	r2, [r2, fp, lsl #2]
	cmp	r2, #0
	beq	.L3
	ldr	r2, [r5, #12]
	ldr	r2, [r2, fp, lsl #2]
	cmp	r2, #0
	beq	.L27
.L4:
	ldr	r2, [r9]
	add	r8, r7, #4
	ldr	r4, [r2, r7]
	ldr	r2, [r2, r8]
	cmp	r4, r2
	bge	.L3
	str	fp, [sp, #8]
	b	.L8
.L29:
	stm	sp, {r4, fp}
	ldr	r1, .L30+8
	ldr	r3, [sp, #8]
	ldr	r2, .L30+12
	ldr	r1, [r1]
	ldr	r0, [sp, #12]
	bl	av_log
	mov	fp, #0
.L5:
	ldr	r2, [r5, #4]
	ldr	r3, [r9]
	str	fp, [r2, r6]
	ldr	r3, [r3, r8]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L28
.L8:
	ldr	r3, [r5]
	lsl	r6, r4, #2
	ldr	fp, [r3, r4, lsl #2]
	cmp	fp, #0
	beq	.L5
	ldr	r3, [r5, #12]
	ldr	r3, [r3, r7]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [r5, #8]
	ldr	r3, [r3, r6]
	cmp	r3, #0
	movne	fp, #0
	bne	.L5
.L6:
	mov	r0, r10
	bl	get_bits_count
	add	r0, r0, fp
	cmp	r0, #512
	bgt	.L29
	mov	r1, fp
	mov	r0, r10
	bl	get_bits
	mov	fp, r0
	b	.L5
.L28:
	ldr	fp, [sp, #8]
	b	.L3
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L31:
	.align	2
.L30:
	.word	BANDS
	.word	band_tab
	.word	AV_LOG_WARNING
	.word	.LC0
	.size	imc_get_coeffs, .-imc_get_coeffs
	.comm	band_tab,4,4
	.comm	BANDS,4,4
	.comm	AV_LOG_WARNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
