	.file	"676879.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"1.2.11"
.LC1:
	.string	"inflateInit(...) failed!\n"
.LC2:
	.string	"fread(...) failed!\n"
.LC3:
	.string	"inflate(...) failed: %d\n"
.LC4:
	.string	"fwrite(...) failed!\n"
	.text
	.globl	decompress_file
	.type	decompress_file, @function
decompress_file:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 160
	mov	QWORD PTR -8344[rbp], rdi
	mov	QWORD PTR -8352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -8320[rbp]
	mov	eax, 0
	mov	ecx, 14
	mov	rdi, rdx
	rep stosq
	lea	rax, -8320[rbp]
	mov	edx, 112
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	inflateInit_@PLT
	mov	DWORD PTR -8328[rbp], eax
	cmp	DWORD PTR -8328[rbp], 0
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 0
	jmp	.L12
.L2:
	mov	rdx, QWORD PTR -8344[rbp]
	lea	rax, -8208[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -8312[rbp], eax
	mov	rax, QWORD PTR -8344[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	lea	rax, -8320[rbp]
	mov	rdi, rax
	call	inflateEnd@PLT
	mov	eax, 0
	jmp	.L12
.L4:
	mov	eax, DWORD PTR -8312[rbp]
	test	eax, eax
	je	.L14
	lea	rax, -8208[rbp]
	mov	QWORD PTR -8320[rbp], rax
.L11:
	mov	DWORD PTR -8288[rbp], 4096
	lea	rax, -4112[rbp]
	mov	QWORD PTR -8296[rbp], rax
	lea	rax, -8320[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	inflate@PLT
	mov	DWORD PTR -8328[rbp], eax
	cmp	DWORD PTR -8328[rbp], 2
	je	.L7
	cmp	DWORD PTR -8328[rbp], -3
	je	.L7
	cmp	DWORD PTR -8328[rbp], -4
	jne	.L8
.L7:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -8328[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rax, -8320[rbp]
	mov	rdi, rax
	call	inflateEnd@PLT
	mov	eax, 0
	jmp	.L12
.L8:
	mov	edx, DWORD PTR -8288[rbp]
	mov	eax, 4096
	sub	eax, edx
	mov	DWORD PTR -8324[rbp], eax
	mov	edx, DWORD PTR -8324[rbp]
	mov	rcx, QWORD PTR -8352[rbp]
	lea	rax, -4112[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -8324[rbp]
	cmp	rax, rdx
	jne	.L9
	mov	rax, QWORD PTR -8352[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L10
.L9:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	lea	rax, -8320[rbp]
	mov	rdi, rax
	call	inflateEnd@PLT
	mov	eax, 0
	jmp	.L12
.L10:
	mov	eax, DWORD PTR -8288[rbp]
	test	eax, eax
	je	.L11
	cmp	DWORD PTR -8328[rbp], 1
	jne	.L2
	jmp	.L6
.L14:
	nop
.L6:
	lea	rax, -8320[rbp]
	mov	rdi, rax
	call	inflateEnd@PLT
	cmp	DWORD PTR -8328[rbp], 1
	sete	al
.L12:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	decompress_file, .-decompress_file
	.section	.rodata
.LC5:
	.string	"-h"
	.align 8
.LC6:
	.string	"Usage: cat infile | %s > outfile \n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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
	cmp	DWORD PTR -20[rbp], 1
	jle	.L16
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR stdin[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	decompress_file
	mov	BYTE PTR -1[rbp], al
	movzx	eax, BYTE PTR -1[rbp]
	xor	eax, 1
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"676879.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1.2.11\000"
	.align	2
.LC1:
	.ascii	"inflateInit(...) failed!\012\000"
	.align	2
.LC2:
	.ascii	"fread(...) failed!\012\000"
	.align	2
.LC3:
	.ascii	"inflate(...) failed: %d\012\000"
	.align	2
.LC4:
	.ascii	"fwrite(...) failed!\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	decompress_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	decompress_file, %function
decompress_file:
	@ args = 0, pretend = 0, frame = 8272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8256
	sub	sp, sp, #20
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-76]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-80]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r2, #56
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r2, #56
	ldr	r1, .L15+4
	mov	r0, r3
	bl	inflateInit_
	str	r0, [r4, #-68]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L15+12
	bl	fwrite
	mov	r3, #0
	b	.L12
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r0, fp, #8192
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-76]
	mov	r2, #4096
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-56]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-76]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L15+16
	bl	fwrite
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	inflateEnd
	mov	r3, #0
	b	.L12
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	cmp	r3, #0
	beq	.L14
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-60]
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #4096
	str	r3, [r2, #-44]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-48]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r1, #0
	mov	r0, r3
	bl	inflate
	str	r0, [r4, #-68]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #2
	beq	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmn	r3, #3
	beq	.L7
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmn	r3, #4
	bne	.L8
.L7:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-68]
	ldr	r1, .L15+20
	mov	r0, r3
	bl	fprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	inflateEnd
	mov	r3, #0
	b	.L12
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	rsb	r3, r3, #4096
	str	r3, [r2, #-64]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r2, fp, #8192
	sub	r2, r2, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-80]
	ldr	r2, [r2, #-64]
	mov	r1, #1
	bl	fwrite
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	cmp	r3, r2
	bne	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-80]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
.L9:
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L15+24
	bl	fwrite
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	inflateEnd
	mov	r3, #0
	b	.L12
.L10:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #1
	bne	.L2
	b	.L6
.L14:
	nop
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	inflateEnd
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
.L12:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC0
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	decompress_file, .-decompress_file
	.section	.rodata
	.align	2
.LC6:
	.ascii	"-h\000"
	.align	2
.LC7:
	.ascii	"Usage: cat infile | %s > outfile \012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	cmp	r3, #1
	ble	.L18
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L20+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, .L20+12
	ldr	r3, [r3]
	ldr	r2, .L20+16
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	decompress_file
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]
	eor	r3, r3, #1
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC6
	.word	stderr
	.word	.LC7
	.word	stdin
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
