	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_mfra_tag
_mov_write_mfra_tag:                    ## @mov_write_mfra_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	callq	_avio_tell
	movl	%eax, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_ffio_wfourcc
	movq	_FF_MOV_FLAG_ISML@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	jne	LBB0_7
## %bb.1:
	movl	4(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	movslq	%eax, %rcx
	addq	$8, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	cmpq	$0, (%rsi,%rbx)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_mov_write_tfra_tag
	movl	4(%r12), %eax
	jmp	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_avio_wb32
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_ffio_wfourcc
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%r15, %rdi
	callq	_avio_tell
                                        ## kill: def $eax killed $eax def $rax
	subl	%r14d, %eax
	leal	4(%rax), %esi
	movq	%r15, %rdi
	callq	_avio_wb32
LBB0_7:
	movq	%r15, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_update_size                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mfra"

	.comm	_FF_MOV_FLAG_ISML,4,2           ## @FF_MOV_FLAG_ISML
L_.str.1:                               ## @.str.1
	.asciz	"mfro"

	.no_dead_strip	_mov_write_mfra_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_mfra_tag
_mov_write_mfra_tag:                    ; @mov_write_mfra_tag
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_avio_tell
	mov	x20, 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
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _FF_MOV_FLAG_ISML@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FF_MOV_FLAG_ISML@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_7
; %bb.1:
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x22, #0
	mov	x23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	add	x22, x22, #8
	cmp	x23, w8, sxtw
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	add	x1, x9, x22
	ldr	x9, [x1]
	cbz	x9, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_mov_write_tfra_tag
	ldr	w8, [x21, #4]
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	mov	w1, #16
	bl	_avio_wb32
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ffio_wfourcc
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x19
	bl	_avio_tell
	sub	w8, w0, w20
	add	w1, w8, #4
	mov	x0, x19
	bl	_avio_wb32
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_update_size
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mfra"

	.comm	_FF_MOV_FLAG_ISML,4,2           ; @FF_MOV_FLAG_ISML
l_.str.1:                               ; @.str.1
	.asciz	"mfro"

	.no_dead_strip	_mov_write_mfra_tag
.subsections_via_symbols
