	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_read_sample_table
_mp4_read_sample_table:                 ## @mp4_read_sample_table
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpl	$132, %ecx
	je	LBB0_5
## %bb.1:
	movl	%ecx, %r14d
	cmpl	$129, %ecx
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, 88(%r12)
	jmp	LBB0_33
LBB0_5:
	movq	(%rbx), %rax
	xorl	%ecx, %ecx
	cmpq	$0, 1072(%rax)
	setne	%cl
	leal	(%rcx,%rcx), %r14d
	addl	$132, %r14d
LBB0_6:
	testl	%r8d, %r8d
	je	LBB0_8
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_mp4_seek_sample_table
	movq	%rax, (%r12)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
LBB0_8:
	leal	-128(%r14), %eax
	cmpl	$6, %eax
	ja	LBB0_32
## %bb.9:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 72(%r12)
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 80(%r12)
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	movq	%rax, (%r12)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_32
## %bb.12:
	cmpq	$0, 72(%r12)
	jne	LBB0_32
	jmp	LBB0_13
LBB0_3:
	movl	$129, %r14d
	testl	%r8d, %r8d
	jne	LBB0_7
	jmp	LBB0_8
LBB0_10:
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 88(%r12)
	jmp	LBB0_30
LBB0_29:
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 24(%r12)
LBB0_30:
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	jmp	LBB0_31
LBB0_16:
	movq	%r15, %rdi
	callq	__READ_U32
	movl	%eax, 8(%r12)
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 32(%r12)
	movq	%r15, %rdi
	callq	__SKIP_U32
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	movq	%rax, (%r12)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_32
## %bb.17:
	movq	16(%r12), %rax
	movq	1048(%rax), %rcx
	incq	%rcx
	movq	(%rbx), %rdx
	movl	$-1, %eax
	cmpq	1048(%rdx), %rcx
	jge	LBB0_19
## %bb.18:
	movq	%r15, %rdi
	callq	__READ_U32
LBB0_19:
	movl	8(%r12), %ecx
	testl	%ecx, %ecx
	je	LBB0_13
## %bb.20:
	movq	32(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.21:
	subl	%ecx, %eax
	jle	LBB0_13
## %bb.22:
	movl	%eax, 8(%r12)
	movq	%rdx, 40(%r12)
	jmp	LBB0_32
LBB0_23:
	movq	%r15, %rdi
	callq	__READ_U32
	jmp	LBB0_25
LBB0_14:
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 56(%r12)
	movq	%r15, %rdi
	callq	__READ_U32
	movq	%rax, 64(%r12)
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	movq	%rax, (%r12)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_32
## %bb.15:
	cmpq	$0, 56(%r12)
	jne	LBB0_32
LBB0_13:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_31:
	movq	%rax, (%r12)
	jmp	LBB0_32
LBB0_24:
	movq	%r15, %rdi
	callq	__READ_U64
LBB0_25:
	movq	%rax, 48(%r12)
	movq	%r15, %rdi
	callq	_STREAM_STATUS
	movq	%rax, (%r12)
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_32
## %bb.26:
	cmpq	$0, 48(%r12)
	jne	LBB0_28
## %bb.27:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_28:
	movq	32(%r12), %rax
	movq	%rax, 40(%r12)
LBB0_32:
	movq	16(%r12), %rax
	movslq	%r14d, %rcx
	incq	(%rax,%rcx,8)
LBB0_33:
	movq	(%r12), %rax
LBB0_34:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_29
	.long	L0_0_set_16
	.long	L0_0_set_23
	.long	L0_0_set_14
	.long	L0_0_set_24
	.end_data_region
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ## @VC_CONTAINER_ERROR_CORRUPTED
	.no_dead_strip	_mp4_read_sample_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_read_sample_table
_mp4_read_sample_table:                 ; @mp4_read_sample_table
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x22, x1
	mov	x21, x0
	cmp	w3, #132
	b.eq	LBB0_4
; %bb.1:
	mov	x20, x3
	cmp	w3, #129
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_11
; %bb.3:
	str	x8, [x19, #88]
	b	LBB0_33
LBB0_4:
	ldr	x8, [x22]
	ldr	x8, [x8, #1072]
	cmp	x8, #0
	mov	w8, #134
	mov	w9, #132
	csel	w20, w9, w8, eq
LBB0_5:
	cbz	w4, LBB0_7
LBB0_6:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	mov	x3, x20
	bl	_mp4_seek_sample_table
	str	x0, [x19]
Lloh0:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_34
LBB0_7:
	sub	w8, w20, #128
	cmp	w8, #6
	b.hi	LBB0_32
; %bb.8:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #72]
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #80]
	mov	x0, x21
	bl	_STREAM_STATUS
	str	x0, [x19]
Lloh5:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_32
; %bb.10:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_32
	b	LBB0_31
LBB0_11:
	mov	w20, #129
	cbnz	w4, LBB0_6
	b	LBB0_7
LBB0_12:
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #88]
	b	LBB0_14
LBB0_13:
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #24]
LBB0_14:
	mov	x0, x21
	bl	_STREAM_STATUS
	str	x0, [x19]
	b	LBB0_32
LBB0_15:
	mov	x0, x21
	bl	__READ_U32
	str	w0, [x19, #8]
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #32]
	mov	x0, x21
	bl	__SKIP_U32
	mov	x0, x21
	bl	_STREAM_STATUS
	str	x0, [x19]
Lloh8:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_32
; %bb.16:
	ldr	x8, [x19, #16]
	ldr	x8, [x8, #1048]
	add	x8, x8, #1
	ldr	x9, [x22]
	ldr	x9, [x9, #1048]
	cmp	x8, x9
	b.ge	LBB0_26
; %bb.17:
	mov	x0, x21
	bl	__READ_U32
	b	LBB0_27
LBB0_18:
	mov	x0, x21
	bl	__READ_U32
	b	LBB0_22
LBB0_19:
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #56]
	mov	x0, x21
	bl	__READ_U32
	str	x0, [x19, #64]
	mov	x0, x21
	bl	_STREAM_STATUS
	str	x0, [x19]
Lloh11:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_32
; %bb.20:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_32
	b	LBB0_31
LBB0_21:
	mov	x0, x21
	bl	__READ_U64
LBB0_22:
	str	x0, [x19, #48]
	mov	x0, x21
	bl	_STREAM_STATUS
	str	x0, [x19]
Lloh14:
	adrp	x8, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_32
; %bb.23:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_25
; %bb.24:
Lloh17:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_25:
	ldr	x8, [x19, #32]
	str	x8, [x19, #40]
	b	LBB0_32
LBB0_26:
	mov	w0, #-1
LBB0_27:
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_31
; %bb.28:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_31
; %bb.29:
	subs	w9, w0, w9
	b.le	LBB0_31
; %bb.30:
	str	w9, [x19, #8]
	str	x8, [x19, #40]
	b	LBB0_32
LBB0_31:
Lloh20:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh21:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_32:
	ldr	x8, [x19, #16]
	sbfiz	x9, x20, #3, #32
	ldr	x10, [x8, x9]
	add	x10, x10, #1
	str	x10, [x8, x9]
LBB0_33:
	ldr	x0, [x19]
LBB0_34:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_12-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_18-LBB0_9)>>2
	.byte	(LBB0_19-LBB0_9)>>2
	.byte	(LBB0_21-LBB0_9)>>2
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ; @VC_CONTAINER_ERROR_CORRUPTED
	.no_dead_strip	_mp4_read_sample_table
.subsections_via_symbols
