	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_read_box_hdlr
_mp4_read_box_hdlr:                     ## @mp4_read_box_hdlr
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$24, %esi
	jg	LBB0_1
## %bb.10:
	movq	_VC_CONTAINER_ERROR_CORRUPTED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %r12
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %r13
	movq	_VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str(%rip), %rsi
	callq	_MP4_SKIP_U8
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_MP4_SKIP_U24
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_MP4_SKIP_U32
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_MP4_READ_FOURCC
	movq	_MP4_BOX_TYPE_VIDE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_3:
	movq	_MP4_BOX_TYPE_SOUN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	_VC_CONTAINER_ES_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_5:
	movq	_MP4_BOX_TYPE_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_VC_CONTAINER_ES_TYPE_SUBPICTURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movq	(%r13), %rax
	movl	%ebx, (%rax)
	leaq	L_.str.4(%rip), %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MP4_SKIP_U32
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MP4_SKIP_U32
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MP4_SKIP_U32
	movl	%r14d, %ebx
	movq	8(%r12), %rcx
	movq	_MP4_BRAND_QT@GOTPCREL(%rip), %rdx
	movq	%rbx, %rax
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rsi
	movq	%r15, %rdi
	callq	_MP4_READ_U8
LBB0_9:
	cmpq	%rbx, %rax
	cmovlq	%rax, %rbx
	leaq	L_.str.6(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_MP4_SKIP_STRING
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_ES_TYPE_UNKNOWN,4,2 ## @VC_CONTAINER_ES_TYPE_UNKNOWN
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,4,2 ## @VC_CONTAINER_ERROR_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"version"

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

L_.str.2:                               ## @.str.2
	.asciz	"pre-defined"

L_.str.3:                               ## @.str.3
	.asciz	"handler_type"

	.comm	_MP4_BOX_TYPE_VIDE,8,3          ## @MP4_BOX_TYPE_VIDE
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,4,2 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_MP4_BOX_TYPE_SOUN,8,3          ## @MP4_BOX_TYPE_SOUN
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,4,2 ## @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_MP4_BOX_TYPE_TEXT,8,3          ## @MP4_BOX_TYPE_TEXT
	.comm	_VC_CONTAINER_ES_TYPE_SUBPICTURE,4,2 ## @VC_CONTAINER_ES_TYPE_SUBPICTURE
L_.str.4:                               ## @.str.4
	.asciz	"reserved"

	.comm	_MP4_BRAND_QT,8,3               ## @MP4_BRAND_QT
L_.str.5:                               ## @.str.5
	.asciz	"string_size"

L_.str.6:                               ## @.str.6
	.asciz	"name"

	.no_dead_strip	_mp4_read_box_hdlr
.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_hdlr
_mp4_read_box_hdlr:                     ; @mp4_read_box_hdlr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	w1, #24
	b.gt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VC_CONTAINER_ERROR_CORRUPTED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	ldp	x9, x8, [x0]
	ldr	x22, [x8]
	ldr	x8, [x22]
	ldr	x21, [x9, x8, lsl #3]
Lloh3:
	adrp	x8, _VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VC_CONTAINER_ES_TYPE_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_MP4_SKIP_U8
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U24
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_U32
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_MP4_READ_FOURCC
Lloh14:
	adrp	x8, _MP4_BOX_TYPE_VIDE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MP4_BOX_TYPE_VIDE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	x0, x8
	csel	w8, w9, w23, eq
Lloh20:
	adrp	x9, _MP4_BOX_TYPE_SOUN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _MP4_BOX_TYPE_SOUN@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
Lloh23:
	adrp	x10, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGE
Lloh24:
	ldr	x10, [x10, _VC_CONTAINER_ES_TYPE_AUDIO@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	cmp	x0, x9
	csel	w8, w10, w8, eq
Lloh26:
	adrp	x9, _MP4_BOX_TYPE_TEXT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MP4_BOX_TYPE_TEXT@GOTPAGEOFF]
Lloh28:
	adrp	x10, _VC_CONTAINER_ES_TYPE_SUBPICTURE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _VC_CONTAINER_ES_TYPE_SUBPICTURE@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
Lloh31:
	ldr	w10, [x10]
	cmp	x0, x9
	csel	w8, w10, w8, eq
	ldr	x9, [x21]
	str	w8, [x9]
Lloh32:
	adrp	x21, l_.str.4@PAGE
Lloh33:
	add	x21, x21, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_MP4_SKIP_U32
	mov	x0, x19
	mov	x1, x21
	bl	_MP4_SKIP_U32
	mov	x0, x19
	mov	x1, x21
	bl	_MP4_SKIP_U32
	mov	w20, w20
	ldr	x8, [x22, #8]
Lloh34:
	adrp	x9, _MP4_BRAND_QT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MP4_BRAND_QT@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	mov	x0, x20
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh37:
	adrp	x1, l_.str.5@PAGE
Lloh38:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_MP4_READ_U8
LBB0_4:
	cmp	x0, x20
	csel	x1, x0, x20, lt
Lloh39:
	adrp	x2, l_.str.6@PAGE
Lloh40:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_MP4_SKIP_STRING
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_STREAM_STATUS
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh30
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_ES_TYPE_UNKNOWN,4,2 ; @VC_CONTAINER_ES_TYPE_UNKNOWN
	.comm	_VC_CONTAINER_ERROR_CORRUPTED,4,2 ; @VC_CONTAINER_ERROR_CORRUPTED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"version"

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

l_.str.2:                               ; @.str.2
	.asciz	"pre-defined"

l_.str.3:                               ; @.str.3
	.asciz	"handler_type"

	.comm	_MP4_BOX_TYPE_VIDE,8,3          ; @MP4_BOX_TYPE_VIDE
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,4,2 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_MP4_BOX_TYPE_SOUN,8,3          ; @MP4_BOX_TYPE_SOUN
	.comm	_VC_CONTAINER_ES_TYPE_AUDIO,4,2 ; @VC_CONTAINER_ES_TYPE_AUDIO
	.comm	_MP4_BOX_TYPE_TEXT,8,3          ; @MP4_BOX_TYPE_TEXT
	.comm	_VC_CONTAINER_ES_TYPE_SUBPICTURE,4,2 ; @VC_CONTAINER_ES_TYPE_SUBPICTURE
l_.str.4:                               ; @.str.4
	.asciz	"reserved"

	.comm	_MP4_BRAND_QT,8,3               ; @MP4_BRAND_QT
l_.str.5:                               ; @.str.5
	.asciz	"string_size"

l_.str.6:                               ; @.str.6
	.asciz	"name"

	.no_dead_strip	_mp4_read_box_hdlr
.subsections_via_symbols
