	.file	"858394.c"
	.intel_syntax noprefix
	.text
	.globl	prog
	.bss
	.align 8
	.type	prog, @object
	.size	prog, 8
prog:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%s: %s\n"
	.text
	.globl	error
	.type	error, @function
error:
.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	rdx, QWORD PTR prog[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, 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	error, .-error
	.section	.rodata
.LC1:
	.string	"fread"
.LC2:
	.string	"failed gzclose"
	.text
	.globl	gz_compress
	.type	gz_compress, @function
gz_compress:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 48
	mov	QWORD PTR -16424[rbp], rdi
	mov	QWORD PTR -16432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L7:
	mov	rdx, QWORD PTR -16424[rbp]
	lea	rax, -16400[rbp]
	mov	rcx, rdx
	mov	edx, 16384
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -16404[rbp], eax
	mov	rax, QWORD PTR -16424[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -16404[rbp], 0
	je	.L11
	mov	edx, DWORD PTR -16404[rbp]
	lea	rcx, -16400[rbp]
	mov	rax, QWORD PTR -16432[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	gzwrite@PLT
	cmp	DWORD PTR -16404[rbp], eax
	je	.L7
	lea	rdx, -16408[rbp]
	mov	rax, QWORD PTR -16432[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gzerror@PLT
	mov	rdi, rax
	call	error
	jmp	.L7
.L11:
	nop
	mov	rax, QWORD PTR -16424[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -16432[rbp]
	mov	rdi, rax
	call	gzclose@PLT
	test	eax, eax
	je	.L12
	lea	rdi, .LC2[rip]
	call	error
.L12:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gz_compress, .-gz_compress
	.section	.rodata
.LC3:
	.string	"failed fwrite"
.LC4:
	.string	"failed fclose"
	.text
	.globl	gz_uncompress
	.type	gz_uncompress, @function
gz_uncompress:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -16384[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 48
	mov	QWORD PTR -16424[rbp], rdi
	mov	QWORD PTR -16432[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L18:
	lea	rcx, -16400[rbp]
	mov	rax, QWORD PTR -16424[rbp]
	mov	edx, 16384
	mov	rsi, rcx
	mov	rdi, rax
	call	gzread@PLT
	mov	DWORD PTR -16404[rbp], eax
	cmp	DWORD PTR -16404[rbp], 0
	jns	.L14
	lea	rdx, -16408[rbp]
	mov	rax, QWORD PTR -16424[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gzerror@PLT
	mov	rdi, rax
	call	error
.L14:
	cmp	DWORD PTR -16404[rbp], 0
	je	.L23
	mov	eax, DWORD PTR -16404[rbp]
	mov	esi, eax
	mov	rdx, QWORD PTR -16432[rbp]
	lea	rax, -16400[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	DWORD PTR -16404[rbp], eax
	je	.L18
	lea	rdi, .LC3[rip]
	call	error
	jmp	.L18
.L23:
	nop
	mov	rax, QWORD PTR -16432[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L19
	lea	rdi, .LC4[rip]
	call	error
.L19:
	mov	rax, QWORD PTR -16424[rbp]
	mov	rdi, rax
	call	gzclose@PLT
	test	eax, eax
	je	.L24
	lea	rdi, .LC2[rip]
	call	error
.L24:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L21
	call	__stack_chk_fail@PLT
.L21:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	gz_uncompress, .-gz_uncompress
	.section	.rodata
.LC5:
	.string	"rb"
.LC6:
	.string	"%s: can't gzopen %s\n"
	.text
	.globl	file_compress
	.type	file_compress, @function
file_compress:
.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, 1072
	mov	QWORD PTR -1064[rbp], rdi
	mov	QWORD PTR -1072[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -1064[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rax, -1040[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 8021806
	mov	rax, QWORD PTR -1064[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rdx, QWORD PTR -1072[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gzopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L27
	mov	rdx, QWORD PTR prog[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, -1040[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	rdx, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gz_compress
	mov	rax, QWORD PTR -1064[rbp]
	mov	rdi, rax
	call	unlink@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	file_compress, .-file_compress
	.section	.rodata
.LC7:
	.string	".gz"
.LC8:
	.string	"wb"
	.text
	.globl	file_uncompress
	.type	file_uncompress, @function
file_uncompress:
.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, 1104
	mov	QWORD PTR -1096[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1076[rbp], eax
	mov	rdx, QWORD PTR -1096[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	cmp	DWORD PTR -1076[rbp], 3
	jbe	.L30
	mov	eax, DWORD PTR -1076[rbp]
	lea	rdx, -3[rax]
	mov	rax, QWORD PTR -1096[rbp]
	add	rax, rdx
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L30
	mov	rax, QWORD PTR -1096[rbp]
	mov	QWORD PTR -1072[rbp], rax
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1064[rbp], rax
	mov	eax, DWORD PTR -1076[rbp]
	sub	eax, 3
	mov	edx, eax
	mov	rax, QWORD PTR -1064[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L31
.L30:
	mov	rax, QWORD PTR -1096[rbp]
	mov	QWORD PTR -1064[rbp], rax
	lea	rax, -1040[rbp]
	mov	QWORD PTR -1072[rbp], rax
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -1072[rbp]
	add	rax, rdx
	mov	DWORD PTR [rax], 8021806
.L31:
	mov	rax, QWORD PTR -1072[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	gzopen@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	jne	.L32
	mov	rdx, QWORD PTR prog[rip]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, QWORD PTR -1072[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	rax, QWORD PTR -1064[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L33
	mov	rax, QWORD PTR -1096[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L33:
	mov	rdx, QWORD PTR -1048[rbp]
	mov	rax, QWORD PTR -1056[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gz_uncompress
	mov	rax, QWORD PTR -1072[rbp]
	mov	rdi, rax
	call	unlink@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	file_uncompress, .-file_uncompress
	.section	.rodata
.LC9:
	.string	"-d"
.LC10:
	.string	"-f"
.LC11:
	.string	"-h"
.LC12:
	.string	"-r"
.LC13:
	.string	"can't gzdopen stdin"
.LC14:
	.string	"can't gzdopen stdout"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	lea	rax, -32[rbp]
	mov	DWORD PTR [rax], 540435063
	mov	BYTE PTR 4[rax], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR prog[rip], rax
	sub	DWORD PTR -52[rbp], 1
	add	QWORD PTR -64[rbp], 8
	jmp	.L36
.L43:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L37
	mov	DWORD PTR -44[rbp], 1
	jmp	.L38
.L37:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	BYTE PTR -29[rbp], 102
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L40
	mov	BYTE PTR -29[rbp], 104
	jmp	.L38
.L40:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L41
	mov	BYTE PTR -29[rbp], 82
	jmp	.L38
.L41:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L42
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jle	.L42
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L42
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L42
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR 1[rax]
	mov	BYTE PTR -30[rbp], al
.L38:
	sub	DWORD PTR -52[rbp], 1
	add	QWORD PTR -64[rbp], 8
.L36:
	cmp	DWORD PTR -52[rbp], 0
	jg	.L43
.L42:
	movzx	eax, BYTE PTR -29[rbp]
	cmp	al, 32
	jne	.L44
	mov	BYTE PTR -29[rbp], 0
.L44:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L45
	cmp	DWORD PTR -44[rbp], 0
	je	.L46
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	gzdopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L47
	lea	rdi, .LC13[rip]
	call	error
.L47:
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gz_uncompress
	jmp	.L48
.L46:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -32[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	gzdopen@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	jne	.L49
	lea	rdi, .LC14[rip]
	call	error
.L49:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gz_compress
	jmp	.L48
.L45:
	cmp	DWORD PTR -44[rbp], 0
	je	.L50
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	file_uncompress
	jmp	.L51
.L50:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	file_compress
.L51:
	add	QWORD PTR -64[rbp], 8
	sub	DWORD PTR -52[rbp], 1
	cmp	DWORD PTR -52[rbp], 0
	jne	.L45
.L48:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.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	"858394.c"
	.text
	.comm	prog,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: %s\012\000"
	.text
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ 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	r3, .L2
	ldr	r0, [r3]
	ldr	r3, .L2+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, .L2+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	prog
	.word	.LC0
	.size	error, .-error
	.section	.rodata
	.align	2
.LC1:
	.ascii	"fread\000"
	.align	2
.LC2:
	.ascii	"failed gzclose\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gz_compress
	.syntax unified
	.arm
	.fpu softvfp
	.type	gz_compress, %function
gz_compress:
	@ args = 0, pretend = 0, frame = 16408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16384
	sub	sp, sp, #24
	sub	r3, fp, #16384
	sub	r3, r3, #4
	str	r0, [r3, #-20]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	str	r1, [r3, #-24]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L9:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r0, fp, #16384
	sub	r0, r0, #4
	sub	r0, r0, #4
	ldr	r3, [r3, #-20]
	mov	r2, #16384
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #4
	str	r3, [r2, #-8]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r0, [r3, #-20]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L15+4
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	beq	.L13
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r2, [r3, #-8]
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r1, fp, #16384
	sub	r1, r1, #4
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-24]
	bl	gzwrite
	mov	r2, r0
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r3, [r3, #-8]
	cmp	r3, r2
	beq	.L9
	sub	r3, fp, #16384
	sub	r3, r3, #4
	sub	r3, r3, #12
	sub	r2, fp, #16384
	sub	r2, r2, #4
	mov	r1, r3
	ldr	r0, [r2, #-24]
	bl	gzerror
	mov	r3, r0
	mov	r0, r3
	bl	error
	b	.L9
.L13:
	nop
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r0, [r3, #-20]
	bl	fclose
	sub	r3, fp, #16384
	sub	r3, r3, #4
	ldr	r0, [r3, #-24]
	bl	gzclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r0, .L15+8
	bl	error
.L14:
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	gz_compress, .-gz_compress
	.section	.rodata
	.align	2
.LC4:
	.ascii	"failed fwrite\000"
	.align	2
.LC5:
	.ascii	"failed fclose\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gz_uncompress
	.syntax unified
	.arm
	.fpu softvfp
	.type	gz_uncompress, %function
gz_uncompress:
	@ args = 0, pretend = 0, frame = 16408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #16384
	sub	sp, sp, #28
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r1, [r3, #-24]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L22:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #16384
	mov	r1, r3
	ldr	r0, [r0, #-20]
	bl	gzread
	str	r0, [r4, #-8]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bge	.L18
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #12
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-20]
	bl	gzerror
	mov	r3, r0
	mov	r0, r3
	bl	error
.L18:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r3, #-8]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r0, fp, #16384
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-24]
	mov	r1, #1
	bl	fwrite
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, r2
	beq	.L22
	ldr	r0, .L29+4
	bl	error
	b	.L22
.L27:
	nop
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L23
	ldr	r0, .L29+8
	bl	error
.L23:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-20]
	bl	gzclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L29+12
	bl	error
.L28:
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC6
	.word	.LC4
	.word	.LC5
	.word	.LC2
	.size	gz_uncompress, .-gz_uncompress
	.section	.rodata
	.align	2
.LC7:
	.ascii	".gz\000"
	.align	2
.LC8:
	.ascii	"rb\000"
	.align	2
.LC9:
	.ascii	"%s: can't gzopen %s\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	file_compress
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_compress, %function
file_compress:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1048]
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, r2
	ldr	r2, .L35+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
	ldr	r1, .L35+8
	ldr	r0, [fp, #-1048]
	bl	fopen
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-1048]
	bl	perror
	mov	r0, #1
	bl	exit
.L32:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1052]
	mov	r0, r3
	bl	gzopen
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L35+12
	ldr	r0, [r3]
	ldr	r3, .L35+16
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L35+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L33:
	ldr	r1, [fp, #-1036]
	ldr	r0, [fp, #-1040]
	bl	gz_compress
	ldr	r0, [fp, #-1048]
	bl	unlink
	nop
	ldr	r3, .L35
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC10
	.word	.LC7
	.word	.LC8
	.word	stderr
	.word	prog
	.word	.LC9
	.size	file_compress, .-file_compress
	.section	.rodata
	.align	2
.LC11:
	.ascii	"wb\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	file_uncompress
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_uncompress, %function
file_uncompress:
	@ args = 0, pretend = 0, frame = 1056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1056
	str	r0, [fp, #-1056]
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-1056]
	bl	strlen
	str	r0, [fp, #-1044]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1056]
	mov	r0, r3
	bl	strcpy
	ldr	r3, [fp, #-1044]
	cmp	r3, #3
	bls	.L38
	ldr	r3, [fp, #-1044]
	sub	r3, r3, #3
	ldr	r2, [fp, #-1056]
	add	r3, r2, r3
	ldr	r1, .L43+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-1056]
	str	r3, [fp, #-1052]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1048]
	ldr	r3, [fp, #-1044]
	sub	r3, r3, #3
	ldr	r2, [fp, #-1048]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L39
.L38:
	ldr	r3, [fp, #-1056]
	str	r3, [fp, #-1048]
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	str	r3, [fp, #-1052]
	ldr	r0, [fp, #-1052]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-1052]
	add	r3, r3, r2
	ldr	r2, .L43+4
	mov	r0, r3
	mov	r1, r2
	mov	r3, #4
	mov	r2, r3
	bl	memcpy
.L39:
	ldr	r1, .L43+8
	ldr	r0, [fp, #-1052]
	bl	gzopen
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L43+12
	ldr	r0, [r3]
	ldr	r3, .L43+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-1052]
	ldr	r1, .L43+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L40:
	ldr	r1, .L43+24
	ldr	r0, [fp, #-1048]
	bl	fopen
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L41
	ldr	r0, [fp, #-1056]
	bl	perror
	mov	r0, #1
	bl	exit
.L41:
	ldr	r1, [fp, #-1036]
	ldr	r0, [fp, #-1040]
	bl	gz_uncompress
	ldr	r0, [fp, #-1052]
	bl	unlink
	nop
	ldr	r3, .L43
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC12
	.word	.LC7
	.word	.LC8
	.word	stderr
	.word	prog
	.word	.LC9
	.word	.LC11
	.size	file_uncompress, .-file_uncompress
	.section	.rodata
	.align	2
.LC13:
	.ascii	"wb6 \000"
	.align	2
.LC14:
	.ascii	"-d\000"
	.align	2
.LC15:
	.ascii	"-f\000"
	.align	2
.LC16:
	.ascii	"-h\000"
	.align	2
.LC17:
	.ascii	"-r\000"
	.align	2
.LC18:
	.ascii	"can't gzdopen stdin\000"
	.align	2
.LC19:
	.ascii	"can't gzdopen stdout\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L64
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-36]
	sub	r3, fp, #28
	ldr	r2, .L64+4
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strb	r1, [r3]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, .L64+8
	str	r3, [r2]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	str	r3, [fp, #-44]
	b	.L46
.L53:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r1, .L64+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L48
.L47:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r1, .L64+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	mov	r3, #102
	strb	r3, [fp, #-25]
	b	.L48
.L49:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r1, .L64+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	mov	r3, #104
	strb	r3, [fp, #-25]
	b	.L48
.L50:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldr	r1, .L64+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	mov	r3, #82
	strb	r3, [fp, #-25]
	b	.L48
.L51:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L52
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bls	.L52
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L52
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	strb	r3, [fp, #-26]
.L48:
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	str	r3, [fp, #-44]
.L46:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bgt	.L53
.L52:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L54
	mov	r3, #0
	strb	r3, [fp, #-25]
.L54:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L55
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L56
	ldr	r3, .L64+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r3, r0
	ldr	r1, .L64+32
	mov	r0, r3
	bl	gzdopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L57
	ldr	r0, .L64+36
	bl	error
.L57:
	ldr	r3, .L64+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	gz_uncompress
	b	.L58
.L56:
	ldr	r3, .L64+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #28
	mov	r1, r3
	mov	r0, r2
	bl	gzdopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L59
	ldr	r0, .L64+44
	bl	error
.L59:
	ldr	r3, .L64+28
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	gz_compress
	b	.L58
.L55:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r0, r3
	bl	file_uncompress
	b	.L61
.L60:
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	sub	r2, fp, #28
	mov	r1, r2
	mov	r0, r3
	bl	file_compress
.L61:
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L55
.L58:
	mov	r3, #0
	ldr	r2, .L64
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	.LC20
	.word	.LC13
	.word	prog
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	stdin
	.word	.LC8
	.word	.LC18
	.word	stdout
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
