	.file	"extr_atrac3plus.c_decode_tones_amplitude.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decode_tones_amplitude, @function
decode_tones_amplitude:
.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
	mov	ebx, edx
	sub	rsp, 296
	.cfi_def_cfa_offset 352
	mov	QWORD PTR 48[rsp], rdi
	lea	rdi, 80[rsp]
	mov	DWORD PTR 68[rsp], edx
	mov	rdx, QWORD PTR 8[rsi]
	mov	QWORD PTR 32[rsp], rcx
	mov	ecx, 24
	mov	QWORD PTR 40[rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 280[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 72[rsp], rdi
	rep stosq
	movsx	rax, ebx
	mov	rax, QWORD PTR [rdx+rax*8]
	mov	QWORD PTR 56[rsp], rax
	test	ebx, ebx
	je	.L9
	mov	rax, QWORD PTR 40[rsp]
	mov	rax, QWORD PTR [rax]
	mov	r15d, DWORD PTR [rax]
	test	r15d, r15d
	jle	.L9
	mov	rcx, QWORD PTR 56[rsp]
	mov	rbp, QWORD PTR [rdx]
	mov	QWORD PTR 16[rsp], 0
	add	rcx, 8
	add	rbp, 8
	mov	QWORD PTR 8[rsp], rcx
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L10:
	add	QWORD PTR 16[rsp], 1
	add	rbp, 16
	mov	rsi, QWORD PTR 16[rsp]
	add	QWORD PTR 8[rsp], 16
	cmp	DWORD PTR [rax], esi
	jle	.L9
.L17:
	mov	rdx, QWORD PTR 32[rsp]
	mov	rsi, QWORD PTR 16[rsp]
	mov	r14d, DWORD PTR [rdx+rsi*4]
	test	r14d, r14d
	je	.L10
	mov	rsi, QWORD PTR 8[rsp]
	mov	r13d, DWORD PTR -8[rsi]
	test	r13d, r13d
	je	.L10
	mov	rdi, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR [rsi]
	mov	rcx, QWORD PTR 0[rbp]
	jle	.L10
	sal	rcx, 4
	mov	rsi, rdx
	mov	QWORD PTR [rsp], 0
	lea	rax, [rdi+rcx]
	sal	rsi, 4
	mov	QWORD PTR 24[rsp], rax
	lea	r15, [rdi+rsi]
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rax, QWORD PTR [rsp]
	mov	r12d, DWORD PTR -8[rbp]
	lea	rcx, [rax+rdx]
	test	r12d, r12d
	jle	.L16
	mov	r13, QWORD PTR 24[rsp]
	xor	r12d, r12d
	mov	ebx, 1024
	xor	r14d, r14d
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, QWORD PTR 8[r15]
	sub	rdi, QWORD PTR 8[r13]
	call	FFABS@PLT
	cmp	eax, ebx
	jge	.L12
	mov	r12d, r14d
	mov	ebx, eax
.L12:
	mov	eax, DWORD PTR -8[rbp]
	add	r14d, 1
	add	r13, 16
	cmp	eax, r14d
	jg	.L13
	mov	rsi, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR [rsp]
	mov	rdx, QWORD PTR [rsi]
	add	rcx, rdx
	cmp	ebx, 7
	jg	.L14
	add	r12d, DWORD PTR 0[rbp]
	mov	DWORD PTR 80[rsp+rcx*4], r12d
.L15:
	mov	rcx, QWORD PTR 8[rsp]
	add	QWORD PTR [rsp], 1
	add	r15, 16
	mov	rax, QWORD PTR [rsp]
	cmp	DWORD PTR -8[rcx], eax
	jg	.L11
	mov	rax, QWORD PTR 40[rsp]
	mov	rax, QWORD PTR [rax]
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L9:
	mov	esi, DWORD PTR 68[rsp]
	mov	rdi, QWORD PTR 48[rsp]
	add	esi, 1
	call	get_bits@PLT
	cmp	eax, 2
	je	.L3
	jg	.L4
	test	eax, eax
	je	.L5
	cmp	eax, 1
	jne	.L1
	mov	rax, QWORD PTR 40[rsp]
	mov	rbp, QWORD PTR 56[rsp]
	xor	r12d, r12d
	mov	rax, QWORD PTR [rax]
	mov	ebx, DWORD PTR [rax]
	test	ebx, ebx
	jle	.L1
	mov	rbx, QWORD PTR 48[rsp]
	mov	r13, QWORD PTR 40[rsp]
	mov	rsi, rax
	mov	r14, QWORD PTR 32[rsp]
	jmp	.L33
.L31:
	mov	rax, QWORD PTR tone_vlc_tabs[rip]
	mov	ecx, 1
	mov	rdi, rbx
	mov	edx, DWORD PTR 32[rax]
	mov	esi, DWORD PTR 36[rax]
	call	get_vlc2@PLT
	mov	rsi, QWORD PTR 0[r13]
	mov	r8d, eax
	mov	rax, QWORD PTR 8[rbp]
	lea	edx, 24[r8]
	sal	rax, 4
	add	rax, QWORD PTR 8[rsi]
	mov	DWORD PTR [rax], edx
.L29:
	add	r12, 1
	add	rbp, 16
	cmp	DWORD PTR [rsi], r12d
	jle	.L1
.L33:
	mov	r8d, DWORD PTR [r14+r12*4]
	test	r8d, r8d
	je	.L29
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L29
	mov	edi, DWORD PTR 16[rsi]
	test	edi, edi
	je	.L31
	test	eax, eax
	jle	.L29
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rax, QWORD PTR tone_vlc_tabs[rip]
	mov	ecx, 1
	mov	rdi, rbx
	mov	edx, DWORD PTR 24[rax]
	mov	esi, DWORD PTR 28[rax]
	call	get_vlc2@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	rsi, QWORD PTR 0[r13]
	lea	ecx, 20[rax]
	add	rdx, r15
	add	r15, 1
	sal	rdx, 4
	add	rdx, QWORD PTR 8[rsi]
	mov	DWORD PTR [rdx], ecx
	cmp	DWORD PTR 0[rbp], r15d
	jg	.L32
	add	r12, 1
	add	rbp, 16
	cmp	DWORD PTR [rsi], r12d
	jg	.L33
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 280[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L76
	add	rsp, 296
	.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
.L4:
	.cfi_restore_state
	cmp	eax, 3
	jne	.L1
	mov	rax, QWORD PTR 40[rsp]
	mov	r11, QWORD PTR [rax]
	mov	eax, DWORD PTR [r11]
	test	eax, eax
	jle	.L1
	mov	rdi, QWORD PTR 32[rsp]
	mov	r10, QWORD PTR 56[rsp]
	sub	eax, 1
	mov	rbp, QWORD PTR 72[rsp]
	add	r10, 8
	lea	rbx, 4[rdi+rax*4]
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L42:
	add	rdi, 4
	add	r10, 16
	cmp	rbx, rdi
	je	.L1
.L41:
	mov	eax, DWORD PTR [rdi]
	test	eax, eax
	je	.L42
	mov	eax, DWORD PTR -8[r10]
	test	eax, eax
	jle	.L42
	mov	rsi, QWORD PTR [r10]
	sub	eax, 1
	mov	r9, QWORD PTR 8[r11]
	mov	rdx, rsi
	add	rax, rsi
	lea	rcx, 0[rbp+rsi*4]
	sal	rdx, 4
	sal	rax, 4
	add	rdx, r9
	lea	r8, 16[r9+rax]
	.p2align 4,,10
	.p2align 3
.L44:
	movsx	rax, DWORD PTR [rcx]
	mov	esi, 32
	test	eax, eax
	js	.L43
	sal	rax, 4
	mov	esi, DWORD PTR [r9+rax]
.L43:
	mov	DWORD PTR [rdx], esi
	add	rdx, 16
	add	rcx, 4
	cmp	rdx, r8
	jne	.L44
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rsi, QWORD PTR [rsp]
	cmp	eax, esi
	jle	.L16
	mov	eax, DWORD PTR 0[rbp]
	add	eax, esi
	mov	DWORD PTR 80[rsp+rcx*4], eax
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	mov	DWORD PTR 80[rsp+rcx*4], -1
	jmp	.L15
.L5:
	mov	r13, QWORD PTR 40[rsp]
	mov	rax, QWORD PTR 0[r13]
	mov	r11d, DWORD PTR [rax]
	test	r11d, r11d
	jle	.L1
	mov	rbp, QWORD PTR 56[rsp]
	mov	rbx, QWORD PTR 48[rsp]
	xor	r12d, r12d
	mov	r14, QWORD PTR 32[rsp]
	jmp	.L27
.L25:
	mov	esi, 6
	mov	rdi, rbx
	call	get_bits@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	r8, rax
	mov	rax, QWORD PTR 0[r13]
	sal	rdx, 4
	add	rdx, QWORD PTR 8[rax]
	mov	DWORD PTR [rdx], r8d
.L23:
	add	r12, 1
	add	rbp, 16
	cmp	DWORD PTR [rax], r12d
	jle	.L1
.L27:
	mov	r10d, DWORD PTR [r14+r12*4]
	test	r10d, r10d
	je	.L23
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	je	.L23
	mov	r9d, DWORD PTR 16[rax]
	test	r9d, r9d
	je	.L25
	test	edx, edx
	jle	.L23
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L26:
	mov	esi, 6
	mov	rdi, rbx
	call	get_bits@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	r8, rax
	mov	rax, QWORD PTR 0[r13]
	add	rdx, r15
	add	r15, 1
	sal	rdx, 4
	add	rdx, QWORD PTR 8[rax]
	mov	DWORD PTR [rdx], r8d
	cmp	DWORD PTR 0[rbp], r15d
	jg	.L26
	jmp	.L23
.L3:
	mov	rax, QWORD PTR 40[rsp]
	mov	r12, QWORD PTR 56[rsp]
	xor	ebx, ebx
	mov	rax, QWORD PTR [rax]
	mov	ebp, DWORD PTR [rax]
	test	ebp, ebp
	jle	.L1
	mov	rbp, QWORD PTR 48[rsp]
	mov	r13, QWORD PTR 40[rsp]
	mov	r14, QWORD PTR 32[rsp]
	.p2align 4,,10
	.p2align 3
.L39:
	mov	ecx, DWORD PTR [r14+rbx*4]
	test	ecx, ecx
	je	.L36
	mov	edx, DWORD PTR [r12]
	xor	r15d, r15d
	test	edx, edx
	jle	.L36
.L35:
	mov	rax, QWORD PTR tone_vlc_tabs[rip]
	mov	ecx, 1
	mov	rdi, rbp
	mov	edx, DWORD PTR 40[rax]
	mov	esi, DWORD PTR 44[rax]
	call	get_vlc2@PLT
	mov	esi, 5
	mov	edi, eax
	call	sign_extend@PLT
	mov	rcx, QWORD PTR 8[r12]
	mov	edx, 34
	mov	r8d, eax
	mov	rax, QWORD PTR 0[r13]
	add	rcx, r15
	movsx	rsi, DWORD PTR 80[rsp+rcx*4]
	mov	rdi, QWORD PTR 8[rax]
	test	esi, esi
	js	.L38
	sal	rsi, 4
	mov	edx, DWORD PTR [rdi+rsi]
.L38:
	add	edx, r8d
	sal	rcx, 4
	add	r15, 1
	and	edx, 63
	mov	DWORD PTR [rdi+rcx], edx
	cmp	DWORD PTR [r12], r15d
	jg	.L35
.L36:
	add	rbx, 1
	add	r12, 16
	cmp	DWORD PTR [rax], ebx
	jg	.L39
	jmp	.L1
.L76:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode_tones_amplitude, .-decode_tones_amplitude
	.comm	tone_vlc_tabs,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_atrac3plus.c_decode_tones_amplitude.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_tones_amplitude, %function
decode_tones_amplitude:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	fp, r0
	mov	r5, r1
	mov	r4, r2
	sub	sp, sp, #236
	str	r3, [sp, #24]
	ldr	r3, .L82
	str	r1, [sp, #16]
	str	r2, [sp, #28]
	str	fp, [sp, #20]
	mov	r2, #192
	mov	r1, #0
	add	r0, sp, #36
	ldr	r3, [r3]
	str	r3, [sp, #228]
	mov	r3,#0
	bl	memset
	ldr	r3, [r5, #4]
	cmp	r4, #0
	ldr	r9, [r3, r4, lsl #2]
	beq	.L9
	ldr	r2, [sp, #16]
	ldr	r1, [r2]
	ldr	r2, [r1]
	cmp	r2, #0
	ble	.L9
	ldr	r6, [r3]
	ldr	r3, [sp, #24]
	mov	r8, #0
	sub	r3, r3, #4
	str	r3, [sp, #12]
	add	r3, r9, #4
	add	r6, r6, #4
	str	r3, [sp, #8]
	str	r9, [sp, #4]
	b	.L17
.L10:
	ldr	r3, [r1]
	add	r8, r8, #1
	cmp	r3, r8
	add	r6, r6, #8
	ble	.L79
.L17:
	ldr	r2, [sp, #12]
	ldr	r3, [r2, #4]!
	cmp	r3, #0
	str	r2, [sp, #12]
	beq	.L10
	ldr	r3, [sp, #4]
	ldr	r3, [r3, r8, lsl #3]
	cmp	r3, #0
	beq	.L10
	ldr	r0, [sp, #8]
	ldr	r2, [r1, #4]
	ldr	lr, [r0, r8, lsl #3]
	ldr	r0, [r6]
	ble	.L10
	add	fp, r2, lr, lsl #3
	mov	r7, #0
	mov	r9, fp
	add	r1, r2, r0, lsl #3
	ldr	ip, [r6, #-4]
	add	r10, r1, #4
.L11:
	cmp	ip, #0
	addle	r0, r7, lr
	ble	.L16
	mov	fp, #0
	mov	r5, #1024
	mov	r4, fp
.L13:
	ldr	r3, [r10, r4, lsl #3]
	ldr	r0, [r9, #4]
	sub	r0, r0, r3
	bl	FFABS
	ldr	ip, [r6, #-4]
	cmp	r0, r5
	movlt	fp, r4
	add	r4, r4, #1
	movlt	r5, r0
	cmp	ip, r4
	bgt	.L13
	ldr	r3, [sp, #8]
	cmp	r5, #7
	ldr	lr, [r3, r8, lsl #3]
	add	r0, r7, lr
	bgt	.L14
	ldr	r3, [r6]
	add	r2, sp, #232
	add	fp, r3, fp
	ldr	r3, [sp, #4]
	add	r0, r2, r0, lsl #2
	ldr	r3, [r3, r8, lsl #3]
	str	fp, [r0, #-196]
.L15:
	add	r7, r7, #1
	cmp	r3, r7
	add	r9, r9, #8
	bgt	.L11
	ldr	r3, [sp, #16]
	ldr	r1, [r3]
	b	.L10
.L79:
	ldr	r9, [sp, #4]
.L9:
	ldr	r3, [sp, #28]
	ldr	r0, [sp, #20]
	add	r1, r3, #1
	bl	get_bits
	mov	r6, r0
	cmp	r0, #3
	ldrls	pc, [pc, r0, asl #2]
	b	.L1
.L5:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L6:
	ldr	r3, [sp, #16]
	ldr	r1, [r3]
	ldr	r3, [r1]
	cmp	r3, #0
	ble	.L1
	mov	r5, #0
	ldr	r3, [sp, #24]
	ldr	r7, .L82+4
	ldr	r10, [sp, #20]
	ldr	fp, [sp, #16]
	sub	r8, r3, #4
.L39:
	ldr	r3, [r8, #4]!
	cmp	r3, #0
	beq	.L36
	ldr	r3, [r9, r5, lsl #3]
	cmp	r3, #0
	ble	.L36
	mov	r4, #0
	add	r6, r9, #4
.L35:
	ldr	r1, [r7]
	mov	r3, #1
	ldr	r2, [r1, #40]
	mov	r0, r10
	ldr	r1, [r1, #44]
	bl	get_vlc2
	mov	r1, #5
	bl	sign_extend
	ldr	r2, [r6, r5, lsl #3]
	add	r3, sp, #232
	add	r2, r4, r2
	add	r3, r3, r2, lsl #2
	ldr	r3, [r3, #-196]
	ldr	r1, [fp]
	cmp	r3, #0
	movlt	r3, #34
	ldrge	ip, [r1, #4]
	ldrlt	ip, [r1, #4]
	ldrge	r3, [ip, r3, lsl #3]
	add	r4, r4, #1
	add	r3, r3, r0
	and	r3, r3, #63
	str	r3, [ip, r2, lsl #3]
	ldr	r3, [r9, r5, lsl #3]
	cmp	r3, r4
	bgt	.L35
.L36:
	ldr	r3, [r1]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L39
.L1:
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [sp, #228]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L80
	add	sp, sp, #236
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r3, [sp, #16]
	ldr	r5, [r3]
	ldr	r6, [r5]
	cmp	r6, #0
	ble	.L1
	ldr	r3, [sp, #24]
	sub	ip, r3, #4
	add	r6, ip, r6, lsl #2
	b	.L41
.L42:
	cmp	ip, r6
	add	r9, r9, #8
	beq	.L1
.L41:
	ldr	r3, [ip, #4]!
	cmp	r3, #0
	beq	.L42
	ldr	lr, [r9]
	cmp	lr, #0
	ble	.L42
	mov	r3, #0
	ldr	r0, [r9, #4]
	ldr	r4, [r5, #4]
	add	r2, sp, #36
	add	r1, r2, r0, lsl #2
	add	r0, r4, r0, lsl #3
.L44:
	ldr	r2, [r1], #4
	cmp	r2, #0
	movlt	r2, #32
	ldrge	r2, [r4, r2, lsl #3]
	str	r2, [r0, r3, lsl #3]
	add	r3, r3, #1
	cmp	r3, lr
	bne	.L44
	b	.L42
.L7:
	ldr	r3, [sp, #16]
	ldr	r1, [r3]
	ldr	r3, [r1]
	cmp	r3, #0
	ble	.L1
	ldr	r3, [sp, #24]
	mov	r4, #0
	ldr	r7, .L82+4
	ldr	r10, [sp, #20]
	ldr	fp, [sp, #16]
	sub	r6, r3, #4
	add	r8, r9, #4
	b	.L33
.L31:
	ldr	r1, [r7]
	mov	r3, #1
	ldr	r2, [r1, #32]
	mov	r0, r10
	ldr	r1, [r1, #36]
	bl	get_vlc2
	ldr	r1, [fp]
	ldr	ip, [r8, r4, lsl #3]
	ldr	r2, [r1, #4]
	add	r3, r0, #24
	str	r3, [r2, ip, lsl #3]
.L29:
	ldr	r3, [r1]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L1
.L33:
	ldr	r3, [r6, #4]!
	cmp	r3, #0
	beq	.L29
	ldr	r3, [r9, r4, lsl #3]
	cmp	r3, #0
	beq	.L29
	ldr	r2, [r1, #8]
	cmp	r2, #0
	beq	.L31
	cmp	r3, #0
	ble	.L29
	mov	r5, #0
.L32:
	ldr	r1, [r7]
	mov	r3, #1
	ldr	r2, [r1, #24]
	mov	r0, r10
	ldr	r1, [r1, #28]
	bl	get_vlc2
	ldr	r1, [fp]
	ldr	r3, [r8, r4, lsl #3]
	ldr	r2, [r1, #4]
	add	r3, r5, r3
	add	r0, r0, #20
	str	r0, [r2, r3, lsl #3]
	ldr	r3, [r9, r4, lsl #3]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L32
	b	.L29
.L8:
	ldr	fp, [sp, #16]
	ldr	r1, [fp]
	ldr	r3, [r1]
	cmp	r3, #0
	ble	.L1
	ldr	r3, [sp, #24]
	mov	r4, r0
	ldr	r10, [sp, #20]
	sub	r7, r3, #4
	add	r8, r9, #4
	b	.L27
.L25:
	mov	r1, #6
	mov	r0, r10
	bl	get_bits
	ldr	r1, [fp]
	ldr	r2, [r8, r4, lsl #3]
	ldr	r3, [r1, #4]
	str	r0, [r3, r2, lsl #3]
.L23:
	ldr	r3, [r1]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L1
.L27:
	ldr	r3, [r7, #4]!
	cmp	r3, #0
	beq	.L23
	ldr	r3, [r9, r4, lsl #3]
	cmp	r3, #0
	beq	.L23
	ldr	r2, [r1, #8]
	cmp	r2, #0
	beq	.L25
	cmp	r3, #0
	ble	.L23
	mov	r5, r6
.L26:
	mov	r1, #6
	mov	r0, r10
	bl	get_bits
	ldr	r1, [fp]
	ldr	r3, [r8, r4, lsl #3]
	ldr	r2, [r1, #4]
	add	r3, r5, r3
	str	r0, [r2, r3, lsl #3]
	ldr	r3, [r9, r4, lsl #3]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L26
	b	.L23
.L14:
	cmp	ip, r7
	ble	.L81
	ldr	r3, [r6]
	add	r2, sp, #232
	add	r3, r3, r7
	add	r0, r2, r0, lsl #2
	str	r3, [r0, #-196]
	ldr	r3, [sp, #4]
	ldr	r3, [r3, r8, lsl #3]
	b	.L15
.L81:
	ldr	r3, [sp, #4]
	ldr	r3, [r3, r8, lsl #3]
.L16:
	add	r2, sp, #232
	add	r0, r2, r0, lsl #2
	mvn	r2, #0
	str	r2, [r0, #-196]
	b	.L15
.L80:
	bl	__stack_chk_fail
.L83:
	.align	2
.L82:
	.word	.LC0
	.word	tone_vlc_tabs
	.size	decode_tones_amplitude, .-decode_tones_amplitude
	.comm	tone_vlc_tabs,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
