	.file	"extr_transcode_aac.c_decode_audio_frame.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not read frame (error '%s')\n"
	.align 8
.LC1:
	.string	"Could not send packet for decoding (error '%s')\n"
	.align 8
.LC2:
	.string	"Could not decode frame (error '%s')\n"
	.text
	.p2align 4
	.type	decode_audio_frame, @function
decode_audio_frame:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbp, 4[rsp]
	mov	rdi, rbp
	call	init_packet@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	av_read_frame@PLT
	test	eax, eax
	jns	.L2
	cmp	DWORD PTR AVERROR_EOF[rip], eax
	mov	r12d, eax
	jne	.L3
	mov	DWORD PTR [rbx], 1
.L2:
	mov	rsi, rbp
	mov	rdi, r13
	call	avcodec_send_packet@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L13
	mov	rdi, r13
	mov	rsi, r14
	call	avcodec_receive_frame@PLT
	mov	edi, DWORD PTR EAGAIN[rip]
	mov	r12d, eax
	call	AVERROR@PLT
	cmp	eax, r12d
	je	.L10
	cmp	DWORD PTR AVERROR_EOF[rip], r12d
	je	.L14
	test	r12d, r12d
	js	.L15
	mov	DWORD PTR [r15], 1
.L6:
	mov	rdi, rbp
	call	av_packet_unref@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.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
.L13:
	.cfi_restore_state
	mov	edi, eax
	call	av_err2str@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	call	fprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, eax
	call	av_err2str@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdx, rax
	call	fprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	xor	r12d, r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L14:
	mov	DWORD PTR [rbx], 1
	xor	r12d, r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, r12d
	call	av_err2str@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdx, rax
	call	fprintf@PLT
	jmp	.L6
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decode_audio_frame, .-decode_audio_frame
	.comm	stderr,4,4
	.comm	EAGAIN,4,4
	.comm	AVERROR_EOF,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_transcode_aac.c_decode_audio_frame.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not read frame (error '%s')\012\000"
	.align	2
.LC1:
	.ascii	"Could not send packet for decoding (error '%s')\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Could not decode frame (error '%s')\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_audio_frame, %function
decode_audio_frame:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	sub	sp, sp, #8
	mov	r7, r3
	ldr	r3, .L16
	mov	r6, r0
	mov	r0, sp
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r8, [sp, #32]
	bl	init_packet
	mov	r0, r4
	mov	r1, sp
	bl	av_read_frame
	subs	r4, r0, #0
	bge	.L2
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, r4
	bne	.L3
	mov	r3, #1
	str	r3, [r8]
.L2:
	mov	r1, sp
	mov	r0, r5
	bl	avcodec_send_packet
	subs	r4, r0, #0
	blt	.L13
	mov	r1, r6
	mov	r0, r5
	bl	avcodec_receive_frame
	ldr	r3, .L16+8
	mov	r4, r0
	ldr	r0, [r3]
	bl	AVERROR
	cmp	r0, r4
	moveq	r4, #0
	beq	.L6
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, r4
	moveq	r3, #1
	moveq	r4, #0
	streq	r3, [r8]
	beq	.L6
	cmp	r4, #0
	movge	r3, #1
	strge	r3, [r7]
	blt	.L14
.L6:
	mov	r0, sp
	bl	av_packet_unref
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r3, .L16+12
	ldr	r5, [r3]
	bl	av_err2str
	ldr	r1, .L16+16
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	b	.L1
.L3:
	ldr	r3, .L16+12
	ldr	r5, [r3]
	bl	av_err2str
	ldr	r1, .L16+20
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	b	.L1
.L14:
	ldr	r3, .L16+12
	mov	r0, r4
	ldr	r5, [r3]
	bl	av_err2str
	ldr	r1, .L16+24
	mov	r2, r0
	mov	r0, r5
	bl	fprintf
	b	.L6
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	AVERROR_EOF
	.word	EAGAIN
	.word	stderr
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	decode_audio_frame, .-decode_audio_frame
	.comm	stderr,4,4
	.comm	EAGAIN,4,4
	.comm	AVERROR_EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
