	.file	"881362.c"
	.intel_syntax noprefix
	.text
	.globl	octal
	.type	octal, @function
octal:
.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 7
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rcx
	add	edx, 48
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -4[rbp], 1
	sar	DWORD PTR -20[rbp], 3
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	octal, .-octal
	.section	.rodata
	.align 32
	.type	padding, @object
	.size	padding, 512
padding:
	.zero	512
	.text
	.globl	tar_set_checksum
	.type	tar_set_checksum, @function
tar_set_checksum:
.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, 24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L5
.L6:
	mov	rdx, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	BYTE PTR 148[rdx+rax], 32
	add	DWORD PTR -12[rbp], 1
.L5:
	cmp	DWORD PTR -12[rbp], 7
	jle	.L6
	mov	DWORD PTR -12[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	DWORD PTR -16[rbp], eax
	add	DWORD PTR -12[rbp], 1
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 511
	jbe	.L8
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, 148[rax]
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, 6
	mov	rsi, rcx
	mov	edi, eax
	call	octal
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR 154[rax], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	tar_set_checksum, .-tar_set_checksum
	.globl	tar_write
	.type	tar_write, @function
tar_write:
.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, 656
	mov	QWORD PTR -632[rbp], rdi
	mov	DWORD PTR -636[rbp], esi
	mov	DWORD PTR -640[rbp], edx
	mov	QWORD PTR -648[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -528[rbp]
	mov	eax, 0
	mov	ecx, 64
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -586[rbp], 0
	mov	WORD PTR -578[rbp], 0
	mov	QWORD PTR -596[rbp], 0
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -608[rbp], rax
	mov	rax, QWORD PTR -648[rbp]
	movzx	eax, WORD PTR 28[rax]
	cmp	ax, 97
	ja	.L10
	mov	DWORD PTR -616[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -616[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -632[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], dl
	add	DWORD PTR -616[rbp], 1
.L11:
	mov	eax, DWORD PTR -616[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -632[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
	jmp	.L13
.L10:
	mov	DWORD PTR -616[rbp], 0
	jmp	.L14
.L17:
	cmp	DWORD PTR -616[rbp], 154
	jg	.L15
	mov	eax, DWORD PTR -616[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -632[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	mov	BYTE PTR -183[rbp+rax], dl
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -616[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -632[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -616[rbp]
	lea	ecx, -155[rdx]
	movzx	edx, BYTE PTR [rax]
	movsx	rax, ecx
	mov	BYTE PTR -528[rbp+rax], dl
.L16:
	add	DWORD PTR -616[rbp], 1
.L14:
	mov	eax, DWORD PTR -616[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -632[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L17
.L13:
	mov	DWORD PTR -616[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	mov	BYTE PTR -428[rbp+rax], 48
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	mov	BYTE PTR -412[rbp+rax], 48
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	mov	BYTE PTR -420[rbp+rax], 48
	mov	eax, DWORD PTR -616[rbp]
	cdqe
	mov	BYTE PTR -392[rbp+rax], 48
	add	DWORD PTR -616[rbp], 1
.L18:
	cmp	DWORD PTR -616[rbp], 6
	jle	.L19
	mov	BYTE PTR -372[rbp], 48
	mov	rax, QWORD PTR -648[rbp]
	movzx	eax, WORD PTR 10[rax]
	cmp	ax, 8
	sete	al
	movzx	edx, al
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, edx
	mov	edi, eax
	call	tar_entry_size@PLT
	mov	ecx, eax
	lea	rax, -528[rbp]
	add	rax, 124
	mov	edx, 11
	mov	rsi, rax
	mov	edi, ecx
	call	octal
	mov	BYTE PTR -271[rbp], 117
	mov	BYTE PTR -270[rbp], 115
	mov	BYTE PTR -269[rbp], 116
	mov	BYTE PTR -268[rbp], 97
	mov	BYTE PTR -267[rbp], 114
	mov	BYTE PTR -266[rbp], 32
	mov	BYTE PTR -265[rbp], 32
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	tar_set_checksum
	mov	WORD PTR -586[rbp], -29921
	mov	BYTE PTR -584[rbp], 8
	mov	BYTE PTR -583[rbp], 0
	mov	BYTE PTR -577[rbp], 3
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -596[rbp], eax
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -592[rbp], eax
	mov	eax, DWORD PTR -636[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -612[rbp], eax
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 42[rax]
	mov	ecx, eax
	mov	eax, DWORD PTR -636[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -576[rbp]
	mov	eax, DWORD PTR -636[rbp]
	mov	edx, 30
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, WORD PTR -550[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -548[rbp]
	movzx	eax, ax
	add	eax, edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -636[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	edx, eax
	mov	rcx, QWORD PTR -608[rbp]
	mov	eax, DWORD PTR -636[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -640[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -648[rbp]
	movzx	eax, WORD PTR 10[rax]
	cmp	ax, 8
	jne	.L20
	lea	rcx, -586[rbp]
	mov	eax, DWORD PTR -640[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	edx, eax
	mov	rcx, QWORD PTR -608[rbp]
	mov	eax, DWORD PTR -640[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rcx, -596[rbp]
	mov	eax, DWORD PTR -640[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L21
.L20:
	mov	rax, QWORD PTR -648[rbp]
	movzx	eax, WORD PTR 10[rax]
	test	ax, ax
	jne	.L21
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	edx, eax
	mov	rcx, QWORD PTR -608[rbp]
	mov	eax, DWORD PTR -640[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L21:
	mov	rax, QWORD PTR -648[rbp]
	movzx	eax, WORD PTR 10[rax]
	cmp	ax, 8
	sete	al
	movzx	edx, al
	mov	rax, QWORD PTR -648[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	esi, edx
	mov	edi, eax
	call	tar_entry_size@PLT
	mov	eax, eax
	add	rax, 512
	and	eax, 511
	mov	edx, 512
	sub	rdx, rax
	mov	eax, DWORD PTR -640[rbp]
	lea	rsi, padding[rip]
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -608[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -612[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -636[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	tar_write, .-tar_write
	.globl	gz_create
	.type	gz_create, @function
gz_create:
.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, 144
	mov	QWORD PTR -120[rbp], rdi
	mov	DWORD PTR -124[rbp], esi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -74[rbp], 0
	mov	WORD PTR -66[rbp], 0
	mov	QWORD PTR -84[rbp], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 0
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -104[rbp], eax
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	eax, eax
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -96[rbp], rax
	mov	WORD PTR -74[rbp], -29921
	mov	BYTE PTR -72[rbp], 8
	mov	BYTE PTR -71[rbp], 0
	mov	BYTE PTR -65[rbp], 3
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -84[rbp], eax
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 24[rax]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -100[rbp], eax
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 42[rax]
	mov	ecx, eax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -64[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, 30
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, WORD PTR -38[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -36[rbp]
	movzx	eax, ax
	add	eax, edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	edx, eax
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -124[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rcx, -74[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -136[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	edx, eax
	mov	rcx, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rcx, -84[rbp]
	mov	eax, DWORD PTR -104[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -104[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -96[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -100[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -124[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	gz_create, .-gz_create
	.globl	zip_locate_eocd
	.type	zip_locate_eocd, @function
zip_locate_eocd:
.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	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 22
	mov	eax, DWORD PTR -4[rbp]
	neg	eax
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	jmp	.L26
.L29:
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 22
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	mov	rsi, -23
	mov	edi, eax
	call	lseek@PLT
	cmp	rax, -1
	jne	.L27
	mov	eax, -1
	jmp	.L28
.L27:
	add	DWORD PTR -4[rbp], 1
.L26:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	validate_eocd@PLT
	test	eax, eax
	je	.L29
	mov	eax, DWORD PTR -4[rbp]
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	zip_locate_eocd, .-zip_locate_eocd
	.section	.rodata
	.align 8
.LC0:
	.string	"You are not argumentative enough to use this program."
.LC1:
	.string	"A zip file is required."
.LC2:
	.string	"Could not save tar file."
	.align 8
.LC3:
	.string	"This does not appear to be a zip file."
.LC4:
	.string	".gz\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 672
	mov	DWORD PTR -660[rbp], edi
	mov	QWORD PTR -672[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -644[rbp], 0
	cmp	DWORD PTR -660[rbp], 2
	jg	.L31
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	rax, QWORD PTR -672[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -536[rbp], eax
	mov	eax, DWORD PTR -536[rbp]
	cmp	eax, -1
	jne	.L32
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	rax, QWORD PTR -672[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -532[rbp], eax
	mov	eax, DWORD PTR -532[rbp]
	cmp	eax, -1
	jne	.L33
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	lea	rdx, -608[rbp]
	mov	eax, 0
	mov	ecx, 8
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	WORD PTR [rdx], ax
	add	rdx, 2
	mov	QWORD PTR -640[rbp], 0
	mov	QWORD PTR -632[rbp], 0
	mov	QWORD PTR -624[rbp], 0
	mov	QWORD PTR -616[rbp], 0
	mov	eax, DWORD PTR -536[rbp]
	lea	rdx, -640[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	zip_locate_eocd
	mov	DWORD PTR -644[rbp], eax
	cmp	DWORD PTR -644[rbp], -1
	jne	.L34
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	mov	eax, DWORD PTR -624[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -536[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -648[rbp], 0
	jmp	.L35
.L39:
	mov	eax, DWORD PTR -536[rbp]
	lea	rcx, -608[rbp]
	mov	edx, 46
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -608[rbp]
	cmp	eax, 33639248
	jne	.L36
	movzx	eax, WORD PTR -580[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -536[rbp]
	lea	rcx, -528[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, WORD PTR -598[rbp]
	cmp	ax, 8
	jne	.L37
	movzx	eax, WORD PTR -580[rbp]
	movzx	eax, ax
	cdqe
	mov	BYTE PTR -528[rbp+rax], 46
	movzx	eax, WORD PTR -580[rbp]
	movzx	eax, ax
	add	eax, 1
	cdqe
	mov	BYTE PTR -528[rbp+rax], 103
	movzx	eax, WORD PTR -580[rbp]
	movzx	eax, ax
	add	eax, 2
	cdqe
	mov	BYTE PTR -528[rbp+rax], 122
	movzx	eax, WORD PTR -580[rbp]
	movzx	eax, ax
	add	eax, 3
	cdqe
	mov	BYTE PTR -528[rbp+rax], 0
	jmp	.L38
.L37:
	movzx	eax, WORD PTR -598[rbp]
	test	ax, ax
	jne	.L38
	movzx	eax, WORD PTR -580[rbp]
	movzx	eax, ax
	cdqe
	mov	BYTE PTR -528[rbp+rax], 0
.L38:
	movzx	eax, WORD PTR -580[rbp]
	movzx	edx, ax
	lea	rax, -528[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	mov	edx, 4
	lea	rsi, .LC4[rip]
	mov	edi, 1
	call	write@PLT
	mov	edx, DWORD PTR -532[rbp]
	mov	esi, DWORD PTR -536[rbp]
	lea	rcx, -608[rbp]
	lea	rax, -528[rbp]
	mov	rdi, rax
	call	tar_write
.L36:
	movzx	eax, WORD PTR -578[rbp]
	movzx	edx, ax
	movzx	eax, WORD PTR -576[rbp]
	movzx	eax, ax
	add	eax, edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -536[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	add	DWORD PTR -648[rbp], 1
.L35:
	movzx	eax, WORD PTR -630[rbp]
	movzx	eax, ax
	cmp	DWORD PTR -648[rbp], eax
	jl	.L39
	mov	eax, DWORD PTR -536[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -532[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE13:
	.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	"881362.c"
	.text
	.align	2
	.global	octal
	.syntax unified
	.arm
	.fpu softvfp
	.type	octal, %function
octal:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	and	r3, r3, #255
	and	r3, r3, #7
	and	r2, r3, #255
	ldr	r3, [fp, #-24]
	sub	r1, r3, #1
	ldr	r3, [fp, #-8]
	sub	r3, r1, r3
	mov	r1, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r1
	add	r2, r2, #48
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #3
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	octal, .-octal
	.section	.rodata
	.align	2
	.type	padding, %object
	.size	padding, 512
padding:
	.space	512
	.text
	.align	2
	.global	tar_set_checksum
	.syntax unified
	.arm
	.fpu softvfp
	.type	tar_set_checksum, %function
tar_set_checksum:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #148
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L6
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #512
	bcc	.L8
	ldr	r0, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r3, r3, #148
	mov	r2, #6
	mov	r1, r3
	bl	octal
	ldr	r3, [fp, #-24]
	mov	r2, #0
	strb	r2, [r3, #154]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	tar_set_checksum, .-tar_set_checksum
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tar_write
	.syntax unified
	.arm
	.fpu softvfp
	.type	tar_write, %function
tar_write:
	@ args = 0, pretend = 0, frame = 608
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #608
	str	r0, [fp, #-600]
	str	r1, [fp, #-604]
	str	r2, [fp, #-608]
	str	r3, [fp, #-612]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #572
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	strh	r2, [r3, #8]	@ movhi
	sub	r3, fp, #580
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-588]
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #28]	@ zero_extendqisi2
	ldrb	r3, [r3, #29]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #97
	bhi	.L10
	mov	r3, #0
	str	r3, [fp, #-592]
	b	.L11
.L12:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-600]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #520
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-592]
	add	r3, r3, #1
	str	r3, [fp, #-592]
.L11:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-600]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
	b	.L13
.L10:
	mov	r3, #0
	str	r3, [fp, #-592]
	b	.L14
.L17:
	ldr	r3, [fp, #-592]
	cmp	r3, #154
	bgt	.L15
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-600]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #175
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L16
.L15:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-600]
	add	r2, r2, r3
	ldr	r3, [fp, #-592]
	sub	r3, r3, #155
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-516]
.L16:
	ldr	r3, [fp, #-592]
	add	r3, r3, #1
	str	r3, [fp, #-592]
.L14:
	ldr	r3, [fp, #-592]
	ldr	r2, [fp, #-600]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L17
.L13:
	mov	r3, #0
	str	r3, [fp, #-592]
	b	.L18
.L19:
	sub	r2, fp, #420
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	sub	r2, fp, #404
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	sub	r2, fp, #412
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	sub	r2, fp, #384
	ldr	r3, [fp, #-592]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-592]
	add	r3, r3, #1
	str	r3, [fp, #-592]
.L18:
	ldr	r3, [fp, #-592]
	cmp	r3, #6
	ble	.L19
	mov	r3, #48
	strb	r3, [fp, #-364]
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r0, r3
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #8
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	bl	tar_entry_size
	mov	r3, r0
	mov	r0, r3
	sub	r3, fp, #520
	add	r3, r3, #124
	mov	r2, #11
	mov	r1, r3
	bl	octal
	mov	r3, #117
	strb	r3, [fp, #-263]
	mov	r3, #115
	strb	r3, [fp, #-262]
	mov	r3, #116
	strb	r3, [fp, #-261]
	mov	r3, #97
	strb	r3, [fp, #-260]
	mov	r3, #114
	strb	r3, [fp, #-259]
	mov	r3, #32
	strb	r3, [fp, #-258]
	mov	r3, #32
	strb	r3, [fp, #-257]
	sub	r3, fp, #520
	mov	r0, r3
	bl	tar_set_checksum
	sub	r3, fp, #4
	sub	r3, r3, #568
	ldr	r2, .L23+4
	strh	r2, [r3]	@ movhi
	mov	r3, #8
	strb	r3, [fp, #-570]
	mov	r3, #0
	strb	r3, [fp, #-569]
	mov	r3, #3
	strb	r3, [fp, #-563]
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #16]	@ zero_extendqisi2
	ldrb	r1, [r3, #17]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #18]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #19]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	str	r3, [fp, #-580]
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #24]	@ zero_extendqisi2
	ldrb	r1, [r3, #25]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #26]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #27]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	str	r3, [fp, #-576]
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-604]
	bl	lseek
	str	r0, [fp, #-584]
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #42]	@ zero_extendqisi2
	ldrb	r1, [r3, #43]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #44]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #45]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-604]
	bl	lseek
	sub	r3, fp, #560
	mov	r2, #30
	mov	r1, r3
	ldr	r0, [fp, #-604]
	bl	read
	sub	r3, fp, #4
	sub	r3, r3, #556
	ldrh	r3, [r3, #26]
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #556
	ldrh	r3, [r3, #28]
	add	r3, r2, r3
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-604]
	bl	lseek
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-604]
	bl	read
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [fp, #-608]
	bl	write
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #8
	bne	.L20
	sub	r3, fp, #572
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-608]
	bl	write
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	write
	sub	r3, fp, #580
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-608]
	bl	write
	b	.L21
.L20:
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	bne	.L21
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-588]
	ldr	r0, [fp, #-608]
	bl	write
.L21:
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r0, r3
	ldr	r3, [fp, #-612]
	ldrb	r2, [r3, #10]	@ zero_extendqisi2
	ldrb	r3, [r3, #11]	@ zero_extendqisi2
	lsl	r3, r3, #8
	orr	r3, r3, r2
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #8
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r1, r3
	bl	tar_entry_size
	mov	r3, r0
	add	r3, r3, #512
	lsl	r3, r3, #23
	lsr	r3, r3, #23
	rsb	r3, r3, #512
	mov	r2, r3
	ldr	r1, .L23+8
	ldr	r0, [fp, #-608]
	bl	write
	ldr	r0, [fp, #-588]
	bl	free
	mov	r2, #0
	ldr	r1, [fp, #-584]
	ldr	r0, [fp, #-604]
	bl	lseek
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	-29921
	.word	padding
	.size	tar_write, .-tar_write
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gz_create
	.syntax unified
	.arm
	.fpu softvfp
	.type	gz_create, %function
gz_create:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #60
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	strh	r2, [r3, #8]	@ movhi
	sub	r3, fp, #68
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	mov	r2, #0
	mov	r1, #65
	ldr	r0, [fp, #-88]
	bl	open
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-96]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r3, .L27+4
	strh	r3, [fp, #-60]	@ movhi
	mov	r3, #8
	strb	r3, [fp, #-58]
	mov	r3, #0
	strb	r3, [fp, #-57]
	mov	r3, #3
	strb	r3, [fp, #-51]
	ldr	r3, [fp, #-96]
	ldrb	r2, [r3, #16]	@ zero_extendqisi2
	ldrb	r1, [r3, #17]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #18]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #19]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-96]
	ldrb	r2, [r3, #24]	@ zero_extendqisi2
	ldrb	r1, [r3, #25]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #26]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #27]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	str	r3, [fp, #-64]
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-92]
	bl	lseek
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-96]
	ldrb	r2, [r3, #42]	@ zero_extendqisi2
	ldrb	r1, [r3, #43]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #44]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #45]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	lseek
	sub	r3, fp, #48
	mov	r2, #30
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	read
	ldrh	r3, [fp, #-22]
	mov	r2, r3
	ldrh	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-92]
	bl	lseek
	ldr	r3, [fp, #-96]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-92]
	bl	read
	sub	r3, fp, #60
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	write
	ldr	r3, [fp, #-96]
	ldrb	r2, [r3, #20]	@ zero_extendqisi2
	ldrb	r1, [r3, #21]	@ zero_extendqisi2
	lsl	r1, r1, #8
	orr	r2, r1, r2
	ldrb	r1, [r3, #22]	@ zero_extendqisi2
	lsl	r1, r1, #16
	orr	r2, r1, r2
	ldrb	r3, [r3, #23]	@ zero_extendqisi2
	lsl	r3, r3, #24
	orr	r3, r3, r2
	mov	r2, r3
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-80]
	bl	write
	sub	r3, fp, #68
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	write
	ldr	r0, [fp, #-80]
	bl	close
	ldr	r0, [fp, #-76]
	bl	free
	mov	r2, #0
	ldr	r1, [fp, #-72]
	ldr	r0, [fp, #-92]
	bl	lseek
	nop
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC1
	.word	-29921
	.size	gz_create, .-gz_create
	.align	2
	.global	zip_locate_eocd
	.syntax unified
	.arm
	.fpu softvfp
	.type	zip_locate_eocd, %function
zip_locate_eocd:
	@ 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]
	mov	r3, #22
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #0
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	lseek
	b	.L30
.L33:
	mov	r2, #22
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	read
	mov	r2, #1
	mvn	r1, #22
	ldr	r0, [fp, #-16]
	bl	lseek
	mov	r3, r0
	cmn	r3, #1
	bne	.L31
	mvn	r3, #0
	b	.L32
.L31:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-20]
	bl	validate_eocd
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, [fp, #-8]
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	zip_locate_eocd, .-zip_locate_eocd
	.section	.rodata
	.align	2
.LC2:
	.ascii	"You are not argumentative enough to use this progra"
	.ascii	"m.\000"
	.align	2
.LC3:
	.ascii	"A zip file is required.\000"
	.align	2
.LC4:
	.ascii	"Could not save tar file.\000"
	.align	2
.LC5:
	.ascii	"This does not appear to be a zip file.\000"
	.align	2
.LC6:
	.ascii	".gz\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 632
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #632
	str	r0, [fp, #-632]
	str	r1, [fp, #-636]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-620]
	ldr	r3, [fp, #-632]
	cmp	r3, #2
	bgt	.L35
	ldr	r0, .L45+4
	bl	puts
	mov	r0, #1
	bl	exit
.L35:
	ldr	r3, [fp, #-636]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r3, r0
	str	r3, [fp, #-528]
	ldr	r3, [fp, #-528]
	cmn	r3, #1
	bne	.L36
	ldr	r0, .L45+8
	bl	puts
	mov	r0, #1
	bl	exit
.L36:
	ldr	r3, [fp, #-636]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65
	mov	r0, r3
	bl	open
	mov	r3, r0
	str	r3, [fp, #-524]
	ldr	r3, [fp, #-524]
	cmn	r3, #1
	bne	.L37
	ldr	r0, .L45+12
	bl	puts
	mov	r0, #1
	bl	exit
.L37:
	sub	r3, fp, #588
	mov	r2, #58
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #616
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	str	r2, [r3, #24]
	ldr	r3, [fp, #-528]
	sub	r2, fp, #616
	mov	r1, r2
	mov	r0, r3
	bl	zip_locate_eocd
	mov	r3, r0
	str	r3, [fp, #-620]
	ldr	r3, [fp, #-620]
	cmn	r3, #1
	bne	.L38
	ldr	r0, .L45+16
	bl	puts
	mov	r0, #1
	bl	exit
.L38:
	ldr	r3, [fp, #-528]
	ldr	r2, [fp, #-600]
	mov	r1, r2
	mov	r2, #0
	mov	r0, r3
	bl	lseek
	mov	r3, #0
	str	r3, [fp, #-624]
	b	.L39
.L43:
	ldr	r3, [fp, #-528]
	sub	r1, fp, #588
	mov	r2, #46
	mov	r0, r3
	bl	read
	ldr	r3, [fp, #-588]
	ldr	r2, .L45+20
	cmp	r3, r2
	bne	.L40
	ldr	r0, [fp, #-528]
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	mov	r2, r3
	sub	r3, fp, #520
	mov	r1, r3
	bl	read
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #10]
	cmp	r3, #8
	bne	.L41
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #46
	strb	r2, [r3, #-516]
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #103
	strb	r2, [r3, #-516]
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	add	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #122
	strb	r2, [r3, #-516]
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	add	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-516]
	b	.L42
.L41:
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #10]
	cmp	r3, #0
	bne	.L42
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-516]
.L42:
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #28]
	mov	r2, r3
	sub	r3, fp, #520
	mov	r1, r3
	mov	r0, #1
	bl	write
	mov	r2, #4
	ldr	r1, .L45+24
	mov	r0, #1
	bl	write
	ldr	r1, [fp, #-528]
	ldr	r2, [fp, #-524]
	sub	r3, fp, #588
	sub	r0, fp, #520
	bl	tar_write
.L40:
	ldr	r0, [fp, #-528]
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #30]
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #584
	ldrh	r3, [r3, #32]
	add	r3, r2, r3
	mov	r2, #1
	mov	r1, r3
	bl	lseek
	ldr	r3, [fp, #-624]
	add	r3, r3, #1
	str	r3, [fp, #-624]
.L39:
	sub	r3, fp, #4
	sub	r3, r3, #612
	ldrh	r3, [r3, #10]
	mov	r2, r3
	ldr	r3, [fp, #-624]
	cmp	r3, r2
	blt	.L43
	ldr	r3, [fp, #-528]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-524]
	mov	r0, r3
	bl	close
	mov	r0, #0
	bl	exit
.L46:
	.align	2
.L45:
	.word	.LC7
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	33639248
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
