	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp4_write_box_stbl
_mp4_write_box_stbl:                    ## @mp4_write_box_stbl
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %r14
	movq	_MP4_BOX_TYPE_STSD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mp4_write_box
	movq	_VC_CONTAINER_SUCCESS@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.1:
	movq	_MP4_BOX_TYPE_STTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mp4_write_box
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.2:
	movq	_MP4_BOX_TYPE_STSC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mp4_write_box
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.3:
	movq	_MP4_BOX_TYPE_STSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mp4_write_box
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.4:
	movq	_MP4_BOX_TYPE_STCO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mp4_write_box
	movq	(%r14), %rcx
	movq	(%rcx), %rcx
	movq	_VC_CONTAINER_ES_TYPE_VIDEO@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.6:
	movq	_MP4_BOX_TYPE_STSS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp4_write_box                  ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ## @VC_CONTAINER_SUCCESS
	.comm	_MP4_BOX_TYPE_STSD,4,2          ## @MP4_BOX_TYPE_STSD
	.comm	_MP4_BOX_TYPE_STTS,4,2          ## @MP4_BOX_TYPE_STTS
	.comm	_MP4_BOX_TYPE_STSC,4,2          ## @MP4_BOX_TYPE_STSC
	.comm	_MP4_BOX_TYPE_STSZ,4,2          ## @MP4_BOX_TYPE_STSZ
	.comm	_MP4_BOX_TYPE_STCO,4,2          ## @MP4_BOX_TYPE_STCO
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ## @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_MP4_BOX_TYPE_STSS,4,2          ## @MP4_BOX_TYPE_STSS
	.comm	_MP4_BOX_TYPE_CO64,4,2          ## @MP4_BOX_TYPE_CO64
	.comm	_MP4_BOX_TYPE_CTTS,4,2          ## @MP4_BOX_TYPE_CTTS
	.no_dead_strip	_mp4_write_box_stbl
.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_stbl
_mp4_write_box_stbl:                    ; @mp4_write_box_stbl
	.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	x20, [x9, x8, lsl #3]
Lloh0:
	adrp	x8, _MP4_BOX_TYPE_STSD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP4_BOX_TYPE_STSD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mp4_write_box
Lloh3:
	adrp	x21, _VC_CONTAINER_SUCCESS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _VC_CONTAINER_SUCCESS@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.1:
Lloh5:
	adrp	x8, _MP4_BOX_TYPE_STTS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MP4_BOX_TYPE_STTS@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mp4_write_box
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
Lloh8:
	adrp	x8, _MP4_BOX_TYPE_STSC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MP4_BOX_TYPE_STSC@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mp4_write_box
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.3:
Lloh11:
	adrp	x8, _MP4_BOX_TYPE_STSZ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MP4_BOX_TYPE_STSZ@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mp4_write_box
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
Lloh14:
	adrp	x8, _MP4_BOX_TYPE_STCO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MP4_BOX_TYPE_STCO@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mp4_write_box
	ldr	x8, [x20]
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VC_CONTAINER_ES_TYPE_VIDEO@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh20:
	adrp	x8, _MP4_BOX_TYPE_STSS@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MP4_BOX_TYPE_STSS@GOTPAGEOFF]
Lloh22:
	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_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
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_VC_CONTAINER_SUCCESS,8,3       ; @VC_CONTAINER_SUCCESS
	.comm	_MP4_BOX_TYPE_STSD,4,2          ; @MP4_BOX_TYPE_STSD
	.comm	_MP4_BOX_TYPE_STTS,4,2          ; @MP4_BOX_TYPE_STTS
	.comm	_MP4_BOX_TYPE_STSC,4,2          ; @MP4_BOX_TYPE_STSC
	.comm	_MP4_BOX_TYPE_STSZ,4,2          ; @MP4_BOX_TYPE_STSZ
	.comm	_MP4_BOX_TYPE_STCO,4,2          ; @MP4_BOX_TYPE_STCO
	.comm	_VC_CONTAINER_ES_TYPE_VIDEO,8,3 ; @VC_CONTAINER_ES_TYPE_VIDEO
	.comm	_MP4_BOX_TYPE_STSS,4,2          ; @MP4_BOX_TYPE_STSS
	.comm	_MP4_BOX_TYPE_CO64,4,2          ; @MP4_BOX_TYPE_CO64
	.comm	_MP4_BOX_TYPE_CTTS,4,2          ; @MP4_BOX_TYPE_CTTS
	.no_dead_strip	_mp4_write_box_stbl
.subsections_via_symbols
