	.file	"extr_decavcodec.c_decavcodecaWork.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	decavcodecaWork, @function
decavcodecaWork:
.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
	mov	r14, rdi
	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	rbx, rsi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	r13, QWORD PTR [rsi]
	mov	rbp, QWORD PTR [rdi]
	mov	QWORD PTR [rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 24[r13]
	test	rax, rax
	je	.L2
	movsx	rcx, DWORD PTR 0[r13]
	mov	rdx, QWORD PTR 32[r13]
	xor	esi, esi
	sub	rdx, rcx
	lea	rdi, [rax+rcx*4]
	call	memset@PLT
.L2:
	mov	eax, DWORD PTR 4[r13]
	lea	rdx, 4[rbp]
	mov	QWORD PTR 8[rsp], rdx
	mov	r12d, eax
	and	r12d, DWORD PTR HB_BUF_FLAG_EOF[rip]
	jne	.L28
	mov	rdx, QWORD PTR [rsp]
	mov	r15d, DWORD PTR 12[r13]
	mov	QWORD PTR [rdx], 0
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	je	.L29
.L5:
	mov	ebx, DWORD PTR 0[r13]
	lea	r14, 28[rsp]
	test	ebx, ebx
	jg	.L6
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L31:
	lea	rdx, 32[rsp]
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	esi, DWORD PTR 48[rbp]
	movsx	rcx, r12d
	push	0
	.cfi_def_cfa_offset 128
	sub	ebx, r12d
	lea	r8, [rax+rcx*4]
	mov	rcx, r14
	push	r15
	.cfi_def_cfa_offset 136
	mov	r9d, ebx
	push	r15
	.cfi_def_cfa_offset 144
	call	av_parser_parse2@PLT
	mov	r15d, DWORD PTR AV_NOPTS_VALUE[rip]
	mov	ebx, eax
	mov	rax, QWORD PTR 40[rbp]
	mov	esi, DWORD PTR [rax]
	mov	rax, QWORD PTR 64[rsp]
	add	rsp, 32
	.cfi_def_cfa_offset 112
	test	rax, rax
	je	.L9
.L32:
	mov	ecx, DWORD PTR 28[rsp]
	test	ecx, ecx
	jg	.L30
	test	ebx, ebx
	jle	.L12
.L15:
	mov	DWORD PTR 0[rbp], 1
.L12:
	add	r12d, ebx
	mov	ebx, DWORD PTR 0[r13]
	cmp	ebx, r12d
	jle	.L14
.L6:
	mov	rdi, QWORD PTR 40[rbp]
	mov	rax, QWORD PTR 24[r13]
	mov	DWORD PTR 28[rsp], 0
	mov	QWORD PTR 32[rsp], 0
	test	rdi, rdi
	jne	.L31
	mov	QWORD PTR 32[rsp], rax
	mov	esi, DWORD PTR 12[r13]
	mov	DWORD PTR 28[rsp], ebx
	test	rax, rax
	jne	.L32
.L9:
	test	ebx, ebx
	jle	.L12
	mov	eax, DWORD PTR 28[rsp]
	test	eax, eax
	jle	.L15
	add	r12d, ebx
	mov	ebx, DWORD PTR 0[r13]
	cmp	ebx, r12d
	jg	.L6
.L14:
	mov	rdi, QWORD PTR 8[rsp]
	call	hb_buffer_list_clear@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR HB_WORK_OK[rip]
.L1:
	mov	rdx, QWORD PTR 40[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L33
	add	rsp, 56
	.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
.L30:
	.cfi_restore_state
	mov	DWORD PTR 20[rbp], esi
	mov	rdi, rbp
	lea	rsi, 8[rbp]
	mov	QWORD PTR 24[rbp], rax
	mov	DWORD PTR 12[rbp], ecx
	call	decodeAudio@PLT
	mov	eax, DWORD PTR 8[r13]
	mov	DWORD PTR 16[rbp], eax
	mov	eax, DWORD PTR 4[r13]
	test	DWORD PTR HB_FLAG_DISCARD[rip], eax
	mov	DWORD PTR 0[rbp], 0
	setne	al
	movzx	eax, al
	mov	DWORD PTR 8[rbp], eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L29:
	mov	ecx, DWORD PTR 8[r13]
	test	DWORD PTR HB_FLAG_DISCARD[rip], eax
	setne	al
	mov	DWORD PTR 16[rbp], ecx
	mov	ecx, DWORD PTR 20[r13]
	movzx	eax, al
	mov	DWORD PTR 36[rbp], ecx
	mov	ecx, DWORD PTR 16[r13]
	mov	DWORD PTR 8[rbp], eax
	mov	DWORD PTR 32[rbp], ecx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L28:
	mov	rdi, r14
	call	audioParserFlush@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	decodeAudio@PLT
	mov	r14, QWORD PTR 8[rsp]
	mov	rsi, r13
	mov	rdi, r14
	call	hb_buffer_list_append@PLT
	mov	QWORD PTR [rbx], 0
	mov	rdi, r14
	call	hb_buffer_list_clear@PLT
	mov	rdx, QWORD PTR [rsp]
	mov	QWORD PTR [rdx], rax
	mov	eax, DWORD PTR HB_WORK_DONE[rip]
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	decavcodecaWork, .-decavcodecaWork
	.comm	HB_WORK_OK,4,4
	.comm	HB_WORK_DONE,4,4
	.comm	HB_FLAG_DISCARD,4,4
	.comm	HB_BUF_FLAG_EOF,4,4
	.comm	AV_NOPTS_VALUE,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_decavcodec.c_decavcodecaWork.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decavcodecaWork, %function
decavcodecaWork:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	ldr	r6, [r1]
	sub	sp, sp, #52
	ldr	r0, [r6, #24]
	ldr	r3, .L34
	str	r2, [sp, #24]
	cmp	r0, #0
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r4, [r9]
	beq	.L2
	ldr	r3, [r6]
	ldr	r2, [r6, #28]
	mov	r1, #0
	add	r0, r0, r3, lsl #2
	sub	r2, r2, r3
	bl	memset
.L2:
	ldr	r2, .L34+4
	ldr	r3, [r6, #4]
	ldr	r5, [r2]
	add	r2, r4, #4
	ands	r5, r3, r5
	str	r2, [sp, #28]
	bne	.L28
	ldr	r2, [r4]
	ldr	r1, [sp, #24]
	cmp	r2, #0
	ldr	fp, [r6, #12]
	str	r5, [r1]
	beq	.L29
.L5:
	ldr	r8, [r6]
	cmp	r8, #0
	ble	.L14
	mov	r7, #0
	ldr	r9, .L34+8
	ldr	r10, .L34+12
	b	.L6
.L31:
	sub	r3, r8, r5
	add	ip, ip, r5, lsl #2
	ldr	r1, [r4, #40]
	add	r2, sp, #36
	str	r3, [sp, #4]
	str	ip, [sp]
	str	fp, [sp, #12]
	str	fp, [sp, #8]
	str	r7, [sp, #16]
	add	r3, sp, #40
	bl	av_parser_parse2
	ldr	ip, [sp, #36]
	ldr	r2, [r4, #36]
	cmp	ip, #0
	mov	r8, r0
	ldr	fp, [r9]
	ldr	r0, [r2]
	beq	.L9
.L32:
	ldr	r1, [sp, #40]
	cmp	r1, #0
	bgt	.L30
	cmp	r8, #0
	ble	.L12
.L15:
	mov	r1, #1
	str	r1, [r4]
.L12:
	add	r5, r5, r8
	ldr	r8, [r6]
	cmp	r8, r5
	ble	.L14
.L6:
	ldr	r0, [r4, #36]
	ldr	ip, [r6, #24]
	cmp	r0, #0
	str	r7, [sp, #36]
	str	r7, [sp, #40]
	bne	.L31
	cmp	ip, #0
	ldr	r0, [r6, #12]
	str	ip, [sp, #36]
	str	r8, [sp, #40]
	bne	.L32
.L9:
	cmp	r8, #0
	ble	.L12
	ldr	r1, [sp, #40]
	cmp	r1, #0
	ble	.L15
	add	r5, r5, r8
	ldr	r8, [r6]
	cmp	r8, r5
	bgt	.L6
.L14:
	ldr	r0, [sp, #28]
	bl	hb_buffer_list_clear
	ldr	r3, .L34+16
	ldr	r2, [sp, #24]
	str	r0, [r2]
	ldr	r0, [r3]
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L30:
	str	ip, [r4, #24]
	str	r1, [r4, #12]
	str	r0, [r4, #20]
	add	r1, r4, #8
	mov	r0, r4
	bl	decodeAudio
	ldr	r1, [r10]
	ldr	ip, [r6, #4]
	ldr	r0, [r6, #8]
	tst	ip, r1
	movne	r1, #1
	moveq	r1, #0
	str	r0, [r4, #16]
	str	r1, [r4, #8]
	str	r7, [r4]
	b	.L9
.L29:
	ldr	r1, .L34+12
	ldr	r0, [r6, #8]
	ldr	r1, [r1]
	str	r0, [r4, #16]
	tst	r3, r1
	movne	r1, #1
	moveq	r1, #0
	ldr	r0, [r6, #20]
	ldr	r3, [r6, #16]
	str	r0, [r4, #32]
	str	r1, [r4, #8]
	str	r3, [r4, #28]
	b	.L5
.L28:
	mov	r0, r9
	bl	audioParserFlush
	mov	r0, r4
	mov	r1, #0
	bl	decodeAudio
	ldr	r4, [sp, #28]
	mov	r1, r6
	mov	r0, r4
	bl	hb_buffer_list_append
	mov	r3, #0
	mov	r0, r4
	str	r3, [r7]
	bl	hb_buffer_list_clear
	ldr	r3, .L34+20
	ldr	r2, [sp, #24]
	str	r0, [r2]
	ldr	r0, [r3]
	b	.L1
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC0
	.word	HB_BUF_FLAG_EOF
	.word	AV_NOPTS_VALUE
	.word	HB_FLAG_DISCARD
	.word	HB_WORK_OK
	.word	HB_WORK_DONE
	.size	decavcodecaWork, .-decavcodecaWork
	.comm	HB_WORK_OK,4,4
	.comm	HB_WORK_DONE,4,4
	.comm	HB_FLAG_DISCARD,4,4
	.comm	HB_BUF_FLAG_EOF,4,4
	.comm	AV_NOPTS_VALUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
