	.file	"extr_avparser.c_avparser_OpenPacketizer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	avparser_OpenPacketizer
	.type	avparser_OpenPacketizer, @function
avparser_OpenPacketizer:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rsi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	rsi, QWORD PTR VLC_CODEC_VP9[rip]
	je	.L2
.L13:
	mov	eax, DWORD PTR VLC_EGENERIC[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 32
	.cfi_remember_state
	.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	rbp, rdi
	mov	edi, DWORD PTR 8[rdi]
	xor	ecx, ecx
	lea	rdx, 12[rsp]
	call	GetFfmpegCodec@PLT
	test	eax, eax
	je	.L13
	mov	rdi, rbp
	call	vlc_init_avcodec@PLT
	mov	edi, DWORD PTR 12[rsp]
	call	av_parser_init@PLT
	mov	r12, rax
	test	rax, rax
	je	.L13
	mov	edi, DWORD PTR 12[rsp]
	call	avcodec_find_decoder@PLT
	xor	edi, edi
	test	rax, rax
	mov	r13, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L16
	mov	rdi, r13
	call	avcodec_alloc_context3@PLT
	xor	edi, edi
	test	rax, rax
	mov	QWORD PTR 16[rsp], rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L11
	mov	edi, 24
	call	malloc@PLT
	xor	edi, edi
	mov	QWORD PTR 40[rbp], rax
	test	rax, rax
	mov	r13, rax
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	jne	.L17
	mov	eax, DWORD PTR Packetize[rip]
	mov	QWORD PTR 24[rbp], 0
	lea	rdi, 16[rbp]
	mov	rsi, rbp
	mov	DWORD PTR 36[rbp], eax
	mov	eax, DWORD PTR FlushPacketizer[rip]
	mov	DWORD PTR 32[rbp], eax
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR 16[r13], r12
	mov	QWORD PTR 8[r13], rax
	mov	QWORD PTR 0[r13], 0
	call	es_format_Copy@PLT
	mov	eax, DWORD PTR VLC_SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rdi, 16[rsp]
	call	avcodec_free_context@PLT
.L11:
	mov	rdi, r12
	call	av_parser_close@PLT
	mov	eax, DWORD PTR VLC_ENOMEM[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r12
	call	av_parser_close@PLT
	jmp	.L13
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	avparser_OpenPacketizer, .-avparser_OpenPacketizer
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_VP9,8,8
	.comm	Packetize,4,4
	.comm	FlushPacketizer,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_avparser.c_avparser_OpenPacketizer.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	avparser_OpenPacketizer
	.syntax unified
	.arm
	.fpu softvfp
	.type	avparser_OpenPacketizer, %function
avparser_OpenPacketizer:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, .L18
	ldr	r1, [r0]
	ldr	r3, [r3]
	ldr	r2, .L18+4
	sub	sp, sp, #16
	cmp	r1, r3
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L2
.L13:
	ldr	r3, .L18+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	mov	r4, r0
	mov	r3, #0
	ldr	r0, [r0, #4]
	add	r2, sp, #4
	bl	GetFfmpegCodec
	cmp	r0, #0
	beq	.L13
	mov	r0, r4
	bl	vlc_init_avcodec
	ldr	r0, [sp, #4]
	bl	av_parser_init
	subs	r6, r0, #0
	beq	.L13
	ldr	r0, [sp, #4]
	bl	avcodec_find_decoder
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	bne	.L16
	mov	r0, r5
	bl	avcodec_alloc_context3
	mov	r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
	str	r3, [sp, #8]
	bl	unlikely
	cmp	r0, #0
	bne	.L11
	mov	r0, #12
	bl	malloc
	mov	r5, r0
	clz	r0, r0
	str	r5, [r4, #24]
	lsr	r0, r0, #5
	bl	unlikely
	subs	r3, r0, #0
	bne	.L17
	ldr	r2, .L18+12
	ldr	r1, .L18+16
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r2, [r4, #20]
	ldr	r2, [sp, #8]
	str	r3, [r4, #12]
	str	r1, [r4, #16]
	str	r3, [r5]
	mov	r1, r4
	add	r0, r4, #8
	str	r6, [r5, #8]
	str	r2, [r5, #4]
	bl	es_format_Copy
	ldr	r3, .L18+20
	ldr	r0, [r3]
	b	.L1
.L17:
	add	r0, sp, #8
	bl	avcodec_free_context
.L11:
	mov	r0, r6
	bl	av_parser_close
	ldr	r3, .L18+24
	ldr	r0, [r3]
	b	.L1
.L16:
	mov	r0, r6
	bl	av_parser_close
	b	.L13
.L15:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	VLC_CODEC_VP9
	.word	.LC0
	.word	VLC_EGENERIC
	.word	Packetize
	.word	FlushPacketizer
	.word	VLC_SUCCESS
	.word	VLC_ENOMEM
	.size	avparser_OpenPacketizer, .-avparser_OpenPacketizer
	.comm	VLC_SUCCESS,4,4
	.comm	VLC_ENOMEM,4,4
	.comm	VLC_EGENERIC,4,4
	.comm	VLC_CODEC_VP9,4,4
	.comm	Packetize,4,4
	.comm	FlushPacketizer,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
