	.file	"173579475.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"1.2.11"
.LC1:
	.string	"the_stack_data/173579475.c"
.LC2:
	.string	"ret != Z_STREAM_ERROR"
.LC3:
	.string	"strm.avail_in == 0"
.LC4:
	.string	"ret == Z_STREAM_END"
	.text
	.globl	def
	.type	def, @function
def:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -524288[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 176
	mov	QWORD PTR -524440[rbp], rdi
	mov	QWORD PTR -524448[rbp], rsi
	mov	DWORD PTR -524452[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -524352[rbp], 0
	mov	QWORD PTR -524344[rbp], 0
	mov	QWORD PTR -524336[rbp], 0
	mov	esi, DWORD PTR -524452[rbp]
	lea	rax, -524416[rbp]
	mov	ecx, 112
	lea	rdx, .LC0[rip]
	mov	rdi, rax
	call	deflateInit_@PLT
	mov	DWORD PTR -524428[rbp], eax
	cmp	DWORD PTR -524428[rbp], 0
	je	.L2
	mov	eax, DWORD PTR -524428[rbp]
	jmp	.L13
.L2:
	mov	rdx, QWORD PTR -524440[rbp]
	lea	rax, -524304[rbp]
	mov	rcx, rdx
	mov	edx, 262144
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -524408[rbp], eax
	mov	rax, QWORD PTR -524440[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L4
	lea	rax, -524416[rbp]
	mov	rdi, rax
	call	deflateEnd@PLT
	mov	eax, -1
	jmp	.L13
.L4:
	mov	rax, QWORD PTR -524440[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L5
	mov	eax, 4
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	mov	DWORD PTR -524424[rbp], eax
	lea	rax, -524304[rbp]
	mov	QWORD PTR -524416[rbp], rax
.L10:
	mov	DWORD PTR -524384[rbp], 262144
	lea	rax, -262160[rbp]
	mov	QWORD PTR -524392[rbp], rax
	mov	edx, DWORD PTR -524424[rbp]
	lea	rax, -524416[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	deflate@PLT
	mov	DWORD PTR -524428[rbp], eax
	cmp	DWORD PTR -524428[rbp], -2
	jne	.L7
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 42
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L7:
	mov	edx, DWORD PTR -524384[rbp]
	mov	eax, 262144
	sub	eax, edx
	mov	DWORD PTR -524420[rbp], eax
	mov	edx, DWORD PTR -524420[rbp]
	mov	rcx, QWORD PTR -524448[rbp]
	lea	rax, -262160[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -524420[rbp]
	cmp	rax, rdx
	jne	.L8
	mov	rax, QWORD PTR -524448[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L9
.L8:
	lea	rax, -524416[rbp]
	mov	rdi, rax
	call	deflateEnd@PLT
	mov	eax, -1
	jmp	.L13
.L9:
	mov	eax, DWORD PTR -524384[rbp]
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR -524408[rbp]
	test	eax, eax
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 49
	lea	rsi, .LC1[rip]
	lea	rdi, .LC3[rip]
	call	__assert_fail@PLT
.L11:
	cmp	DWORD PTR -524424[rbp], 4
	jne	.L2
	cmp	DWORD PTR -524428[rbp], 1
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 53
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L12:
	lea	rax, -524416[rbp]
	mov	rdi, rax
	call	deflateEnd@PLT
	mov	eax, 0
.L13:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	def, .-def
	.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
	mov	rcx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR stdin[rip]
	mov	edx, 9
	mov	rsi, rcx
	mov	rdi, rax
	call	def
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 4
__PRETTY_FUNCTION__.0:
	.string	"def"
	.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	"173579475.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1.2.11\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/173579475.c\000"
	.align	2
.LC2:
	.ascii	"ret != Z_STREAM_ERROR\000"
	.align	2
.LC3:
	.ascii	"strm.avail_in == 0\000"
	.align	2
.LC4:
	.ascii	"ret == Z_STREAM_END\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	def
	.syntax unified
	.arm
	.fpu softvfp
	.type	def, %function
def:
	@ args = 0, pretend = 0, frame = 524376
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #524288
	sub	sp, sp, #92
	sub	r3, fp, #524288
	sub	r3, r3, #12
	str	r0, [r3, #-76]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	str	r1, [r3, #-80]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	str	r2, [r3, #-84]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-20]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r1, r3
	sub	r0, fp, #524288
	sub	r0, r0, #12
	sub	r0, r0, #60
	mov	r3, #56
	ldr	r2, .L15+4
	ldr	r1, [r1, #-84]
	bl	deflateInit_
	str	r0, [r4, #-72]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	cmp	r3, #0
	beq	.L2
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	b	.L13
.L2:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r0, fp, #524288
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-76]
	mov	r2, #262144
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #524288
	sub	r2, r2, #12
	str	r3, [r2, #-56]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-76]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	deflateEnd
	mvn	r3, #0
	b	.L13
.L4:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-76]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L5
	mov	r3, #4
	b	.L6
.L5:
	mov	r3, #0
.L6:
	sub	r2, fp, #524288
	sub	r2, r2, #12
	str	r3, [r2, #-68]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-60]
.L10:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #262144
	str	r3, [r2, #-44]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #262144
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-48]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #60
	ldr	r1, [r2, #-68]
	mov	r0, r3
	bl	deflate
	str	r0, [r4, #-72]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	cmn	r3, #2
	bne	.L7
	ldr	r3, .L15+8
	mov	r2, #42
	ldr	r1, .L15+12
	ldr	r0, .L15+16
	bl	__assert_fail
.L7:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	sub	r2, fp, #524288
	sub	r2, r2, #12
	rsb	r3, r3, #262144
	str	r3, [r2, #-64]
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r2, fp, #524288
	sub	r2, r2, #12
	sub	r0, fp, #262144
	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, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	cmp	r3, r2
	bne	.L8
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r0, [r3, #-80]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
.L8:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	deflateEnd
	mvn	r3, #0
	b	.L13
.L9:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	beq	.L10
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L15+8
	mov	r2, #49
	ldr	r1, .L15+12
	ldr	r0, .L15+20
	bl	__assert_fail
.L11:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-68]
	cmp	r3, #4
	bne	.L2
	sub	r3, fp, #524288
	sub	r3, r3, #12
	ldr	r3, [r3, #-72]
	cmp	r3, #1
	beq	.L12
	ldr	r3, .L15+8
	mov	r2, #53
	ldr	r1, .L15+12
	ldr	r0, .L15+24
	bl	__assert_fail
.L12:
	sub	r3, fp, #524288
	sub	r3, r3, #12
	sub	r3, r3, #60
	mov	r0, r3
	bl	deflateEnd
	mov	r3, #0
.L13:
	ldr	r2, .L15
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC5
	.word	.LC0
	.word	__PRETTY_FUNCTION__.5742
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	def, .-def
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L19
	ldr	r3, [r3]
	ldr	r2, .L19+4
	ldr	r1, [r2]
	mov	r2, #9
	mov	r0, r3
	bl	def
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	stdin
	.word	stdout
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5742, %object
	.size	__PRETTY_FUNCTION__.5742, 4
__PRETTY_FUNCTION__.5742:
	.ascii	"def\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
