	.file	"extr_mov_esds.c_ff_mov_read_esds.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_mov_read_esds
	.type	ff_mov_read_esds, @function
ff_mov_read_esds:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR [rdi]
	test	eax, eax
	jle	.L6
	mov	rdx, QWORD PTR 8[rdi]
	mov	rbp, rdi
	mov	r12, rsi
	mov	rdi, rsi
	lea	r13, 4[rsp]
	mov	r14, QWORD PTR -8[rdx+rax*8]
	call	avio_rb32@PLT
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	ff_mp4_read_descr@PLT
	mov	eax, DWORD PTR MP4ESDescrTag[rip]
	cmp	DWORD PTR 4[rsp], eax
	je	.L10
	mov	rdi, r12
	call	avio_rb16@PLT
.L5:
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	ff_mp4_read_descr@PLT
	mov	eax, DWORD PTR MP4DecConfigDescrTag[rip]
	cmp	DWORD PTR 4[rsp], eax
	je	.L11
.L6:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, r12
	call	ff_mp4_parse_es_descr@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, rbp
	call	ff_mp4_read_dec_config_descr@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ff_mov_read_esds, .-ff_mov_read_esds
	.comm	MP4ESDescrTag,4,4
	.comm	MP4DecConfigDescrTag,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_mov_esds.c_ff_mov_read_esds.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ff_mov_read_esds
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_mov_read_esds, %function
ff_mov_read_esds:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0]
	ldr	r2, .L13
	sub	sp, sp, #8
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	ble	.L6
	mov	r4, r0
	mov	r5, r1
	ldr	r2, [r0, #4]
	sub	r3, r3, #-1073741823
	mov	r0, r1
	ldr	r6, [r2, r3, lsl #2]
	bl	avio_rb32
	mov	r2, sp
	mov	r1, r5
	mov	r0, r4
	bl	ff_mp4_read_descr
	ldr	r3, .L13+4
	ldr	r2, [sp]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L10
	mov	r0, r5
	bl	avio_rb16
.L5:
	mov	r2, sp
	mov	r1, r5
	mov	r0, r4
	bl	ff_mp4_read_descr
	ldr	r3, .L13+8
	ldr	r2, [sp]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L11
.L6:
	mov	r0, #0
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L10:
	mov	r1, #0
	mov	r0, r5
	bl	ff_mp4_parse_es_descr
	b	.L5
.L11:
	mov	r2, r5
	mov	r1, r6
	mov	r0, r4
	bl	ff_mp4_read_dec_config_descr
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	MP4ESDescrTag
	.word	MP4DecConfigDescrTag
	.size	ff_mov_read_esds, .-ff_mov_read_esds
	.comm	MP4ESDescrTag,4,4
	.comm	MP4DecConfigDescrTag,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
