	.file	"890037.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: minibz2 [-d] [-{1,2,..9}] [[srcfilename] destfilename]"
	.text
	.globl	usage
	.type	usage, @function
usage:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.section	.rodata
.LC1:
	.string	"wb"
.LC2:
	.string	"can't open [%s]\n"
.LC3:
	.string	"reason:"
.LC4:
	.string	"rb"
.LC5:
	.string	"can't bz2openstream"
	.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, 4096
	or	QWORD PTR [rsp], 0
	add	rsp, -128
	mov	DWORD PTR -4212[rbp], edi
	mov	QWORD PTR -4224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4196[rbp], 0
	mov	DWORD PTR -4192[rbp], 9
	mov	QWORD PTR -4184[rbp], 0
	mov	QWORD PTR -4176[rbp], 0
	jmp	.L3
.L11:
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L4
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L5
.L4:
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	mov	QWORD PTR -4168[rbp], rax
	jmp	.L6
.L10:
	mov	rax, QWORD PTR -4168[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 100
	jne	.L7
	mov	DWORD PTR -4196[rbp], 1
	jmp	.L8
.L7:
	mov	rax, QWORD PTR -4168[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jle	.L9
	mov	rax, QWORD PTR -4168[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 57
	jg	.L9
	mov	rax, QWORD PTR -4168[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	mov	DWORD PTR -4192[rbp], eax
	jmp	.L8
.L9:
	call	usage
	mov	edi, 1
	call	exit@PLT
.L8:
	add	QWORD PTR -4168[rbp], 1
.L6:
	mov	rax, QWORD PTR -4168[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L10
.L3:
	add	QWORD PTR -4224[rbp], 8
	sub	DWORD PTR -4212[rbp], 1
	cmp	DWORD PTR -4212[rbp], 0
	jne	.L11
.L5:
	cmp	DWORD PTR -4212[rbp], 0
	jle	.L12
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -4184[rbp], rax
	sub	DWORD PTR -4212[rbp], 1
	add	QWORD PTR -4224[rbp], 8
	jmp	.L13
.L12:
	mov	QWORD PTR -4184[rbp], 0
.L13:
	cmp	DWORD PTR -4212[rbp], 0
	jle	.L14
	mov	rax, QWORD PTR -4224[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -4176[rbp], rax
	sub	DWORD PTR -4212[rbp], 1
	add	QWORD PTR -4224[rbp], 8
	jmp	.L15
.L14:
	mov	QWORD PTR -4176[rbp], 0
.L15:
	cmp	DWORD PTR -4196[rbp], 0
	je	.L16
	mov	QWORD PTR -4160[rbp], 0
	mov	QWORD PTR -4152[rbp], 0
	cmp	QWORD PTR -4176[rbp], 0
	je	.L17
	mov	rax, QWORD PTR -4176[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4152[rbp], rax
	cmp	QWORD PTR -4152[rbp], 0
	jne	.L18
	mov	rax, QWORD PTR -4176[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -4152[rbp], rax
.L18:
	cmp	QWORD PTR -4184[rbp], 0
	jne	.L19
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	lea	rsi, .LC4[rip]
	mov	edi, eax
	call	BZ2_bzdopen@PLT
	mov	QWORD PTR -4160[rbp], rax
	cmp	QWORD PTR -4160[rbp], 0
	je	.L20
.L19:
	cmp	QWORD PTR -4184[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -4184[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	BZ2_bzopen@PLT
	mov	QWORD PTR -4160[rbp], rax
	cmp	QWORD PTR -4160[rbp], 0
	jne	.L22
.L20:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L23:
	mov	eax, DWORD PTR -4188[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -4152[rbp]
	lea	rax, -4112[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L22:
	lea	rcx, -4112[rbp]
	mov	rax, QWORD PTR -4160[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	rdi, rax
	call	BZ2_bzread@PLT
	mov	DWORD PTR -4188[rbp], eax
	cmp	DWORD PTR -4188[rbp], 0
	jg	.L23
	mov	rax, QWORD PTR -4160[rbp]
	mov	rdi, rax
	call	BZ2_bzclose@PLT
	mov	rax, QWORD PTR stdout[rip]
	cmp	QWORD PTR -4152[rbp], rax
	je	.L24
	mov	rax, QWORD PTR -4152[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L24
.L16:
	mov	QWORD PTR -4144[rbp], 0
	mov	QWORD PTR -4136[rbp], 0
	cmp	QWORD PTR -4184[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -4184[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -4136[rbp], rax
	cmp	QWORD PTR -4136[rbp], 0
	jne	.L26
	mov	rax, QWORD PTR -4184[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -4136[rbp], rax
.L26:
	mov	BYTE PTR -4122[rbp], 119
	mov	eax, DWORD PTR -4192[rbp]
	add	eax, 48
	mov	BYTE PTR -4121[rbp], al
	mov	BYTE PTR -4120[rbp], 0
	cmp	QWORD PTR -4176[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edx, eax
	lea	rax, -4122[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	BZ2_bzdopen@PLT
	mov	QWORD PTR -4144[rbp], rax
	cmp	QWORD PTR -4144[rbp], 0
	je	.L28
.L27:
	cmp	QWORD PTR -4176[rbp], 0
	je	.L30
	lea	rdx, -4122[rbp]
	mov	rax, QWORD PTR -4176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	BZ2_bzopen@PLT
	mov	QWORD PTR -4144[rbp], rax
	cmp	QWORD PTR -4144[rbp], 0
	jne	.L30
.L28:
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L31:
	mov	edx, DWORD PTR -4188[rbp]
	lea	rcx, -4112[rbp]
	mov	rax, QWORD PTR -4144[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	BZ2_bzwrite@PLT
.L30:
	mov	rdx, QWORD PTR -4136[rbp]
	lea	rax, -4112[rbp]
	mov	rcx, rdx
	mov	edx, 4096
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	mov	DWORD PTR -4188[rbp], eax
	cmp	DWORD PTR -4188[rbp], 0
	jg	.L31
	mov	rax, QWORD PTR -4144[rbp]
	mov	rdi, rax
	call	BZ2_bzclose@PLT
	mov	rax, QWORD PTR stdin[rip]
	cmp	QWORD PTR -4136[rbp], rax
	je	.L24
	mov	rax, QWORD PTR -4136[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L24:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L33
	call	__stack_chk_fail@PLT
.L33:
	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	"890037.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: minibz2 [-d] [-{1,2,..9}] [[srcfilename] des"
	.ascii	"tfilename]\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	usage, .-usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"wb\000"
	.align	2
.LC2:
	.ascii	"can't open [%s]\012\000"
	.align	2
.LC3:
	.ascii	"reason:\000"
	.align	2
.LC4:
	.ascii	"rb\000"
	.align	2
.LC5:
	.ascii	"can't bz2openstream\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4160
	sub	sp, sp, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-64]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-56]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #9
	str	r3, [r2, #-52]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
	b	.L5
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L7
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	add	r3, r3, #1
	str	r3, [r2, #-40]
	b	.L8
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-56]
	b	.L10
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bls	.L11
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L11
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r3, r3, #48
	str	r3, [r2, #-52]
	b	.L10
.L11:
	bl	usage
	mov	r0, #1
	bl	exit
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, #1
	str	r3, [r2, #-40]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #4
	str	r3, [r2, #-64]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	sub	r3, r3, #1
	str	r3, [r2, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	cmp	r3, #0
	bne	.L13
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	cmp	r3, #0
	ble	.L14
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3]
	str	r3, [r2, #-48]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	sub	r3, r3, #1
	str	r3, [r2, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #4
	str	r3, [r2, #-64]
	b	.L15
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-48]
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	cmp	r3, #0
	ble	.L16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	ldr	r3, [r3]
	str	r3, [r2, #-44]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-60]
	sub	r3, r3, #1
	str	r3, [r2, #-60]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-64]
	add	r3, r3, #4
	str	r3, [r2, #-64]
	b	.L17
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-44]
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-56]
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	beq	.L19
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L36+4
	ldr	r0, [r3, #-44]
	bl	fopen
	str	r0, [r4, #-32]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	cmp	r3, #0
	bne	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-44]
	ldr	r0, .L36+8
	bl	printf
	ldr	r0, .L36+12
	bl	perror
	mov	r0, #1
	bl	exit
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L36+16
	ldr	r3, [r3]
	str	r3, [r2, #-32]
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	bne	.L21
	ldr	r3, .L36+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L36+24
	mov	r0, r3
	bl	BZ2_bzdopen
	str	r0, [r4, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	beq	.L22
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L36+24
	ldr	r0, [r3, #-48]
	bl	BZ2_bzopen
	str	r0, [r4, #-36]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	cmp	r3, #0
	bne	.L24
.L22:
	ldr	r0, .L36+28
	bl	puts
	mov	r0, #1
	bl	exit
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-32]
	mov	r1, #1
	bl	fwrite
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4096
	mov	r1, r3
	ldr	r0, [r0, #-36]
	bl	BZ2_bzread
	str	r0, [r4, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bgt	.L25
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-36]
	bl	BZ2_bzclose
	ldr	r3, .L36+16
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-32]
	cmp	r2, r3
	beq	.L26
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-32]
	bl	fclose
	b	.L26
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-48]
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L36+24
	ldr	r0, [r3, #-48]
	bl	fopen
	str	r0, [r4, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-48]
	ldr	r0, .L36+8
	bl	printf
	ldr	r0, .L36+12
	bl	perror
	mov	r0, #1
	bl	exit
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L36+20
	ldr	r3, [r3]
	str	r3, [r2, #-24]
.L28:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #119
	strb	r2, [r3, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-52]
	and	r3, r3, #255
	add	r3, r3, #48
	and	r2, r3, #255
	sub	r3, fp, #4096
	sub	r3, r3, #12
	strb	r2, [r3, #-15]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-14]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L36+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #16
	mov	r1, r3
	mov	r0, r2
	bl	BZ2_bzdopen
	str	r0, [r4, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	beq	.L30
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-44]
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-44]
	bl	BZ2_bzopen
	str	r0, [r4, #-28]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	bne	.L32
.L30:
	ldr	r0, .L36+28
	bl	puts
	mov	r0, #1
	bl	exit
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-20]
	mov	r1, r3
	ldr	r0, [r0, #-28]
	bl	BZ2_bzwrite
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	sub	r0, r0, #4
	ldr	r3, [r3, #-24]
	mov	r2, #4096
	mov	r1, #1
	bl	fread
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	cmp	r3, #0
	bgt	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-28]
	bl	BZ2_bzclose
	ldr	r3, .L36+20
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	cmp	r2, r3
	beq	.L26
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-24]
	bl	fclose
.L26:
	mov	r3, #0
	ldr	r2, .L36
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L35
	bl	__stack_chk_fail
.L35:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	stdout
	.word	stdin
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
