	.file	"80616.c"
	.intel_syntax noprefix
	.text
	.type	_gzerror, @function
_gzerror:
.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, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	gzerror@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, -1
	jne	.L3
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
.L3:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	_gzerror, .-_gzerror
	.section	.rodata
.LC0:
	.string	"Try gzip decompression."
.LC1:
	.string	"rb"
.LC2:
	.string	"Cannot open `%s': %s\n"
	.align 8
.LC3:
	.string	"Read on %s of %ld bytes failed: %s\n"
.LC4:
	.string	" Close of %s failed: %s\n"
	.text
	.globl	zlib_decompress_file
	.type	zlib_decompress_file, @function
zlib_decompress_file:
.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, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -40[rbp], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR [rax], 0
	cmp	QWORD PTR -72[rbp], 0
	jne	.L5
	mov	eax, 0
	jmp	.L19
.L5:
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	gzopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L7
	lea	rdx, -56[rbp]
	lea	rcx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	_gzerror
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L19
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	gzdirect@PLT
	test	eax, eax
	je	.L8
	mov	eax, 0
	jmp	.L19
.L8:
	mov	QWORD PTR -32[rbp], 65536
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	xmalloc@PLT
	cdqe
	mov	QWORD PTR -48[rbp], rax
.L15:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jne	.L9
	sal	QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	xrealloc@PLT
	cdqe
	mov	QWORD PTR -48[rbp], rax
.L9:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -40[rbp]
	sub	edx, eax
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -48[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	gzread@PLT
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jns	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L21
	lea	rdx, -56[rbp]
	lea	rcx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	_gzerror
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -32[rbp]
	sub	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -40[rbp], 0
	jmp	.L14
.L10:
	mov	rax, QWORD PTR -16[rbp]
	add	QWORD PTR -40[rbp], rax
	jmp	.L13
.L21:
	nop
.L13:
	cmp	QWORD PTR -16[rbp], 0
	jg	.L15
	nop
.L14:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	gzclose@PLT
	cdqe
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L16
	lea	rdx, -56[rbp]
	lea	rcx, -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	_gzerror
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L16:
	cmp	QWORD PTR -40[rbp], 0
	jle	.L17
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -48[rbp], 0
.L18:
	mov	rax, QWORD PTR -48[rbp]
.L19:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	zlib_decompress_file, .-zlib_decompress_file
	.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	"80616.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_gzerror, %function
_gzerror:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	gzerror
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L3
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r3]
.L3:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	_gzerror, .-_gzerror
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Try gzip decompression.\000"
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"Cannot open `%s': %s\012\000"
	.align	2
.LC3:
	.ascii	"Read on %s of %ld bytes failed: %s\012\000"
	.align	2
.LC4:
	.ascii	" Close of %s failed: %s\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zlib_decompress_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	zlib_decompress_file, %function
zlib_decompress_file:
	@ 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, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r0, .L22+4
	bl	puts
	ldr	r3, [fp, #-44]
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L5
	mov	r3, #0
	b	.L19
.L5:
	ldr	r1, .L22+8
	ldr	r0, [fp, #-40]
	bl	gzopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L7
	sub	r2, fp, #32
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	_gzerror
	ldr	r3, [fp, #-32]
	mov	r2, r3
	ldr	r1, [fp, #-40]
	ldr	r0, .L22+12
	bl	printf
	mov	r3, #0
	b	.L19
.L7:
	ldr	r0, [fp, #-16]
	bl	gzdirect
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	mov	r3, #0
	b	.L19
.L8:
	mov	r3, #65536
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	xmalloc
	mov	r3, r0
	str	r3, [fp, #-28]
.L15:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L9
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	xrealloc
	mov	r3, r0
	str	r3, [fp, #-28]
.L9:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-28]
	add	r1, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r0, [fp, #-16]
	bl	gzread
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L10
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L21
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L21
	sub	r2, fp, #32
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	_gzerror
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-40]
	ldr	r0, .L22+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L14
.L10:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L13
.L21:
	nop
.L13:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L15
	nop
.L14:
	ldr	r0, [fp, #-16]
	bl	gzclose
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L16
	sub	r2, fp, #32
	sub	r3, fp, #36
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	_gzerror
	ldr	r3, [fp, #-32]
	mov	r2, r3
	ldr	r1, [fp, #-40]
	ldr	r0, .L22+20
	bl	printf
.L16:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L17
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	b	.L18
.L17:
	ldr	r0, [fp, #-28]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-28]
.L18:
	ldr	r3, [fp, #-28]
.L19:
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	zlib_decompress_file, .-zlib_decompress_file
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
