	.file	"915381.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"----------------------------------------------------------------------\n"
	.align 8
.LC1:
	.string	"xe-readbinary3 v 1: 16.September.2015 [JRH]"
.LC2:
	.string	"%s\n"
	.align 8
.LC3:
	.string	"Extract values from a simple binary file\n"
	.align 8
.LC4:
	.string	"Assumes data (numbers) are all of the same type\n"
	.align 8
.LC5:
	.string	"Allows for presence of a single header\n"
	.align 8
.LC6:
	.string	"Allows extraction of a chunk starting at a particular element\n"
	.align 8
.LC7:
	.string	"Data is processed in chunks: reduced memory load but reduced speed\n"
.LC8:
	.string	"USAGE:\n"
.LC9:
	.string	"xe-readbinary3"
.LC10:
	.string	"\t%s [input] [options]\n"
.LC11:
	.string	"\t[input]: file name\n"
	.align 8
.LC12:
	.string	"VALID OPTIONS, defaults in []:\n"
.LC13:
	.string	"\t-dt: data type [%d]\n"
.LC14:
	.string	"\t\t0: unsigned char\n"
.LC15:
	.string	"\t\t1: signed char\n"
.LC16:
	.string	"\t\t2: unsigned short\n"
.LC17:
	.string	"\t\t3: signed short\n"
.LC18:
	.string	"\t\t4: unsigned int\n"
.LC19:
	.string	"\t\t5: signed int\n"
.LC20:
	.string	"\t\t6: unsigned long\n"
.LC21:
	.string	"\t\t7: signed long\n"
.LC22:
	.string	"\t\t8: float\n"
.LC23:
	.string	"\t\t9: double\n"
	.align 8
.LC24:
	.string	"\t-out: set output type, -1 (ASCII) or 3,5,7,8,9 as above [%d]\n"
	.align 8
.LC25:
	.string	"\t-b: data block size (numbers to read at a time) [%ld]\n"
	.align 8
.LC26:
	.string	"\t-h: size of header (bytes) excluded from output [%ld]\n"
	.align 8
.LC27:
	.string	"\t-s: start reading at this element (zero-offset) [%ld]\n"
	.align 8
.LC28:
	.string	"\t-n: number of elements to read (0=all) [%ld]\n"
	.align 8
.LC29:
	.string	"\t\tNOTE: -s and -n will be internally converted to bytes\n"
	.align 8
.LC30:
	.string	"\t-v set verbose mode (0=data only, 1=stderr-report, 2=logfile) [%d]\n"
.LC31:
	.string	"EXAMPLES:\n"
	.align 8
.LC32:
	.string	"\t%s data.txt -h 500 -s 0 -n 1000 \n"
.LC33:
	.string	"\tcat temp.txt | %s stdin \n"
.LC34:
	.string	"OUTPUT:\n"
	.align 8
.LC35:
	.string	"\tASCII numbers representing the data\n"
.LC36:
	.string	"%s"
	.align 8
.LC37:
	.string	"\n--- Error [%s]: missing value for argument \"%s\"\n\n"
.LC38:
	.string	"-dt"
.LC39:
	.string	"-out"
.LC40:
	.string	"-b"
.LC41:
	.string	"-h"
.LC42:
	.string	"-s"
.LC43:
	.string	"-n"
.LC44:
	.string	"-v"
	.align 8
.LC45:
	.string	"\n--- Error [%s]: invalid command line argument \"%s\"\n\n"
	.align 8
.LC46:
	.string	"\n--- Error [%s]: verbocity (-v %d) must be 0-2 \n\n"
	.align 8
.LC47:
	.string	"\n--- Error [%s]: output type (-out %d) must be -1,3,5,7,8 or 9\n\n"
	.align 8
.LC48:
	.string	"\n--- Error [%s]: data type (-t %d) must be 0-9 \n\n"
	.align 8
.LC51:
	.string	"\n--- Error [%s]: insufficient memory\n\n"
.LC52:
	.string	"stdin"
.LC53:
	.string	"rb"
	.align 8
.LC54:
	.string	"\n--- Error [%s]: file \"%s\" not found\n\n"
	.align 8
.LC55:
	.string	"\n--- Error [%s]:  problem reading binary file (errno=%d)\n\n"
.LC56:
	.string	"\n\t--- %s/%s\n\n"
.LC57:
	.string	"%g\n"
.LC58:
	.string	"total_read: %ld\n"
.LC59:
	.string	"temp_%s.log"
.LC60:
	.string	"w"
	.align 8
.LC61:
	.string	"\n--- Error [%s]: log file \"%s\" could not be created\n\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2240
	mov	DWORD PTR -2228[rbp], edi
	mov	QWORD PTR -2240[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2096[rbp], 0
	mov	QWORD PTR -2184[rbp], 0
	mov	QWORD PTR -2176[rbp], 0
	mov	QWORD PTR -2168[rbp], 0
	mov	QWORD PTR -2160[rbp], 0
	mov	QWORD PTR -2152[rbp], 0
	mov	DWORD PTR -2216[rbp], 0
	mov	DWORD PTR -2212[rbp], -1
	mov	DWORD PTR -2208[rbp], 0
	mov	QWORD PTR -2128[rbp], 0
	mov	QWORD PTR -2120[rbp], 0
	mov	QWORD PTR -2112[rbp], 0
	mov	QWORD PTR -2104[rbp], 1000
	cmp	DWORD PTR -2228[rbp], 1
	jg	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC1[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 41
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 48
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 62
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 67
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2216[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC16[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 16
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2212[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2104[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2128[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2120[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2112[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 56
	mov	esi, 1
	lea	rdi, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2208[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 10
	mov	esi, 1
	lea	rdi, .LC31[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC34[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC35[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 71
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1520[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	QWORD PTR -2200[rbp], 2
	jmp	.L3
.L13:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L4
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -2228[rbp]
	cdqe
	cmp	rdx, rax
	jb	.L5
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2216[rbp], eax
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2212[rbp], eax
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2104[rbp], rax
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2128[rbp], rax
	jmp	.L4
.L9:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2120[rbp], rax
	jmp	.L4
.L10:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2112[rbp], rax
	jmp	.L4
.L11:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L12
	add	QWORD PTR -2200[rbp], 1
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2208[rbp], eax
	jmp	.L4
.L12:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2240[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	add	QWORD PTR -2200[rbp], 1
.L3:
	mov	eax, DWORD PTR -2228[rbp]
	cdqe
	cmp	QWORD PTR -2200[rbp], rax
	jb	.L13
	cmp	DWORD PTR -2208[rbp], 0
	js	.L14
	cmp	DWORD PTR -2208[rbp], 2
	jle	.L15
.L14:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2208[rbp]
	mov	ecx, edx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	cmp	DWORD PTR -2212[rbp], -1
	je	.L16
	cmp	DWORD PTR -2212[rbp], 3
	je	.L16
	cmp	DWORD PTR -2212[rbp], 5
	je	.L16
	cmp	DWORD PTR -2212[rbp], 7
	je	.L16
	cmp	DWORD PTR -2212[rbp], 8
	je	.L16
	cmp	DWORD PTR -2212[rbp], 9
	je	.L16
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2208[rbp]
	mov	ecx, edx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	cmp	DWORD PTR -2216[rbp], 0
	je	.L17
	cmp	DWORD PTR -2216[rbp], 1
	jne	.L18
.L17:
	mov	QWORD PTR -2144[rbp], 1
	jmp	.L19
.L18:
	cmp	DWORD PTR -2216[rbp], 2
	je	.L20
	cmp	DWORD PTR -2216[rbp], 3
	jne	.L21
.L20:
	mov	QWORD PTR -2144[rbp], 2
	jmp	.L19
.L21:
	cmp	DWORD PTR -2216[rbp], 4
	je	.L22
	cmp	DWORD PTR -2216[rbp], 5
	jne	.L23
.L22:
	mov	QWORD PTR -2144[rbp], 4
	jmp	.L19
.L23:
	cmp	DWORD PTR -2216[rbp], 6
	je	.L24
	cmp	DWORD PTR -2216[rbp], 7
	jne	.L25
.L24:
	mov	QWORD PTR -2144[rbp], 8
	jmp	.L19
.L25:
	cmp	DWORD PTR -2216[rbp], 8
	jne	.L26
	mov	QWORD PTR -2144[rbp], 4
	jmp	.L19
.L26:
	cmp	DWORD PTR -2216[rbp], 9
	jne	.L27
	mov	QWORD PTR -2144[rbp], 8
	jmp	.L19
.L27:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2216[rbp]
	mov	ecx, edx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	rax, QWORD PTR -2104[rbp]
	imul	rax, QWORD PTR -2144[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, rax
	movsd	xmm0, QWORD PTR .LC49[rip]
	addsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR .LC50[rip]
	jnb	.L28
	cvttsd2si	rax, xmm0
	jmp	.L29
.L28:
	movsd	xmm1, QWORD PTR .LC50[rip]
	subsd	xmm0, xmm1
	cvttsd2si	rax, xmm0
	movabs	rdx, -9223372036854775808
	xor	rax, rdx
.L29:
	mov	QWORD PTR -2088[rbp], rax
	mov	eax, DWORD PTR -2216[rbp]
	cdqe
	mov	QWORD PTR -2032[rbp], rax
	mov	rax, QWORD PTR -2144[rbp]
	mov	QWORD PTR -2024[rbp], rax
	mov	rax, QWORD PTR -2104[rbp]
	mov	QWORD PTR -2016[rbp], rax
	mov	QWORD PTR -2008[rbp], 0
	mov	rdx, QWORD PTR -2088[rbp]
	mov	rax, QWORD PTR -2096[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2096[rbp], rax
	cmp	QWORD PTR -2096[rbp], 0
	jne	.L30
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	QWORD PTR -2136[rbp], 0
	mov	QWORD PTR -2080[rbp], 0
	lea	rax, -1520[rbp]
	lea	rsi, .LC52[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -2192[rbp], rax
	jmp	.L32
.L31:
	lea	rax, -1520[rbp]
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2192[rbp], rax
	cmp	QWORD PTR -2192[rbp], 0
	jne	.L32
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1520[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	rax, QWORD PTR -2120[rbp]
	imul	rax, QWORD PTR -2144[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -2128[rbp]
	add	rax, rdx
	mov	QWORD PTR -2072[rbp], rax
	cmp	QWORD PTR -2072[rbp], 0
	jle	.L33
	mov	rcx, QWORD PTR -2072[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	fseeko@PLT
	test	eax, eax
	je	.L33
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	ferror@PLT
	mov	edx, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L95
	jmp	.L96
.L33:
	cmp	DWORD PTR -2212[rbp], -1
	jne	.L35
	mov	rax, QWORD PTR -2104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2152[rbp], rax
	cmp	QWORD PTR -2152[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	lea	rdi, -1008[rbp]
	lea	rcx, -2032[rbp]
	mov	rdx, QWORD PTR -2152[rbp]
	mov	rsi, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin1_d@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L38
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	rax, QWORD PTR -2064[rbp]
	add	QWORD PTR -2136[rbp], rax
	cmp	QWORD PTR -2064[rbp], 0
	je	.L97
	cmp	QWORD PTR -2112[rbp], 0
	jle	.L40
	mov	rax, QWORD PTR -2136[rbp]
	cmp	rax, QWORD PTR -2112[rbp]
	jl	.L40
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, QWORD PTR -2064[rbp]
	mov	QWORD PTR -2056[rbp], rax
	mov	rax, QWORD PTR -2112[rbp]
	sub	rax, QWORD PTR -2056[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	QWORD PTR -2200[rbp], 0
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC57[rip]
	mov	eax, 1
	call	printf@PLT
	add	QWORD PTR -2200[rbp], 1
.L41:
	mov	rax, QWORD PTR -2200[rbp]
	cmp	rax, QWORD PTR -2048[rbp]
	jb	.L42
	mov	rdx, QWORD PTR -2056[rbp]
	mov	rax, QWORD PTR -2048[rbp]
	add	rax, rdx
	mov	QWORD PTR -2136[rbp], rax
	jmp	.L35
.L40:
	mov	QWORD PTR -2200[rbp], 0
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -2200[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2152[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC57[rip]
	mov	eax, 1
	call	printf@PLT
	add	QWORD PTR -2200[rbp], 1
.L43:
	mov	rax, QWORD PTR -2064[rbp]
	cmp	QWORD PTR -2200[rbp], rax
	jb	.L44
.L37:
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L45
	jmp	.L35
.L97:
	nop
.L35:
	cmp	DWORD PTR -2212[rbp], 3
	jne	.L46
	mov	rax, QWORD PTR -2104[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2184[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2184[rbp], rax
	cmp	QWORD PTR -2184[rbp], 0
	jne	.L48
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L53:
	lea	rdi, -1008[rbp]
	lea	rcx, -2032[rbp]
	mov	rdx, QWORD PTR -2184[rbp]
	mov	rsi, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin1_s@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L49
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L49:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	rax, QWORD PTR -2064[rbp]
	add	QWORD PTR -2136[rbp], rax
	cmp	QWORD PTR -2064[rbp], 0
	je	.L98
	cmp	QWORD PTR -2112[rbp], 0
	jle	.L51
	mov	rax, QWORD PTR -2136[rbp]
	cmp	rax, QWORD PTR -2112[rbp]
	jl	.L51
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, QWORD PTR -2064[rbp]
	mov	QWORD PTR -2056[rbp], rax
	mov	rax, QWORD PTR -2112[rbp]
	sub	rax, QWORD PTR -2056[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rdx, QWORD PTR -2048[rbp]
	mov	rsi, QWORD PTR -2184[rbp]
	mov	r8, rcx
	mov	ecx, 2
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L52
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L52:
	mov	rdx, QWORD PTR -2056[rbp]
	mov	rax, QWORD PTR -2048[rbp]
	add	rax, rdx
	mov	QWORD PTR -2136[rbp], rax
	jmp	.L46
.L51:
	mov	rdx, QWORD PTR -2064[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rsi, QWORD PTR -2184[rbp]
	mov	r8, rcx
	mov	ecx, 2
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L48
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L53
	jmp	.L46
.L98:
	nop
.L46:
	cmp	DWORD PTR -2212[rbp], 5
	jne	.L54
	mov	rax, QWORD PTR -2104[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2176[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2176[rbp], rax
	cmp	QWORD PTR -2176[rbp], 0
	jne	.L56
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L61:
	lea	rdi, -1008[rbp]
	lea	rcx, -2032[rbp]
	mov	rdx, QWORD PTR -2176[rbp]
	mov	rsi, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin1_i@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L57
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L57:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	rax, QWORD PTR -2064[rbp]
	add	QWORD PTR -2136[rbp], rax
	cmp	QWORD PTR -2064[rbp], 0
	je	.L99
	cmp	QWORD PTR -2112[rbp], 0
	jle	.L59
	mov	rax, QWORD PTR -2136[rbp]
	cmp	rax, QWORD PTR -2112[rbp]
	jl	.L59
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, QWORD PTR -2064[rbp]
	mov	QWORD PTR -2056[rbp], rax
	mov	rax, QWORD PTR -2112[rbp]
	sub	rax, QWORD PTR -2056[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rdx, QWORD PTR -2048[rbp]
	mov	rsi, QWORD PTR -2176[rbp]
	mov	r8, rcx
	mov	ecx, 4
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L60
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L60:
	mov	rdx, QWORD PTR -2056[rbp]
	mov	rax, QWORD PTR -2048[rbp]
	add	rax, rdx
	mov	QWORD PTR -2136[rbp], rax
	jmp	.L54
.L59:
	mov	rdx, QWORD PTR -2064[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rsi, QWORD PTR -2176[rbp]
	mov	r8, rcx
	mov	ecx, 4
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L56
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L56:
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L61
	jmp	.L54
.L99:
	nop
.L54:
	cmp	DWORD PTR -2212[rbp], 7
	jne	.L62
	mov	rax, QWORD PTR -2104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2168[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2168[rbp], rax
	cmp	QWORD PTR -2168[rbp], 0
	jne	.L64
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L69:
	lea	rdi, -1008[rbp]
	lea	rcx, -2032[rbp]
	mov	rdx, QWORD PTR -2168[rbp]
	mov	rsi, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin1_l@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L65
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L65:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	rax, QWORD PTR -2064[rbp]
	add	QWORD PTR -2136[rbp], rax
	cmp	QWORD PTR -2064[rbp], 0
	je	.L100
	cmp	QWORD PTR -2112[rbp], 0
	jle	.L67
	mov	rax, QWORD PTR -2136[rbp]
	cmp	rax, QWORD PTR -2112[rbp]
	jl	.L67
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, QWORD PTR -2064[rbp]
	mov	QWORD PTR -2056[rbp], rax
	mov	rax, QWORD PTR -2112[rbp]
	sub	rax, QWORD PTR -2056[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rdx, QWORD PTR -2048[rbp]
	mov	rsi, QWORD PTR -2168[rbp]
	mov	r8, rcx
	mov	ecx, 8
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L68
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L68:
	mov	rdx, QWORD PTR -2056[rbp]
	mov	rax, QWORD PTR -2048[rbp]
	add	rax, rdx
	mov	QWORD PTR -2136[rbp], rax
	jmp	.L62
.L67:
	mov	rdx, QWORD PTR -2064[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rsi, QWORD PTR -2168[rbp]
	mov	r8, rcx
	mov	ecx, 8
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L64
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L64:
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L69
	jmp	.L62
.L100:
	nop
.L62:
	cmp	DWORD PTR -2212[rbp], 8
	jne	.L70
	mov	rax, QWORD PTR -2104[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2160[rbp], rax
	cmp	QWORD PTR -2160[rbp], 0
	jne	.L72
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L77:
	lea	rdi, -1008[rbp]
	lea	rcx, -2032[rbp]
	mov	rdx, QWORD PTR -2160[rbp]
	mov	rsi, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin1_f@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L73
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L73:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	rax, QWORD PTR -2064[rbp]
	add	QWORD PTR -2136[rbp], rax
	cmp	QWORD PTR -2064[rbp], 0
	je	.L101
	cmp	QWORD PTR -2112[rbp], 0
	jle	.L75
	mov	rax, QWORD PTR -2136[rbp]
	cmp	rax, QWORD PTR -2112[rbp]
	jl	.L75
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, QWORD PTR -2064[rbp]
	mov	QWORD PTR -2056[rbp], rax
	mov	rax, QWORD PTR -2112[rbp]
	sub	rax, QWORD PTR -2056[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rdx, QWORD PTR -2048[rbp]
	mov	rsi, QWORD PTR -2160[rbp]
	mov	r8, rcx
	mov	ecx, 4
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L76
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L76:
	mov	rdx, QWORD PTR -2056[rbp]
	mov	rax, QWORD PTR -2048[rbp]
	add	rax, rdx
	mov	QWORD PTR -2136[rbp], rax
	jmp	.L70
.L75:
	mov	rdx, QWORD PTR -2064[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rsi, QWORD PTR -2160[rbp]
	mov	r8, rcx
	mov	ecx, 4
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L72
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L72:
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L77
	jmp	.L70
.L101:
	nop
.L70:
	cmp	DWORD PTR -2212[rbp], 9
	jne	.L78
	mov	rax, QWORD PTR -2104[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2152[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -2152[rbp], rax
	cmp	QWORD PTR -2152[rbp], 0
	jne	.L80
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC51[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L85:
	lea	rdi, -1008[rbp]
	lea	rcx, -2032[rbp]
	mov	rdx, QWORD PTR -2152[rbp]
	mov	rsi, QWORD PTR -2096[rbp]
	mov	rax, QWORD PTR -2192[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin1_d@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L81
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L81:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	rax, QWORD PTR -2064[rbp]
	add	QWORD PTR -2136[rbp], rax
	cmp	QWORD PTR -2064[rbp], 0
	je	.L102
	cmp	QWORD PTR -2112[rbp], 0
	jle	.L83
	mov	rax, QWORD PTR -2136[rbp]
	cmp	rax, QWORD PTR -2112[rbp]
	jl	.L83
	mov	rax, QWORD PTR -2136[rbp]
	sub	rax, QWORD PTR -2064[rbp]
	mov	QWORD PTR -2056[rbp], rax
	mov	rax, QWORD PTR -2112[rbp]
	sub	rax, QWORD PTR -2056[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rdx, QWORD PTR -2048[rbp]
	mov	rsi, QWORD PTR -2152[rbp]
	mov	r8, rcx
	mov	ecx, 8
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L84
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L84:
	mov	rdx, QWORD PTR -2056[rbp]
	mov	rax, QWORD PTR -2048[rbp]
	add	rax, rdx
	mov	QWORD PTR -2136[rbp], rax
	jmp	.L78
.L83:
	mov	rdx, QWORD PTR -2064[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rcx, -1008[rbp]
	mov	rsi, QWORD PTR -2152[rbp]
	mov	r8, rcx
	mov	ecx, 8
	mov	rdi, rax
	call	xf_writebin1_v@PLT
	mov	DWORD PTR -2204[rbp], eax
	cmp	DWORD PTR -2204[rbp], 0
	jns	.L80
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L80:
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L85
	jmp	.L78
.L102:
	nop
.L78:
	lea	rax, -1520[rbp]
	lea	rsi, .LC52[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L86
	mov	rax, QWORD PTR -2192[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L86:
	cmp	DWORD PTR -2208[rbp], 1
	jne	.L87
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2136[rbp]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L87:
	cmp	DWORD PTR -2208[rbp], 2
	jne	.L88
	lea	rax, -1264[rbp]
	lea	rdx, .LC9[rip]
	lea	rsi, .LC59[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1264[rbp]
	lea	rsi, .LC60[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2040[rbp], rax
	cmp	QWORD PTR -2040[rbp], 0
	jne	.L89
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC9[rip]
	lea	rsi, .LC61[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L89:
	mov	rdx, QWORD PTR -2136[rbp]
	mov	rax, QWORD PTR -2040[rbp]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -2040[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L88:
	mov	rax, QWORD PTR -2096[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	QWORD PTR -2184[rbp], 0
	je	.L90
	mov	rax, QWORD PTR -2184[rbp]
	mov	rdi, rax
	call	free@PLT
.L90:
	cmp	QWORD PTR -2176[rbp], 0
	je	.L91
	mov	rax, QWORD PTR -2176[rbp]
	mov	rdi, rax
	call	free@PLT
.L91:
	cmp	QWORD PTR -2168[rbp], 0
	je	.L92
	mov	rax, QWORD PTR -2168[rbp]
	mov	rdi, rax
	call	free@PLT
.L92:
	cmp	QWORD PTR -2160[rbp], 0
	je	.L93
	mov	rax, QWORD PTR -2160[rbp]
	mov	rdi, rax
	call	free@PLT
.L93:
	cmp	QWORD PTR -2160[rbp], 0
	je	.L94
	mov	rax, QWORD PTR -2152[rbp]
	mov	rdi, rax
	call	free@PLT
.L94:
	mov	edi, 0
	call	exit@PLT
.L96:
	call	__stack_chk_fail@PLT
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC49:
	.long	0
	.long	1071644672
	.align 8
.LC50:
	.long	0
	.long	1138753536
	.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	"915381.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------------\012\000"
	.align	2
.LC1:
	.ascii	"xe-readbinary3 v 1: 16.September.2015 [JRH]\000"
	.align	2
.LC2:
	.ascii	"%s\012\000"
	.align	2
.LC3:
	.ascii	"Extract values from a simple binary file\012\000"
	.align	2
.LC4:
	.ascii	"Assumes data (numbers) are all of the same type\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"Allows for presence of a single header\012\000"
	.align	2
.LC6:
	.ascii	"Allows extraction of a chunk starting at a particul"
	.ascii	"ar element\012\000"
	.align	2
.LC7:
	.ascii	"Data is processed in chunks: reduced memory load bu"
	.ascii	"t reduced speed\012\000"
	.align	2
.LC8:
	.ascii	"USAGE:\012\000"
	.align	2
.LC9:
	.ascii	"xe-readbinary3\000"
	.align	2
.LC10:
	.ascii	"\011%s [input] [options]\012\000"
	.align	2
.LC11:
	.ascii	"\011[input]: file name\012\000"
	.align	2
.LC12:
	.ascii	"VALID OPTIONS, defaults in []:\012\000"
	.align	2
.LC13:
	.ascii	"\011-dt: data type [%d]\012\000"
	.align	2
.LC14:
	.ascii	"\011\0110: unsigned char\012\000"
	.align	2
.LC15:
	.ascii	"\011\0111: signed char\012\000"
	.align	2
.LC16:
	.ascii	"\011\0112: unsigned short\012\000"
	.align	2
.LC17:
	.ascii	"\011\0113: signed short\012\000"
	.align	2
.LC18:
	.ascii	"\011\0114: unsigned int\012\000"
	.align	2
.LC19:
	.ascii	"\011\0115: signed int\012\000"
	.align	2
.LC20:
	.ascii	"\011\0116: unsigned long\012\000"
	.align	2
.LC21:
	.ascii	"\011\0117: signed long\012\000"
	.align	2
.LC22:
	.ascii	"\011\0118: float\012\000"
	.align	2
.LC23:
	.ascii	"\011\0119: double\012\000"
	.align	2
.LC24:
	.ascii	"\011-out: set output type, -1 (ASCII) or 3,5,7,8,9 "
	.ascii	"as above [%d]\012\000"
	.align	2
.LC25:
	.ascii	"\011-b: data block size (numbers to read at a time)"
	.ascii	" [%ld]\012\000"
	.align	2
.LC26:
	.ascii	"\011-h: size of header (bytes) excluded from output"
	.ascii	" [%ld]\012\000"
	.align	2
.LC27:
	.ascii	"\011-s: start reading at this element (zero-offset)"
	.ascii	" [%ld]\012\000"
	.align	2
.LC28:
	.ascii	"\011-n: number of elements to read (0=all) [%ld]\012"
	.ascii	"\000"
	.align	2
.LC29:
	.ascii	"\011\011NOTE: -s and -n will be internally converte"
	.ascii	"d to bytes\012\000"
	.align	2
.LC30:
	.ascii	"\011-v set verbose mode (0=data only, 1=stderr-repo"
	.ascii	"rt, 2=logfile) [%d]\012\000"
	.align	2
.LC31:
	.ascii	"EXAMPLES:\012\000"
	.align	2
.LC32:
	.ascii	"\011%s data.txt -h 500 -s 0 -n 1000 \012\000"
	.align	2
.LC33:
	.ascii	"\011cat temp.txt | %s stdin \012\000"
	.align	2
.LC34:
	.ascii	"OUTPUT:\012\000"
	.align	2
.LC35:
	.ascii	"\011ASCII numbers representing the data\012\000"
	.align	2
.LC36:
	.ascii	"%s\000"
	.align	2
.LC37:
	.ascii	"\012--- Error [%s]: missing value for argument \"%s"
	.ascii	"\"\012\012\000"
	.align	2
.LC38:
	.ascii	"-dt\000"
	.align	2
.LC39:
	.ascii	"-out\000"
	.align	2
.LC40:
	.ascii	"-b\000"
	.align	2
.LC41:
	.ascii	"-h\000"
	.align	2
.LC42:
	.ascii	"-s\000"
	.align	2
.LC43:
	.ascii	"-n\000"
	.align	2
.LC44:
	.ascii	"-v\000"
	.align	2
.LC45:
	.ascii	"\012--- Error [%s]: invalid command line argument \""
	.ascii	"%s\"\012\012\000"
	.align	2
.LC46:
	.ascii	"\012--- Error [%s]: verbocity (-v %d) must be 0-2 \012"
	.ascii	"\012\000"
	.align	2
.LC47:
	.ascii	"\012--- Error [%s]: output type (-out %d) must be -"
	.ascii	"1,3,5,7,8 or 9\012\012\000"
	.align	2
.LC48:
	.ascii	"\012--- Error [%s]: data type (-t %d) must be 0-9 \012"
	.ascii	"\012\000"
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_d2uiz
	.align	2
.LC49:
	.ascii	"\012--- Error [%s]: insufficient memory\012\012\000"
	.align	2
.LC50:
	.ascii	"stdin\000"
	.align	2
.LC51:
	.ascii	"rb\000"
	.align	2
.LC52:
	.ascii	"\012--- Error [%s]: file \"%s\" not found\012\012\000"
	.align	2
.LC53:
	.ascii	"\012--- Error [%s]:  problem reading binary file (e"
	.ascii	"rrno=%d)\012\012\000"
	.align	2
.LC54:
	.ascii	"\012\011--- %s/%s\012\012\000"
	.align	2
.LC55:
	.ascii	"%g\012\000"
	.align	2
.LC56:
	.ascii	"total_read: %ld\012\000"
	.align	2
.LC57:
	.ascii	"temp_%s.log\000"
	.align	2
.LC58:
	.ascii	"w\000"
	.align	2
.LC59:
	.ascii	"\012--- Error [%s]: log file \"%s\" could not be cr"
	.ascii	"eated\012\012\000"
	.align	2
.LC60:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2144
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #2144
	sub	sp, sp, #12
	str	r0, [fp, #-2152]
	str	r1, [fp, #-2156]
	ldr	r3, .L101
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2080]
	mov	r3, #0
	str	r3, [fp, #-2136]
	mov	r3, #0
	str	r3, [fp, #-2132]
	mov	r3, #0
	str	r3, [fp, #-2128]
	mov	r3, #0
	str	r3, [fp, #-2124]
	mov	r3, #0
	str	r3, [fp, #-2120]
	mov	r3, #0
	str	r3, [fp, #-2108]
	mvn	r3, #0
	str	r3, [fp, #-2104]
	mov	r3, #0
	str	r3, [fp, #-2100]
	mov	r3, #0
	str	r3, [fp, #-2096]
	mov	r3, #0
	str	r3, [fp, #-2092]
	mov	r3, #0
	str	r3, [fp, #-2088]
	mov	r3, #1000
	str	r3, [fp, #-2084]
	ldr	r3, [fp, #-2152]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L101+8
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+12
	ldr	r1, .L101+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L101+8
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L101+20
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L101+24
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L101+28
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L101+32
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #67
	mov	r1, #1
	ldr	r0, .L101+36
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L101+40
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+44
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L101+48
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L101+52
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2108]
	ldr	r1, .L101+56
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L101+60
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L101+64
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L101+68
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L101+72
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L101+76
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L101+80
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L101+84
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L101+88
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L101+92
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L101+96
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2104]
	ldr	r1, .L101+100
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2084]
	ldr	r1, .L101+104
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2096]
	ldr	r1, .L101+108
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2092]
	ldr	r1, .L101+112
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2088]
	ldr	r1, .L101+116
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L101+120
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2100]
	ldr	r1, .L101+124
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #1
	ldr	r0, .L101+128
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+132
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+136
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L101+140
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L101+144
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L101+8
	bl	fwrite
	ldr	r3, .L101+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-2156]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #1504
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L101+148
	mov	r0, r3
	bl	sprintf
	mov	r3, #2
	str	r3, [fp, #-2144]
	b	.L3
.L13:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L4
	ldr	r3, [fp, #-2144]
	add	r2, r3, #1
	ldr	r3, [fp, #-2152]
	cmp	r2, r3
	bcc	.L5
	ldr	r3, .L101+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+152
	bl	fprintf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+156
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2108]
	b	.L4
.L6:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+160
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2104]
	b	.L4
.L7:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+164
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2084]
	b	.L4
.L8:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+168
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2096]
	b	.L4
.L9:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+172
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2092]
	b	.L4
.L10:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+176
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2088]
	b	.L4
.L11:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L101+180
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2100]
	b	.L4
.L12:
	ldr	r3, .L101+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2156]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+184
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
.L3:
	ldr	r3, [fp, #-2152]
	ldr	r2, [fp, #-2144]
	cmp	r2, r3
	bcc	.L13
	ldr	r3, [fp, #-2100]
	cmp	r3, #0
	blt	.L14
	ldr	r3, [fp, #-2100]
	cmp	r3, #2
	ble	.L15
.L14:
	ldr	r3, .L101+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2100]
	ldr	r2, .L101+252
	ldr	r1, .L101+188
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	ldr	r3, [fp, #-2104]
	cmn	r3, #1
	beq	.L16
	ldr	r3, [fp, #-2104]
	cmp	r3, #3
	beq	.L16
	ldr	r3, [fp, #-2104]
	cmp	r3, #5
	beq	.L16
	ldr	r3, [fp, #-2104]
	cmp	r3, #7
	beq	.L16
	ldr	r3, [fp, #-2104]
	cmp	r3, #8
	beq	.L16
	ldr	r3, [fp, #-2104]
	cmp	r3, #9
	beq	.L16
	ldr	r3, .L101+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2100]
	ldr	r2, .L101+252
	ldr	r1, .L101+192
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-2108]
	cmp	r3, #0
	beq	.L17
	ldr	r3, [fp, #-2108]
	cmp	r3, #1
	bne	.L18
.L17:
	mov	r3, #1
	str	r3, [fp, #-2116]
	b	.L19
.L18:
	ldr	r3, [fp, #-2108]
	cmp	r3, #2
	beq	.L20
	ldr	r3, [fp, #-2108]
	cmp	r3, #3
	bne	.L21
.L20:
	mov	r3, #2
	str	r3, [fp, #-2116]
	b	.L19
.L21:
	ldr	r3, [fp, #-2108]
	cmp	r3, #4
	beq	.L22
	ldr	r3, [fp, #-2108]
	cmp	r3, #5
	bne	.L23
.L22:
	mov	r3, #4
	str	r3, [fp, #-2116]
	b	.L19
.L23:
	ldr	r3, [fp, #-2108]
	cmp	r3, #6
	beq	.L24
	ldr	r3, [fp, #-2108]
	cmp	r3, #7
	bne	.L25
.L24:
	mov	r3, #4
	str	r3, [fp, #-2116]
	b	.L19
.L25:
	ldr	r3, [fp, #-2108]
	cmp	r3, #8
	bne	.L26
	mov	r3, #4
	str	r3, [fp, #-2116]
	b	.L19
.L26:
	ldr	r3, [fp, #-2108]
	cmp	r3, #9
	bne	.L27
	mov	r3, #8
	str	r3, [fp, #-2116]
	b	.L19
.L27:
	ldr	r3, .L101+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2108]
	ldr	r2, .L101+252
	ldr	r1, .L101+196
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-2084]
	ldr	r2, [fp, #-2116]
	mul	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L101+200
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2uiz
	mov	r3, r0
	str	r3, [fp, #-2076]
	ldr	r3, [fp, #-2108]
	str	r3, [fp, #-2044]
	ldr	r3, [fp, #-2116]
	str	r3, [fp, #-2040]
	ldr	r3, [fp, #-2084]
	str	r3, [fp, #-2036]
	mov	r3, #0
	str	r3, [fp, #-2032]
	ldr	r3, [fp, #-2076]
	mov	r1, r3
	ldr	r0, [fp, #-2080]
	bl	realloc
	str	r0, [fp, #-2080]
	ldr	r3, [fp, #-2080]
	cmp	r3, #0
	bne	.L28
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L28:
	mov	r3, #0
	str	r3, [fp, #-2112]
	mov	r3, #0
	str	r3, [fp, #-2072]
	sub	r3, fp, #1504
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L101+236
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L101+204
	ldr	r3, [r3]
	str	r3, [fp, #-2140]
	b	.L30
.L29:
	sub	r3, fp, #1504
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L101+208
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2140]
	ldr	r3, [fp, #-2140]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1504
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, .L101+252
	ldr	r1, .L101+212
	bl	fprintf
	mov	r0, #1
	bl	exit
.L30:
	ldr	r3, [fp, #-2092]
	ldr	r2, [fp, #-2116]
	mul	r3, r2, r3
	ldr	r2, [fp, #-2096]
	add	r3, r2, r3
	str	r3, [fp, #-2068]
	ldr	r3, [fp, #-2068]
	cmp	r3, #0
	ble	.L31
	mov	r2, #1
	ldr	r1, [fp, #-2068]
	ldr	r0, [fp, #-2140]
	bl	fseeko
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L101+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-2140]
	bl	ferror
	mov	r3, r0
	ldr	r2, .L101+252
	ldr	r1, .L101+216
	mov	r0, r4
	bl	fprintf
	mov	r3, #0
	ldr	r2, .L101
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L93
	b	.L94
.L31:
	ldr	r3, [fp, #-2104]
	cmn	r3, #1
	bne	.L33
	ldr	r3, [fp, #-2084]
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-2120]
	bl	realloc
	str	r0, [fp, #-2120]
	ldr	r3, [fp, #-2120]
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L43:
	sub	r2, fp, #2032
	sub	r2, r2, #12
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-2120]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2140]
	bl	xf_readbin1_d
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L36
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L36:
	ldr	r3, [fp, #-2032]
	str	r3, [fp, #-2060]
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	beq	.L95
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	ble	.L38
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2088]
	cmp	r2, r3
	blt	.L38
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	sub	r3, r2, r3
	str	r3, [fp, #-2056]
	ldr	r2, [fp, #-2088]
	ldr	r3, [fp, #-2056]
	sub	r3, r2, r3
	str	r3, [fp, #-2052]
	mov	r3, #0
	str	r3, [fp, #-2144]
	b	.L39
.L40:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-2120]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L101+220
	bl	printf
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
.L39:
	ldr	r2, [fp, #-2144]
	ldr	r3, [fp, #-2052]
	cmp	r2, r3
	bcc	.L40
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2052]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	b	.L33
.L38:
	mov	r3, #0
	str	r3, [fp, #-2144]
	b	.L41
.L42:
	ldr	r3, [fp, #-2144]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-2120]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L101+220
	bl	printf
	ldr	r3, [fp, #-2144]
	add	r3, r3, #1
	str	r3, [fp, #-2144]
.L41:
	ldr	r3, [fp, #-2060]
	ldr	r2, [fp, #-2144]
	cmp	r2, r3
	bcc	.L42
.L35:
	ldr	r0, [fp, #-2140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	b	.L33
.L95:
	nop
.L33:
	ldr	r3, [fp, #-2104]
	cmp	r3, #3
	bne	.L44
	ldr	r3, [fp, #-2084]
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-2136]
	bl	realloc
	str	r0, [fp, #-2136]
	ldr	r3, [fp, #-2136]
	cmp	r3, #0
	bne	.L46
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L51:
	sub	r2, fp, #2032
	sub	r2, r2, #12
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-2136]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2140]
	bl	xf_readbin1_s
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L47
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L47:
	ldr	r3, [fp, #-2032]
	str	r3, [fp, #-2060]
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	beq	.L96
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	ble	.L49
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2088]
	cmp	r2, r3
	blt	.L49
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	sub	r3, r2, r3
	str	r3, [fp, #-2056]
	ldr	r2, [fp, #-2088]
	ldr	r3, [fp, #-2056]
	sub	r3, r2, r3
	str	r3, [fp, #-2052]
	ldr	r3, .L101+228
	ldr	r0, [r3]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #2
	ldr	r2, [fp, #-2052]
	ldr	r1, [fp, #-2136]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L50
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L50:
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2052]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	b	.L44
.L49:
	ldr	r3, .L101+228
	ldr	r0, [r3]
	ldr	r2, [fp, #-2060]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #2
	ldr	r1, [fp, #-2136]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L46
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L46:
	ldr	r0, [fp, #-2140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	b	.L44
.L96:
	nop
.L44:
	ldr	r3, [fp, #-2104]
	cmp	r3, #5
	bne	.L52
	ldr	r3, [fp, #-2084]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-2132]
	bl	realloc
	str	r0, [fp, #-2132]
	ldr	r3, [fp, #-2132]
	cmp	r3, #0
	bne	.L54
	ldr	r3, .L101+4
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L59:
	sub	r2, fp, #2032
	sub	r2, r2, #12
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-2132]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2140]
	bl	xf_readbin1_i
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L55
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L55:
	ldr	r3, [fp, #-2032]
	str	r3, [fp, #-2060]
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	beq	.L97
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	ble	.L57
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2088]
	cmp	r2, r3
	blt	.L57
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	sub	r3, r2, r3
	str	r3, [fp, #-2056]
	ldr	r2, [fp, #-2088]
	ldr	r3, [fp, #-2056]
	sub	r3, r2, r3
	str	r3, [fp, #-2052]
	ldr	r3, .L101+228
	ldr	r0, [r3]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #4
	ldr	r2, [fp, #-2052]
	ldr	r1, [fp, #-2132]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L58
	ldr	r3, .L101+4
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L58:
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2052]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	b	.L52
.L102:
	.align	2
.L101:
	.word	.LC60
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	1071644672
	.word	stdin
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC55
	.word	.LC49
	.word	stdout
	.word	.LC54
	.word	.LC50
	.word	.LC57
	.word	.LC58
	.word	stderr
	.word	.LC9
	.word	.LC59
	.word	.LC56
.L57:
	ldr	r3, .L101+228
	ldr	r0, [r3]
	ldr	r2, [fp, #-2060]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #4
	ldr	r1, [fp, #-2132]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L54
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L54:
	ldr	r0, [fp, #-2140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
	b	.L52
.L97:
	nop
.L52:
	ldr	r3, [fp, #-2104]
	cmp	r3, #7
	bne	.L60
	ldr	r3, [fp, #-2084]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-2128]
	bl	realloc
	str	r0, [fp, #-2128]
	ldr	r3, [fp, #-2128]
	cmp	r3, #0
	bne	.L62
	ldr	r3, .L101+248
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L67:
	sub	r2, fp, #2032
	sub	r2, r2, #12
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-2128]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2140]
	bl	xf_readbin1_l
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L63
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L63:
	ldr	r3, [fp, #-2032]
	str	r3, [fp, #-2060]
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	beq	.L98
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	ble	.L65
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2088]
	cmp	r2, r3
	blt	.L65
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	sub	r3, r2, r3
	str	r3, [fp, #-2056]
	ldr	r2, [fp, #-2088]
	ldr	r3, [fp, #-2056]
	sub	r3, r2, r3
	str	r3, [fp, #-2052]
	ldr	r3, .L101+228
	ldr	r0, [r3]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #4
	ldr	r2, [fp, #-2052]
	ldr	r1, [fp, #-2128]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L66
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L66:
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2052]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	b	.L60
.L65:
	ldr	r3, .L101+228
	ldr	r0, [r3]
	ldr	r2, [fp, #-2060]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #4
	ldr	r1, [fp, #-2128]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L62
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L62:
	ldr	r0, [fp, #-2140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L67
	b	.L60
.L98:
	nop
.L60:
	ldr	r3, [fp, #-2104]
	cmp	r3, #8
	bne	.L68
	ldr	r3, [fp, #-2084]
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-2124]
	bl	realloc
	str	r0, [fp, #-2124]
	ldr	r3, [fp, #-2124]
	cmp	r3, #0
	bne	.L70
	ldr	r3, .L101+248
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L75:
	sub	r2, fp, #2032
	sub	r2, r2, #12
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-2124]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2140]
	bl	xf_readbin1_f
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L71
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L71:
	ldr	r3, [fp, #-2032]
	str	r3, [fp, #-2060]
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	ble	.L73
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2088]
	cmp	r2, r3
	blt	.L73
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	sub	r3, r2, r3
	str	r3, [fp, #-2056]
	ldr	r2, [fp, #-2088]
	ldr	r3, [fp, #-2056]
	sub	r3, r2, r3
	str	r3, [fp, #-2052]
	ldr	r3, .L101+228
	ldr	r0, [r3]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #4
	ldr	r2, [fp, #-2052]
	ldr	r1, [fp, #-2124]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L74
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L74:
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2052]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	b	.L68
.L73:
	ldr	r3, .L101+228
	ldr	r0, [r3]
	ldr	r2, [fp, #-2060]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #4
	ldr	r1, [fp, #-2124]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L70
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L70:
	ldr	r0, [fp, #-2140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L75
	b	.L68
.L99:
	nop
.L68:
	ldr	r3, [fp, #-2104]
	cmp	r3, #9
	bne	.L76
	ldr	r3, [fp, #-2084]
	lsl	r3, r3, #3
	mov	r1, r3
	ldr	r0, [fp, #-2120]
	bl	realloc
	str	r0, [fp, #-2120]
	ldr	r3, [fp, #-2120]
	cmp	r3, #0
	bne	.L78
	ldr	r3, .L101+248
	ldr	r3, [r3]
	ldr	r2, .L101+252
	ldr	r1, .L101+224
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L83:
	sub	r2, fp, #2032
	sub	r2, r2, #12
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-2120]
	ldr	r1, [fp, #-2080]
	ldr	r0, [fp, #-2140]
	bl	xf_readbin1_d
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L79
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L79:
	ldr	r3, [fp, #-2032]
	str	r3, [fp, #-2060]
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	cmp	r3, #0
	beq	.L100
	ldr	r3, [fp, #-2088]
	cmp	r3, #0
	ble	.L81
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2088]
	cmp	r2, r3
	blt	.L81
	ldr	r2, [fp, #-2112]
	ldr	r3, [fp, #-2060]
	sub	r3, r2, r3
	str	r3, [fp, #-2056]
	ldr	r2, [fp, #-2088]
	ldr	r3, [fp, #-2056]
	sub	r3, r2, r3
	str	r3, [fp, #-2052]
	ldr	r3, .L101+228
	ldr	r0, [r3]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #8
	ldr	r2, [fp, #-2052]
	ldr	r1, [fp, #-2120]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L82
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L82:
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2052]
	add	r3, r2, r3
	str	r3, [fp, #-2112]
	b	.L76
.L81:
	ldr	r3, .L101+228
	ldr	r0, [r3]
	ldr	r2, [fp, #-2060]
	sub	r3, fp, #1016
	str	r3, [sp]
	mov	r3, #8
	ldr	r1, [fp, #-2120]
	bl	xf_writebin1_v
	str	r0, [fp, #-2064]
	ldr	r3, [fp, #-2064]
	cmp	r3, #0
	bge	.L78
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1016
	ldr	r2, .L101+252
	ldr	r1, .L101+232
	bl	fprintf
	mov	r0, #1
	bl	exit
.L78:
	ldr	r0, [fp, #-2140]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	b	.L76
.L100:
	nop
.L76:
	sub	r3, fp, #1504
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L101+236
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L84
	ldr	r0, [fp, #-2140]
	bl	fclose
.L84:
	ldr	r3, [fp, #-2100]
	cmp	r3, #1
	bne	.L85
	ldr	r3, .L101+248
	ldr	r3, [r3]
	ldr	r2, [fp, #-2112]
	ldr	r1, .L101+260
	mov	r0, r3
	bl	fprintf
.L85:
	ldr	r3, [fp, #-2100]
	cmp	r3, #2
	bne	.L86
	sub	r3, fp, #1248
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, .L101+252
	ldr	r1, .L101+240
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1248
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r1, .L101+244
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2048]
	ldr	r3, [fp, #-2048]
	cmp	r3, #0
	bne	.L87
	ldr	r3, .L101+248
	ldr	r0, [r3]
	sub	r3, fp, #1248
	sub	r3, r3, #12
	sub	r3, r3, #12
	ldr	r2, .L101+252
	ldr	r1, .L101+256
	bl	fprintf
	mov	r0, #1
	bl	exit
.L87:
	ldr	r2, [fp, #-2112]
	ldr	r1, .L101+260
	ldr	r0, [fp, #-2048]
	bl	fprintf
	ldr	r0, [fp, #-2048]
	bl	fclose
.L86:
	ldr	r0, [fp, #-2080]
	bl	free
	ldr	r3, [fp, #-2136]
	cmp	r3, #0
	beq	.L88
	ldr	r0, [fp, #-2136]
	bl	free
.L88:
	ldr	r3, [fp, #-2132]
	cmp	r3, #0
	beq	.L89
	ldr	r0, [fp, #-2132]
	bl	free
.L89:
	ldr	r3, [fp, #-2128]
	cmp	r3, #0
	beq	.L90
	ldr	r0, [fp, #-2128]
	bl	free
.L90:
	ldr	r3, [fp, #-2124]
	cmp	r3, #0
	beq	.L91
	ldr	r0, [fp, #-2124]
	bl	free
.L91:
	ldr	r3, [fp, #-2124]
	cmp	r3, #0
	beq	.L92
	ldr	r0, [fp, #-2120]
	bl	free
.L92:
	mov	r0, #0
	bl	exit
.L94:
	bl	__stack_chk_fail
.L93:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
