	.file	"extr_audiotoolboxdec.c_ffat_decode_callback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ffat_decode_callback, @function
ffat_decode_callback:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [r8]
	cmp	QWORD PTR 32[rbx], 0
	je	.L2
	mov	DWORD PTR [rsi], 0
	test	rcx, rcx
	je	.L11
	lea	rax, 16[rbx]
	mov	QWORD PTR [rcx], rax
	xor	eax, eax
	mov	QWORD PTR 16[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	mov	r12, rdx
	call	av_packet_unref@PLT
	lea	rsi, 24[rbx]
	mov	rdi, rbx
	call	av_packet_move_ref@PLT
	mov	rax, QWORD PTR 8[rbx]
	test	rax, rax
	je	.L13
	mov	rdx, QWORD PTR 8[r12]
	mov	rcx, QWORD PTR [rbx]
	mov	DWORD PTR [r12], 1
	mov	QWORD PTR 16[rdx], 0
	mov	QWORD PTR 8[rdx], rcx
	mov	QWORD PTR [rdx], rax
	mov	DWORD PTR 0[r13], 1
	test	rbp, rbp
	je	.L11
	lea	rax, 16[rbx]
	mov	QWORD PTR 0[rbp], rax
	mov	QWORD PTR 16[rbx], rcx
.L11:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	DWORD PTR 0[r13], 0
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ffat_decode_callback, .-ffat_decode_callback
	.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_audiotoolboxdec.c_ffat_decode_callback.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ffat_decode_callback, %function
ffat_decode_callback:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [sp, #24]
	mov	r8, r1
	ldr	r4, [r0]
	mov	r5, r3
	ldr	r7, [r4, #16]
	cmp	r7, #0
	beq	.L2
	mov	r3, #0
	cmp	r5, r3
	str	r3, [r1]
	beq	.L6
	mov	r7, r3
	add	r2, r4, #8
	str	r2, [r5]
	str	r3, [r4, #8]
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r7, #0
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r4
	mov	r6, r2
	bl	av_packet_unref
	mov	r0, r4
	add	r1, r4, #12
	bl	av_packet_move_ref
	ldr	r3, [r4, #4]
	cmp	r3, #0
	streq	r7, [r8]
	moveq	r7, #1
	beq	.L1
	mov	r1, #1
	ldr	r0, [r4]
	ldr	r2, [r6, #4]
	cmp	r5, #0
	str	r1, [r6]
	str	r7, [r2, #8]
	str	r3, [r2]
	str	r0, [r2, #4]
	str	r1, [r8]
	beq	.L6
	add	r3, r4, #8
	str	r3, [r5]
	str	r0, [r4, #8]
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
	.size	ffat_decode_callback, .-ffat_decode_callback
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
