	.file	"extr_stream.c_do_deep_probe.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"do_deep_probe: unexpected codec_id (%d)"
	.text
	.p2align 4
	.type	do_deep_probe, @function
do_deep_probe:
.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
	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, 40
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	avcodec_find_decoder@PLT
	test	rax, rax
	je	.L4
	mov	r12, rax
	mov	rdi, rax
	call	avcodec_alloc_context3@PLT
	mov	edi, DWORD PTR [r12]
	mov	QWORD PTR 8[rsp], rax
	call	av_parser_init@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	rbp, rax
	test	rdi, rdi
	je	.L4
	test	rax, rax
	je	.L4
	xor	ecx, ecx
	xor	edx, edx
	mov	rsi, r12
	call	hb_avcodec_open@PLT
	test	rax, rax
	jne	.L4
	mov	rax, QWORD PTR 16[rbx]
	mov	r9d, DWORD PTR [rax]
	test	r9d, r9d
	jle	.L13
	xor	r15d, r15d
	lea	r13, 4[rsp]
	lea	r12, 16[rsp]
	xor	r14d, r14d
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L17:
	movabs	rax, 4294967425
	mov	r14d, 1
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR V[rip]
	mov	QWORD PTR 8[rbx], rax
.L7:
	mov	rax, QWORD PTR 16[rbx]
	mov	r9d, DWORD PTR [rax]
	cmp	r9d, r15d
	jle	.L5
.L11:
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	movsx	r8, r15d
	add	r8, QWORD PTR 8[rax]
	sub	r9d, r15d
	push	0
	.cfi_def_cfa_offset 112
	mov	rcx, r13
	mov	rdx, r12
	mov	rdi, rbp
	push	0
	.cfi_def_cfa_offset 120
	push	0
	.cfi_def_cfa_offset 128
	mov	rsi, QWORD PTR 40[rsp]
	call	av_parser_parse2@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
	add	r15d, eax
	mov	eax, DWORD PTR 4[rsp]
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR [rax]
	cmp	esi, 128
	je	.L8
	cmp	esi, 129
	je	.L17
	lea	rdi, .LC0[rip]
	mov	r14d, -1
	call	hb_error@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	r9d, DWORD PTR [rax]
	cmp	r9d, r15d
	jg	.L11
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, rbp
	call	av_parser_close@PLT
	lea	rdi, 8[rsp]
	call	hb_avcodec_free_context@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L8:
	.cfi_restore_state
	movabs	rax, 8589934720
	mov	r14d, 1
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR V[rip]
	mov	QWORD PTR 8[rbx], rax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	xor	r14d, r14d
	jmp	.L5
.L4:
	mov	r14d, -1
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_deep_probe, .-do_deep_probe
	.comm	V,8,8
	.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_stream.c_do_deep_probe.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"do_deep_probe: unexpected codec_id (%d)\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_deep_probe, %function
do_deep_probe:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r3, .L19
	sub	sp, sp, #40
	ldr	r0, [r1]
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	avcodec_find_decoder
	subs	r4, r0, #0
	beq	.L4
	bl	avcodec_alloc_context3
	mov	r3, r0
	ldr	r0, [r4]
	str	r3, [sp, #24]
	bl	av_parser_init
	clz	r3, r0
	mov	r7, r0
	ldr	r0, [sp, #24]
	lsr	r3, r3, #5
	cmp	r0, #0
	moveq	r3, #1
	cmp	r3, #0
	bne	.L4
	mov	r1, r4
	mov	r2, r3
	bl	hb_avcodec_open
	subs	r4, r0, #0
	bne	.L4
	ldr	r2, [r6, #12]
	mov	r8, r4
	ldr	r3, [r2]
	cmp	r3, #0
	ble	.L5
	mov	r5, r4
	ldr	r9, .L19+4
	ldr	r10, .L19+8
	b	.L11
.L17:
	mov	r8, #1
	ldr	r3, [r9]
	stm	r6, {r1, r8}
	str	r3, [r6, #8]
.L7:
	ldr	r2, [r6, #12]
	ldr	r3, [r2]
	cmp	r3, r4
	ble	.L5
.L11:
	sub	r3, r3, r4
	str	r3, [sp, #4]
	str	r5, [sp, #16]
	str	r5, [sp, #12]
	str	r5, [sp, #8]
	ldr	r2, [r2, #4]
	add	r3, sp, #28
	add	r2, r4, r2
	str	r2, [sp]
	mov	r0, r7
	ldr	r1, [sp, #24]
	add	r2, sp, #32
	bl	av_parser_parse2
	ldr	r3, [sp, #28]
	add	r4, r4, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [sp, #24]
	ldr	r1, [r3]
	cmp	r1, #128
	beq	.L8
	cmp	r1, #129
	beq	.L17
	mov	r0, r10
	bl	hb_error
	ldr	r2, [r6, #12]
	mvn	r8, #0
	ldr	r3, [r2]
	cmp	r3, r4
	bgt	.L11
.L5:
	mov	r0, r7
	bl	av_parser_close
	add	r0, sp, #24
	bl	hb_avcodec_free_context
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r8
	add	sp, sp, #40
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r2, #2
	ldr	r3, [r9]
	mov	r8, #1
	stmib	r6, {r2, r3}
	str	r1, [r6]
	b	.L7
.L4:
	mvn	r8, #0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC1
	.word	V
	.word	.LC0
	.size	do_deep_probe, .-do_deep_probe
	.comm	V,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
