	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	(%rsi), %rdi
	movl	$92, %esi
	callq	_strrchr
	movq	_prog@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movq	(%r12), %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	(%r12), %rdi
	movl	$58, %esi
	callq	_strrchr
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	incq	%rax
LBB0_5:
	movq	%rax, (%rbx)
	cmpl	$1, %r14d
	jne	LBB0_7
## %bb.6:
	xorl	%edi, %edi
	callq	_help
LBB0_7:
	movq	8(%r12), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	8(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movl	$129, -44(%rbp)                 ## 4-byte Folded Spill
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_11
LBB0_10:
	xorl	%edi, %edi
	callq	_help
LBB0_11:
	movl	%ebx, %ebx
	movq	(%r12,%rbx,8), %rdi
	callq	_TGZfname
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:
	movq	(%r12,%rbx,8), %rdi
	callq	_TGZnotfound
LBB0_13:
	incl	%ebx
	testq	%r13, %r13
	jne	LBB0_16
## %bb.14:
	cmpl	%r14d, %ebx
	je	LBB0_16
## %bb.15:
	movl	$1, %edi
	callq	_help
LBB0_16:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_gzopen
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_prog@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rcx
	callq	_fprintf
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movl	$128, -44(%rbp)                 ## 4-byte Folded Spill
	movl	$2, %ebx
	cmpl	$2, %r14d
	je	LBB0_10
	jmp	LBB0_11
LBB0_3:
	movq	(%r12), %rax
	jmp	LBB0_5
LBB0_18:
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	movl	%r14d, %ecx
	movq	%r12, %r8
	callq	_tar
	movl	%eax, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_prog,8,3                       ## @prog
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-l"

L_.str.1:                               ## @.str.1
	.asciz	"-h"

L_.str.2:                               ## @.str.2
	.asciz	"rb"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"%s: Couldn't gzopen %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	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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1]
	mov	w1, #92
	bl	_strrchr
Lloh0:
	adrp	x25, _prog@GOTPAGE
Lloh1:
	ldr	x25, [x25, _prog@GOTPAGEOFF]
	str	x0, [x25]
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	x0, [x19]
	mov	w1, #47
	bl	_strrchr
	str	x0, [x25]
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	x0, [x19]
	mov	w1, #58
	bl	_strrchr
	str	x0, [x25]
	cbz	x0, LBB0_17
LBB0_3:
	add	x8, x0, #1
LBB0_4:
	str	x8, [x25]
	cmp	w20, #1
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
	bl	_help
LBB0_6:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	mov	x22, x0
	cbz	x0, LBB0_16
; %bb.7:
	ldr	x0, [x19, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	mov	w21, #129
	mov	w23, #1
	cbnz	x0, LBB0_9
LBB0_8:
	mov	w0, #0
	bl	_help
LBB0_9:
	ldr	x0, [x19, w23, uxtw #3]
	mov	w24, w23
	bl	_TGZfname
	mov	x23, x0
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	x0, [x19, x24, lsl #3]
	bl	_TGZnotfound
LBB0_11:
	add	w24, w24, #1
	cbnz	x22, LBB0_14
; %bb.12:
	cmp	w24, w20
	b.eq	LBB0_14
; %bb.13:
	mov	w0, #1
	bl	_help
LBB0_14:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_gzopen
	cbnz	x0, LBB0_18
; %bb.15:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x2, [x25]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x23
	bl	_fprintf
	mov	w0, #1
	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_16:
	mov	w21, #128
	mov	w23, #2
	cmp	w20, #2
	b.eq	LBB0_8
	b	LBB0_9
LBB0_17:
	ldr	x8, [x19]
	b	LBB0_4
LBB0_18:
	mov	x1, x21
	mov	x2, x24
	mov	x3, x20
	mov	x4, x19
	bl	_tar
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_prog,8,3                       ; @prog
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-l"

l_.str.1:                               ; @.str.1
	.asciz	"-h"

l_.str.2:                               ; @.str.2
	.asciz	"rb"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"%s: Couldn't gzopen %s\n"

.subsections_via_symbols
