	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_trun_tag
_mov_write_trun_tag:                    ## @mov_write_trun_tag
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%r8d, %r14d
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_avio_tell
	movq	_MOV_TRUN_DATA_OFFSET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movslq	%r14d, %rbx
	subl	%r14d, %ecx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_get_cluster_duration
	xorl	%ecx, %ecx
	movl	$0, %r15d
	cmpl	(%r12), %eax
	movq	%r12, %rdi
	je	LBB0_4
## %bb.3:
	movq	_MOV_TRUN_SAMPLE_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	orl	%r13d, %r15d
	movq	32(%rdi), %rdx
	leaq	(%rbx,%rbx,2), %rax
	movl	(%rdx,%rax,4), %edx
	cmpl	4(%rdi), %edx
	je	LBB0_6
## %bb.5:
	movq	_MOV_TRUN_SAMPLE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_6:
	orl	%ecx, %r15d
	incq	%rbx
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:
	movl	%r15d, %r13d
	jmp	LBB0_17
LBB0_1:
	movq	%r12, %rdi
LBB0_17:
	movq	_MOV_TRUN_SAMPLE_FLAGS@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_18
LBB0_21:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	_MOV_TRACK_CTTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	24(%rdi), %r12d
	je	LBB0_23
## %bb.22:
	movq	_MOV_TRUN_SAMPLE_CTS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_23:
	orl	%r13d, %r12d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_ffio_wfourcc
	movq	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	andl	(%rbx), %eax
	setne	%sil
	movq	%r15, %rdi
	callq	_avio_w8
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_avio_wb24
	movq	%r15, %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	callq	_avio_wb32
	movl	(%rbx), %eax
	movq	_FF_MOV_FLAG_OMIT_TFHD_OFFSET@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.24:
	movq	_FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_27
## %bb.25:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_26
LBB0_27:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	addl	28(%rax), %edx
	movq	32(%rax), %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rbx,2), %rcx
	movl	4(%rax,%rcx,4), %eax
	leal	(%rax,%rdx), %esi
	addl	$8, %esi
	movl	-60(%rbp), %r13d                ## 4-byte Reload
LBB0_28:
	movq	%r15, %rdi
	callq	_avio_wb32
	movq	_MOV_TRUN_FIRST_SAMPLE_FLAGS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_30
## %bb.29:
	leaq	(%rbx,%rbx,2), %rsi
	shlq	$2, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	addq	32(%rdi), %rsi
	callq	_get_sample_flags
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_avio_wb32
LBB0_30:
	cmpl	%r14d, %r13d
	jle	LBB0_41
## %bb.31:
	shlq	$2, %rbx
	leaq	(%rbx,%rbx,2), %rbx
	movq	_MOV_TRUN_SAMPLE_SIZE@GOTPCREL(%rip), %r15
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_32 Depth=1
	addq	$12, %rbx
	incl	%r14d
	cmpl	%r14d, %r13d
	je	LBB0_41
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	_MOV_TRUN_SAMPLE_DURATION@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_get_cluster_duration
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_avio_wb32
LBB0_34:                                ##   in Loop: Header=BB0_32 Depth=1
	testl	%r12d, (%r15)
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movl	(%rax,%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_avio_wb32
LBB0_36:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	_MOV_TRUN_SAMPLE_FLAGS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	32(%rdi), %rsi
	addq	%rbx, %rsi
	callq	_get_sample_flags
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_avio_wb32
LBB0_38:                                ##   in Loop: Header=BB0_32 Depth=1
	movq	_MOV_TRUN_SAMPLE_CTS@GOTPCREL(%rip), %rax
	testl	%r12d, (%rax)
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_32 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movl	8(%rax,%rbx), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_avio_wb32
	jmp	LBB0_40
LBB0_41:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	$0, 8(%rax)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_size                    ## TAILCALL
LBB0_18:
	cmpq	$0, 16(%rdi)
	jle	LBB0_21
## %bb.19:
	movq	32(%rdi), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_sample_flags
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpl	8(%rdi), %eax
	je	LBB0_21
## %bb.20:
	movq	_MOV_TRUN_FIRST_SAMPLE_FLAGS@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_21
LBB0_8:
	leaq	12(,%rax,4), %r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	addq	$12, %r12
	movl	%r13d, %r15d
	cmpl	%ebx, -60(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_17
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_get_cluster_duration
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movl	$0, %r13d
	cmpl	(%rdi), %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_MOV_TRUN_SAMPLE_DURATION@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	orl	%r15d, %r13d
	movq	32(%rdi), %rsi
	movl	(%rsi,%r12), %eax
	cmpl	4(%rdi), %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_MOV_TRUN_SAMPLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=1
	orl	%ecx, %r13d
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	jle	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	%r12, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_sample_flags
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	cmpl	8(%rdi), %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_MOV_TRUN_SAMPLE_FLAGS@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	jmp	LBB0_16
LBB0_26:
	xorl	%esi, %esi
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.comm	_MOV_TRUN_DATA_OFFSET,4,2       ## @MOV_TRUN_DATA_OFFSET
	.comm	_MOV_TRUN_SAMPLE_DURATION,4,2   ## @MOV_TRUN_SAMPLE_DURATION
	.comm	_MOV_TRUN_SAMPLE_SIZE,4,2       ## @MOV_TRUN_SAMPLE_SIZE
	.comm	_MOV_TRUN_SAMPLE_FLAGS,4,2      ## @MOV_TRUN_SAMPLE_FLAGS
	.comm	_MOV_TRUN_FIRST_SAMPLE_FLAGS,4,2 ## @MOV_TRUN_FIRST_SAMPLE_FLAGS
	.comm	_MOV_TRACK_CTTS,4,2             ## @MOV_TRACK_CTTS
	.comm	_MOV_TRUN_SAMPLE_CTS,4,2        ## @MOV_TRUN_SAMPLE_CTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trun"

	.comm	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS,4,2 ## @FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS
	.comm	_FF_MOV_FLAG_OMIT_TFHD_OFFSET,4,2 ## @FF_MOV_FLAG_OMIT_TFHD_OFFSET
	.comm	_FF_MOV_FLAG_DEFAULT_BASE_MOOF,4,2 ## @FF_MOV_FLAG_DEFAULT_BASE_MOOF
	.no_dead_strip	_mov_write_trun_tag
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_trun_tag
_mov_write_trun_tag:                    ; @mov_write_trun_tag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x5
	mov	x20, x4
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	mov	x23, x2
	str	x1, [sp, #16]                   ; 8-byte Folded Spill
	mov	x21, x0
	bl	_avio_tell
	str	w0, [sp, #28]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x8, _MOV_TRUN_DATA_OFFSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MOV_TRUN_DATA_OFFSET@GOTPAGEOFF]
Lloh2:
	adrp	x28, _MOV_TRUN_SAMPLE_DURATION@GOTPAGE
Lloh3:
	ldr	x28, [x28, _MOV_TRUN_SAMPLE_DURATION@GOTPAGEOFF]
Lloh4:
	ldr	w22, [x8]
Lloh5:
	adrp	x24, _MOV_TRUN_SAMPLE_SIZE@GOTPAGE
Lloh6:
	ldr	x24, [x24, _MOV_TRUN_SAMPLE_SIZE@GOTPAGEOFF]
	subs	w8, w19, w20
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	b.le	LBB0_2
; %bb.1:
	sxtw	x26, w20
	mov	x0, x23
	mov	x1, x20
	bl	_get_cluster_duration
	ldr	w8, [x28]
	ldp	w9, w10, [x23]
	cmp	w0, w9
	csel	w8, wzr, w8, eq
	orr	w8, w8, w22
	ldr	x9, [x23, #32]
	mov	w11, #12
	smull	x11, w20, w11
	ldr	w9, [x9, x11]
	ldr	w11, [x24]
	cmp	w9, w10
	csel	w9, wzr, w11, eq
	orr	w22, w8, w9
	add	x27, x26, #1
	cmp	w27, w19
	b.ne	LBB0_24
LBB0_2:
Lloh7:
	adrp	x8, _MOV_TRUN_SAMPLE_FLAGS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MOV_TRUN_SAMPLE_FLAGS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x25, _MOV_TRUN_FIRST_SAMPLE_FLAGS@GOTPAGE
Lloh11:
	ldr	x25, [x25, _MOV_TRUN_FIRST_SAMPLE_FLAGS@GOTPAGEOFF]
	tst	w8, w22
	b.eq	LBB0_21
LBB0_3:
	ldr	x25, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w8, [x23, #24]
Lloh12:
	adrp	x9, _MOV_TRACK_CTTS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MOV_TRACK_CTTS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x26, _MOV_TRUN_SAMPLE_CTS@GOTPAGE
Lloh16:
	ldr	x26, [x26, _MOV_TRUN_SAMPLE_CTS@GOTPAGEOFF]
	ldr	w10, [x26]
	tst	w9, w8
	csel	w8, wzr, w10, eq
	orr	w27, w8, w22
	mov	x0, x21
	mov	w1, #0
	bl	_avio_wb32
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_ffio_wfourcc
	ldr	w8, [x25]
Lloh19:
	adrp	x9, _FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPAGE
Lloh20:
	ldr	x9, [x9, _FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
	mov	x0, x21
	bl	_avio_w8
	mov	x0, x21
	mov	x1, x27
	bl	_avio_wb24
	mov	x0, x21
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_avio_wb32
	ldr	w8, [x25]
Lloh22:
	adrp	x9, _FF_MOV_FLAG_OMIT_TFHD_OFFSET@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FF_MOV_FLAG_OMIT_TFHD_OFFSET@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
Lloh25:
	adrp	x9, _FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPAGE
Lloh26:
	ldr	x9, [x9, _FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_29
LBB0_6:
	ldr	w8, [x23, #28]
	ldr	x9, [x23, #32]
	mov	w10, #12
	smaddl	x9, w20, w10, x9
	ldr	w9, [x9, #4]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	add	w8, w10, w8
	add	w8, w8, w9
	add	w1, w8, #8
LBB0_7:
	mov	x0, x21
	bl	_avio_wb32
Lloh28:
	adrp	x8, _MOV_TRUN_FIRST_SAMPLE_FLAGS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MOV_TRUN_FIRST_SAMPLE_FLAGS@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_9
; %bb.8:
	ldr	x8, [x23, #32]
	mov	w9, #12
	smaddl	x1, w20, w9, x8
	mov	x0, x23
	bl	_get_sample_flags
	mov	x1, x0
	mov	x0, x21
	bl	_avio_wb32
LBB0_9:
	cmp	w19, w20
	b.le	LBB0_20
; %bb.10:
	mov	w8, #12
	smull	x22, w20, w8
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #12
	add	w20, w20, #1
	cmp	w19, w20
	b.eq	LBB0_20
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28]
	tst	w8, w27
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_get_cluster_duration
	mov	x1, x0
	mov	x0, x21
	bl	_avio_wb32
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x24]
	tst	w8, w27
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23, #32]
	ldr	w1, [x8, x22]
	mov	x0, x21
	bl	_avio_wb32
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
Lloh31:
	adrp	x8, _MOV_TRUN_SAMPLE_FLAGS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MOV_TRUN_SAMPLE_FLAGS@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	tst	w8, w27
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23, #32]
	add	x1, x8, x22
	mov	x0, x23
	bl	_get_sample_flags
	mov	x1, x0
	mov	x0, x21
	bl	_avio_wb32
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x26]
	tst	w8, w27
	b.eq	LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x23, #32]
	add	x8, x8, x22
	ldr	w1, [x8, #8]
	mov	x0, x21
	bl	_avio_wb32
	b	LBB0_11
LBB0_20:
	str	xzr, [x25, #8]
	mov	x0, x21
	ldr	w1, [sp, #28]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_update_size
LBB0_21:
	ldr	x8, [x23, #16]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.22:
	ldr	x1, [x23, #32]
	mov	x0, x23
	bl	_get_sample_flags
	ldr	w8, [x23, #8]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.23:
	ldr	w8, [x25]
	orr	w22, w8, w22
	b	LBB0_3
LBB0_24:
	mov	w8, #12
	orr	x9, xzr, #0xc
	madd	x25, x26, x8, x9
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x27, x27, #1
	add	x25, x25, #12
	cmp	w19, w27
	b.eq	LBB0_2
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x27
	bl	_get_cluster_duration
	ldr	w8, [x28]
	ldp	w9, w10, [x23]
	cmp	w0, w9
	csel	w9, wzr, w8, eq
	ldr	x8, [x23, #32]
	ldr	w11, [x8, x25]
	orr	w9, w9, w22
	ldr	w12, [x24]
	cmp	w11, w10
	csel	w10, wzr, w12, eq
	orr	w22, w9, w10
	cmp	x27, x26
	b.le	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x1, x8, x25
	mov	x0, x23
	bl	_get_sample_flags
	ldr	w8, [x23, #8]
	cmp	w0, w8
	b.eq	LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=1
Lloh34:
	adrp	x8, _MOV_TRUN_SAMPLE_FLAGS@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MOV_TRUN_SAMPLE_FLAGS@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	orr	w22, w8, w22
	b	LBB0_25
LBB0_29:
	mov	w1, #0
	b	LBB0_7
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_MOV_TRUN_DATA_OFFSET,4,2       ; @MOV_TRUN_DATA_OFFSET
	.comm	_MOV_TRUN_SAMPLE_DURATION,4,2   ; @MOV_TRUN_SAMPLE_DURATION
	.comm	_MOV_TRUN_SAMPLE_SIZE,4,2       ; @MOV_TRUN_SAMPLE_SIZE
	.comm	_MOV_TRUN_SAMPLE_FLAGS,4,2      ; @MOV_TRUN_SAMPLE_FLAGS
	.comm	_MOV_TRUN_FIRST_SAMPLE_FLAGS,4,2 ; @MOV_TRUN_FIRST_SAMPLE_FLAGS
	.comm	_MOV_TRACK_CTTS,4,2             ; @MOV_TRACK_CTTS
	.comm	_MOV_TRUN_SAMPLE_CTS,4,2        ; @MOV_TRUN_SAMPLE_CTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trun"

	.comm	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS,4,2 ; @FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS
	.comm	_FF_MOV_FLAG_OMIT_TFHD_OFFSET,4,2 ; @FF_MOV_FLAG_OMIT_TFHD_OFFSET
	.comm	_FF_MOV_FLAG_DEFAULT_BASE_MOOF,4,2 ; @FF_MOV_FLAG_DEFAULT_BASE_MOOF
	.no_dead_strip	_mov_write_trun_tag
.subsections_via_symbols
