	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_read_box_stsd
_mp4_read_box_stsd:                     ## @mp4_read_box_stsd
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r15
	leaq	L_.str(%rip), %rsi
	callq	_MP4_SKIP_U8
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MP4_SKIP_U24
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_MP4_READ_U32
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_mp4_read_box_header
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_49
## %bb.3:
	movl	-28(%rbp), %edi
	callq	_mp4_box_type_to_codec
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movl	-28(%rbp), %eax
	movl	%eax, (%rcx)
LBB0_5:
	movq	8(%rcx), %rax
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_MP4_BOX_TYPE_VIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
LBB0_7:
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_MP4_BOX_TYPE_SOUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
LBB0_9:
	movq	_VC_CONTAINER_ES_TYPE_SUBPICTURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movq	_MP4_BOX_TYPE_TEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -28(%rbp)
	jmp	LBB0_12
LBB0_1:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_49
LBB0_10:
	movl	-28(%rbp), %esi
LBB0_12:
	movl	-32(%rbp), %edx
	movq	_MP4_BOX_TYPE_STSD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_mp4_read_box_data
	cmpq	(%r14), %rax
	jne	LBB0_49
## %bb.13:
	movq	(%r15), %rax
	movl	(%rax), %edi
	cmpl	$131, %edi
	jne	LBB0_19
## %bb.14:
	movq	8(%r15), %rcx
	movq	(%rcx), %rdx
	movl	$-133, %ecx
	addl	(%rdx), %ecx
	cmpl	$13, %ecx
	ja	LBB0_25
## %bb.15:
	movl	$131, %edi
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_16:
	movq	_VC_CONTAINER_CODEC_MPGA@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_19:
	movq	_VC_CONTAINER_CODEC_MP4V@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edi
	jne	LBB0_28
## %bb.20:
	movq	8(%r15), %rcx
	movq	(%rcx), %rdx
	movl	$-135, %ecx
	addl	(%rdx), %ecx
	cmpl	$10, %ecx
	ja	LBB0_25
## %bb.21:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_23:
	movq	_VC_CONTAINER_CODEC_MP2V@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_17:
	movq	_VC_CONTAINER_CODEC_EVRC@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_25:
	movq	_VC_CONTAINER_CODEC_UNKNOWN@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_18:
	movq	_VC_CONTAINER_CODEC_QCELP@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_24:
	movq	_VC_CONTAINER_CODEC_MP1V@GOTPCREL(%rip), %rcx
	jmp	LBB0_26
LBB0_22:
	movq	_VC_CONTAINER_CODEC_JPEG@GOTPCREL(%rip), %rcx
LBB0_26:
	movl	(%rcx), %edi
LBB0_27:
	movl	%edi, (%rax)
LBB0_28:
	callq	_codec_needs_batch_mode
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:
	movq	_MP4_MAX_SAMPLES_BATCH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 8(%rcx)
LBB0_30:
	movq	(%r15), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$4, %ecx
	ja	LBB0_48
## %bb.31:
	leaq	LJTI0_2(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_33:
	movq	32(%rax), %rax
	movl	(%rax), %ecx
	leal	7(%rcx), %edx
	addl	$14, %ecx
	testl	%edx, %edx
	cmovnsl	%edx, %ecx
	sarl	$3, %ecx
	imull	4(%rax), %ecx
	movq	8(%r15), %rax
	movq	(%rax), %rax
LBB0_47:
	movl	%ecx, 4(%rax)
	jmp	LBB0_48
LBB0_32:
	movq	32(%rax), %rax
	movl	$8, (%rax)
	movl	4(%rax), %eax
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movl	%eax, 4(%rcx)
	jmp	LBB0_48
LBB0_34:
	movl	16(%rax), %esi
	cmpl	$2, %esi
	jl	LBB0_48
## %bb.35:
	movq	24(%rax), %rdx
	movl	(%rdx), %ebx
	movl	4(%rdx), %ecx
	addl	%ebx, %ebx
	andl	$14, %ebx
	movl	%ecx, %edi
	sarl	$7, %edi
	movslq	%edi, %rdi
	orq	%rbx, %rdi
	cmpl	$15, %edi
	jne	LBB0_38
## %bb.36:
	cmpl	$5, %esi
	jb	LBB0_38
## %bb.37:
	andl	$127, %ecx
	shll	$17, %ecx
	movl	8(%rdx), %esi
	movl	12(%rdx), %edi
	shll	$9, %esi
	addl	%edi, %edi
	orl	%esi, %edi
	orl	%ecx, %edi
	movl	16(%rdx), %ecx
	movl	%ecx, %edx
	sarl	$7, %edx
	orl	%edi, %edx
	jmp	LBB0_40
LBB0_38:
	cmpl	$12, %edi
	jg	LBB0_48
## %bb.39:
	leaq	_mp4_read_box_stsd.rate(%rip), %rdx
	movl	(%rdx,%rdi,4), %edx
LBB0_40:
	shrl	$3, %ecx
	andl	$15, %ecx
	testl	%edx, %edx
	je	LBB0_44
## %bb.41:
	movq	32(%rax), %rsi
	movl	8(%rsi), %edi
	cmpl	%edi, %edx
	je	LBB0_44
## %bb.42:
	leal	(%rdx,%rdx), %ebx
	cmpl	%edi, %ebx
	je	LBB0_44
## %bb.43:
	movl	%edx, 8(%rsi)
LBB0_44:
	testl	%ecx, %ecx
	je	LBB0_48
## %bb.45:
	movq	32(%rax), %rax
	movl	4(%rax), %edx
	cmpl	%edx, %ecx
	je	LBB0_48
## %bb.46:
	leal	(%rcx,%rcx), %esi
	cmpl	%edx, %esi
	jne	LBB0_47
LBB0_48:
	movq	(%r14), %rax
LBB0_49:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_28
	.long	L0_0_set_25
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_23
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_22
.set L0_1_set_17, LBB0_17-LJTI0_1
.set L0_1_set_25, LBB0_25-LJTI0_1
.set L0_1_set_27, LBB0_27-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_18, LBB0_18-LJTI0_1
LJTI0_1:
	.long	L0_1_set_17
	.long	L0_1_set_17
	.long	L0_1_set_25
	.long	L0_1_set_27
	.long	L0_1_set_25
	.long	L0_1_set_25
	.long	L0_1_set_25
	.long	L0_1_set_27
	.long	L0_1_set_25
	.long	L0_1_set_16
	.long	L0_1_set_16
	.long	L0_1_set_16
	.long	L0_1_set_25
	.long	L0_1_set_18
.set L0_2_set_33, LBB0_33-LJTI0_2
.set L0_2_set_32, LBB0_32-LJTI0_2
.set L0_2_set_34, LBB0_34-LJTI0_2
LJTI0_2:
	.long	L0_2_set_33
	.long	L0_2_set_33
	.long	L0_2_set_32
	.long	L0_2_set_34
	.long	L0_2_set_32
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version"

L_.str.1:                               ## @.str.1
	.asciz	"flags"

L_.str.2:                               ## @.str.2
	.asciz	"entry_count"

	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ## @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_MP4_BOX_TYPE_VIDE,4,2          ## @MP4_BOX_TYPE_VIDE
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ## @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_MP4_BOX_TYPE_SOUN,4,2          ## @MP4_BOX_TYPE_SOUN
	.comm	_VC_CONTAINER_ES_TYPE_SUBPICTURE,8,3 ## @VC_CONTAINER_ES_TYPE_SUBPICTURE
	.comm	_MP4_BOX_TYPE_TEXT,4,2          ## @MP4_BOX_TYPE_TEXT
	.comm	_MP4_BOX_TYPE_STSD,4,2          ## @MP4_BOX_TYPE_STSD
	.comm	_VC_CONTAINER_CODEC_MPGA,4,2    ## @VC_CONTAINER_CODEC_MPGA
	.comm	_VC_CONTAINER_CODEC_EVRC,4,2    ## @VC_CONTAINER_CODEC_EVRC
	.comm	_VC_CONTAINER_CODEC_QCELP,4,2   ## @VC_CONTAINER_CODEC_QCELP
	.comm	_VC_CONTAINER_CODEC_UNKNOWN,8,3 ## @VC_CONTAINER_CODEC_UNKNOWN
	.comm	_VC_CONTAINER_CODEC_MP4V,4,2    ## @VC_CONTAINER_CODEC_MP4V
	.comm	_VC_CONTAINER_CODEC_JPEG,4,2    ## @VC_CONTAINER_CODEC_JPEG
	.comm	_VC_CONTAINER_CODEC_MP2V,4,2    ## @VC_CONTAINER_CODEC_MP2V
	.comm	_VC_CONTAINER_CODEC_MP1V,4,2    ## @VC_CONTAINER_CODEC_MP1V
	.comm	_MP4_MAX_SAMPLES_BATCH_SIZE,4,2 ## @MP4_MAX_SAMPLES_BATCH_SIZE
	.section	__TEXT,__const
	.p2align	4                               ## @mp4_read_box_stsd.rate
_mp4_read_box_stsd.rate:
	.long	96000                           ## 0x17700
	.long	88200                           ## 0x15888
	.long	64000                           ## 0xfa00
	.long	48000                           ## 0xbb80
	.long	44100                           ## 0xac44
	.long	32000                           ## 0x7d00
	.long	24000                           ## 0x5dc0
	.long	22050                           ## 0x5622
	.long	16000                           ## 0x3e80
	.long	12000                           ## 0x2ee0
	.long	11025                           ## 0x2b11
	.long	8000                            ## 0x1f40
	.long	7350                            ## 0x1cb6

	.no_dead_strip	_mp4_read_box_stsd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_read_box_stsd
_mp4_read_box_stsd:                     ; @mp4_read_box_stsd
	.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	x20, x1
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x21, [x9, x8, lsl #3]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_MP4_SKIP_U8
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U24
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_MP4_READ_U32
	cbz	w0, LBB0_10
; %bb.1:
	add	x2, sp, #12
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_mp4_read_box_header
Lloh6:
	adrp	x20, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh7:
	ldr	x20, [x20, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_36
; %bb.2:
	ldr	w0, [sp, #12]
	bl	_mp4_box_type_to_codec
	ldr	x8, [x21]
	str	w0, [x8]
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w9, [sp, #12]
	str	w9, [x8]
LBB0_4:
	ldr	x8, [x8, #8]
Lloh8:
	adrp	x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh11:
	adrp	x9, _MP4_BOX_TYPE_VIDE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MP4_BOX_TYPE_VIDE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [sp, #12]
LBB0_6:
Lloh14:
	adrp	x9, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
Lloh17:
	adrp	x9, _MP4_BOX_TYPE_SOUN@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MP4_BOX_TYPE_SOUN@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	str	w9, [sp, #12]
LBB0_8:
Lloh20:
	adrp	x9, _VC_CONTAINER_ES_TYPE_SUBPICTURE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_SUBPICTURE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
Lloh23:
	adrp	x8, _MP4_BOX_TYPE_TEXT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MP4_BOX_TYPE_TEXT@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	str	w1, [sp, #12]
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh28:
	ldr	x0, [x8]
	b	LBB0_36
LBB0_11:
	ldr	w1, [sp, #12]
LBB0_12:
	ldr	w2, [sp, #8]
Lloh29:
	adrp	x8, _MP4_BOX_TYPE_STSD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MP4_BOX_TYPE_STSD@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_mp4_read_box_data
	ldr	x8, [x20]
	cmp	x0, x8
	b.ne	LBB0_36
; %bb.13:
	ldr	x8, [x21]
	ldr	w0, [x8]
	cmp	w0, #131
	b.ne	LBB0_17
; %bb.14:
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	ldr	w9, [x9]
	sub	w9, w9, #133
	cmp	w9, #13
	b.hi	LBB0_22
; %bb.15:
	mov	w0, #131
Lloh32:
	adrp	x10, lJTI0_1@PAGE
Lloh33:
	add	x10, x10, lJTI0_1@PAGEOFF
	adr	x11, LBB0_16
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_16:
Lloh34:
	adrp	x9, _VC_CONTAINER_CODEC_MPGA@GOTPAGE
Lloh35:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_MPGA@GOTPAGEOFF]
	b	LBB0_26
LBB0_17:
Lloh36:
	adrp	x9, _VC_CONTAINER_CODEC_MP4V@GOTPAGE
Lloh37:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_MP4V@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w0, w9
	b.ne	LBB0_28
; %bb.18:
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	ldr	w9, [x9]
	sub	w9, w9, #135
	cmp	w9, #10
	b.hi	LBB0_22
; %bb.19:
Lloh39:
	adrp	x10, lJTI0_0@PAGE
Lloh40:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_20
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_20:
Lloh41:
	adrp	x9, _VC_CONTAINER_CODEC_MP2V@GOTPAGE
Lloh42:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_MP2V@GOTPAGEOFF]
	b	LBB0_26
LBB0_21:
Lloh43:
	adrp	x9, _VC_CONTAINER_CODEC_EVRC@GOTPAGE
Lloh44:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_EVRC@GOTPAGEOFF]
	b	LBB0_26
LBB0_22:
Lloh45:
	adrp	x9, _VC_CONTAINER_CODEC_UNKNOWN@GOTPAGE
Lloh46:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_UNKNOWN@GOTPAGEOFF]
	b	LBB0_26
LBB0_23:
Lloh47:
	adrp	x9, _VC_CONTAINER_CODEC_QCELP@GOTPAGE
Lloh48:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_QCELP@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:
Lloh49:
	adrp	x9, _VC_CONTAINER_CODEC_MP1V@GOTPAGE
Lloh50:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_MP1V@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh51:
	adrp	x9, _VC_CONTAINER_CODEC_JPEG@GOTPAGE
Lloh52:
	ldr	x9, [x9, _VC_CONTAINER_CODEC_JPEG@GOTPAGEOFF]
LBB0_26:
	ldr	w0, [x9]
LBB0_27:
	str	w0, [x8]
LBB0_28:
	bl	_codec_needs_batch_mode
	cbz	x0, LBB0_30
; %bb.29:
Lloh53:
	adrp	x8, _MP4_MAX_SAMPLES_BATCH_SIZE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MP4_MAX_SAMPLES_BATCH_SIZE@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	str	w8, [x9, #8]
LBB0_30:
	ldr	x8, [x21]
	ldr	w9, [x8]
	sub	w9, w9, #128
	cmp	w9, #4
	b.hi	LBB0_35
; %bb.31:
Lloh56:
	adrp	x10, lJTI0_2@PAGE
Lloh57:
	add	x10, x10, lJTI0_2@PAGEOFF
	adr	x11, LBB0_32
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_32:
	ldr	x8, [x8, #32]
	ldp	w9, w8, [x8]
	add	w10, w9, #7
	add	w9, w9, #14
	cmp	w10, #0
	csel	w9, w9, w10, lt
	asr	w9, w9, #3
	mul	w8, w9, w8
	b	LBB0_34
LBB0_33:
	ldr	x8, [x8, #32]
	mov	w9, #8
	str	w9, [x8]
	ldr	w8, [x8, #4]
LBB0_34:
	ldr	x9, [x21, #8]
	ldr	x9, [x9]
	str	w8, [x9, #4]
LBB0_35:
	ldr	x0, [x20]
LBB0_36:
	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
LBB0_37:
	ldr	w12, [x8, #16]
	cmp	w12, #2
	b.lt	LBB0_35
; %bb.38:
	ldr	x10, [x8, #24]
	ldp	w11, w9, [x10]
	ubfiz	w11, w11, #1, #3
	orr	w11, w11, w9, asr #7
	cmp	w11, #15
	ccmp	w12, #5, #0, eq
	b.hs	LBB0_41
; %bb.39:
	cmp	w11, #12
	b.gt	LBB0_35
; %bb.40:
Lloh58:
	adrp	x10, _mp4_read_box_stsd.rate@PAGE
Lloh59:
	add	x10, x10, _mp4_read_box_stsd.rate@PAGEOFF
	ldr	w10, [x10, w11, sxtw #2]
	b	LBB0_42
LBB0_41:
	ubfiz	w9, w9, #17, #7
	ldp	w11, w12, [x10, #8]
	orr	w9, w9, w11, lsl #9
	orr	w11, w9, w12, lsl #1
	ldr	w9, [x10, #16]
	orr	w10, w11, w9, asr #7
LBB0_42:
	ubfx	w9, w9, #3, #4
	cbz	w10, LBB0_45
; %bb.43:
	ldr	x11, [x8, #32]
	ldr	w12, [x11, #8]
	lsl	w13, w10, #1
	cmp	w10, w12
	ccmp	w13, w12, #4, ne
	b.eq	LBB0_45
; %bb.44:
	str	w10, [x11, #8]
LBB0_45:
	cbz	w9, LBB0_35
; %bb.46:
	ldr	x8, [x8, #32]
	ldr	w10, [x8, #4]
	lsl	w11, w9, #1
	cmp	w9, w10
	ccmp	w11, w10, #4, ne
	b.eq	LBB0_35
; %bb.47:
	str	w9, [x8, #4]
	b	LBB0_35
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	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
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_28-LBB0_20)>>2
	.byte	(LBB0_22-LBB0_20)>>2
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_20-LBB0_20)>>2
	.byte	(LBB0_24-LBB0_20)>>2
	.byte	(LBB0_22-LBB0_20)>>2
	.byte	(LBB0_22-LBB0_20)>>2
	.byte	(LBB0_22-LBB0_20)>>2
	.byte	(LBB0_25-LBB0_20)>>2
lJTI0_1:
	.byte	(LBB0_21-LBB0_16)>>2
	.byte	(LBB0_21-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_27-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_27-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_22-LBB0_16)>>2
	.byte	(LBB0_23-LBB0_16)>>2
lJTI0_2:
	.byte	(LBB0_32-LBB0_32)>>2
	.byte	(LBB0_32-LBB0_32)>>2
	.byte	(LBB0_33-LBB0_32)>>2
	.byte	(LBB0_37-LBB0_32)>>2
	.byte	(LBB0_33-LBB0_32)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version"

l_.str.1:                               ; @.str.1
	.asciz	"flags"

l_.str.2:                               ; @.str.2
	.asciz	"entry_count"

	.comm	_VC_CONTAINER_ERROR_CORRUPTED,8,3 ; @VC_CONTAINER_ERROR_CORRUPTED
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_MP4_BOX_TYPE_VIDE,4,2          ; @MP4_BOX_TYPE_VIDE
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,8,3 ; @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_MP4_BOX_TYPE_SOUN,4,2          ; @MP4_BOX_TYPE_SOUN
	.comm	_VC_CONTAINER_ES_TYPE_SUBPICTURE,8,3 ; @VC_CONTAINER_ES_TYPE_SUBPICTURE
	.comm	_MP4_BOX_TYPE_TEXT,4,2          ; @MP4_BOX_TYPE_TEXT
	.comm	_MP4_BOX_TYPE_STSD,4,2          ; @MP4_BOX_TYPE_STSD
	.comm	_VC_CONTAINER_CODEC_MPGA,4,2    ; @VC_CONTAINER_CODEC_MPGA
	.comm	_VC_CONTAINER_CODEC_EVRC,4,2    ; @VC_CONTAINER_CODEC_EVRC
	.comm	_VC_CONTAINER_CODEC_QCELP,4,2   ; @VC_CONTAINER_CODEC_QCELP
	.comm	_VC_CONTAINER_CODEC_UNKNOWN,8,3 ; @VC_CONTAINER_CODEC_UNKNOWN
	.comm	_VC_CONTAINER_CODEC_MP4V,4,2    ; @VC_CONTAINER_CODEC_MP4V
	.comm	_VC_CONTAINER_CODEC_JPEG,4,2    ; @VC_CONTAINER_CODEC_JPEG
	.comm	_VC_CONTAINER_CODEC_MP2V,4,2    ; @VC_CONTAINER_CODEC_MP2V
	.comm	_VC_CONTAINER_CODEC_MP1V,4,2    ; @VC_CONTAINER_CODEC_MP1V
	.comm	_MP4_MAX_SAMPLES_BATCH_SIZE,4,2 ; @MP4_MAX_SAMPLES_BATCH_SIZE
	.section	__TEXT,__const
	.p2align	2                               ; @mp4_read_box_stsd.rate
_mp4_read_box_stsd.rate:
	.long	96000                           ; 0x17700
	.long	88200                           ; 0x15888
	.long	64000                           ; 0xfa00
	.long	48000                           ; 0xbb80
	.long	44100                           ; 0xac44
	.long	32000                           ; 0x7d00
	.long	24000                           ; 0x5dc0
	.long	22050                           ; 0x5622
	.long	16000                           ; 0x3e80
	.long	12000                           ; 0x2ee0
	.long	11025                           ; 0x2b11
	.long	8000                            ; 0x1f40
	.long	7350                            ; 0x1cb6

	.no_dead_strip	_mp4_read_box_stsd
.subsections_via_symbols
