	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___init_file                    ## -- Begin function __init_file
	.p2align	4, 0x90
___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
	movl	%esi, %r12d
	movl	%edi, %r15d
	movl	$48, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	__IO_BUFSIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movl	%r15d, 8(%rbx)
	movl	$0, 12(%rbx)
	movl	(%r13), %eax
	movl	%eax, 16(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	andb	$-127, %r14b
	cmpb	$-128, %r14b
	je	LBB0_9
## %bb.3:
	cmpb	$-127, %r14b
	jne	LBB0_11
## %bb.4:
	movq	___FILE_CAN_WRITE@GOTPCREL(%rip), %rcx
	movq	___FILE_CAN_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	jmp	LBB0_10
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_6
LBB0_8:
	movl	%r15d, %edi
	callq	_close
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_7:
	movq	%rbx, %rdi
	callq	_free
	testl	%r12d, %r12d
	jne	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	movq	___FILE_CAN_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	movl	%eax, 12(%rbx)
LBB0_11:
	movq	$0, 24(%rbx)
LBB0_12:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__IO_BUFSIZE,4,2                ## @_IO_BUFSIZE
	.comm	___FILE_CAN_WRITE,4,2           ## @__FILE_CAN_WRITE
	.comm	___FILE_CAN_READ,4,2            ## @__FILE_CAN_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___init_file                    ; -- Begin function __init_file
	.p2align	2
___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	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	w0, #48
	bl	_malloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x23, __IO_BUFSIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, __IO_BUFSIZE@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.2:
	stp	w20, wzr, [x19, #8]
	ldr	w8, [x23]
	str	w8, [x19, #16]
	stp	xzr, xzr, [x19, #32]
	mov	w8, #129
	and	w8, w21, w8
	cmp	w8, #128
	b.eq	LBB0_9
; %bb.3:
	cmp	w8, #129
	b.ne	LBB0_11
; %bb.4:
Lloh2:
	adrp	x8, ___FILE_CAN_WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___FILE_CAN_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, ___FILE_CAN_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___FILE_CAN_READ@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	b	LBB0_10
LBB0_5:
	cbz	w22, LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_close
	mov	x19, #0
	b	LBB0_12
LBB0_7:
	mov	x0, x19
	bl	_free
	cbnz	w22, LBB0_6
LBB0_8:
	mov	x19, #0
	b	LBB0_12
LBB0_9:
Lloh8:
	adrp	x8, ___FILE_CAN_WRITE@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___FILE_CAN_WRITE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
LBB0_10:
	str	w8, [x19, #12]
LBB0_11:
	str	xzr, [x19, #24]
LBB0_12:
	mov	x0, x19
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	__IO_BUFSIZE,4,2                ; @_IO_BUFSIZE
	.comm	___FILE_CAN_WRITE,4,2           ; @__FILE_CAN_WRITE
	.comm	___FILE_CAN_READ,4,2            ; @__FILE_CAN_READ
.subsections_via_symbols
