	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_MP4ESDescrTag
_parse_MP4ESDescrTag:                   ## @parse_MP4ESDescrTag
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -32(%rbp)
	movl	%edx, -28(%rbp)
	movl	$0, -36(%rbp)
	movq	(%rdi), %rax
	cmpq	8(%rdi), %rax
	jge	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	leaq	24(%rdi), %r14
	leaq	-36(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_mp4_parse_es_descr
	movq	(%rbx), %rax
	movq	32(%rbx), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rbx)
	leaq	(%rcx,%rax,4), %rdx
	movq	%rdx, 16(%rbx)
	movl	-36(%rbp), %edx
	movl	%edx, (%rcx,%rax,4)
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_update_offsets
	movl	-32(%rbp), %esi
	movl	-28(%rbp), %edx
	movq	_MP4DecConfigDescrTag@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_parse_mp4_descr
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_6
## %bb.3:
	leaq	-32(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_update_offsets
	movl	-28(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_5
## %bb.4:
	movl	-32(%rbp), %esi
	movq	_MP4SLDescrTag@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_parse_mp4_descr
	movl	%eax, %r15d
LBB0_5:
	movq	$0, 16(%rbx)
	jmp	LBB0_6
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_MP4DecConfigDescrTag,4,2       ## @MP4DecConfigDescrTag
	.comm	_MP4SLDescrTag,4,2              ## @MP4SLDescrTag
	.no_dead_strip	_parse_MP4ESDescrTag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_MP4ESDescrTag
_parse_MP4ESDescrTag:                   ; @parse_MP4ESDescrTag
	.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
	stp	w2, w1, [sp, #8]
	str	wzr, [sp, #4]
	ldp	x8, x9, [x0]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.1:
	mov	x19, x0
	add	x20, x0, #24
	add	x1, sp, #4
	mov	x0, x20
	bl	_ff_mp4_parse_es_descr
	ldr	x8, [x19, #32]
	ldr	x9, [x19]
	add	x10, x9, #1
	str	x10, [x19]
	lsl	x9, x9, #2
	add	x10, x8, x9
	str	x10, [x19, #16]
	ldr	w10, [sp, #4]
	str	w10, [x8, x9]
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x20
	bl	_update_offsets
	ldp	w2, w1, [sp, #8]
Lloh0:
	adrp	x8, _MP4DecConfigDescrTag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP4DecConfigDescrTag@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_parse_mp4_descr
	mov	x21, x0
	tbnz	w0, #31, LBB0_6
; %bb.2:
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x20
	bl	_update_offsets
	ldr	w2, [sp, #8]
	cmp	w2, #1
	b.lt	LBB0_4
; %bb.3:
	ldr	w1, [sp, #12]
Lloh3:
	adrp	x8, _MP4SLDescrTag@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MP4SLDescrTag@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_parse_mp4_descr
	mov	x21, x0
LBB0_4:
	str	xzr, [x19, #16]
	b	LBB0_6
LBB0_5:
Lloh6:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
LBB0_6:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_MP4DecConfigDescrTag,4,2       ; @MP4DecConfigDescrTag
	.comm	_MP4SLDescrTag,4,2              ; @MP4SLDescrTag
	.no_dead_strip	_parse_MP4ESDescrTag
.subsections_via_symbols
