	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function file_header_init
_file_header_init:                      ## @file_header_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	%rdx, %r15
	movq	%rdi, %rbx
	movl	$24, %edi
	callq	_sort_malloc
	movq	%rax, (%rbx)
	movq	%r15, (%rax)
	movq	%r14, %rdi
	callq	_file_reader_init
	movq	(%rbx), %rcx
	movq	%rax, 16(%rcx)
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
LBB0_4:
	callq	_file_reader_readline
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r14
	xorl	%eax, %eax
	callq	_sort_list_item_alloc
	movq	(%rbx), %rcx
	movq	%rax, 8(%rcx)
	movq	(%rbx), %rax
	movq	8(%rax), %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sort_list_item_set             ## TAILCALL
LBB0_5:
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	callq	_file_reader_free
	movq	(%rbx), %rax
	movq	$0, 16(%rax)
	movq	(%rbx), %rax
	movq	$0, 8(%rax)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r14, %rdi
	callq	_perror
	movl	$8, %edi
	callq	_getstr
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%eax, %edx
	callq	_err
	movq	(%rbx), %rax
	movq	16(%rax), %rdi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.no_dead_strip	_file_header_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function file_header_init
_file_header_init:                      ; @file_header_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x21, x2
	mov	x19, x0
	mov	w0, #24
	bl	_sort_malloc
	str	x0, [x19]
	str	x21, [x0]
	mov	x0, x20
	bl	_file_reader_init
	ldr	x8, [x19]
	str	x0, [x8, #16]
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_file_reader_readline
	cbz	x0, LBB0_6
LBB0_4:
	mov	x20, x0
	bl	_sort_list_item_alloc
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sort_list_item_set
LBB0_5:
	mov	x0, x20
	bl	_perror
	mov	w0, #8
	bl	_getstr
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_err
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	bl	_file_reader_readline
	cbnz	x0, LBB0_4
LBB0_6:
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
	bl	_file_reader_free
	ldr	x8, [x19]
	str	xzr, [x8, #16]
	ldr	x8, [x19]
	str	xzr, [x8, #8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.no_dead_strip	_file_header_init
.subsections_via_symbols
