	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_init
_file_init:                             ## @file_init
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movups	96(%rdi), %xmm0
	movups	%xmm0, 96(%rsp)
	movups	80(%rdi), %xmm0
	movups	%xmm0, 80(%rsp)
	movups	64(%rdi), %xmm0
	movups	%xmm0, 64(%rsp)
	movups	(%rdi), %xmm0
	movups	16(%rdi), %xmm1
	movups	32(%rdi), %xmm2
	movups	48(%rdi), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	_CLEAR
	movq	%r12, 104(%rbx)
	movq	%r15, (%rbx)
	movq	%r14, 8(%rbx)
	movl	$0, 16(%rbx)
	movq	$0, 96(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movups	%xmm0, 48(%rbx)
	movq	_STATE_SIGNATURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%rbx)
	movups	%xmm0, 72(%rbx)
	movq	%r13, 64(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 24(%rbx)
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	testq	%r14, %r14
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movl	%r15d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rbx)
	movq	_FILE_ERROR@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	%eax, 16(%rbx)
	movq	%r15, %rdi
	callq	_perror
	movl	(%r14), %r15d
	jmp	LBB0_5
LBB0_4:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	_WRITE_ERROR@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	%eax, 16(%rbx)
	movq	%r14, %rdi
	callq	_perror
	movl	(%r15), %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_STATE_SIGNATURE,4,2            ## @STATE_SIGNATURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rb"

	.comm	_errno,8,3                      ## @errno
	.comm	_FILE_ERROR,4,2                 ## @FILE_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"wb"

	.comm	_WRITE_ERROR,4,2                ## @WRITE_ERROR
	.no_dead_strip	_file_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_init
_file_init:                             ; @file_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x22, x5
	mov	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x24, x1
	mov	x19, x0
	ldp	q0, q1, [x0, #64]
	stp	q0, q1, [sp, #64]
	ldr	q0, [x0, #96]
	str	q0, [sp, #96]
	ldp	q0, q1, [x0]
	stp	q0, q1, [sp]
	ldp	q1, q0, [x0, #32]
	stp	q1, q0, [sp, #32]
	mov	x0, sp
	bl	_CLEAR
	stp	x21, x20, [x19]
	str	wzr, [x19, #16]
	stp	xzr, x24, [x19, #96]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #32]
Lloh0:
	adrp	x8, _STATE_SIGNATURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATE_SIGNATURE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #88]
	stp	xzr, xzr, [x19, #72]
	str	x23, [x19, #64]
	str	x22, [x19, #24]
	cmp	x21, #0
	cset	w0, ne
	bl	_assert
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_fopen
	str	x0, [x19, #56]
	cbz	x0, LBB0_5
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fopen
	str	x0, [x19, #40]
	cbz	x0, LBB0_6
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_5:
Lloh7:
	adrp	x8, _errno@GOTPAGE
Lloh8:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x19, #48]
Lloh10:
	adrp	x20, _FILE_ERROR@GOTPAGE
Lloh11:
	ldr	x20, [x20, _FILE_ERROR@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x21
	bl	_perror
	ldr	w0, [x20]
	b	LBB0_4
LBB0_6:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x19, #32]
Lloh15:
	adrp	x21, _WRITE_ERROR@GOTPAGE
Lloh16:
	ldr	x21, [x21, _WRITE_ERROR@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x20
	bl	_perror
	ldr	w0, [x21]
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_STATE_SIGNATURE,4,2            ; @STATE_SIGNATURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rb"

	.comm	_errno,8,3                      ; @errno
	.comm	_FILE_ERROR,4,2                 ; @FILE_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"wb"

	.comm	_WRITE_ERROR,4,2                ; @WRITE_ERROR
	.no_dead_strip	_file_init
.subsections_via_symbols
