	.file	"53581.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"usage: lzma2eva <loadadddr> <entry> <lzmafile> <evafile>\n"
	.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
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.globl	pexit
	.type	pexit, @function
pexit:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	pexit, .-pexit
	.section	.rodata
.LC1:
	.string	"rb"
.LC2:
	.string	"fopen"
.LC3:
	.string	"w+b"
.LC4:
	.string	"fread"
.LC5:
	.string	"fwrite"
.LC6:
	.string	"fgetpos"
.LC7:
	.string	"fsetpos"
.LC8:
	.string	"fseek"
.LC9:
	.string	"fclose"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -144[rbp], -18017663
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -136[rbp], 0
	mov	DWORD PTR -132[rbp], 123339265
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	crc32@PLT
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	cmp	DWORD PTR -164[rbp], 5
	je	.L4
	call	usage
.L4:
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	DWORD PTR -136[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	strtoul@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR 32[rax]
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L5
	lea	rdi, .LC2[rip]
	call	pexit
.L5:
	mov	rax, QWORD PTR -80[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L6
	lea	rdi, .LC2[rip]
	call	pexit
.L6:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -149[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L7
	lea	rdi, .LC4[rip]
	call	pexit
.L7:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -148[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L8
	lea	rdi, .LC4[rip]
	call	pexit
.L8:
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -104[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fread@PLT
	cmp	rax, 1
	je	.L9
	lea	rdi, .LC4[rip]
	call	pexit
.L9:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -144[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L10
	lea	rdi, .LC5[rip]
	call	pexit
.L10:
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fgetpos@PLT
	test	eax, eax
	je	.L11
	lea	rdi, .LC6[rip]
	call	pexit
.L11:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -140[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L12
	lea	rdi, .LC5[rip]
	call	pexit
.L12:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -136[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L13
	lea	rdi, .LC5[rip]
	call	pexit
.L13:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -132[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L14
	lea	rdi, .LC5[rip]
	call	pexit
.L14:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fgetpos@PLT
	test	eax, eax
	je	.L15
	lea	rdi, .LC6[rip]
	call	pexit
.L15:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -124[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L16
	lea	rdi, .LC5[rip]
	call	pexit
.L16:
	mov	rax, QWORD PTR -104[rbp]
	mov	DWORD PTR -120[rbp], eax
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -120[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L17
	lea	rdi, .LC5[rip]
	call	pexit
.L17:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -116[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L18
	lea	rdi, .LC5[rip]
	call	pexit
.L18:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -149[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L19
	lea	rdi, .LC5[rip]
	call	pexit
.L19:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -148[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L20
	lea	rdi, .LC5[rip]
	call	pexit
.L20:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 3
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L22
	lea	rdi, .LC5[rip]
	call	pexit
	jmp	.L22
.L24:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -124[rbp]
	add	eax, edx
	mov	DWORD PTR -124[rbp], eax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fwrite@PLT
	cmp	QWORD PTR -56[rbp], rax
	je	.L23
	lea	rdi, .LC5[rip]
	call	pexit
.L23:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -116[rbp]
	mov	eax, eax
	lea	rsi, buf.0[rip]
	mov	rdi, rax
	call	crc32@PLT
	mov	DWORD PTR -116[rbp], eax
.L22:
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rax
	mov	edx, 4096
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fread@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L24
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L25
	lea	rdi, .LC4[rip]
	call	pexit
.L25:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR -124[rbp]
	add	eax, 24
	mov	DWORD PTR -140[rbp], eax
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fsetpos@PLT
	test	eax, eax
	je	.L26
	lea	rdi, .LC7[rip]
	call	pexit
.L26:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -140[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L27
	lea	rdi, .LC5[rip]
	call	pexit
.L27:
	lea	rdx, -32[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fsetpos@PLT
	test	eax, eax
	je	.L28
	lea	rdi, .LC7[rip]
	call	pexit
.L28:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -124[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L29
	lea	rdi, .LC5[rip]
	call	pexit
.L29:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -120[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L30
	lea	rdi, .LC5[rip]
	call	pexit
.L30:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -116[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L31
	lea	rdi, .LC5[rip]
	call	pexit
.L31:
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR -140[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	mov	edx, DWORD PTR -128[rbp]
	mov	eax, DWORD PTR -136[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -132[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -132[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -132[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -132[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -124[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -124[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -124[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -124[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -120[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -120[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -120[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -120[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -116[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -116[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -116[rbp]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	lea	rax, -116[rbp]
	add	rax, 3
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L33
	lea	rdi, .LC8[rip]
	call	pexit
	jmp	.L33
.L36:
	mov	QWORD PTR -96[rbp], 0
	jmp	.L34
.L35:
	lea	rdx, buf.0[rip]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	mov	DWORD PTR -128[rbp], eax
	add	QWORD PTR -96[rbp], 1
.L34:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -56[rbp]
	jb	.L35
.L33:
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 4096
	mov	esi, 1
	lea	rdi, buf.0[rip]
	call	fread@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L36
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L37
	lea	rdi, .LC4[rip]
	call	pexit
.L37:
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	fseek@PLT
	test	eax, eax
	je	.L38
	lea	rdi, .LC8[rip]
	call	pexit
.L38:
	mov	eax, DWORD PTR -128[rbp]
	neg	eax
	mov	DWORD PTR -128[rbp], eax
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L39
	lea	rdi, .LC5[rip]
	call	pexit
.L39:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -112[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L40
	lea	rdi, .LC5[rip]
	call	pexit
.L40:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -108[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	fwrite@PLT
	cmp	rax, 1
	je	.L41
	lea	rdi, .LC5[rip]
	call	pexit
.L41:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L42
	lea	rdi, .LC9[rip]
	call	pexit
.L42:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.local	buf.0
	.comm	buf.0,4096,32
	.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	"53581.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"usage: lzma2eva <loadadddr> <entry> <lzmafile> <eva"
	.ascii	"file>\012\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	r3, .L2
	ldr	r3, [r3]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L2+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	usage, .-usage
	.align	2
	.global	pexit
	.syntax unified
	.arm
	.fpu softvfp
	.type	pexit, %function
pexit:
	@ 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	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
	.size	pexit, .-pexit
	.section	.rodata
	.align	2
.LC1:
	.ascii	"rb\000"
	.align	2
.LC2:
	.ascii	"fopen\000"
	.align	2
.LC3:
	.ascii	"w+b\000"
	.align	2
.LC4:
	.ascii	"fread\000"
	.align	2
.LC5:
	.ascii	"fwrite\000"
	.align	2
.LC6:
	.ascii	"fgetpos\000"
	.align	2
.LC7:
	.ascii	"fsetpos\000"
	.align	2
.LC8:
	.ascii	"fseek\000"
	.align	2
.LC9:
	.ascii	"fclose\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 120
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #120
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L47
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L47+4
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-104]
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r3, .L47+8
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	crc32
	mov	r3, r0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-120]
	cmp	r3, #5
	beq	.L6
	bl	usage
.L6:
	ldr	r3, [fp, #-124]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-124]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	strtoul
	mov	r3, r0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-124]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-60]
	ldr	r1, .L47+12
	ldr	r0, [fp, #-64]
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L47+16
	bl	pexit
.L7:
	ldr	r1, .L47+20
	ldr	r0, [fp, #-60]
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L47+16
	bl	pexit
.L8:
	sub	r0, fp, #113
	ldr	r3, [fp, #-56]
	mov	r2, #1
	mov	r1, #1
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L9
	ldr	r0, .L47+24
	bl	pexit
.L9:
	sub	r0, fp, #112
	ldr	r3, [fp, #-56]
	mov	r2, #1
	mov	r1, #4
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L10
	ldr	r0, .L47+24
	bl	pexit
.L10:
	sub	r0, fp, #44
	ldr	r3, [fp, #-56]
	mov	r2, #1
	mov	r1, #8
	bl	fread
	mov	r3, r0
	cmp	r3, #1
	beq	.L11
	ldr	r0, .L47+24
	bl	pexit
.L11:
	sub	r0, fp, #108
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L12
	ldr	r0, .L47+28
	bl	pexit
.L12:
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	fgetpos
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r0, .L47+32
	bl	pexit
.L13:
	sub	r0, fp, #104
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L14
	ldr	r0, .L47+28
	bl	pexit
.L14:
	sub	r0, fp, #100
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L15
	ldr	r0, .L47+28
	bl	pexit
.L15:
	sub	r0, fp, #96
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L16
	ldr	r0, .L47+28
	bl	pexit
.L16:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	fgetpos
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L47+32
	bl	pexit
.L17:
	sub	r0, fp, #88
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L18
	ldr	r0, .L47+28
	bl	pexit
.L18:
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	mov	r3, r2
	str	r3, [fp, #-84]
	sub	r0, fp, #84
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L19
	ldr	r0, .L47+28
	bl	pexit
.L19:
	sub	r0, fp, #80
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L20
	ldr	r0, .L47+28
	bl	pexit
.L20:
	sub	r0, fp, #113
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #1
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L21
	ldr	r0, .L47+28
	bl	pexit
.L21:
	sub	r0, fp, #112
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L22
	ldr	r0, .L47+28
	bl	pexit
.L22:
	sub	r0, fp, #76
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #3
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L24
	ldr	r0, .L47+28
	bl	pexit
	b	.L24
.L26:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	mov	r1, #1
	ldr	r0, .L47+36
	bl	fwrite
	mov	r2, r0
	ldr	r3, [fp, #-48]
	cmp	r3, r2
	beq	.L25
	ldr	r0, .L47+28
	bl	pexit
.L25:
	ldr	r3, [fp, #-80]
	ldr	r2, [fp, #-48]
	ldr	r1, .L47+36
	mov	r0, r3
	bl	crc32
	mov	r3, r0
	str	r3, [fp, #-80]
.L24:
	ldr	r3, [fp, #-56]
	mov	r2, #4096
	mov	r1, #1
	ldr	r0, .L47+36
	bl	fread
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L26
	ldr	r0, [fp, #-56]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	ldr	r0, .L47+24
	bl	pexit
.L27:
	ldr	r0, [fp, #-56]
	bl	fclose
	ldr	r3, [fp, #-88]
	add	r3, r3, #24
	str	r3, [fp, #-104]
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	fsetpos
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L47+40
	bl	pexit
.L28:
	sub	r0, fp, #104
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L29
	ldr	r0, .L47+28
	bl	pexit
.L29:
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	fsetpos
	mov	r3, r0
	cmp	r3, #0
	beq	.L30
	ldr	r0, .L47+40
	bl	pexit
.L30:
	sub	r0, fp, #88
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L31
	ldr	r0, .L47+28
	bl	pexit
.L31:
	sub	r0, fp, #84
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L32
	ldr	r0, .L47+28
	bl	pexit
.L32:
	sub	r0, fp, #80
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L33
	ldr	r0, .L47+28
	bl	pexit
.L33:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #96
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #96
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #96
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #96
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #88
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #88
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #88
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #88
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #84
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #84
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #84
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #84
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #80
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #80
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #80
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	sub	r3, fp, #80
	add	r3, r3, #3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r0, .L47+44
	bl	pexit
	b	.L35
.L38:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L36
.L37:
	ldr	r2, .L47+36
	ldr	r3, [fp, #-68]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-92]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L36:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	bcc	.L37
.L35:
	ldr	r3, [fp, #-52]
	mov	r2, #4096
	mov	r1, #1
	ldr	r0, .L47+36
	bl	fread
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L38
	ldr	r0, [fp, #-52]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r0, .L47+24
	bl	pexit
.L39:
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	fseek
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r0, .L47+44
	bl	pexit
.L40:
	ldr	r3, [fp, #-92]
	rsb	r3, r3, #0
	str	r3, [fp, #-92]
	sub	r0, fp, #92
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L41
	ldr	r0, .L47+28
	bl	pexit
.L41:
	sub	r0, fp, #76
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L42
	ldr	r0, .L47+28
	bl	pexit
.L42:
	sub	r0, fp, #72
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #4
	bl	fwrite
	mov	r3, r0
	cmp	r3, #1
	beq	.L43
	ldr	r0, .L47+28
	bl	pexit
.L43:
	ldr	r0, [fp, #-52]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r0, .L47+48
	bl	pexit
.L44:
	mov	r3, #0
	ldr	r2, .L47
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	.LC10
	.word	-18017663
	.word	123339265
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	buf.6092
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.local	buf.6092
	.comm	buf.6092,4096,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
