	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mov_read_esds               ## -- Begin function ff_mov_read_esds
	.p2align	4, 0x90
_ff_mov_read_esds:                      ## @ff_mov_read_esds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	decl	%eax
	movq	(%rcx,%rax,8), %r12
	movq	%rsi, %rdi
	callq	_avio_rb32
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_mp4_read_descr
	movl	-36(%rbp), %eax
	movq	_MP4ESDescrTag@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_ff_mp4_parse_es_descr
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdi
	callq	_avio_rb16
LBB0_4:
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ff_mp4_read_descr
	movl	-36(%rbp), %eax
	movq	_MP4DecConfigDescrTag@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_ff_mp4_read_dec_config_descr
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP4ESDescrTag,4,2              ## @MP4ESDescrTag
	.comm	_MP4DecConfigDescrTag,4,2       ## @MP4DecConfigDescrTag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mov_read_esds               ; -- Begin function ff_mov_read_esds
	.p2align	2
_ff_mov_read_esds:                      ; @ff_mov_read_esds
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w8, [x0]
	subs	w8, w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x9, [x0, #8]
	ldr	x21, [x9, w8, uxtw #3]
	mov	x0, x1
	bl	_avio_rb32
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_ff_mp4_read_descr
	ldr	w8, [sp, #12]
Lloh0:
	adrp	x9, _MP4ESDescrTag@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MP4ESDescrTag@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	mov	x0, x19
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	x1, #0
	bl	_ff_mp4_parse_es_descr
	b	LBB0_4
LBB0_3:
	bl	_avio_rb16
LBB0_4:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_ff_mp4_read_descr
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _MP4DecConfigDescrTag@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MP4DecConfigDescrTag@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_ff_mp4_read_dec_config_descr
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MP4ESDescrTag,4,2              ; @MP4ESDescrTag
	.comm	_MP4DecConfigDescrTag,4,2       ; @MP4DecConfigDescrTag
.subsections_via_symbols
