	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	cmpb	$45, (%rdi)
	jne	LBB0_3
## %bb.4:
	movb	1(%rdi), %al
	leal	-58(%rax), %ecx
	cmpb	$-10, %cl
	jb	LBB0_6
## %bb.5:
	cmpb	$0, 2(%rdi)
	je	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_bye
	movq	8(%r14), %rax
	movb	1(%rax), %al
LBB0_7:
	movsbl	%al, %ebx
	addl	$-48, %ebx
	movq	16(%r14), %rdi
	movl	$2, %r15d
	testq	%rdi, %rdi
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_bye
	movq	16(%r14), %rdi
	jmp	LBB0_9
LBB0_1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_str.5(%rip), %rdi
	callq	_puts
	jmp	LBB0_12
LBB0_3:
	movq	_Z_DEFAULT_COMPRESSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, %r15d
LBB0_9:
	leaq	-36(%rbp), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	%ebx, %edx
	callq	_gzscan
	movl	%eax, %r12d
	movq	8(%r14,%r15,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.10:
	leaq	(%r14,%r15,8), %rbx
	addq	$16, %rbx
	leaq	-36(%rbp), %r14
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	xorl	%ecx, %ecx
	cmpq	$0, (%rbx)
	sete	%cl
	movl	%r12d, %esi
	movq	%r14, %rdx
	callq	_gztack
	movq	(%rbx), %rdi
	addq	$8, %rbx
	testq	%rdi, %rdi
	jne	LBB0_11
	jmp	LBB0_12
LBB0_13:
	leaq	-36(%rbp), %rdx
	xorl	%edi, %edi
	movl	%r12d, %esi
	movl	$1, %ecx
	callq	_gztack
LBB0_12:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ## @Z_DEFAULT_COMPRESSION
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"invalid compression level"

L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"no gzip file name after options"

L_str:                                  ## @str
	.asciz	"gzappend 1.2 (11 Oct 2012) Copyright (C) 2003, 2012 Mark Adler"

L_str.5:                                ## @str.5
	.asciz	"usage: gzappend [-level] file.gz [ addthis [ andthis ... ]]"

.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x0, [x1, #8]
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x1
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_9
; %bb.2:
	ldrb	w8, [x0, #1]
	sub	w9, w8, #58
	and	w9, w9, #0xff
	cmp	w9, #246
	b.lo	LBB0_4
; %bb.3:
	ldrb	w9, [x0, #2]
	cbz	w9, LBB0_5
LBB0_4:
Lloh0:
	adrp	x0, l_.str.2@PAGE
Lloh1:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_bye
	ldr	x8, [x19, #8]
	ldrb	w8, [x8, #1]
LBB0_5:
	sxtb	w8, w8
	sub	w20, w8, #48
	ldr	x0, [x19, #16]
	cbnz	x0, LBB0_7
; %bb.6:
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_bye
	ldr	x0, [x19, #16]
LBB0_7:
	mov	w8, #2
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x0, l_str@PAGE
Lloh9:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh10:
	adrp	x0, l_str.5@PAGE
Lloh11:
	add	x0, x0, l_str.5@PAGEOFF
	bl	_puts
	b	LBB0_14
LBB0_9:
Lloh12:
	adrp	x8, _Z_DEFAULT_COMPRESSION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _Z_DEFAULT_COMPRESSION@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
	mov	w8, #1
LBB0_10:
	add	x21, x19, x8, lsl #3
	add	x1, sp, #12
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x2, x20
	bl	_gzscan
	mov	x19, x0
	ldr	x0, [x21, #8]
	cbz	x0, LBB0_13
; %bb.11:
	add	x20, x21, #16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w3, eq
	add	x2, sp, #12
	mov	x1, x19
	bl	_gztack
	ldr	x0, [x20], #8
	cbnz	x0, LBB0_12
	b	LBB0_14
LBB0_13:
	add	x2, sp, #12
	mov	x1, x19
	mov	w3, #1
	bl	_gztack
LBB0_14:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ; @Z_DEFAULT_COMPRESSION
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"invalid compression level"

l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"no gzip file name after options"

l_str:                                  ; @str
	.asciz	"gzappend 1.2 (11 Oct 2012) Copyright (C) 2003, 2012 Mark Adler"

l_str.5:                                ; @str.5
	.asciz	"usage: gzappend [-level] file.gz [ addthis [ andthis ... ]]"

.subsections_via_symbols
