	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_moov_tag
_mov_write_moov_tag:                    ## @mov_write_moov_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r13
	callq	_avio_tell
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_ffio_wfourcc
	movq	%r14, %rdi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_mov_setup_track_ids
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	movq	_FF_MOV_FLAG_FRAGMENT@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	36(%r14), %eax
	movl	%eax, 64(%rdi,%rbx)
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%rbx, %rdi
	callq	_build_chunks
	movl	(%r14), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%eax, %rcx
	addq	$72, %rbx
	cmpq	%rcx, %r12
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rdi
	movq	(%rdi,%rbx), %rcx
	testq	%rcx, %rcx
	jg	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %edx
	testl	%edx, 4(%r14)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	36(%r14), %edx
	movl	%edx, 64(%rdi,%rbx)
	testq	%rcx, %rcx
	jne	LBB0_6
	jmp	LBB0_7
LBB0_8:
	cmpl	$0, 8(%r14)
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_13
## %bb.9:
	cmpl	$0, (%rcx)
	jle	LBB0_13
## %bb.10:
	movl	$44, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	$99, %edi
	movl	$104, %esi
	movl	$97, %edx
	movl	$112, %ecx
	callq	_MKTAG
	movq	24(%r14), %rcx
	movq	%rax, -36(%rcx,%rbx)
	movslq	8(%r14), %rax
	leaq	(%rax,%rax,8), %rax
	movl	40(%rcx,%rax,8), %eax
	movl	%eax, (%rcx,%rbx)
	incq	%r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	addq	$72, %rbx
	cmpq	%rax, %r15
	jl	LBB0_11
## %bb.12:
	movl	(%r14), %eax
LBB0_13:
	testl	%eax, %eax
	jle	LBB0_22
## %bb.14:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	$8, %r13d
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	$104, %edi
	movl	$105, %esi
	movl	$110, %edx
	movl	$116, %ecx
	callq	_MKTAG
	movq	%rax, (%r12,%r13)
	movq	24(%r14), %rax
	movq	16(%r12,%r13), %rcx
LBB0_37:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	(%rcx,%rcx,8), %rcx
	movl	40(%rax,%rcx,8), %eax
	movl	%eax, 36(%r12,%r13)
LBB0_38:                                ##   in Loop: Header=BB0_15 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	addq	$72, %r13
	cmpq	%rax, %r15
	jge	LBB0_17
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %r12
	movq	8(%r12,%r13), %rbx
	movl	$114, %edi
	movl	$116, %esi
	movl	$112, %edx
	movl	$32, %ecx
	callq	_MKTAG
	cmpq	%rax, %rbx
	je	LBB0_16
## %bb.31:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	48(%r12,%r13), %rax
	movq	(%rax), %rax
	movq	_AVMEDIA_TYPE_AUDIO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
## %bb.32:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	40(%r12,%r13), %edi
	movq	_AV_PKT_DATA_FALLBACK_TRACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-56(%rbp), %rdx
	callq	_av_stream_get_side_data
	testq	%rax, %rax
	je	LBB0_38
## %bb.33:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$4, -56(%rbp)
	jne	LBB0_38
## %bb.34:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%rax, %rbx
	movl	(%rax), %eax
	testl	%eax, %eax
	js	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	(%r14), %eax
	jge	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$102, %edi
	movl	$97, %esi
	movl	$108, %edx
	movl	$108, %ecx
	callq	_MKTAG
	movq	%rax, (%r12,%r13)
	movq	24(%r14), %rax
	movslq	(%rbx), %rcx
	jmp	LBB0_37
LBB0_17:
	testl	%eax, %eax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_22
## %bb.18:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%r15
	movslq	(%r14), %rax
	addq	$72, %rbx
	cmpq	%rax, %r15
	jge	LBB0_22
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	16(%rax,%rbx), %r12
	movl	$116, %edi
	movl	$109, %esi
	movl	$99, %edx
	movl	$100, %ecx
	callq	_MKTAG
	cmpq	%rax, %r12
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	24(%r14), %rax
	movslq	24(%rax,%rbx), %rcx
	movq	16(%rax,%rbx), %rdx
	leaq	(%rcx,%rcx,8), %rcx
	movq	%rdx, 8(%rax,%rcx,8)
	movl	40(%rax,%rbx), %edx
	movl	%edx, 44(%rax,%rcx,8)
	movl	32(%rax,%rcx,8), %edx
	movl	36(%rax,%rcx,8), %edi
	movl	32(%rax,%rbx), %esi
	callq	_av_rescale
	movq	24(%r14), %rcx
	movl	%eax, 36(%rcx,%rbx)
	jmp	LBB0_21
LBB0_22:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_mov_write_mvhd_tag
	movq	16(%r14), %rax
	movq	_MODE_MOV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.23:
	cmpl	$0, 32(%r14)
	jne	LBB0_25
## %bb.24:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_mov_write_iods_tag
LBB0_25:
	movl	(%r14), %eax
	testl	%eax, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jle	LBB0_43
## %bb.26:
	xorl	%r12d, %r12d
	movq	_FF_MOV_FLAG_FRAGMENT@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_27 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$72, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_43
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rcx
	cmpq	$0, (%rcx,%r12)
	jg	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	(%r15), %edx
	testl	%edx, 4(%r14)
	je	LBB0_42
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=1
	addq	%r12, %rcx
	movslq	(%rdi), %rax
	cmpq	%rax, %rbx
	jge	LBB0_30
## %bb.39:                              ##   in Loop: Header=BB0_27 Depth=1
	movq	8(%rdi), %rax
	movq	(%rax,%rbx,8), %r8
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=1
	xorl	%r8d, %r8d
LBB0_40:                                ##   in Loop: Header=BB0_27 Depth=1
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_mov_write_trak_tag
	testl	%eax, %eax
	js	LBB0_49
## %bb.41:                              ##   in Loop: Header=BB0_27 Depth=1
	movl	(%r14), %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_42
LBB0_43:
	movq	_FF_MOV_FLAG_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%r14)
	je	LBB0_45
## %bb.44:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_mov_write_mvex_tag
LBB0_45:
	movq	16(%r14), %rax
	movq	_MODE_PSP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_47
## %bb.46:
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_mov_write_uuidusmt_tag
	jmp	LBB0_48
LBB0_47:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_mov_write_udta_tag
LBB0_48:
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_update_size
LBB0_49:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"moov"

	.comm	_FF_MOV_FLAG_FRAGMENT,4,2       ## @FF_MOV_FLAG_FRAGMENT
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ## @AVMEDIA_TYPE_AUDIO
	.comm	_AV_PKT_DATA_FALLBACK_TRACK,4,2 ## @AV_PKT_DATA_FALLBACK_TRACK
	.comm	_MODE_MOV,8,3                   ## @MODE_MOV
	.comm	_MODE_PSP,8,3                   ## @MODE_PSP
	.no_dead_strip	_mov_write_moov_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_moov_tag
_mov_write_moov_tag:                    ; @mov_write_moov_tag
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_avio_tell
	mov	x26, x0
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x22
	mov	x1, x21
	bl	_mov_setup_track_ids
	ldr	w8, [x22]
Lloh2:
	adrp	x27, _FF_MOV_FLAG_FRAGMENT@GOTPAGE
Lloh3:
	ldr	x27, [x27, _FF_MOV_FLAG_FRAGMENT@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x20, #0
	mov	x23, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22, #36]
	add	x10, x9, x20
	str	w8, [x10, #64]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x9, x20
	bl	_build_chunks
	ldr	w8, [x22]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	add	x20, x20, #72
	cmp	x23, w8, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #24]
	ldr	x10, [x9, x20]
	cmp	x10, #1
	b.ge	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w11, [x22, #4]
	ldr	w12, [x27]
	tst	w12, w11
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w11, [x22, #36]
	add	x12, x9, x20
	str	w11, [x12, #64]
	cbnz	x10, LBB0_3
	b	LBB0_4
LBB0_8:
	ldr	w9, [x22, #8]
	cbz	w9, LBB0_13
; %bb.9:
	ldr	w9, [x21]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.10:
	mov	x20, #0
	mov	x23, #0
	mov	w24, #72
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #99
	mov	w1, #104
	mov	w2, #97
	mov	w3, #112
	bl	_MKTAG
	ldr	x8, [x22, #24]
	add	x9, x8, x20
	str	x0, [x9, #8]
	ldrsw	x10, [x22, #8]
	madd	x8, x10, x24, x8
	ldr	w8, [x8, #40]
	str	w8, [x9, #44]
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x20, x20, #72
	cmp	x23, x8
	b.lt	LBB0_11
; %bb.12:
	ldr	w8, [x22]
LBB0_13:
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.14:
	str	w26, [sp, #8]                   ; 4-byte Folded Spill
	mov	x25, #0
	mov	x26, #0
	mov	w27, #72
Lloh4:
	adrp	x28, _AVMEDIA_TYPE_AUDIO@GOTPAGE
Lloh5:
	ldr	x28, [x28, _AVMEDIA_TYPE_AUDIO@GOTPAGEOFF]
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	w0, #104
	mov	w1, #105
	mov	w2, #110
	mov	w3, #116
	bl	_MKTAG
	str	x0, [x23, #8]
	ldr	x8, [x22, #24]
	ldr	x9, [x23, #24]
	madd	x8, x9, x27, x8
	ldr	w8, [x8, #40]
	str	w8, [x23, #44]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x22]
	add	x25, x25, #72
	cmp	x26, x8
	b.ge	LBB0_23
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x22, #24]
	add	x23, x24, x25
	ldr	x20, [x23, #16]
	mov	w0, #114
	mov	w1, #116
	mov	w2, #112
	mov	w3, #32
	bl	_MKTAG
	cmp	x20, x0
	b.eq	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	x8, [x23, #56]
	ldr	x8, [x8]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	add	x8, x24, x25
	ldr	w0, [x8, #48]
Lloh6:
	adrp	x8, _AV_PKT_DATA_FALLBACK_TRACK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AV_PKT_DATA_FALLBACK_TRACK@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_av_stream_get_side_data
	ldr	w8, [sp, #12]
	cmp	x0, #0
	ccmp	w8, #4, #0, ne
	b.ne	LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x23, x0
	ldr	w8, [x0]
	tbnz	w8, #31, LBB0_16
; %bb.21:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w9, [x22]
	cmp	w8, w9
	b.ge	LBB0_16
; %bb.22:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	w0, #102
	mov	w1, #97
	mov	w2, #108
	mov	w3, #108
	bl	_MKTAG
	add	x8, x24, x25
	str	x0, [x8, #8]
	ldr	x9, [x22, #24]
	ldrsw	x10, [x23]
	madd	x9, x10, x27, x9
	ldr	w9, [x9, #40]
	str	w9, [x8, #44]
	b	LBB0_16
LBB0_23:
	cmp	w8, #1
	ldr	w26, [sp, #8]                   ; 4-byte Folded Reload
Lloh9:
	adrp	x27, _FF_MOV_FLAG_FRAGMENT@GOTPAGE
Lloh10:
	ldr	x27, [x27, _FF_MOV_FLAG_FRAGMENT@GOTPAGEOFF]
	b.lt	LBB0_28
; %bb.24:
	mov	x20, #0
	mov	x23, #0
	mov	w24, #72
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x22]
	add	x20, x20, #72
	cmp	x23, x8
	b.ge	LBB0_28
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	add	x8, x8, x20
	ldr	x25, [x8, #16]
	mov	w0, #116
	mov	w1, #109
	mov	w2, #99
	mov	w3, #100
	bl	_MKTAG
	cmp	x25, x0
	b.ne	LBB0_25
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x22, #24]
	add	x9, x8, x20
	ldrsw	x10, [x9, #24]
	ldr	x11, [x9, #16]
	madd	x8, x10, x24, x8
	str	x11, [x8, #8]
	ldr	w10, [x9, #40]
	str	w10, [x8, #44]
	ldr	w1, [x9, #32]
	ldp	w2, w0, [x8, #32]
	bl	_av_rescale
	ldr	x8, [x22, #24]
	add	x8, x8, x20
	str	w0, [x8, #36]
	b	LBB0_25
LBB0_28:
	mov	x0, x19
	mov	x1, x22
	bl	_mov_write_mvhd_tag
	ldr	x8, [x22, #16]
Lloh11:
	adrp	x9, _MODE_MOV@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MODE_MOV@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_31
; %bb.29:
	ldr	w8, [x22, #32]
	cbnz	w8, LBB0_31
; %bb.30:
	mov	x0, x19
	mov	x1, x22
	bl	_mov_write_iods_tag
LBB0_31:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_41
; %bb.32:
	mov	x20, #0
	mov	x23, #0
	b	LBB0_34
LBB0_33:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x23, x23, #1
	add	x20, x20, #72
	cmp	x23, w8, sxtw
	b.ge	LBB0_41
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22, #24]
	ldr	x10, [x9, x20]
	cmp	x10, #0
	b.gt	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w10, [x22, #4]
	ldr	w11, [x27]
	tst	w11, w10
	b.eq	LBB0_33
LBB0_36:                                ;   in Loop: Header=BB0_34 Depth=1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	x8, [x21, #8]
	ldr	x4, [x8, x23, lsl #3]
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_34 Depth=1
	mov	x4, #0
LBB0_39:                                ;   in Loop: Header=BB0_34 Depth=1
	add	x3, x9, x20
	mov	x0, x21
	mov	x1, x19
	mov	x2, x22
	bl	_mov_write_trak_tag
	tbnz	w0, #31, LBB0_47
; %bb.40:                               ;   in Loop: Header=BB0_34 Depth=1
	ldr	w8, [x22]
	b	LBB0_33
LBB0_41:
	ldr	w8, [x22, #4]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_43
; %bb.42:
	mov	x0, x19
	mov	x1, x22
	bl	_mov_write_mvex_tag
LBB0_43:
	ldr	x8, [x22, #16]
Lloh14:
	adrp	x9, _MODE_PSP@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MODE_PSP@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	mov	x0, x19
	cmp	x8, x9
	b.ne	LBB0_45
; %bb.44:
	mov	x1, x21
	bl	_mov_write_uuidusmt_tag
	b	LBB0_46
LBB0_45:
	mov	x1, x22
	mov	x2, x21
	bl	_mov_write_udta_tag
LBB0_46:
	mov	x0, x19
	mov	x1, x26
	bl	_update_size
LBB0_47:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"moov"

	.comm	_FF_MOV_FLAG_FRAGMENT,4,2       ; @FF_MOV_FLAG_FRAGMENT
	.comm	_AVMEDIA_TYPE_AUDIO,8,3         ; @AVMEDIA_TYPE_AUDIO
	.comm	_AV_PKT_DATA_FALLBACK_TRACK,4,2 ; @AV_PKT_DATA_FALLBACK_TRACK
	.comm	_MODE_MOV,8,3                   ; @MODE_MOV
	.comm	_MODE_PSP,8,3                   ; @MODE_PSP
	.no_dead_strip	_mov_write_moov_tag
.subsections_via_symbols
