	.file	"extr_electronicarts.c_process_video_header_vp6.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Timebase is invalid\n"
	.text
	.p2align 4
	.type	process_video_header_vp6, @function
process_video_header_vp6:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR [rdi]
	mov	rbx, rsi
	mov	esi, 8
	mov	rdi, rbp
	call	avio_skip@PLT
	mov	rdi, rbp
	call	avio_rl32@PLT
	mov	esi, 4
	mov	rdi, rbp
	mov	QWORD PTR 24[rbx], rax
	call	avio_skip@PLT
	mov	rdi, rbp
	call	avio_rl32@PLT
	mov	rdi, rbp
	mov	QWORD PTR 16[rbx], rax
	call	avio_rl32@PLT
	cmp	QWORD PTR 16[rbx], 0
	mov	QWORD PTR 8[rbx], rax
	je	.L5
	test	rax, rax
	je	.L5
	mov	eax, DWORD PTR AV_CODEC_ID_VP6[rip]
	mov	DWORD PTR [rbx], eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR AV_LOG_ERROR[rip]
	mov	rdi, r12
	lea	rdx, .LC0[rip]
	call	av_log@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	eax, DWORD PTR AVERROR_INVALIDDATA[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	process_video_header_vp6, .-process_video_header_vp6
	.comm	AV_LOG_ERROR,4,4
	.comm	AV_CODEC_ID_VP6,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_electronicarts.c_process_video_header_vp6.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Timebase is invalid\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_video_header_vp6, %function
process_video_header_vp6:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, [r0]
	mov	r4, r1
	mov	r6, r0
	mov	r1, #8
	mov	r0, r5
	bl	avio_skip
	mov	r0, r5
	bl	avio_rl32
	mov	r1, #4
	str	r0, [r4, #12]
	mov	r0, r5
	bl	avio_skip
	mov	r0, r5
	bl	avio_rl32
	mov	r3, r0
	mov	r0, r5
	str	r3, [r4, #8]
	bl	avio_rl32
	ldr	r3, [r4, #8]
	str	r0, [r4, #4]
	cmp	r0, #0
	cmpne	r3, #0
	beq	.L6
	ldr	r3, .L7
	mov	r0, #1
	ldr	r3, [r3]
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r3, .L7+4
	mov	r0, r6
	ldr	r1, [r3]
	ldr	r2, .L7+8
	bl	av_log
	ldr	r3, .L7+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	AV_CODEC_ID_VP6
	.word	AV_LOG_ERROR
	.word	.LC0
	.word	AVERROR_INVALIDDATA
	.size	process_video_header_vp6, .-process_video_header_vp6
	.comm	AV_LOG_ERROR,4,4
	.comm	AV_CODEC_ID_VP6,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
