	.file	"extr_ac3dec.c_decode_transform_coeffs_ch.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_transform_coeffs_ch, @function
decode_transform_coeffs_ch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movsx	rbp, edx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	mov	rsi, rbp
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 40[rdi]
	mov	eax, DWORD PTR [rax+rbp*4]
	test	eax, eax
	je	.L15
	cmp	QWORD PTR CONFIG_EAC3_DECODER[rip], 0
	lea	r12, 0[0+rbp*4]
	je	.L3
	test	ebx, ebx
	je	.L16
.L3:
	mov	r8, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR [rdi]
	add	r8, r12
	movsx	rax, DWORD PTR [rax+rbp*4]
	cmp	eax, DWORD PTR [r8]
	jge	.L1
	mov	rdx, QWORD PTR 24[rdi]
	movsx	rsi, ebx
	sal	rsi, 2
	mov	r10, QWORD PTR [rdx+rbp*8]
	mov	rdx, QWORD PTR 32[rdi]
	mov	r9, QWORD PTR [rdx+rbp*8]
	mov	rdx, QWORD PTR 16[rdi]
	mov	rdi, QWORD PTR [rdx+rbp*8]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, QWORD PTR [r10+rax*8]
	mov	ecx, DWORD PTR [r9+rax*4]
	mov	edx, DWORD PTR [rdx+rsi]
	sar	edx, cl
	mov	DWORD PTR [rdi+rax*4], edx
	add	rax, 1
	cmp	DWORD PTR [r8], eax
	jg	.L5
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rdx, rcx
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ac3_decode_transform_coeffs_ch@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	QWORD PTR 8[rsp], rdi
	call	ff_eac3_decode_transform_coeffs_aht_ch@PLT
	mov	rdi, QWORD PTR 8[rsp]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	decode_transform_coeffs_ch, .-decode_transform_coeffs_ch
	.comm	CONFIG_EAC3_DECODER,8,8
	.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_ac3dec.c_decode_transform_coeffs_ch.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_transform_coeffs_ch, %function
decode_transform_coeffs_ch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	ldr	r2, [r0, #20]
	ldr	r2, [r2, r7, lsl #2]
	cmp	r2, #0
	beq	.L12
	clz	r3, r1
	ldr	r2, .L14
	lsr	r3, r3, #5
	ldr	r2, [r2]
	mov	r6, r0
	cmp	r2, #0
	moveq	r3, #0
	cmp	r3, #0
	mov	r4, r1
	lsl	r8, r7, #2
	bne	.L13
.L3:
	ldm	r6, {r3, r5}
	ldr	ip, [r3, r7, lsl #2]
	ldr	r3, [r5, r7, lsl #2]
	add	r5, r5, r8
	cmp	ip, r3
	popge	{r4, r5, r6, r7, r8, pc}
	ldr	r1, [r6, #12]
	ldr	r2, [r6, #16]
	ldr	r3, [r6, #8]
	ldr	lr, [r1, r7, lsl #2]
	ldr	r0, [r2, r7, lsl #2]
	ldr	r3, [r3, r7, lsl #2]
	sub	r2, ip, #-1073741823
	add	lr, lr, r2, lsl #2
	add	r1, r0, r2, lsl #2
	lsl	r4, r4, #2
	add	r2, r3, r2, lsl #2
.L5:
	ldr	r3, [lr, #4]!
	ldr	r0, [r1, #4]!
	ldr	r3, [r3, r4]
	add	ip, ip, #1
	asr	r3, r3, r0
	str	r3, [r2, #4]!
	ldr	r3, [r5]
	cmp	r3, ip
	bgt	.L5
	pop	{r4, r5, r6, r7, r8, pc}
.L12:
	mov	r1, r7
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r2, r3
	b	ac3_decode_transform_coeffs_ch
.L13:
	mov	r1, r7
	bl	ff_eac3_decode_transform_coeffs_aht_ch
	b	.L3
.L15:
	.align	2
.L14:
	.word	CONFIG_EAC3_DECODER
	.size	decode_transform_coeffs_ch, .-decode_transform_coeffs_ch
	.comm	CONFIG_EAC3_DECODER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
