	.file	"extr_atrac1.c_atrac1_decode_frame.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Not enough data to decode!\n"
	.text
	.p2align 4
	.type	atrac1_decode_frame, @function
atrac1_decode_frame:
.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	QWORD PTR [rsp], rdi
	mov	QWORD PTR 8[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	imul	eax, DWORD PTR [rdi], 212
	cmp	eax, DWORD PTR [rcx]
	jg	.L10
	mov	rbx, QWORD PTR [rsp]
	mov	eax, DWORD PTR AT1_SU_SAMPLES[rip]
	xor	edx, edx
	mov	r15, rsi
	mov	r13, QWORD PTR 8[rcx]
	mov	r12, QWORD PTR 8[rbx]
	mov	DWORD PTR 8[rsi], eax
	mov	rdi, rbx
	call	ff_get_buffer@PLT
	test	eax, eax
	js	.L1
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L4
	xor	ebx, ebx
	lea	r14, 20[rsp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR [r12]
	mov	rsi, rbp
	mov	rdi, r14
	call	at1_unpack_dequant@PLT
	test	eax, eax
	js	.L1
	mov	rsi, r12
	mov	rdi, rbp
	call	at1_imdct_block@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR [r15]
	mov	rsi, rbp
	mov	rdi, r12
	add	r13, 848
	mov	rdx, QWORD PTR [rax+rbx*8]
	add	rbx, 1
	call	at1_subband_synthesis@PLT
	mov	rax, QWORD PTR [rsp]
	cmp	DWORD PTR [rax], ebx
	jle	.L4
.L5:
	mov	rax, QWORD PTR 8[r12]
	mov	rsi, r13
	mov	rdi, r14
	mov	edx, 1696
	lea	rbp, [rax+rbx*4]
	call	init_get_bits@PLT
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r14
	call	at1_parse_bsm@PLT
	test	eax, eax
	jns	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 40
	.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
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	lea	rdx, .LC0[rip]
	call	av_log@PLT
	mov	eax, DWORD PTR AVERROR_INVALIDDATA[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR [rsp]
	mov	eax, DWORD PTR 4[rax]
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	atrac1_decode_frame, .-atrac1_decode_frame
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.comm	AT1_SU_SAMPLES,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_atrac1.c_atrac1_decode_frame.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Not enough data to decode!\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atrac1_decode_frame, %function
atrac1_decode_frame:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	lr, #212
	ldr	ip, [r0]
	mov	r10, r2
	mul	ip, lr, ip
	ldr	r2, [r3]
	ldr	lr, .L13
	sub	sp, sp, #12
	cmp	ip, r2
	ldr	lr, [lr]
	str	lr, [sp, #4]
	mov	lr,#0
	bgt	.L10
	ldr	r2, .L13+4
	ldr	r7, [r3, #4]
	ldr	r3, [r2]
	ldr	r6, [r0, #8]
	mov	r2, #0
	str	r3, [r1, #4]
	mov	r8, r0
	mov	r9, r1
	bl	ff_get_buffer
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r8]
	cmp	r3, #0
	ble	.L4
	mov	r5, #0
	b	.L5
.L11:
	mov	r1, r4
	mov	r0, sp
	ldr	r2, [r6]
	bl	at1_unpack_dequant
	cmp	r0, #0
	blt	.L1
	mov	r1, r6
	mov	r0, r4
	bl	at1_imdct_block
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r9]
	mov	r1, r4
	ldr	r2, [r3, fp]
	mov	r0, r6
	bl	at1_subband_synthesis
	ldr	r3, [r8]
	add	r5, r5, #1
	cmp	r3, r5
	add	r7, r7, #848
	ble	.L4
.L5:
	ldr	r4, [r6, #4]
	mov	r2, #1696
	mov	r1, r7
	mov	r0, sp
	bl	init_get_bits
	ldr	r1, [r4, r5, lsl #2]
	mov	r0, sp
	bl	at1_parse_bsm
	cmp	r0, #0
	add	r4, r4, r5, lsl #2
	lsl	fp, r5, #2
	bge	.L11
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	ldr	r3, .L13+8
	ldr	r2, .L13+12
	ldr	r1, [r3]
	bl	av_log
	ldr	r3, .L13+16
	ldr	r0, [r3]
	b	.L1
.L4:
	mov	r3, #1
	str	r3, [r10]
	ldr	r0, [r8, #4]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	AT1_SU_SAMPLES
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	AVERROR_INVALIDDATA
	.size	atrac1_decode_frame, .-atrac1_decode_frame
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.comm	AT1_SU_SAMPLES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
