	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_HEADER_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_O_RDWR@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_open
	movq	_status_fd@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	testq	%rax, %rax
	jns	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$420, %edx                      ## imm = 0x1A4
	xorl	%eax, %eax
	callq	_open
	movq	%rax, (%r13)
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	testq	%rax, %rax
	jns	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movq	%rbx, %rdx
	callq	_errx
	movq	(%r13), %rax
LBB0_4:
	movq	_PROT_READ@GOTPCREL(%rip), %rcx
	movq	_PROT_WRITE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_MAP_SHARED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edi, %edi
	movl	$268435456, %esi                ## imm = 0x10000000
	movq	%rax, %r8
	xorl	%r9d, %r9d
	callq	_mmap
	movq	_status_info@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	movq	_MAP_FAILED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_6:
	movq	_status_fd@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_SEEK_END@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	movq	_status_file_len@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testl	%r12d, %r12d
	movq	_HEADER_LEN@GOTPCREL(%rip), %r12
	jne	LBB0_17
## %bb.7:
	movslq	(%r12), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_15
## %bb.8:
	movq	(%r13), %rcx
	movslq	(%rcx), %rdx
	movq	%rdx, %rdi
	shlq	$4, %rdi
	addq	%rsi, %rdi
	cmpq	%rdi, %rax
	jge	LBB0_9
LBB0_15:
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
	movq	_TRUE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_status_fd@GOTPCREL(%rip), %r15
	je	LBB0_16
LBB0_17:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	(%r15), %rdi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_lseek
	movq	(%r15), %rdi
	movl	(%r12), %edx
	movq	%rbx, %rsi
	callq	_write
	movslq	(%r12), %rax
	movq	%rax, (%r14)
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	(%r13), %rcx
	movl	(%rcx), %edx
LBB0_9:
	testl	%edx, %edx
	jle	LBB0_14
## %bb.10:
	xorl	%eax, %eax
	movq	_TRUE@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rsi
	movslq	(%rcx), %rdi
	addq	$16, %rax
	cmpq	%rdi, %rsi
	jge	LBB0_14
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rdi
	cmpq	$0, (%rdi,%rax)
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	(%rdx), %rcx
	movq	%rcx, 8(%rdi,%rax)
	movq	$0, (%rdi,%rax)
	movq	(%r13), %rcx
	jmp	LBB0_13
LBB0_14:
	movl	4(%rcx), %eax
	addl	$2, %eax
	orl	$1, %eax
	movl	%eax, 4(%rcx)
	jmp	LBB0_18
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_HEADER_LEN,4,2                 ## @HEADER_LEN
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_status_fd,8,3                  ## @status_fd
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_TRUE,8,3                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unable to open status file %s"

	.comm	_PROT_READ,4,2                  ## @PROT_READ
	.comm	_PROT_WRITE,4,2                 ## @PROT_WRITE
	.comm	_MAP_SHARED,4,2                 ## @MAP_SHARED
	.comm	_status_info,8,3                ## @status_info
	.comm	_MAP_FAILED,8,3                 ## @MAP_FAILED
L_.str.1:                               ## @.str.1
	.asciz	"unable to mmap() status file"

	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_status_file_len,8,3            ## @status_file_len
L_.str.2:                               ## @.str.2
	.asciz	"status file is corrupt"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.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	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x22, _HEADER_LEN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _HEADER_LEN@GOTPAGEOFF]
	ldr	w20, [x22]
	mov	x9, x20
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh10:
	adrp	x25, _O_RDWR@GOTPAGE
Lloh11:
	ldr	x25, [x25, _O_RDWR@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_open
Lloh12:
	adrp	x23, _status_fd@GOTPAGE
Lloh13:
	ldr	x23, [x23, _status_fd@GOTPAGEOFF]
	str	x0, [x23]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	x4, x0
	b	LBB0_5
LBB0_2:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _ENOENT@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x25]
Lloh20:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w8, #420
	str	x8, [sp, #-16]!
	mov	x0, x21
	bl	_open
	add	sp, sp, #16
	mov	x4, x0
	str	x0, [x23]
Lloh23:
	adrp	x8, _TRUE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh25:
	ldr	w24, [x8]
	tbz	x0, #63, LBB0_5
LBB0_4:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x21
	bl	_errx
	ldr	x4, [x23]
LBB0_5:
Lloh28:
	adrp	x8, _PROT_READ@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PROT_READ@GOTPAGEOFF]
Lloh30:
	adrp	x9, _PROT_WRITE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PROT_WRITE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh34:
	adrp	x8, _MAP_SHARED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MAP_SHARED@GOTPAGEOFF]
Lloh36:
	ldr	w3, [x8]
	mov	x0, #0
	mov	w1, #268435456
	mov	w5, #0
	bl	_mmap
Lloh37:
	adrp	x21, _status_info@GOTPAGE
Lloh38:
	ldr	x21, [x21, _status_info@GOTPAGEOFF]
	str	x0, [x21]
Lloh39:
	adrp	x8, _MAP_FAILED@GOTPAGE
Lloh40:
	ldr	x8, [x8, _MAP_FAILED@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
Lloh42:
	adrp	x1, l_.str.1@PAGE
Lloh43:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	ldr	x0, [x23]
Lloh44:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_lseek
Lloh47:
	adrp	x25, _status_file_len@GOTPAGE
Lloh48:
	ldr	x25, [x25, _status_file_len@GOTPAGEOFF]
	str	x0, [x25]
	cbnz	w24, LBB0_11
; %bb.8:
	ldrsw	x10, [x22]
Lloh49:
	adrp	x24, _TRUE@GOTPAGE
Lloh50:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
	cmp	x0, x10
	b.lt	LBB0_10
; %bb.9:
	ldr	x8, [x21]
	ldrsw	x9, [x8]
	add	x10, x10, x9, lsl #4
	cmp	x0, x10
	b.ge	LBB0_15
LBB0_10:
Lloh51:
	adrp	x0, l_.str.2@PAGE
Lloh52:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
	ldr	w8, [x24]
	cbz	w8, LBB0_14
LBB0_11:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_memset
	ldr	x0, [x23]
Lloh53:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_lseek
	ldr	x0, [x23]
	ldr	w2, [x22]
	mov	x1, x19
	bl	_write
	ldrsw	x8, [x22]
	str	x8, [x25]
LBB0_12:
	ldur	x8, [x29, #-72]
Lloh56:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh57:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh58:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.13:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_14:
	ldr	x8, [x21]
	ldr	w9, [x8]
LBB0_15:
	cmp	w9, #1
	b.lt	LBB0_20
; %bb.16:
	mov	x9, #0
	mov	x10, #0
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	x10, x10, #1
	ldrsw	x11, [x8]
	add	x9, x9, #16
	cmp	x10, x11
	b.ge	LBB0_20
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, #8]
	ldr	x12, [x11, x9]
	cbz	x12, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [x24]
	add	x11, x11, x9
	stp	xzr, x8, [x11]
	ldr	x8, [x21]
	b	LBB0_17
LBB0_20:
	ldr	w9, [x8, #4]
	add	w9, w9, #2
	orr	w9, w9, #0x1
	str	w9, [x8, #4]
	b	LBB0_12
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_HEADER_LEN,4,2                 ; @HEADER_LEN
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_status_fd,8,3                  ; @status_fd
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_TRUE,8,3                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unable to open status file %s"

	.comm	_PROT_READ,4,2                  ; @PROT_READ
	.comm	_PROT_WRITE,4,2                 ; @PROT_WRITE
	.comm	_MAP_SHARED,4,2                 ; @MAP_SHARED
	.comm	_status_info,8,3                ; @status_info
	.comm	_MAP_FAILED,8,3                 ; @MAP_FAILED
l_.str.1:                               ; @.str.1
	.asciz	"unable to mmap() status file"

	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_status_file_len,8,3            ; @status_file_len
l_.str.2:                               ; @.str.2
	.asciz	"status file is corrupt"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
