	.file	"extr_atrac3.c_atrac3_decode_frame.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Frame too small (%d bytes). Truncated file?\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Frame decoding error!\n"
	.text
	.p2align 4
	.type	atrac3_decode_frame, @function
atrac3_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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r8d, DWORD PTR [rcx]
	cmp	DWORD PTR [rdi], r8d
	jg	.L8
	mov	eax, DWORD PTR SAMPLES_PER_FRAME[rip]
	mov	r15, QWORD PTR 8[rcx]
	mov	r13, rdx
	xor	edx, edx
	mov	r14, QWORD PTR 8[rdi]
	mov	rbx, rsi
	mov	DWORD PTR 8[rsi], eax
	call	ff_get_buffer@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L1
	cmp	QWORD PTR 8[r14], 0
	jne	.L9
.L4:
	mov	rdx, QWORD PTR [rbx]
	mov	rsi, r15
	mov	rdi, rbp
	call	decode_frame@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L10
	mov	DWORD PTR 0[r13], 1
	mov	r12d, DWORD PTR 0[rbp]
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	ecx, r8d
	lea	rdx, .LC0[rip]
	xor	eax, eax
	call	av_log@PLT
	mov	r12d, DWORD PTR AVERROR_INVALIDDATA[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edx, DWORD PTR 0[rbp]
	mov	rsi, QWORD PTR [r14]
	mov	rdi, r15
	call	decode_bytes@PLT
	mov	r15, QWORD PTR [r14]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	av_log@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	atrac3_decode_frame, .-atrac3_decode_frame
	.comm	SAMPLES_PER_FRAME,4,4
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,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_atrac3.c_atrac3_decode_frame.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Frame too small (%d bytes). Truncated file?\012\000"
	.align	2
.LC1:
	.ascii	"Frame decoding error!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	atrac3_decode_frame, %function
atrac3_decode_frame:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r3
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, [r3]
	ldr	lr, [r0]
	cmp	lr, r3
	bgt	.L11
	ldr	r3, .L14
	ldr	r8, [ip, #4]
	ldr	r3, [r3]
	ldr	r9, [r0, #4]
	mov	r7, r2
	str	r3, [r1, #4]
	mov	r2, #0
	mov	r5, r0
	mov	r6, r1
	bl	ff_get_buffer
	subs	r4, r0, #0
	blt	.L1
	ldr	r3, [r9, #4]
	cmp	r3, #0
	bne	.L12
.L4:
	mov	r1, r8
	mov	r0, r5
	ldr	r2, [r6]
	bl	decode_frame
	subs	r4, r0, #0
	bne	.L13
	mov	r3, #1
	str	r3, [r7]
	ldr	r4, [r5]
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	ldr	r2, .L14+4
	ldr	r1, [r2]
	ldr	r2, .L14+8
	bl	av_log
	ldr	r3, .L14+12
	ldr	r4, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	mov	r0, r8
	ldr	r2, [r5]
	ldr	r1, [r9]
	bl	decode_bytes
	ldr	r8, [r9]
	b	.L4
.L13:
	ldr	r3, .L14+4
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L14+16
	bl	av_log
	b	.L1
.L15:
	.align	2
.L14:
	.word	SAMPLES_PER_FRAME
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	AVERROR_INVALIDDATA
	.word	.LC1
	.size	atrac3_decode_frame, .-atrac3_decode_frame
	.comm	SAMPLES_PER_FRAME,4,4
	.comm	AV_LOG_ERROR,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
