	.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	$72, %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, %r14d
	movq	_match@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_Z_NULL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	%rax, -80(%rbp)
	movq	%rax, -88(%rbp)
	leaq	-88(%rbp), %rdi
	movl	$15, %esi
	callq	_inflateBackInit
	movl	%eax, %r13d
	movq	_Z_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_1
## %bb.2:
	movl	%r14d, %ebx
	decl	%ebx
	je	LBB0_3
## %bb.5:
	leaq	8(%r15), %r12
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	(%r12), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	addl	$-2, %r14d
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmovel	%r14d, %ebx
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.9:
	addq	$16, %r15
	testq	%rax, %rax
	cmoveq	%r15, %r12
	movl	%ebx, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%r14,8), %rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movslq	%eax, %r12
	leaq	(%rbx,%r12), %rdi
	addq	$-3, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	movl	$-3, %r15d
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r14,8), %rax
	leaq	(%rax,%r12), %rdi
	addq	$-3, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx,%r14,8), %rax
	leaq	(%rax,%r12), %rdi
	addq	$-2, %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	movl	$-2, %r15d
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx,%r14,8), %rax
	leaq	(%rax,%r12), %rdi
	addq	$-2, %rdi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx,%r14,8), %rax
	leaq	(%rax,%r12), %rdi
	addq	$-2, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	(%rbx,%r14,8), %rax
	leaq	(%rax,%r12), %rdi
	addq	$-2, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12,%r14,8), %rdx
	leaq	L_.str.12(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-104(%rbp), %r12                ## 8-byte Reload
	leal	(%r15,%r12), %edi
	incl	%edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rbx
	addl	%r12d, %r15d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	(%r12,%r14,8), %rsi
	movq	%rax, %rdi
	movl	%r15d, %edx
	callq	_memcpy
	movslq	%r15d, %rax
	movb	$0, (%rbx,%rax)
	movq	(%r12,%r14,8), %rsi
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rdx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_gunzip
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	leaq	-88(%rbp), %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_gunzip
	movl	%eax, %r15d
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%r13d, %r13d
	testl	%r15d, %r15d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_24
LBB0_23:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r14
	movl	%r13d, %r15d
	cmpl	%r14d, -96(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_10
	jmp	LBB0_24
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %r15d
	jmp	LBB0_25
LBB0_3:
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_6:
	movq	_stderr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%rbx), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_25
LBB0_8:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_4:
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_gunzip
	movl	%eax, %r15d
LBB0_24:
	leaq	-88(%rbp), %rdi
	callq	_inflateBackEnd
LBB0_25:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %r15d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_match,8,3                      ## @match
	.comm	_Z_NULL,8,3                     ## @Z_NULL
	.comm	_Z_OK,4,2                       ## @Z_OK
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gun out of memory error--aborting\n"

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

L_.str.2:                               ## @.str.2
	.asciz	"gun 1.6 (17 Jan 2010)\n"

L_.str.3:                               ## @.str.3
	.asciz	"Copyright (C) 2003-2010 Mark Adler\n"

L_.str.4:                               ## @.str.4
	.asciz	"usage: gun [-t] [file1.gz [file2.Z ...]]\n"

L_.str.5:                               ## @.str.5
	.asciz	"-t"

L_.str.6:                               ## @.str.6
	.asciz	".gz"

L_.str.7:                               ## @.str.7
	.asciz	"-gz"

L_.str.8:                               ## @.str.8
	.asciz	".z"

L_.str.9:                               ## @.str.9
	.asciz	"-z"

L_.str.10:                              ## @.str.10
	.asciz	"_z"

L_.str.11:                              ## @.str.11
	.asciz	".Z"

L_.str.12:                              ## @.str.12
	.asciz	"gun error: no gz type on %s--skipping\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:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _match@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
Lloh3:
	adrp	x8, _Z_NULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _Z_NULL@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	stp	x8, x8, [sp, #16]
	str	x8, [sp, #8]
	add	x0, sp, #8
	mov	w1, #15
	bl	_inflateBackInit
Lloh6:
	adrp	x8, _Z_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_19
; %bb.1:
	subs	w23, w19, #1
	b.eq	LBB0_20
; %bb.2:
	mov	x27, x0
	add	x22, x21, #8
	ldr	x0, [x22]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.3:
	ldr	x0, [x22]
Lloh11:
	adrp	x1, l_.str.5@PAGE
Lloh12:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	sub	w8, w19, #2
	cmp	x0, #0
	cset	w19, eq
	csel	w25, w8, w23, eq
	cbz	w25, LBB0_21
; %bb.4:
	mov	x20, x0
	add	x8, x21, #16
	cmp	x0, #0
	csel	x24, x8, x22, eq
Lloh13:
	adrp	x21, l_.str.6@PAGE
Lloh14:
	add	x21, x21, l_.str.6@PAGEOFF
Lloh15:
	adrp	x22, l_.str.7@PAGE
Lloh16:
	add	x22, x22, l_.str.7@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x0, sp, #8
	mov	x1, x26
	mov	x2, #0
	mov	x3, x19
	bl	_gunzip
	mov	x27, x0
	cbnz	w27, LBB0_22
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #8
	subs	w25, w25, #1
	b.eq	LBB0_22
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x24]
	cbz	x20, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x26
	bl	_strlen
	mov	x28, x0
	sxtw	x23, w0
	add	x8, x26, x23
	sub	x0, x8, #3
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x23
	sub	x0, x8, #3
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x23
	sub	x0, x8, #2
Lloh17:
	adrp	x1, l_.str.8@PAGE
Lloh18:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x23
	sub	x0, x8, #2
Lloh19:
	adrp	x1, l_.str.9@PAGE
Lloh20:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x23
	sub	x0, x8, #2
Lloh21:
	adrp	x1, l_.str.10@PAGE
Lloh22:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x23
	sub	x0, x8, #2
Lloh23:
	adrp	x1, l_.str.11@PAGE
Lloh24:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh25:
	adrp	x8, _stderr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	ldr	x8, [x24]
	str	x8, [sp]
Lloh28:
	adrp	x1, l_.str.12@PAGE
Lloh29:
	add	x1, x1, l_.str.12@PAGEOFF
	bl	_fprintf
	b	LBB0_6
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #-3
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #-2
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w8, w28
	add	w0, w27, #1
	bl	_malloc
	cbz	x0, LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x0
	ldr	x1, [x24]
	mov	x2, x27
	bl	_memcpy
	strb	wzr, [x28, w27, sxtw]
	ldr	x1, [x24]
	add	x0, sp, #8
	mov	x2, x28
	mov	x3, x19
	bl	_gunzip
	mov	x27, x0
	mov	x0, x28
	bl	_free
	cbz	w27, LBB0_6
	b	LBB0_22
LBB0_19:
Lloh30:
	adrp	x8, _stderr@GOTPAGE
Lloh31:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x1, l_.str@PAGE
Lloh34:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w27, #1
	b	LBB0_24
LBB0_20:
	mov	w19, #0
LBB0_21:
	add	x0, sp, #8
	mov	x1, #0
	mov	x2, #0
	mov	x3, x19
	bl	_gunzip
	mov	x27, x0
LBB0_22:
	add	x0, sp, #8
	bl	_inflateBackEnd
	b	LBB0_24
LBB0_23:
Lloh35:
	adrp	x19, _stderr@GOTPAGE
Lloh36:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
Lloh41:
	adrp	x1, l_.str.4@PAGE
Lloh42:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	mov	w27, #0
LBB0_24:
	mov	x0, x27
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_25:
Lloh43:
	adrp	x8, _stderr@GOTPAGE
Lloh44:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh45:
	ldr	w0, [x8]
Lloh46:
	adrp	x1, l_.str@PAGE
Lloh47:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w27, #1
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_match,8,3                      ; @match
	.comm	_Z_NULL,8,3                     ; @Z_NULL
	.comm	_Z_OK,4,2                       ; @Z_OK
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gun out of memory error--aborting\n"

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

l_.str.2:                               ; @.str.2
	.asciz	"gun 1.6 (17 Jan 2010)\n"

l_.str.3:                               ; @.str.3
	.asciz	"Copyright (C) 2003-2010 Mark Adler\n"

l_.str.4:                               ; @.str.4
	.asciz	"usage: gun [-t] [file1.gz [file2.Z ...]]\n"

l_.str.5:                               ; @.str.5
	.asciz	"-t"

l_.str.6:                               ; @.str.6
	.asciz	".gz"

l_.str.7:                               ; @.str.7
	.asciz	"-gz"

l_.str.8:                               ; @.str.8
	.asciz	".z"

l_.str.9:                               ; @.str.9
	.asciz	"-z"

l_.str.10:                              ; @.str.10
	.asciz	"_z"

l_.str.11:                              ; @.str.11
	.asciz	".Z"

l_.str.12:                              ; @.str.12
	.asciz	"gun error: no gz type on %s--skipping\n"

.subsections_via_symbols
