	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %r15
	movl	%edi, %ebx
	movq	_LINE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	cmpl	$2, %ebx
	jne	LBB0_30
## %bb.1:
	movq	8(%r15), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_LINE_SIZE@GOTPCREL(%rip), %r14
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	jne	LBB0_4
## %bb.29:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	8(%r15), %r14
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_30:
	movq	(%r15), %rdi
	callq	_usage
	movl	$1, %edi
	callq	_exit
LBB0_4:
	movq	_LINE_SIZE@GOTPCREL(%rip), %r14
	movq	%rax, %rbx
	movl	(%r14), %r13d
LBB0_5:
	movq	%r12, %rdi
	movl	%r13d, %esi
	movq	%rbx, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_27
## %bb.6:
	movq	%rbx, %r13
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	movq	%r13, %rdx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_26
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	%r12, %rdi
	callq	_strlen
	incl	%r15d
	cmpb	$35, (%r12)
	je	LBB0_25
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpb	$10, (%rax)
	je	LBB0_25
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	callq	_strlen
	cmpq	%rax, %rbx
	je	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%edi, %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strtok
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_file_handler_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%r14), %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=2
	incq	%r13
	movq	(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_17
	jmp	LBB0_21
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r13d, %r13d
LBB0_21:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r13d, %r13d
	jmp	LBB0_22
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	%r13d, %r13d
	movq	%r13, %rcx
	shlq	$4, %rcx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	*8(%r14,%rcx)
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ebx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_LINE_SIZE@GOTPCREL(%rip), %r14
	movq	_file_handler_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %r13
	cmpq	$0, (%rax,%r13)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_24
LBB0_26:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	jne	LBB0_28
LBB0_27:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_cpio_trailer
LBB0_28:
	movl	%ebx, %edi
	callq	_exit
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r15d, %edx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$-1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_LINE_SIZE,4,2                  ## @LINE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-"

	.comm	_stdin,8,3                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"r"

	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"ERROR: unable to open '%s': %s\n\n"

	.comm	_errno,4,2                      ## @errno
L_.str.3:                               ## @.str.3
	.asciz	" \t"

L_.str.4:                               ## @.str.4
	.asciz	"ERROR: incorrect format, could not locate file type line %d: '%s'\n"

L_.str.5:                               ## @.str.5
	.asciz	"\n"

L_.str.6:                               ## @.str.6
	.asciz	"ERROR: incorrect format, newline required line %d: '%s'\n"

	.comm	_file_handler_table,8,3         ## @file_handler_table
L_.str.7:                               ## @.str.7
	.asciz	" line %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"unknown file type line %d: '%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x1
Lloh0:
	adrp	x28, _LINE_SIZE@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LINE_SIZE@GOTPAGEOFF]
	ldr	w22, [x28]
	mov	x9, x22
Lloh2:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh3:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x22, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.1:
	ldr	x20, [x21, #8]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbnz	w0, LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _stdin@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh8:
	ldr	x20, [x8]
	b	LBB0_7
LBB0_3:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_fopen
	cbnz	x0, LBB0_6
; %bb.4:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w19, [x8]
	ldr	x20, [x21, #8]
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_strerror
	stp	x20, x0, [sp, #-16]!
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_fprintf
	add	sp, sp, #16
LBB0_5:
	ldr	x0, [x21]
	bl	_usage
	mov	w0, #1
	bl	_exit
LBB0_6:
	mov	x20, x0
	ldr	w22, [x28]
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_27
; %bb.8:
	stur	wzr, [x29, #-84]                ; 4-byte Folded Spill
	mov	w25, #0
Lloh19:
	adrp	x21, l_.str.3@PAGE
Lloh20:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh21:
	adrp	x24, _file_handler_table@GOTPAGE
Lloh22:
	ldr	x24, [x24, _file_handler_table@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w1, [x28]
	mov	x0, x19
	mov	x2, x20
	bl	_fgets
	cbz	x0, LBB0_26
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
	mov	x0, x19
	bl	_strlen
	add	w25, w25, #1
	ldrb	w8, [x19]
	cmp	w8, #35
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x27, x0
	mov	x0, x19
	mov	x1, x21
	bl	_strtok
	cbz	x0, LBB0_29
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x0]
	cmp	w8, #10
	b.eq	LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	bl	_strlen
	cmp	x27, x0
	b.eq	LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, #0
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strtok
	mov	x27, x0
	cbnz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	stp	x25, x19, [sp, #-16]!
Lloh28:
	adrp	x1, l_.str.6@PAGE
Lloh29:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	mov	w8, #-1
	stur	w8, [x29, #-84]                 ; 4-byte Folded Spill
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x22, [x24]
	ldr	x1, [x22]
	cbz	x1, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, #0
	add	x26, x22, #16
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_22
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	add	x23, x23, #1
	ldr	x1, [x26], #16
	cbnz	x1, LBB0_18
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, #0
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	and	x26, x23, #0xffffffff
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=1
	and	x26, x23, #0xffffffff
	add	x8, x22, w23, uxtw #4
	ldr	x8, [x8, #8]
	mov	x0, x27
	blr	x8
	cbz	w0, LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x27, x0
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x8, x25
	str	x8, [sp, #-16]!
Lloh33:
	adrp	x1, l_.str.7@PAGE
Lloh34:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	stur	w27, [x29, #-84]                ; 4-byte Folded Spill
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x24]
	lsl	x9, x26, #4
	ldr	x8, [x8, x9]
	cbnz	x8, LBB0_9
; %bb.25:                               ;   in Loop: Header=BB0_10 Depth=1
Lloh35:
	adrp	x8, _stderr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x8, x25
	stp	x8, x19, [sp, #-16]!
Lloh38:
	adrp	x1, l_.str.8@PAGE
Lloh39:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	b	LBB0_9
LBB0_26:
	ldur	w0, [x29, #-84]                 ; 4-byte Folded Reload
	cbnz	w0, LBB0_28
LBB0_27:
	bl	_cpio_trailer
	mov	w0, #0
LBB0_28:
	bl	_exit
LBB0_29:
Lloh40:
	adrp	x8, _stderr@GOTPAGE
Lloh41:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	stp	x25, x19, [sp, #-16]!
Lloh43:
	adrp	x1, l_.str.4@PAGE
Lloh44:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	add	sp, sp, #16
	mov	w0, #-1
	bl	_exit
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_LINE_SIZE,4,2                  ; @LINE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

	.comm	_stdin,8,3                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"r"

	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"ERROR: unable to open '%s': %s\n\n"

	.comm	_errno,4,2                      ; @errno
l_.str.3:                               ; @.str.3
	.asciz	" \t"

l_.str.4:                               ; @.str.4
	.asciz	"ERROR: incorrect format, could not locate file type line %d: '%s'\n"

l_.str.5:                               ; @.str.5
	.asciz	"\n"

l_.str.6:                               ; @.str.6
	.asciz	"ERROR: incorrect format, newline required line %d: '%s'\n"

	.comm	_file_handler_table,8,3         ; @file_handler_table
l_.str.7:                               ; @.str.7
	.asciz	" line %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"unknown file type line %d: '%s'\n"

.subsections_via_symbols
