	.file	"22571.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"gzappend error: %s%s\n"
	.text
	.type	bye, @function
bye:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	bye, .-bye
	.type	gcd, @function
gcd:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	jmp	.L3
.L10:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jbe	.L4
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L5
.L6:
	sal	DWORD PTR -4[rbp]
.L5:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jbe	.L6
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -20[rbp], eax
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L7
.L8:
	sal	DWORD PTR -4[rbp]
.L7:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -4[rbp], eax
	jbe	.L8
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -24[rbp], eax
.L3:
	cmp	DWORD PTR -20[rbp], 0
	je	.L9
	cmp	DWORD PTR -24[rbp], 0
	jne	.L10
.L9:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gcd, .-gcd
	.type	rotate, @function
rotate:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	cmp	DWORD PTR -60[rbp], 1
	jbe	.L25
	mov	eax, DWORD PTR -64[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jb	.L15
	mov	eax, DWORD PTR -64[rbp]
	mov	edx, 0
	div	DWORD PTR -60[rbp]
	mov	DWORD PTR -64[rbp], edx
.L15:
	cmp	DWORD PTR -64[rbp], 0
	je	.L26
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	cmp	DWORD PTR -64[rbp], 1
	jne	.L17
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -37[rbp], al
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	movzx	edx, BYTE PTR -37[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L12
.L17:
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	cmp	DWORD PTR -64[rbp], eax
	jne	.L18
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -37[rbp], al
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, QWORD PTR -56[rbp]
	lea	rcx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	rax, QWORD PTR -56[rbp]
	movzx	edx, BYTE PTR -37[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L12
.L18:
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	mov	esi, edx
	mov	edi, eax
	call	gcd
	mov	DWORD PTR -36[rbp], eax
.L23:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -37[rbp], al
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -64[rbp]
	add	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -24[rbp]
	jbe	.L19
	mov	eax, DWORD PTR -60[rbp]
	neg	rax
	add	QWORD PTR -32[rbp], rax
.L19:
	mov	rax, QWORD PTR -32[rbp]
	cmp	rax, QWORD PTR -16[rbp]
	je	.L27
	mov	rax, QWORD PTR -32[rbp]
	movzx	edx, BYTE PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	jmp	.L22
.L27:
	nop
	mov	rax, QWORD PTR -8[rbp]
	movzx	edx, BYTE PTR -37[rbp]
	mov	BYTE PTR [rax], dl
	sub	DWORD PTR -36[rbp], 1
	cmp	DWORD PTR -36[rbp], 0
	jne	.L23
	jmp	.L12
.L25:
	nop
	jmp	.L12
.L26:
	nop
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	rotate, .-rotate
	.section	.rodata
.LC1:
	.string	"error reading "
	.text
	.type	readin, @function
readin:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L29
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	bye
.L29:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	readin, .-readin
	.section	.rodata
.LC2:
	.string	"unexpected end of "
	.text
	.type	readmore, @function
readmore:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	readin
	test	eax, eax
	jne	.L32
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	bye
.L32:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	readmore, .-readmore
	.section	.rodata
.LC3:
	.string	"seeking "
	.text
	.type	skip, @function
skip:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jbe	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	neg	eax
	and	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L36
	mov	ecx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	cmp	rax, -1
	jne	.L37
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	bye
.L37:
	mov	eax, DWORD PTR -4[rbp]
	sub	DWORD PTR -28[rbp], eax
.L36:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jbe	.L35
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	bye
.L35:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -28[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	skip, .-skip
	.globl	read4
	.type	read4, @function
read4:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L40
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L42:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	mov	eax, eax
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L44
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L44:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 16
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L46
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L46:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	rax, 24
	add	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	read4, .-read4
	.section	.rodata
.LC4:
	.string	" not a gzip file"
.LC5:
	.string	"unknown compression method in"
.LC6:
	.string	"unknown header flags set in"
	.text
	.type	gzheader, @function
gzheader:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L50
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L50:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 31
	jne	.L51
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L53
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L53:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	cmp	al, -117
	je	.L54
.L51:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	bye
.L54:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L56:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 8
	je	.L57
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	call	bye
.L57:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L59
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L59:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 224
	test	eax, eax
	je	.L60
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	call	bye
.L60:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 6
	mov	rdi, rax
	call	skip
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 4
	test	eax, eax
	je	.L61
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L63
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L63:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L65
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L65:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	sal	eax, 8
	add	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	skip
.L61:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 8
	test	eax, eax
	je	.L66
	nop
.L69:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L68
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L68:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L69
.L66:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 16
	test	eax, eax
	je	.L70
	nop
.L73:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L72
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readmore
.L72:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 24[rax]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 24[rdx], rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L73
.L70:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 2
	test	eax, eax
	je	.L75
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	skip
.L75:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	gzheader, .-gzheader
	.section	.rodata
.LC7:
	.string	"cannot open "
.LC8:
	.string	""
.LC9:
	.string	"out of memory"
.LC10:
	.string	"1.2.11"
.LC11:
	.string	" or library mismatch"
.LC12:
	.string	"internal stream error!"
	.align 8
.LC13:
	.string	"invalid compressed data--format violated in"
	.align 8
.LC14:
	.string	"invalid compressed data--crc mismatch in "
	.align 8
.LC15:
	.string	"invalid compressed data--length mismatch in"
	.align 8
.LC16:
	.string	"gzappend warning: junk at end of gzip file overwritten\n"
.LC17:
	.string	"reading after seek on "
.LC18:
	.string	"writing after seek to "
	.text
	.type	gzscan, @function
gzscan:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	DWORD PTR -132[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 0
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, -1
	jne	.L77
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	bye
.L77:
	mov	edi, 16384
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	test	rax, rax
	jne	.L78
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	bye
.L78:
	mov	DWORD PTR -44[rbp], 14
	mov	DWORD PTR -40[rbp], 0
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	gzheader
	mov	edi, 32768
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L79
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	bye
.L79:
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 64[rax], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 72[rax], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 80[rax], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	ecx, 112
	lea	rdx, .LC10[rip]
	mov	esi, -15
	mov	rdi, rax
	call	inflateInit2_@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L80
	lea	rsi, .LC11[rip]
	lea	rdi, .LC9[rip]
	call	bye
.L80:
	mov	DWORD PTR -108[rbp], 0
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	edx, edx
	sub	rax, rdx
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -104[rbp], 0
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR [rax], rdx
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	crc32@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 0
.L89:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	test	eax, eax
	jne	.L81
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	readmore
	mov	edx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR [rax], rdx
.L81:
	mov	eax, 32768
	sub	eax, DWORD PTR -96[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR 32[rax], edx
	mov	edx, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	inflate@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], -2
	jne	.L82
	lea	rsi, .LC8[rip]
	lea	rdi, .LC12[rip]
	call	bye
.L82:
	cmp	DWORD PTR -92[rbp], -4
	jne	.L83
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	bye
.L83:
	cmp	DWORD PTR -92[rbp], -3
	jne	.L84
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	call	bye
.L84:
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR 32[rax]
	mov	eax, DWORD PTR -96[rbp]
	add	eax, edx
	mov	edx, 32768
	sub	edx, eax
	mov	ecx, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -64[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	crc32@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	je	.L85
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR 32[rax]
	mov	eax, 32768
	sub	eax, edx
	mov	DWORD PTR -96[rbp], eax
	jmp	.L86
.L85:
	mov	DWORD PTR -96[rbp], 0
	mov	DWORD PTR -100[rbp], 1
.L86:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 88[rax]
	and	eax, 128
	test	eax, eax
	je	.L87
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 88[rax]
	and	eax, 64
	test	eax, eax
	je	.L88
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 88[rax]
	and	eax, 31
	mov	DWORD PTR -104[rbp], eax
	jmp	.L87
.L88:
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 88[rax]
	and	eax, 31
	mov	DWORD PTR -108[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rdx, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR 8[rdx]
	mov	edx, edx
	sub	rax, rdx
	mov	QWORD PTR -80[rbp], rax
.L87:
	cmp	DWORD PTR -92[rbp], 1
	jne	.L89
	mov	rax, QWORD PTR -128[rbp]
	mov	rdi, rax
	call	inflateEnd@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -40[rbp], eax
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	edx, edx
	sub	rax, rdx
	mov	QWORD PTR -72[rbp], rax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	read4
	cmp	QWORD PTR -88[rbp], rax
	je	.L90
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	call	bye
.L90:
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -56[rbp], rax
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	read4
	cmp	QWORD PTR -56[rbp], rax
	je	.L91
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	call	bye
.L91:
	mov	eax, DWORD PTR -40[rbp]
	test	eax, eax
	jne	.L92
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	readin
	test	eax, eax
	je	.L93
.L92:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 55
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
.L93:
	cmp	DWORD PTR -108[rbp], 0
	setne	al
	movzx	edx, al
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 1
	je	.L94
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	call	bye
.L94:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	mov	esi, eax
	mov	eax, DWORD PTR -108[rbp]
	neg	eax
	and	eax, 7
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	xor	esi, eax
	mov	edx, esi
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	rsi, -1
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	rax, 1
	je	.L95
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	call	bye
.L95:
	cmp	DWORD PTR -100[rbp], 0
	je	.L96
	mov	edx, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 32768
	mov	rdi, rax
	call	rotate
	mov	DWORD PTR -96[rbp], 32768
.L96:
	mov	esi, DWORD PTR -132[rbp]
	mov	rax, QWORD PTR -128[rbp]
	push	112
	lea	rdx, .LC10[rip]
	push	rdx
	mov	r9d, 0
	mov	r8d, 8
	mov	ecx, -15
	mov	edx, 8
	mov	rdi, rax
	call	deflateInit2_@PLT
	add	rsp, 16
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 0
	je	.L97
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	bye
.L97:
	mov	edx, DWORD PTR -96[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	deflateSetDictionary@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -88[rbp]
	mov	QWORD PTR 96[rax], rdx
	mov	rax, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 16[rax], rdx
	cmp	DWORD PTR -104[rbp], 0
	je	.L98
	sub	QWORD PTR -72[rbp], 1
	mov	eax, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	cmp	rax, 1
	je	.L99
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	call	bye
.L99:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, 8
	sub	eax, DWORD PTR -104[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	deflatePrime@PLT
.L98:
	mov	eax, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -48[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L101
	call	__stack_chk_fail@PLT
.L101:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	gzscan, .-gzscan
	.section	.rodata
	.align 8
.LC19:
	.string	"gzappend warning: %s not found, skipping ...\n"
	.align 8
.LC20:
	.string	"gzappend warning: error reading %s, skipping rest ...\n"
.LC21:
	.string	"writing gzip file"
	.text
	.type	gztack, @function
gztack:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	QWORD PTR -56[rbp], rdx
	mov	DWORD PTR -48[rbp], ecx
	mov	DWORD PTR -32[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	je	.L103
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], -1
	jne	.L103
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L103:
	mov	edi, 16384
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 16384
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L104
	cmp	QWORD PTR -8[rbp], 0
	jne	.L115
.L104:
	lea	rsi, .LC8[rip]
	lea	rdi, .LC9[rip]
	call	bye
.L115:
	mov	rcx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, 16384
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L106
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -28[rbp], 0
.L106:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 8[rax], edx
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	cmp	DWORD PTR -28[rbp], 0
	je	.L114
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 96[rax]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	crc32@PLT
	mov	rdx, QWORD PTR -56[rbp]
	mov	QWORD PTR 96[rdx], rax
.L114:
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR 32[rax], 16384
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	cmp	DWORD PTR -48[rbp], 0
	je	.L108
	cmp	DWORD PTR -28[rbp], 0
	jne	.L108
	mov	edx, 4
	jmp	.L109
.L108:
	mov	edx, 0
.L109:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	deflate@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR 32[rax]
	mov	eax, 16384
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	jmp	.L110
.L112:
	mov	edx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 32[rax]
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	rax, rcx
	mov	ecx, 16384
	sub	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L111
	lea	rsi, .LC8[rip]
	lea	rdi, .LC21[rip]
	call	bye
.L111:
	mov	eax, DWORD PTR -28[rbp]
	sub	DWORD PTR -24[rbp], eax
.L110:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L112
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 32[rax]
	test	eax, eax
	jne	.L113
	cmp	DWORD PTR -20[rbp], 1
	jne	.L114
.L113:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L115
	cmp	DWORD PTR -48[rbp], 0
	je	.L116
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	deflateEnd@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 96[rax]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 96[rax]
	shr	rax, 8
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 96[rax]
	shr	rax, 16
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 2
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 96[rax]
	shr	rax, 24
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 3
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 4
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	shr	rax, 8
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 5
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	shr	rax, 16
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 6
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 16[rax]
	shr	rax, 24
	mov	rdx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 7
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -28[rbp], 8
.L118:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	ecx, 8
	sub	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	jne	.L117
	lea	rsi, .LC8[rip]
	lea	rdi, .LC21[rip]
	call	bye
.L117:
	mov	eax, DWORD PTR -20[rbp]
	sub	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 0
	jne	.L118
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	call	close@PLT
.L116:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	DWORD PTR -32[rbp], 0
	jle	.L120
	mov	eax, DWORD PTR -32[rbp]
	mov	edi, eax
	call	close@PLT
.L120:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	gztack, .-gztack
	.section	.rodata
	.align 8
.LC22:
	.string	"gzappend 1.2 (11 Oct 2012) Copyright (C) 2003, 2012 Mark Adler"
	.align 8
.LC23:
	.string	"usage: gzappend [-level] file.gz [ addthis [ andthis ... ]]"
.LC24:
	.string	"invalid compression level"
	.align 8
.LC25:
	.string	"no gzip file name after options"
	.text
	.globl	main
	.type	main, @function
main:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	DWORD PTR -148[rbp], edi
	mov	QWORD PTR -160[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	sub	DWORD PTR -148[rbp], 1
	add	QWORD PTR -160[rbp], 8
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L122
	lea	rdi, .LC22[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L129
.L122:
	mov	DWORD PTR -136[rbp], -1
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L124
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jle	.L125
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L125
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L126
.L125:
	lea	rsi, .LC8[rip]
	lea	rdi, .LC24[rip]
	call	bye
.L126:
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -136[rbp], eax
	add	QWORD PTR -160[rbp], 8
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L124
	lea	rsi, .LC8[rip]
	lea	rdi, .LC25[rip]
	call	bye
.L124:
	mov	rax, QWORD PTR -160[rbp]
	lea	rdx, 8[rax]
	mov	QWORD PTR -160[rbp], rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -136[rbp]
	lea	rcx, -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	gzscan
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L127
	lea	rdx, -128[rbp]
	mov	eax, DWORD PTR -132[rbp]
	mov	ecx, 1
	mov	esi, eax
	mov	edi, 0
	call	gztack
	jmp	.L128
.L127:
	mov	rax, QWORD PTR -160[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	sete	al
	movzx	ecx, al
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -128[rbp]
	mov	esi, DWORD PTR -132[rbp]
	mov	rdi, rax
	call	gztack
	add	QWORD PTR -160[rbp], 8
	mov	rax, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L127
.L128:
	mov	eax, 0
.L129:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L130
	call	__stack_chk_fail@PLT
.L130:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"22571.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"gzappend error: %s%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bye, %function
bye:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, .L2
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	bye, .-bye
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gcd, %function
gcd:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	b	.L5
.L12:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bls	.L6
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bls	.L8
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L5
.L6:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bls	.L10
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L5:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L12
.L11:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	gcd, .-gcd
	.global	__aeabi_uidivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rotate, %function
rotate:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	bls	.L27
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	bcc	.L17
	ldr	r3, [fp, #-40]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	__aeabi_uidivmod
	mov	r3, r1
	str	r3, [fp, #-40]
.L17:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L19
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-32]
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	b	.L14
.L19:
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	bne	.L20
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-32]
	add	r0, r3, #1
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-32]
	bl	memmove
	ldr	r3, [fp, #-32]
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	b	.L14
.L20:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-36]
	bl	gcd
	str	r0, [fp, #-24]
.L25:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]
	strb	r3, [fp, #-25]
.L24:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bls	.L21
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L21:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	beq	.L29
	ldr	r3, [fp, #-20]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-8]
	strb	r2, [r3]
	b	.L24
.L29:
	nop
	ldr	r3, [fp, #-8]
	ldrb	r2, [fp, #-25]
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L25
	b	.L14
.L27:
	nop
	b	.L14
.L28:
	nop
.L14:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rotate, .-rotate
	.section	.rodata
	.align	2
.LC1:
	.ascii	"error reading \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readin, %function
readin:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, #1
	lsl	r3, r2, r3
	mov	r2, r3
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L31
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L33
	bl	bye
.L31:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC1
	.size	readin, .-readin
	.section	.rodata
	.align	2
.LC2:
	.ascii	"unexpected end of \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	readmore, %function
readmore:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	readin
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L38
	bl	bye
.L36:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC2
	.size	readmore, .-readmore
	.section	.rodata
	.align	2
.LC3:
	.ascii	"seeking \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip, %function
skip:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bls	.L41
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, #1
	lsl	r3, r2, r3
	rsb	r3, r3, #0
	ldr	r2, [fp, #-20]
	and	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r2, #1
	mov	r0, r3
	bl	lseek
	mov	r3, r0
	cmn	r3, #1
	bne	.L43
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L44
	bl	bye
.L43:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L42:
	ldr	r0, [fp, #-16]
	bl	readmore
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bls	.L41
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L44+4
	bl	bye
.L41:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	sub	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #16]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC3
	.word	.LC2
	.size	skip, .-skip
	.align	2
	.global	read4
	.syntax unified
	.arm
	.fpu softvfp
	.type	read4, %function
read4:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L48
	ldr	r0, [fp, #-16]
	bl	readmore
.L48:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L50
	ldr	r0, [fp, #-16]
	bl	readmore
.L50:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L52
	ldr	r0, [fp, #-16]
	bl	readmore
.L52:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #16
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L54
	ldr	r0, [fp, #-16]
	bl	readmore
.L54:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	read4, .-read4
	.section	.rodata
	.align	2
.LC4:
	.ascii	" not a gzip file\000"
	.align	2
.LC5:
	.ascii	"unknown compression method in\000"
	.align	2
.LC6:
	.ascii	"unknown header flags set in\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gzheader, %function
gzheader:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L58
	ldr	r0, [fp, #-16]
	bl	readmore
.L58:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #31
	bne	.L59
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L61
	ldr	r0, [fp, #-16]
	bl	readmore
.L61:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #139
	beq	.L62
.L59:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	ldr	r1, .L84
	mov	r0, r3
	bl	bye
.L62:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L64
	ldr	r0, [fp, #-16]
	bl	readmore
.L64:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L65
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L84+4
	bl	bye
.L65:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L67
	ldr	r0, [fp, #-16]
	bl	readmore
.L67:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	and	r3, r3, #224
	cmp	r3, #0
	beq	.L68
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #20]
	mov	r1, r3
	ldr	r0, .L84+8
	bl	bye
.L68:
	mov	r1, #6
	ldr	r0, [fp, #-16]
	bl	skip
	ldr	r3, [fp, #-12]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L71
	ldr	r0, [fp, #-16]
	bl	readmore
.L71:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L73
	ldr	r0, [fp, #-16]
	bl	readmore
.L73:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	skip
.L69:
	ldr	r3, [fp, #-12]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L74
	nop
.L77:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L76
	ldr	r0, [fp, #-16]
	bl	readmore
.L76:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L77
.L74:
	ldr	r3, [fp, #-12]
	and	r3, r3, #16
	cmp	r3, #0
	beq	.L78
	nop
.L81:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L80
	ldr	r0, [fp, #-16]
	bl	readmore
.L80:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #8]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #16]
	add	r1, r3, #1
	ldr	r2, [fp, #-16]
	str	r1, [r2, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L81
.L78:
	ldr	r3, [fp, #-12]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L83
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	skip
.L83:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L85:
	.align	2
.L84:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	gzheader, .-gzheader
	.section	.rodata
	.align	2
.LC7:
	.ascii	"cannot open \000"
	.align	2
.LC8:
	.ascii	"\000"
	.align	2
.LC9:
	.ascii	"out of memory\000"
	.align	2
.LC10:
	.ascii	"1.2.11\000"
	.align	2
.LC11:
	.ascii	" or library mismatch\000"
	.align	2
.LC12:
	.ascii	"internal stream error!\000"
	.align	2
.LC13:
	.ascii	"invalid compressed data--format violated in\000"
	.align	2
.LC14:
	.ascii	"invalid compressed data--crc mismatch in \000"
	.align	2
.LC15:
	.ascii	"invalid compressed data--length mismatch in\000"
	.align	2
.LC16:
	.ascii	"gzappend warning: junk at end of gzip file overwrit"
	.ascii	"ten\012\000"
	.align	2
.LC17:
	.ascii	"reading after seek on \000"
	.align	2
.LC18:
	.ascii	"writing after seek to \000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gzscan, %function
gzscan:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	ldr	r3, .L112
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-80]
	str	r3, [fp, #-12]
	mov	r2, #0
	mov	r1, #2
	ldr	r0, [fp, #-80]
	bl	open
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	bne	.L87
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+4
	bl	bye
.L87:
	mov	r0, #16384
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L88
	ldr	r1, .L112+8
	ldr	r0, .L112+12
	bl	bye
.L88:
	mov	r3, #14
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	sub	r3, fp, #32
	mov	r0, r3
	bl	gzheader
	mov	r0, #32768
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L89
	ldr	r1, .L112+8
	ldr	r0, .L112+12
	bl	bye
.L89:
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-84]
	mov	r2, #0
	str	r2, [r3, #40]
	mov	r3, #56
	ldr	r2, .L112+16
	mvn	r1, #14
	ldr	r0, [fp, #-84]
	bl	inflateInit2_
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L90
	ldr	r1, .L112+20
	ldr	r0, .L112+12
	bl	bye
.L90:
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-32]
	mov	r2, #1
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-68]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-84]
	str	r2, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	crc32
	str	r0, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
.L99:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	bne	.L91
	sub	r3, fp, #32
	mov	r0, r3
	bl	readmore
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-84]
	str	r2, [r3, #4]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-84]
	str	r2, [r3]
.L91:
	ldr	r3, [fp, #-60]
	rsb	r2, r3, #32768
	ldr	r3, [fp, #-84]
	str	r2, [r3, #16]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	add	r2, r2, r3
	ldr	r3, [fp, #-84]
	str	r2, [r3, #12]
	mov	r1, #5
	ldr	r0, [fp, #-84]
	bl	inflate
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmn	r3, #2
	bne	.L92
	ldr	r1, .L112+8
	ldr	r0, .L112+24
	bl	bye
.L92:
	ldr	r3, [fp, #-40]
	cmn	r3, #4
	bne	.L93
	ldr	r1, .L112+8
	ldr	r0, .L112+12
	bl	bye
.L93:
	ldr	r3, [fp, #-40]
	cmn	r3, #3
	bne	.L94
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+28
	bl	bye
.L94:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-60]
	add	r1, r2, r3
	ldr	r3, [fp, #-84]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	rsb	r3, r3, #32768
	mov	r2, r3
	ldr	r0, [fp, #-56]
	bl	crc32
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	beq	.L95
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #16]
	rsb	r3, r3, #32768
	str	r3, [fp, #-60]
	b	.L96
.L95:
	mov	r3, #0
	str	r3, [fp, #-60]
	mov	r3, #1
	str	r3, [fp, #-64]
.L96:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #44]
	and	r3, r3, #128
	cmp	r3, #0
	beq	.L97
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #44]
	and	r3, r3, #64
	cmp	r3, #0
	beq	.L98
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #44]
	and	r3, r3, #31
	str	r3, [fp, #-68]
	b	.L97
.L98:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #44]
	and	r3, r3, #31
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-32]
	mov	r2, #1
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	sub	r3, r2, r3
	str	r3, [fp, #-52]
.L97:
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L99
	ldr	r0, [fp, #-84]
	bl	inflateEnd
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	mov	r2, #1
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-48]
	sub	r3, fp, #32
	mov	r0, r3
	bl	read4
	mov	r2, r0
	ldr	r3, [fp, #-56]
	cmp	r3, r2
	beq	.L100
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+32
	bl	bye
.L100:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-36]
	sub	r3, fp, #32
	mov	r0, r3
	bl	read4
	mov	r2, r0
	ldr	r3, [fp, #-36]
	cmp	r3, r2
	beq	.L101
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+36
	bl	bye
.L101:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L102
	sub	r3, fp, #32
	mov	r0, r3
	bl	readin
	mov	r3, r0
	cmp	r3, #0
	beq	.L103
.L102:
	ldr	r3, .L112+40
	ldr	r3, [r3]
	mov	r2, #55
	mov	r1, #1
	ldr	r0, .L112+44
	bl	fwrite
.L103:
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, [fp, #-52]
	sub	r3, r3, r2
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-20]
	mov	r2, #1
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L104
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+48
	bl	bye
.L104:
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-72]
	rsb	r3, r3, #0
	and	r3, r3, #7
	mov	r1, #1
	lsl	r3, r1, r3
	lsl	r3, r3, #24
	asr	r3, r3, #24
	eor	r3, r3, r2
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-20]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-32]
	mov	r2, #1
	mvn	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-20]
	mov	r2, #1
	mov	r0, r3
	bl	write
	mov	r3, r0
	cmp	r3, #1
	beq	.L105
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+52
	bl	bye
.L105:
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L106
	ldr	r2, [fp, #-60]
	mov	r1, #32768
	ldr	r0, [fp, #-44]
	bl	rotate
	mov	r3, #32768
	str	r3, [fp, #-60]
.L106:
	mov	r3, #56
	str	r3, [sp, #12]
	ldr	r3, .L112+16
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #8
	str	r3, [sp]
	mvn	r3, #14
	mov	r2, #8
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-84]
	bl	deflateInit2_
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L107
	ldr	r1, .L112+8
	ldr	r0, .L112+12
	bl	bye
.L107:
	ldr	r2, [fp, #-60]
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-84]
	bl	deflateSetDictionary
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-56]
	str	r2, [r3, #48]
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-36]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	beq	.L108
	ldr	r0, [fp, #-32]
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r1, [fp, #-48]
	bl	lseek
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-20]
	mov	r2, #1
	mov	r0, r3
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L109
	ldr	r1, [fp, #-80]
	ldr	r0, .L112+48
	bl	bye
.L109:
	ldr	r3, [fp, #-68]
	rsb	r1, r3, #8
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r0, [fp, #-84]
	bl	deflatePrime
.L108:
	ldr	r3, [fp, #-32]
	mov	r2, #0
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	lseek
	ldr	r0, [fp, #-44]
	bl	free
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-32]
	ldr	r2, .L112
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC19
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	stderr
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	gzscan, .-gzscan
	.section	.rodata
	.align	2
.LC20:
	.ascii	"gzappend warning: %s not found, skipping ...\012\000"
	.align	2
.LC21:
	.ascii	"gzappend warning: error reading %s, skipping rest ."
	.ascii	"..\012\000"
	.align	2
.LC22:
	.ascii	"writing gzip file\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gztack, %function
gztack:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L115
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-32]
	bl	open
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L115
	ldr	r3, .L133
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L133+4
	mov	r0, r3
	bl	fprintf
.L115:
	mov	r0, #16384
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r0, #16384
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L116
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L127
.L116:
	ldr	r1, .L133+8
	ldr	r0, .L133+12
	bl	bye
.L127:
	mov	r2, #16384
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-28]
	bl	read
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L118
	ldr	r3, .L133
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, .L133+16
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-24]
.L118:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L126
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	crc32
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #48]
.L126:
	ldr	r3, [fp, #-40]
	mov	r2, #16384
	str	r2, [r3, #16]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #12]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L120
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L120
	mov	r3, #4
	b	.L121
.L120:
	mov	r3, #0
.L121:
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	deflate
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	rsb	r3, r3, #16384
	str	r3, [fp, #-20]
	b	.L122
.L124:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	rsb	r3, r3, #16384
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	write
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmn	r3, #1
	bne	.L123
	ldr	r1, .L133+8
	ldr	r0, .L133+20
	bl	bye
.L123:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
.L122:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L124
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #16]
	cmp	r3, #0
	bne	.L125
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L126
.L125:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L127
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L128
	ldr	r0, [fp, #-40]
	bl	deflateEnd
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	and	r2, r3, #255
	ldr	r3, [fp, #-12]
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #48]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #8]
	lsr	r2, r3, #8
	ldr	r3, [fp, #-12]
	add	r3, r3, #5
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #8]
	lsr	r2, r3, #16
	ldr	r3, [fp, #-12]
	add	r3, r3, #6
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #8]
	lsr	r2, r3, #24
	ldr	r3, [fp, #-12]
	add	r3, r3, #7
	and	r2, r2, #255
	strb	r2, [r3]
	mov	r3, #8
	str	r3, [fp, #-24]
.L130:
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #8
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L129
	ldr	r1, .L133+8
	ldr	r0, .L133+20
	bl	bye
.L129:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L130
	ldr	r0, [fp, #-36]
	bl	close
.L128:
	ldr	r0, [fp, #-12]
	bl	free
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	ble	.L132
	ldr	r0, [fp, #-28]
	bl	close
.L132:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L134:
	.align	2
.L133:
	.word	stderr
	.word	.LC20
	.word	.LC8
	.word	.LC9
	.word	.LC21
	.word	.LC22
	.size	gztack, .-gztack
	.section	.rodata
	.align	2
.LC23:
	.ascii	"gzappend 1.2 (11 Oct 2012) Copyright (C) 2003, 2012"
	.ascii	" Mark Adler\000"
	.align	2
.LC24:
	.ascii	"usage: gzappend [-level] file.gz [ addthis [ andthi"
	.ascii	"s ... ]]\000"
	.align	2
.LC25:
	.ascii	"invalid compression level\000"
	.align	2
.LC26:
	.ascii	"no gzip file name after options\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L145
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L136
	ldr	r0, .L145+4
	bl	puts
	ldr	r0, .L145+8
	bl	puts
	mov	r3, #0
	b	.L143
.L136:
	mvn	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L138
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L139
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L139
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L140
.L139:
	ldr	r1, .L145+12
	ldr	r0, .L145+16
	bl	bye
.L140:
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L138
	ldr	r1, .L145+12
	ldr	r0, .L145+20
	bl	bye
.L138:
	ldr	r3, [fp, #-84]
	add	r2, r3, #4
	str	r2, [fp, #-84]
	ldr	r3, [r3]
	sub	r1, fp, #64
	ldr	r2, [fp, #-72]
	mov	r0, r3
	bl	gzscan
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L141
	sub	r2, fp, #64
	mov	r3, #1
	ldr	r1, [fp, #-68]
	mov	r0, #0
	bl	gztack
	b	.L142
.L141:
	ldr	r3, [fp, #-84]
	ldr	r0, [r3]
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	sub	r2, fp, #64
	ldr	r1, [fp, #-68]
	bl	gztack
	ldr	r3, [fp, #-84]
	add	r3, r3, #4
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L141
.L142:
	mov	r3, #0
.L143:
	ldr	r2, .L145
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L144
	bl	__stack_chk_fail
.L144:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L146:
	.align	2
.L145:
	.word	.LC27
	.word	.LC23
	.word	.LC24
	.word	.LC8
	.word	.LC25
	.word	.LC26
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
