	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_ftyp_tag
_mov_write_ftyp_tag:                    ## @mov_write_ftyp_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	%rsi, %r12
	movq	16(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_avio_tell
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpl	$0, (%r12)
	jle	LBB0_10
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %ebx
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movslq	(%r12), %rax
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r13,8), %rbx
	movq	%rbx, %rdi
	callq	_is_cover_image
	testq	%rax, %rax
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rcx
	movq	(%rcx), %rdx
	movl	$1, %eax
	movl	$1, %ebx
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r15d, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rcx), %rcx
	movq	_AV_CODEC_ID_H264@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %eax
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r14d
	movl	%ebx, %r15d
	jmp	LBB0_3
LBB0_10:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
LBB0_11:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
## %bb.12:
	callq	_strlen
	cmpl	$4, %eax
	jl	LBB0_15
## %bb.13:
	movq	(%r15), %rsi
LBB0_14:
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	movl	$512, %ebx                      ## imm = 0x200
	jmp	LBB0_19
LBB0_15:
	movl	8(%r15), %eax
	movq	_MODE_3GP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_17
## %bb.16:
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	sete	%bl
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	shll	$8, %ebx
	addl	$256, %ebx                      ## imm = 0x100
	jmp	LBB0_19
LBB0_17:
	movq	_MODE_3G2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_37
## %bb.18:
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	setne	%bl
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	shll	$16, %ebx
	addl	$65536, %ebx                    ## imm = 0x10000
LBB0_19:
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_avio_wb32
	movl	8(%r15), %eax
	movq	_MODE_MOV@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_21
## %bb.20:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_23
LBB0_21:
	movq	_MODE_ISM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_32
## %bb.22:
	leaq	L_.str.14(%rip), %rsi
LBB0_23:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_24:
	movq	%r12, %rdi
	callq	_ffio_wfourcc
LBB0_25:
	movq	_FF_MOV_FLAG_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r15)
	je	LBB0_28
## %bb.26:
	movl	8(%r15), %eax
	movq	_MODE_ISM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_28
## %bb.27:
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
LBB0_28:
	movl	8(%r15), %eax
	movq	_MODE_3GP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_30
## %bb.29:
	testl	%r14d, %r14d
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_41
LBB0_30:
	movq	_MODE_3G2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_35
## %bb.31:
	testl	%r14d, %r14d
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_41
LBB0_32:
	movq	_FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r15)
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_25
## %bb.33:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
	testl	%r14d, %r14d
	je	LBB0_25
## %bb.34:
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_24
LBB0_35:
	movq	_MODE_PSP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_39
## %bb.36:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_41
LBB0_37:
	movq	_MODE_PSP@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_46
## %bb.38:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_14
LBB0_39:
	movq	_MODE_MP4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_42
## %bb.40:
	leaq	L_.str.18(%rip), %rsi
LBB0_41:
	movq	%r12, %rdi
	callq	_ffio_wfourcc
LBB0_42:
	movl	12(%r15), %eax
	movq	_FF_MOV_FLAG_DASH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.43:
	movq	_FF_MOV_FLAG_GLOBAL_SIDX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_45
## %bb.44:
	leaq	L_.str.19(%rip), %rsi
	movq	%r12, %rdi
	callq	_ffio_wfourcc
LBB0_45:
	movq	%r12, %rdi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_size                    ## TAILCALL
LBB0_46:
	movq	_MODE_MP4@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_49
## %bb.47:
	movl	12(%r15), %eax
	movq	_FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_53
## %bb.48:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_14
LBB0_49:
	movq	_MODE_IPOD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_51
## %bb.50:
	testl	%ebx, %ebx
	leaq	L_.str.10(%rip), %rax
	leaq	L_.str.9(%rip), %rsi
	cmoveq	%rax, %rsi
	jmp	LBB0_14
LBB0_51:
	movq	_MODE_ISM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_55
## %bb.52:
	leaq	L_.str.11(%rip), %rsi
	jmp	LBB0_14
LBB0_53:
	movq	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_57
## %bb.54:
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_14
LBB0_55:
	movq	_MODE_F4V@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_58
## %bb.56:
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_14
LBB0_57:
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_14
LBB0_58:
	leaq	L_.str.13(%rip), %rsi
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_H264,8,3           ## @AV_CODEC_ID_H264
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ftyp"

	.comm	_MODE_3GP,4,2                   ## @MODE_3GP
L_.str.1:                               ## @.str.1
	.asciz	"3gp6"

L_.str.2:                               ## @.str.2
	.asciz	"3gp4"

	.comm	_MODE_3G2,4,2                   ## @MODE_3G2
L_.str.3:                               ## @.str.3
	.asciz	"3g2b"

L_.str.4:                               ## @.str.4
	.asciz	"3g2a"

	.comm	_MODE_PSP,4,2                   ## @MODE_PSP
L_.str.5:                               ## @.str.5
	.asciz	"MSNV"

	.comm	_MODE_MP4,4,2                   ## @MODE_MP4
	.comm	_FF_MOV_FLAG_DEFAULT_BASE_MOOF,4,2 ## @FF_MOV_FLAG_DEFAULT_BASE_MOOF
L_.str.6:                               ## @.str.6
	.asciz	"iso5"

	.comm	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS,4,2 ## @FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS
L_.str.7:                               ## @.str.7
	.asciz	"iso4"

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

	.comm	_MODE_IPOD,4,2                  ## @MODE_IPOD
L_.str.9:                               ## @.str.9
	.asciz	"M4V "

L_.str.10:                              ## @.str.10
	.asciz	"M4A "

	.comm	_MODE_ISM,4,2                   ## @MODE_ISM
L_.str.11:                              ## @.str.11
	.asciz	"isml"

	.comm	_MODE_F4V,4,2                   ## @MODE_F4V
L_.str.12:                              ## @.str.12
	.asciz	"f4v "

L_.str.13:                              ## @.str.13
	.asciz	"qt  "

	.comm	_MODE_MOV,4,2                   ## @MODE_MOV
L_.str.14:                              ## @.str.14
	.asciz	"piff"

L_.str.15:                              ## @.str.15
	.asciz	"iso2"

L_.str.16:                              ## @.str.16
	.asciz	"avc1"

	.comm	_FF_MOV_FLAG_FRAGMENT,4,2       ## @FF_MOV_FLAG_FRAGMENT
L_.str.17:                              ## @.str.17
	.asciz	"iso6"

L_.str.18:                              ## @.str.18
	.asciz	"mp41"

	.comm	_FF_MOV_FLAG_DASH,4,2           ## @FF_MOV_FLAG_DASH
	.comm	_FF_MOV_FLAG_GLOBAL_SIDX,4,2    ## @FF_MOV_FLAG_GLOBAL_SIDX
L_.str.19:                              ## @.str.19
	.asciz	"dash"

	.no_dead_strip	_mov_write_ftyp_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_ftyp_tag
_mov_write_ftyp_tag:                    ; @mov_write_ftyp_tag
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x19, x0
	ldr	x23, [x1, #16]
	bl	_avio_tell
	mov	x20, x0
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	mov	w24, #0
	mov	w26, #0
Lloh0:
	adrp	x27, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x27, [x27, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh2:
	adrp	x28, _AV_CODEC_ID_H264@GOTPAGE
Lloh3:
	ldr	x28, [x28, _AV_CODEC_ID_H264@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x21]
	cmp	x25, x8
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x22, [x8, x25, lsl #3]
	mov	x0, x22
	bl	_is_cover_image
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldr	x9, [x27]
	ldp	x10, x8, [x8]
	cmp	x10, x9
	csinc	w26, w26, wzr, ne
	ldr	x9, [x28]
	cmp	x8, x9
	csinc	w24, w24, wzr, ne
	b	LBB0_2
LBB0_5:
	mov	w26, #0
	mov	w24, #0
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	ldr	x0, [x23]
Lloh6:
	adrp	x22, _MODE_3GP@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MODE_3GP@GOTPAGEOFF]
Lloh8:
	adrp	x25, _MODE_ISM@GOTPAGE
Lloh9:
	ldr	x25, [x25, _MODE_ISM@GOTPAGEOFF]
	cbz	x0, LBB0_10
; %bb.7:
	bl	_strlen
	cmp	w0, #4
	b.lt	LBB0_10
; %bb.8:
	ldr	x1, [x23]
LBB0_9:
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	w21, #512
	b	LBB0_15
LBB0_10:
	ldr	w8, [x23, #8]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_12
; %bb.11:
Lloh10:
	adrp	x8, l_.str.1@PAGE
Lloh11:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh12:
	adrp	x9, l_.str.2@PAGE
Lloh13:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w24, #0
	csel	x1, x9, x8, eq
	mov	w8, #256
	mov	w9, #512
	b	LBB0_14
LBB0_12:
Lloh14:
	adrp	x9, _MODE_3G2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MODE_3G2@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.13:
Lloh17:
	adrp	x8, l_.str.3@PAGE
Lloh18:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh19:
	adrp	x9, l_.str.4@PAGE
Lloh20:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w24, #0
	csel	x1, x9, x8, eq
	mov	w8, #131072
	mov	w9, #65536
LBB0_14:
	csel	w21, w9, w8, eq
	mov	x0, x19
	bl	_ffio_wfourcc
LBB0_15:
	mov	x0, x19
	mov	x1, x21
	bl	_avio_wb32
	ldr	w8, [x23, #8]
Lloh21:
	adrp	x9, _MODE_MOV@GOTPAGE
Lloh22:
	ldr	x9, [x9, _MODE_MOV@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.16:
Lloh24:
	adrp	x1, l_.str.13@PAGE
Lloh25:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_19
LBB0_17:
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_33
; %bb.18:
Lloh26:
	adrp	x1, l_.str.14@PAGE
Lloh27:
	add	x1, x1, l_.str.14@PAGEOFF
LBB0_19:
	mov	x0, x19
	bl	_ffio_wfourcc
LBB0_20:
	ldr	w8, [x23, #12]
Lloh28:
	adrp	x9, _FF_MOV_FLAG_FRAGMENT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _FF_MOV_FLAG_FRAGMENT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.21:
	ldr	w8, [x23, #8]
	ldr	w9, [x25]
	cmp	w8, w9
	b.eq	LBB0_23
; %bb.22:
Lloh31:
	adrp	x1, l_.str.17@PAGE
Lloh32:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
LBB0_23:
	ldr	w8, [x23, #8]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.24:
Lloh33:
	adrp	x8, l_.str.1@PAGE
Lloh34:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh35:
	adrp	x9, l_.str.2@PAGE
Lloh36:
	add	x9, x9, l_.str.2@PAGEOFF
	b	LBB0_27
LBB0_25:
Lloh37:
	adrp	x9, _MODE_3G2@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MODE_3G2@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.26:
Lloh40:
	adrp	x8, l_.str.3@PAGE
Lloh41:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh42:
	adrp	x9, l_.str.4@PAGE
Lloh43:
	add	x9, x9, l_.str.4@PAGEOFF
LBB0_27:
	cmp	w24, #0
	csel	x1, x9, x8, eq
LBB0_28:
	mov	x0, x19
	bl	_ffio_wfourcc
LBB0_29:
	ldr	w8, [x23, #12]
Lloh44:
	adrp	x9, _FF_MOV_FLAG_DASH@GOTPAGE
Lloh45:
	ldr	x9, [x9, _FF_MOV_FLAG_DASH@GOTPAGEOFF]
Lloh46:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.30:
Lloh47:
	adrp	x9, _FF_MOV_FLAG_GLOBAL_SIDX@GOTPAGE
Lloh48:
	ldr	x9, [x9, _FF_MOV_FLAG_GLOBAL_SIDX@GOTPAGEOFF]
Lloh49:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
Lloh50:
	adrp	x1, l_.str.19@PAGE
Lloh51:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
LBB0_32:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_update_size
LBB0_33:
	ldr	w8, [x23, #12]
Lloh52:
	adrp	x9, _FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPAGE
Lloh53:
	ldr	x9, [x9, _FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_20
; %bb.34:
Lloh55:
	adrp	x1, l_.str.8@PAGE
Lloh56:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
Lloh57:
	adrp	x1, l_.str.15@PAGE
Lloh58:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	cbz	w24, LBB0_20
; %bb.35:
Lloh59:
	adrp	x1, l_.str.16@PAGE
Lloh60:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_19
LBB0_36:
Lloh61:
	adrp	x9, _MODE_PSP@GOTPAGE
Lloh62:
	ldr	x9, [x9, _MODE_PSP@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_40
; %bb.37:
Lloh64:
	adrp	x1, l_.str.5@PAGE
Lloh65:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_28
LBB0_38:
Lloh66:
	adrp	x9, _MODE_PSP@GOTPAGE
Lloh67:
	ldr	x9, [x9, _MODE_PSP@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_42
; %bb.39:
Lloh69:
	adrp	x1, l_.str.5@PAGE
Lloh70:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_40:
Lloh71:
	adrp	x9, _MODE_MP4@GOTPAGE
Lloh72:
	ldr	x9, [x9, _MODE_MP4@GOTPAGEOFF]
Lloh73:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.41:
Lloh74:
	adrp	x1, l_.str.18@PAGE
Lloh75:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_28
LBB0_42:
Lloh76:
	adrp	x9, _MODE_MP4@GOTPAGE
Lloh77:
	ldr	x9, [x9, _MODE_MP4@GOTPAGEOFF]
Lloh78:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_45
; %bb.43:
	ldr	w8, [x23, #12]
Lloh79:
	adrp	x9, _FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPAGE
Lloh80:
	ldr	x9, [x9, _FF_MOV_FLAG_DEFAULT_BASE_MOOF@GOTPAGEOFF]
Lloh81:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_49
; %bb.44:
Lloh82:
	adrp	x1, l_.str.6@PAGE
Lloh83:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_9
LBB0_45:
Lloh84:
	adrp	x9, _MODE_IPOD@GOTPAGE
Lloh85:
	ldr	x9, [x9, _MODE_IPOD@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_47
; %bb.46:
Lloh87:
	adrp	x8, l_.str.9@PAGE
Lloh88:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh89:
	adrp	x9, l_.str.10@PAGE
Lloh90:
	add	x9, x9, l_.str.10@PAGEOFF
	cmp	w26, #0
	csel	x1, x9, x8, eq
	b	LBB0_9
LBB0_47:
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_51
; %bb.48:
Lloh91:
	adrp	x1, l_.str.11@PAGE
Lloh92:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_9
LBB0_49:
Lloh93:
	adrp	x9, _FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPAGE
Lloh94:
	ldr	x9, [x9, _FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPAGEOFF]
Lloh95:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_53
; %bb.50:
Lloh96:
	adrp	x1, l_.str.7@PAGE
Lloh97:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_9
LBB0_51:
Lloh98:
	adrp	x9, _MODE_F4V@GOTPAGE
Lloh99:
	ldr	x9, [x9, _MODE_F4V@GOTPAGEOFF]
Lloh100:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_54
; %bb.52:
Lloh101:
	adrp	x1, l_.str.12@PAGE
Lloh102:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_9
LBB0_53:
Lloh103:
	adrp	x1, l_.str.8@PAGE
Lloh104:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_9
LBB0_54:
Lloh105:
	adrp	x1, l_.str.13@PAGE
Lloh106:
	add	x1, x1, l_.str.13@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.cfi_endproc
                                        ; -- End function
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_CODEC_ID_H264,8,3           ; @AV_CODEC_ID_H264
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ftyp"

	.comm	_MODE_3GP,4,2                   ; @MODE_3GP
l_.str.1:                               ; @.str.1
	.asciz	"3gp6"

l_.str.2:                               ; @.str.2
	.asciz	"3gp4"

	.comm	_MODE_3G2,4,2                   ; @MODE_3G2
l_.str.3:                               ; @.str.3
	.asciz	"3g2b"

l_.str.4:                               ; @.str.4
	.asciz	"3g2a"

	.comm	_MODE_PSP,4,2                   ; @MODE_PSP
l_.str.5:                               ; @.str.5
	.asciz	"MSNV"

	.comm	_MODE_MP4,4,2                   ; @MODE_MP4
	.comm	_FF_MOV_FLAG_DEFAULT_BASE_MOOF,4,2 ; @FF_MOV_FLAG_DEFAULT_BASE_MOOF
l_.str.6:                               ; @.str.6
	.asciz	"iso5"

	.comm	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS,4,2 ; @FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS
l_.str.7:                               ; @.str.7
	.asciz	"iso4"

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

	.comm	_MODE_IPOD,4,2                  ; @MODE_IPOD
l_.str.9:                               ; @.str.9
	.asciz	"M4V "

l_.str.10:                              ; @.str.10
	.asciz	"M4A "

	.comm	_MODE_ISM,4,2                   ; @MODE_ISM
l_.str.11:                              ; @.str.11
	.asciz	"isml"

	.comm	_MODE_F4V,4,2                   ; @MODE_F4V
l_.str.12:                              ; @.str.12
	.asciz	"f4v "

l_.str.13:                              ; @.str.13
	.asciz	"qt  "

	.comm	_MODE_MOV,4,2                   ; @MODE_MOV
l_.str.14:                              ; @.str.14
	.asciz	"piff"

l_.str.15:                              ; @.str.15
	.asciz	"iso2"

l_.str.16:                              ; @.str.16
	.asciz	"avc1"

	.comm	_FF_MOV_FLAG_FRAGMENT,4,2       ; @FF_MOV_FLAG_FRAGMENT
l_.str.17:                              ; @.str.17
	.asciz	"iso6"

l_.str.18:                              ; @.str.18
	.asciz	"mp41"

	.comm	_FF_MOV_FLAG_DASH,4,2           ; @FF_MOV_FLAG_DASH
	.comm	_FF_MOV_FLAG_GLOBAL_SIDX,4,2    ; @FF_MOV_FLAG_GLOBAL_SIDX
l_.str.19:                              ; @.str.19
	.asciz	"dash"

	.no_dead_strip	_mov_write_ftyp_tag
.subsections_via_symbols
