	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_write_box_vide
_mp4_write_box_vide:                    ## @mp4_write_box_vide
	.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	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r12
	leaq	L_.str(%rip), %r15
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U8
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_WRITE_U16
	leaq	L_.str.2(%rip), %r14
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_WRITE_U16
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U16
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_WRITE_U32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_WRITE_U32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_WRITE_U32
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_WRITE_U16
	movq	(%r12), %rax
	movq	8(%rax), %rax
	movl	4(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%rbx, %rdi
	callq	_WRITE_U16
	leaq	L_.str.5(%rip), %rdx
	movq	%rbx, %rdi
	movl	$4718592, %esi                  ## imm = 0x480000
	callq	_WRITE_U32
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	movl	$4718592, %esi                  ## imm = 0x480000
	callq	_WRITE_U32
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_WRITE_U32
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_WRITE_U16
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__WRITE_U8
	leaq	L_.str.8(%rip), %rdx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_WRITE_U16
	movq	%rbx, %rdi
	movl	$-1, %esi
	movq	%r14, %rdx
	callq	_WRITE_U16
	movq	(%r12), %rax
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	cmpl	$130, %eax
	je	LBB0_4
## %bb.2:
	cmpl	$129, %eax
	jne	LBB0_6
## %bb.3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box_vide_avcC        ## TAILCALL
LBB0_5:
	movq	_MP4_BOX_TYPE_ESDS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box_vide_d263        ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_STREAM_STATUS                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reserved"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"height"

L_.str.5:                               ## @.str.5
	.asciz	"horizresolution"

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

L_.str.7:                               ## @.str.7
	.asciz	"frame_count"

L_.str.8:                               ## @.str.8
	.asciz	"depth"

	.comm	_MP4_BOX_TYPE_ESDS,4,2          ## @MP4_BOX_TYPE_ESDS
	.no_dead_strip	_mp4_write_box_vide
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp4_write_box_vide
_mp4_write_box_vide:                    ; @mp4_write_box_vide
	.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, x0
	ldp	x9, x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x22, [x9, x8, lsl #3]
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U8
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U8
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_WRITE_U16
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U16
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U16
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U32
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U32
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_WRITE_U32
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	w1, [x8]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
	ldr	x8, [x22]
	ldr	x8, [x8, #8]
	ldr	w1, [x8, #4]
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_WRITE_U16
Lloh10:
	adrp	x2, l_.str.5@PAGE
Lloh11:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #4718592
	bl	_WRITE_U32
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #4718592
	bl	_WRITE_U32
	mov	x0, x19
	mov	w1, #0
	mov	x2, x21
	bl	_WRITE_U32
Lloh14:
	adrp	x2, l_.str.7@PAGE
Lloh15:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_WRITE_U16
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
	mov	x0, x19
	mov	w1, #0
	bl	__WRITE_U8
Lloh16:
	adrp	x2, l_.str.8@PAGE
Lloh17:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #24
	bl	_WRITE_U16
	mov	x0, x19
	mov	w1, #-1
	mov	x2, x20
	bl	_WRITE_U16
	ldr	x8, [x22]
	ldr	w8, [x8]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x19
	cmp	w8, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_6
; %bb.3:
	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
	b	_mp4_write_box_vide_avcC
LBB0_4:
Lloh18:
	adrp	x8, _MP4_BOX_TYPE_ESDS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MP4_BOX_TYPE_ESDS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	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
	b	_mp4_write_box
LBB0_5:
	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
	b	_mp4_write_box_vide_d263
LBB0_6:
	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
	b	_STREAM_STATUS
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reserved"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"height"

l_.str.5:                               ; @.str.5
	.asciz	"horizresolution"

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

l_.str.7:                               ; @.str.7
	.asciz	"frame_count"

l_.str.8:                               ; @.str.8
	.asciz	"depth"

	.comm	_MP4_BOX_TYPE_ESDS,4,2          ; @MP4_BOX_TYPE_ESDS
	.no_dead_strip	_mp4_write_box_vide
.subsections_via_symbols
