	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_file
_init_file:                             ## @init_file
	.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
	movl	%edx, %r14d
	movq	%rsi, %r13
	addq	$24, %rsi
	movl	28(%r13), %edx
	movq	_AVIO_FLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r15d, %r15d
	xorl	%r8d, %r8d
	callq	*(%rdi)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	24(%r13), %edi
	xorl	%esi, %esi
	callq	_avio_wb32
	movl	24(%r13), %r12d
	movl	$109, %edi
	movl	$100, %esi
	movl	$97, %edx
	movl	$116, %ecx
	callq	_MKTAG
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_avio_wl32
	cmpl	$0, (%r13)
	jle	LBB0_5
## %bb.3:
	movl	%r14d, %r12d
	shrl	$24, %r12d
	andl	$127, %r12d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$16, %rdi
	movl	%r14d, %esi
	callq	_AV_WB24
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rsi
	movl	%r12d, 28(%rsi)
	movl	24(%r13), %edi
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %edx
	callq	_avio_write
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movl	%eax, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVIO_FLAG_WRITE,4,2            ## @AVIO_FLAG_WRITE
	.no_dead_strip	_init_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_file
_init_file:                             ; @init_file
	.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	x19, x2
	mov	x20, x1
	ldr	x8, [x0]
	add	x1, x1, #24
	ldr	w2, [x20, #28]
Lloh0:
	adrp	x9, _AVIO_FLAG_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVIO_FLAG_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x9]
	mov	x4, #0
	blr	x8
	tbnz	w0, #31, LBB0_5
; %bb.1:
	ldr	w0, [x20, #24]
	mov	w1, #0
	bl	_avio_wb32
	ldr	w21, [x20, #24]
	mov	w0, #109
	mov	w1, #100
	mov	w2, #97
	mov	w3, #116
	bl	_MKTAG
	mov	x1, x0
	mov	x0, x21
	bl	_avio_wl32
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x21, #0
	ubfx	w22, w19, #24, #7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	lsl	x23, x21, #3
	ldr	x8, [x8, x23]
	add	x0, x8, #16
	mov	x1, x19
	bl	_AV_WB24
	ldp	x8, x9, [x20, #8]
	ldr	x1, [x8, x23]
	str	w22, [x1, #28]
	ldr	w0, [x20, #24]
	ldr	w2, [x9, x21, lsl #2]
	bl	_avio_write
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lt	LBB0_3
LBB0_4:
	mov	w0, #0
LBB0_5:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AVIO_FLAG_WRITE,4,2            ; @AVIO_FLAG_WRITE
	.no_dead_strip	_init_file
.subsections_via_symbols
