	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ReadESDSDescExt
_ReadESDSDescExt:                       ## @ReadESDSDescExt
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -40(%rbp)
	movl	$0, (%rdx)
	testl	%ecx, %ecx
	je	LBB0_2
## %bb.1:
	addq	$16, %rdi
	movq	%rdi, -40(%rbp)
LBB0_2:
	leaq	-40(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_readDescr
	movq	-40(%rbp), %rax
	leaq	8(%rax), %rcx
	movq	%rcx, -40(%rbp)
	movl	-28(%rbp), %ecx
	movq	_MP4ESDescrTag@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	jne	LBB0_4
## %bb.3:
	addq	$12, %rax
	movq	%rax, -40(%rbp)
LBB0_4:
	leaq	-40(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_readDescr
	movl	-28(%rbp), %eax
	movq	_MP4DecConfigDescrTag@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.5:
	addq	$52, -40(%rbp)
	leaq	-40(%rbp), %rdi
	leaq	-28(%rbp), %rsi
	callq	_readDescr
	movl	%eax, %r15d
	movl	-28(%rbp), %eax
	movq	_MP4DecSpecificDescrTag@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	leal	8(%r15), %esi
	movl	$1, %edi
	callq	_calloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-40(%rbp), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	movl	%r15d, (%rbx)
LBB0_8:
	movq	_noErr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MP4ESDescrTag,4,2              ## @MP4ESDescrTag
	.comm	_MP4DecConfigDescrTag,4,2       ## @MP4DecConfigDescrTag
	.comm	_MP4DecSpecificDescrTag,4,2     ## @MP4DecSpecificDescrTag
	.comm	_noErr,8,3                      ## @noErr
	.no_dead_strip	_ReadESDSDescExt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ReadESDSDescExt
_ReadESDSDescExt:                       ; @ReadESDSDescExt
	.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
	mov	x19, x2
	mov	x20, x1
	str	x0, [sp, #8]
	str	wzr, [x2]
	cbz	w3, LBB0_2
; %bb.1:
	add	x8, x0, #16
	str	x8, [sp, #8]
LBB0_2:
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_readDescr
	ldr	x8, [sp, #8]
	add	x9, x8, #8
	str	x9, [sp, #8]
	ldr	w9, [sp, #4]
Lloh0:
	adrp	x10, _MP4ESDescrTag@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MP4ESDescrTag@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.ne	LBB0_4
; %bb.3:
	add	x8, x8, #12
	str	x8, [sp, #8]
LBB0_4:
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_readDescr
	ldr	w8, [sp, #4]
Lloh3:
	adrp	x9, _MP4DecConfigDescrTag@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MP4DecConfigDescrTag@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.5:
	ldr	x8, [sp, #8]
	add	x8, x8, #52
	str	x8, [sp, #8]
	add	x0, sp, #8
	add	x1, sp, #4
	bl	_readDescr
	ldr	w8, [sp, #4]
Lloh6:
	adrp	x9, _MP4DecSpecificDescrTag@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MP4DecSpecificDescrTag@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.6:
	mov	x21, x0
	add	w1, w0, #8
	mov	w0, #1
	bl	_calloc
	str	x0, [x20]
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x1, [sp, #8]
	mov	x2, x21
	bl	_memcpy
	str	w21, [x19]
LBB0_8:
Lloh9:
	adrp	x8, _noErr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _noErr@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	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
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MP4ESDescrTag,4,2              ; @MP4ESDescrTag
	.comm	_MP4DecConfigDescrTag,4,2       ; @MP4DecConfigDescrTag
	.comm	_MP4DecSpecificDescrTag,4,2     ; @MP4DecSpecificDescrTag
	.comm	_noErr,8,3                      ; @noErr
	.no_dead_strip	_ReadESDSDescExt
.subsections_via_symbols
