	.file	"66152.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"----------------------------------------------------------------------\n"
	.align 8
.LC1:
	.string	"xe-readbinary1 v 8: 13.May.2016 [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"
.LC7:
	.string	"USAGE:\n"
.LC8:
	.string	"xe-readbinary1"
.LC9:
	.string	"\t%s [input] [options]\n"
.LC10:
	.string	"\t[input]: file name\n"
	.align 8
.LC11:
	.string	"VALID OPTIONS, defaults in []:\n"
.LC12:
	.string	"\t-dt: type of data [%d]\n"
.LC13:
	.string	"\t\t0: unsigned char\n"
.LC14:
	.string	"\t\t1: signed char\n"
.LC15:
	.string	"\t\t2: unsigned short\n"
.LC16:
	.string	"\t\t3: signed short\n"
.LC17:
	.string	"\t\t4: unsigned int\n"
.LC18:
	.string	"\t\t5: signed int\n"
.LC19:
	.string	"\t\t6: unsigned long\n"
.LC20:
	.string	"\t\t7: signed long\n"
.LC21:
	.string	"\t\t8: float\n"
.LC22:
	.string	"\t\t9: double\n"
	.align 8
.LC23:
	.string	"\t-h: size of header (bytes) excluded from output [%ld]\n"
	.align 8
.LC24:
	.string	"\t-s: start reading at this element (zero-offset) [%ld]\n"
	.align 8
.LC25:
	.string	"\t-n: number of elements to read (0=all) [%ld]\n"
	.align 8
.LC26:
	.string	"\t\tNOTE: -s and -n will be internally converted to bytes\n"
	.align 8
.LC27:
	.string	"\t\tNOTE: if -n is zero, reads from start to the end\n"
	.align 8
.LC28:
	.string	"\t-v set verbose mode (0=data only, 1=stderr-report, 2=logfile) [%d]\n"
.LC29:
	.string	"EXAMPLES:\n"
	.align 8
.LC30:
	.string	"\t%s data.txt -h 500 -s 0 -n 1000 \n"
.LC31:
	.string	"\tcat temp.txt | %s stdin \n"
.LC32:
	.string	"OUTPUT:\n"
	.align 8
.LC33:
	.string	"\tASCII numbers representing the data\n"
.LC34:
	.string	"%s"
	.align 8
.LC35:
	.string	"\n--- Error [%s]: missing value for argument \"%s\"\n\n"
.LC36:
	.string	"-dt"
.LC37:
	.string	"-h"
.LC38:
	.string	"-s"
.LC39:
	.string	"-n"
.LC40:
	.string	"-v"
	.align 8
.LC41:
	.string	"\n--- Error [%s]: invalid command line argument \"%s\"\n\n"
	.align 8
.LC42:
	.string	"\n--- Error [%s]: verbocity (-v %d) must be 0-2 \n\n"
	.align 8
.LC43:
	.string	"\n--- Error [%s]: data type (-dt %d) must be 0-9 \n\n"
.LC44:
	.string	"\n\t--- Error [%s/%s]\n\n"
	.align 8
.LC45:
	.string	"\n\t--- Error [%s]: file %s is empty\n"
.LC46:
	.string	"%u\n"
.LC47:
	.string	"%d\n"
.LC48:
	.string	"%hu\n"
.LC49:
	.string	"%hd\n"
.LC50:
	.string	"%lu\n"
.LC51:
	.string	"%ld\n"
.LC52:
	.string	"%f\n"
.LC53:
	.string	"%lf\n"
.LC54:
	.string	"total_bytes: %ld\n"
.LC55:
	.string	"total_numbers: %ld\n"
.LC56:
	.string	"temp_%s.log"
.LC57:
	.string	"w"
	.align 8
.LC58:
	.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, 2224
	mov	DWORD PTR -2212[rbp], edi
	mov	QWORD PTR -2224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2152[rbp], 0
	mov	DWORD PTR -2192[rbp], 0
	mov	DWORD PTR -2188[rbp], 0
	mov	QWORD PTR -2176[rbp], 0
	mov	QWORD PTR -2168[rbp], 0
	mov	QWORD PTR -2160[rbp], 0
	cmp	DWORD PTR -2212[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	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, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC8[rip]
	lea	rsi, .LC9[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, .LC10[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, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2192[rbp]
	lea	rsi, .LC12[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, .LC13[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 18
	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, 16
	mov	esi, 1
	lea	rdi, .LC18[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 19
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 12
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2176[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2168[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2160[rbp]
	lea	rsi, .LC25[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, .LC26[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 51
	mov	esi, 1
	lea	rdi, .LC27[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2188[rbp]
	lea	rsi, .LC28[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, .LC29[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC8[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC8[rip]
	lea	rsi, .LC31[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, .LC32[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 37
	mov	esi, 1
	lea	rdi, .LC33[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 -2224[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1520[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	QWORD PTR -2184[rbp], 2
	jmp	.L3
.L11:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L4
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -2212[rbp]
	cdqe
	cmp	rdx, rax
	jb	.L5
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	add	QWORD PTR -2184[rbp], 1
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2192[rbp], eax
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	add	QWORD PTR -2184[rbp], 1
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2176[rbp], rax
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	add	QWORD PTR -2184[rbp], 1
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2168[rbp], rax
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L9
	add	QWORD PTR -2184[rbp], 1
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -2160[rbp], rax
	jmp	.L4
.L9:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L10
	add	QWORD PTR -2184[rbp], 1
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -2188[rbp], eax
	jmp	.L4
.L10:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2224[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	add	QWORD PTR -2184[rbp], 1
.L3:
	mov	eax, DWORD PTR -2212[rbp]
	cdqe
	cmp	QWORD PTR -2184[rbp], rax
	jb	.L11
	cmp	DWORD PTR -2188[rbp], 0
	js	.L12
	cmp	DWORD PTR -2188[rbp], 2
	jle	.L13
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2188[rbp]
	mov	ecx, edx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	cmp	DWORD PTR -2192[rbp], 0
	je	.L14
	cmp	DWORD PTR -2192[rbp], 1
	jne	.L15
.L14:
	mov	DWORD PTR -2196[rbp], 1
	jmp	.L16
.L15:
	cmp	DWORD PTR -2192[rbp], 2
	je	.L17
	cmp	DWORD PTR -2192[rbp], 3
	jne	.L18
.L17:
	mov	DWORD PTR -2196[rbp], 2
	jmp	.L16
.L18:
	cmp	DWORD PTR -2192[rbp], 4
	je	.L19
	cmp	DWORD PTR -2192[rbp], 5
	jne	.L20
.L19:
	mov	DWORD PTR -2196[rbp], 4
	jmp	.L16
.L20:
	cmp	DWORD PTR -2192[rbp], 6
	je	.L21
	cmp	DWORD PTR -2192[rbp], 7
	jne	.L22
.L21:
	mov	DWORD PTR -2196[rbp], 8
	jmp	.L16
.L22:
	cmp	DWORD PTR -2192[rbp], 8
	jne	.L23
	mov	DWORD PTR -2196[rbp], 4
	jmp	.L16
.L23:
	cmp	DWORD PTR -2192[rbp], 9
	jne	.L24
	mov	DWORD PTR -2196[rbp], 8
	jmp	.L16
.L24:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -2192[rbp]
	mov	ecx, edx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	eax, DWORD PTR -2196[rbp]
	cdqe
	mov	QWORD PTR -2032[rbp], rax
	mov	rax, QWORD PTR -2176[rbp]
	mov	QWORD PTR -2024[rbp], rax
	mov	QWORD PTR -2016[rbp], 1
	mov	QWORD PTR -2008[rbp], 0
	mov	rax, QWORD PTR -2168[rbp]
	mov	QWORD PTR -2048[rbp], rax
	mov	rax, QWORD PTR -2160[rbp]
	mov	QWORD PTR -2040[rbp], rax
	lea	rdi, -1008[rbp]
	lea	rcx, -2040[rbp]
	lea	rdx, -2048[rbp]
	lea	rsi, -2032[rbp]
	lea	rax, -1520[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	xf_readbin3_v@PLT
	mov	QWORD PTR -2152[rbp], rax
	cmp	QWORD PTR -2152[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L25:
	mov	rax, QWORD PTR -2008[rbp]
	test	rax, rax
	jg	.L26
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1520[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -2008[rbp]
	mov	QWORD PTR -2144[rbp], rax
	cmp	DWORD PTR -2192[rbp], 0
	jne	.L27
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2064[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L28
.L29:
	mov	rdx, QWORD PTR -2064[rbp]
	mov	rax, QWORD PTR -2184[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	esi, eax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L28:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L29
	jmp	.L30
.L27:
	cmp	DWORD PTR -2192[rbp], 1
	jne	.L31
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2072[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L32
.L33:
	mov	rdx, QWORD PTR -2072[rbp]
	mov	rax, QWORD PTR -2184[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L32:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L33
	jmp	.L30
.L31:
	cmp	DWORD PTR -2192[rbp], 2
	jne	.L34
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2080[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L35
.L36:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2080[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC48[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L35:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L36
	jmp	.L30
.L34:
	cmp	DWORD PTR -2192[rbp], 3
	jne	.L37
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2088[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L38
.L39:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, [rax+rax]
	mov	rax, QWORD PTR -2088[rbp]
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	cwde
	mov	esi, eax
	lea	rdi, .LC49[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L38:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L39
	jmp	.L30
.L37:
	cmp	DWORD PTR -2192[rbp], 4
	jne	.L40
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2096[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L41
.L42:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2096[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC46[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L41:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L42
	jmp	.L30
.L40:
	cmp	DWORD PTR -2192[rbp], 5
	jne	.L43
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2104[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L44
.L45:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2104[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L44:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L45
	jmp	.L30
.L43:
	cmp	DWORD PTR -2192[rbp], 6
	jne	.L46
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2112[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L47
.L48:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L47:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L48
	jmp	.L30
.L46:
	cmp	DWORD PTR -2192[rbp], 7
	jne	.L49
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2120[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L50
.L51:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2120[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC51[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L50:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L51
	jmp	.L30
.L49:
	cmp	DWORD PTR -2192[rbp], 8
	jne	.L52
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2128[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L53
.L54:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -2128[rbp]
	add	rax, rdx
	movss	xmm0, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	lea	rdi, .LC52[rip]
	mov	eax, 1
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L53:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L54
	jmp	.L30
.L52:
	cmp	DWORD PTR -2192[rbp], 9
	jne	.L30
	mov	rax, QWORD PTR -2152[rbp]
	mov	QWORD PTR -2136[rbp], rax
	mov	QWORD PTR -2184[rbp], 0
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -2184[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2136[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC53[rip]
	mov	eax, 1
	call	printf@PLT
	add	QWORD PTR -2184[rbp], 1
.L55:
	mov	rax, QWORD PTR -2184[rbp]
	cmp	rax, QWORD PTR -2144[rbp]
	jb	.L56
.L30:
	cmp	DWORD PTR -2188[rbp], 1
	jne	.L57
	mov	eax, DWORD PTR -2196[rbp]
	cdqe
	imul	rax, QWORD PTR -2144[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2144[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L57:
	cmp	DWORD PTR -2188[rbp], 2
	jne	.L58
	lea	rax, -1264[rbp]
	lea	rdx, .LC8[rip]
	lea	rsi, .LC56[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -1264[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -2056[rbp], rax
	cmp	QWORD PTR -2056[rbp], 0
	jne	.L59
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	lea	rsi, .LC58[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L59:
	mov	eax, DWORD PTR -2196[rbp]
	cdqe
	imul	rax, QWORD PTR -2144[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC54[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -2144[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -2056[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L58:
	mov	rax, QWORD PTR -2152[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"66152.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------------\012\000"
	.align	2
.LC1:
	.ascii	"xe-readbinary1 v 8: 13.May.2016 [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	"USAGE:\012\000"
	.align	2
.LC8:
	.ascii	"xe-readbinary1\000"
	.align	2
.LC9:
	.ascii	"\011%s [input] [options]\012\000"
	.align	2
.LC10:
	.ascii	"\011[input]: file name\012\000"
	.align	2
.LC11:
	.ascii	"VALID OPTIONS, defaults in []:\012\000"
	.align	2
.LC12:
	.ascii	"\011-dt: type of data [%d]\012\000"
	.align	2
.LC13:
	.ascii	"\011\0110: unsigned char\012\000"
	.align	2
.LC14:
	.ascii	"\011\0111: signed char\012\000"
	.align	2
.LC15:
	.ascii	"\011\0112: unsigned short\012\000"
	.align	2
.LC16:
	.ascii	"\011\0113: signed short\012\000"
	.align	2
.LC17:
	.ascii	"\011\0114: unsigned int\012\000"
	.align	2
.LC18:
	.ascii	"\011\0115: signed int\012\000"
	.align	2
.LC19:
	.ascii	"\011\0116: unsigned long\012\000"
	.align	2
.LC20:
	.ascii	"\011\0117: signed long\012\000"
	.align	2
.LC21:
	.ascii	"\011\0118: float\012\000"
	.align	2
.LC22:
	.ascii	"\011\0119: double\012\000"
	.align	2
.LC23:
	.ascii	"\011-h: size of header (bytes) excluded from output"
	.ascii	" [%ld]\012\000"
	.align	2
.LC24:
	.ascii	"\011-s: start reading at this element (zero-offset)"
	.ascii	" [%ld]\012\000"
	.align	2
.LC25:
	.ascii	"\011-n: number of elements to read (0=all) [%ld]\012"
	.ascii	"\000"
	.align	2
.LC26:
	.ascii	"\011\011NOTE: -s and -n will be internally converte"
	.ascii	"d to bytes\012\000"
	.align	2
.LC27:
	.ascii	"\011\011NOTE: if -n is zero, reads from start to th"
	.ascii	"e end\012\000"
	.align	2
.LC28:
	.ascii	"\011-v set verbose mode (0=data only, 1=stderr-repo"
	.ascii	"rt, 2=logfile) [%d]\012\000"
	.align	2
.LC29:
	.ascii	"EXAMPLES:\012\000"
	.align	2
.LC30:
	.ascii	"\011%s data.txt -h 500 -s 0 -n 1000 \012\000"
	.align	2
.LC31:
	.ascii	"\011cat temp.txt | %s stdin \012\000"
	.align	2
.LC32:
	.ascii	"OUTPUT:\012\000"
	.align	2
.LC33:
	.ascii	"\011ASCII numbers representing the data\012\000"
	.align	2
.LC34:
	.ascii	"%s\000"
	.align	2
.LC35:
	.ascii	"\012--- Error [%s]: missing value for argument \"%s"
	.ascii	"\"\012\012\000"
	.align	2
.LC36:
	.ascii	"-dt\000"
	.align	2
.LC37:
	.ascii	"-h\000"
	.align	2
.LC38:
	.ascii	"-s\000"
	.align	2
.LC39:
	.ascii	"-n\000"
	.align	2
.LC40:
	.ascii	"-v\000"
	.align	2
.LC41:
	.ascii	"\012--- Error [%s]: invalid command line argument \""
	.ascii	"%s\"\012\012\000"
	.align	2
.LC42:
	.ascii	"\012--- Error [%s]: verbocity (-v %d) must be 0-2 \012"
	.ascii	"\012\000"
	.align	2
.LC43:
	.ascii	"\012--- Error [%s]: data type (-dt %d) must be 0-9 "
	.ascii	"\012\012\000"
	.align	2
.LC44:
	.ascii	"\012\011--- Error [%s/%s]\012\012\000"
	.align	2
.LC45:
	.ascii	"\012\011--- Error [%s]: file %s is empty\012\000"
	.align	2
.LC46:
	.ascii	"%u\012\000"
	.align	2
.LC47:
	.ascii	"%d\012\000"
	.align	2
.LC48:
	.ascii	"%hu\012\000"
	.align	2
.LC49:
	.ascii	"%hd\012\000"
	.align	2
.LC50:
	.ascii	"%lu\012\000"
	.align	2
.LC51:
	.ascii	"%ld\012\000"
	.global	__aeabi_f2d
	.align	2
.LC52:
	.ascii	"%f\012\000"
	.align	2
.LC53:
	.ascii	"%lf\012\000"
	.align	2
.LC54:
	.ascii	"total_bytes: %ld\012\000"
	.align	2
.LC55:
	.ascii	"total_numbers: %ld\012\000"
	.align	2
.LC56:
	.ascii	"temp_%s.log\000"
	.align	2
.LC57:
	.ascii	"w\000"
	.align	2
.LC58:
	.ascii	"\012--- Error [%s]: log file \"%s\" could not be cr"
	.ascii	"eated\012\012\000"
	.align	2
.LC59:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 2128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #2128
	sub	sp, sp, #8
	str	r0, [fp, #-2128]
	str	r1, [fp, #-2132]
	ldr	r3, .L61
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-2096]
	mov	r3, #0
	str	r3, [fp, #-2116]
	mov	r3, #0
	str	r3, [fp, #-2112]
	mov	r3, #0
	str	r3, [fp, #-2108]
	mov	r3, #0
	str	r3, [fp, #-2104]
	mov	r3, #0
	str	r3, [fp, #-2100]
	ldr	r3, [fp, #-2128]
	cmp	r3, #1
	bgt	.L2
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L61+8
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, .L61+12
	ldr	r1, .L61+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L61+8
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #41
	mov	r1, #1
	ldr	r0, .L61+20
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #48
	mov	r1, #1
	ldr	r0, .L61+24
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L61+28
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #62
	mov	r1, #1
	ldr	r0, .L61+32
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L61+36
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, .L61+40
	ldr	r1, .L61+44
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L61+48
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L61+52
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2116]
	ldr	r1, .L61+56
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L61+60
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L61+64
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L61+68
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L61+72
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L61+76
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #16
	mov	r1, #1
	ldr	r0, .L61+80
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #19
	mov	r1, #1
	ldr	r0, .L61+84
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L61+88
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L61+92
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #12
	mov	r1, #1
	ldr	r0, .L61+96
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2108]
	ldr	r1, .L61+100
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2104]
	ldr	r1, .L61+104
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2100]
	ldr	r1, .L61+108
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #56
	mov	r1, #1
	ldr	r0, .L61+112
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #51
	mov	r1, #1
	ldr	r0, .L61+116
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2112]
	ldr	r1, .L61+120
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #10
	mov	r1, #1
	ldr	r0, .L61+124
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, .L61+40
	ldr	r1, .L61+128
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, .L61+40
	ldr	r1, .L61+132
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L61+136
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #37
	mov	r1, #1
	ldr	r0, .L61+140
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L61+8
	bl	fwrite
	ldr	r3, .L61+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #0
	bl	exit
.L2:
	ldr	r3, [fp, #-2132]
	add	r3, r3, #4
	ldr	r2, [r3]
	sub	r3, fp, #1504
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L61+144
	mov	r0, r3
	bl	sprintf
	mov	r3, #2
	str	r3, [fp, #-2124]
	b	.L3
.L11:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L4
	ldr	r3, [fp, #-2124]
	add	r2, r3, #1
	ldr	r3, [fp, #-2128]
	cmp	r2, r3
	bcc	.L5
	ldr	r3, .L61+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+40
	ldr	r1, .L61+148
	bl	fprintf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+152
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2116]
	b	.L4
.L6:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+156
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2108]
	b	.L4
.L7:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+160
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2104]
	b	.L4
.L8:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+164
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-2100]
	b	.L4
.L9:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L61+168
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-2112]
	b	.L4
.L10:
	ldr	r3, .L61+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2132]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L61+40
	ldr	r1, .L61+172
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L3:
	ldr	r3, [fp, #-2128]
	ldr	r2, [fp, #-2124]
	cmp	r2, r3
	bcc	.L11
	ldr	r3, [fp, #-2112]
	cmp	r3, #0
	blt	.L12
	ldr	r3, [fp, #-2112]
	cmp	r3, #2
	ble	.L13
.L12:
	ldr	r3, .L61+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2112]
	ldr	r2, .L61+40
	ldr	r1, .L61+176
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	ldr	r3, [fp, #-2116]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-2116]
	cmp	r3, #1
	bne	.L15
.L14:
	mov	r3, #1
	str	r3, [fp, #-2120]
	b	.L16
.L15:
	ldr	r3, [fp, #-2116]
	cmp	r3, #2
	beq	.L17
	ldr	r3, [fp, #-2116]
	cmp	r3, #3
	bne	.L18
.L17:
	mov	r3, #2
	str	r3, [fp, #-2120]
	b	.L16
.L18:
	ldr	r3, [fp, #-2116]
	cmp	r3, #4
	beq	.L19
	ldr	r3, [fp, #-2116]
	cmp	r3, #5
	bne	.L20
.L19:
	mov	r3, #4
	str	r3, [fp, #-2120]
	b	.L16
.L20:
	ldr	r3, [fp, #-2116]
	cmp	r3, #6
	beq	.L21
	ldr	r3, [fp, #-2116]
	cmp	r3, #7
	bne	.L22
.L21:
	mov	r3, #4
	str	r3, [fp, #-2120]
	b	.L16
.L22:
	ldr	r3, [fp, #-2116]
	cmp	r3, #8
	bne	.L23
	mov	r3, #4
	str	r3, [fp, #-2120]
	b	.L16
.L23:
	ldr	r3, [fp, #-2116]
	cmp	r3, #9
	bne	.L24
	mov	r3, #8
	str	r3, [fp, #-2120]
	b	.L16
.L24:
	ldr	r3, .L61+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2116]
	ldr	r2, .L61+40
	ldr	r1, .L61+180
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, [fp, #-2120]
	str	r3, [fp, #-2036]
	ldr	r3, [fp, #-2108]
	str	r3, [fp, #-2032]
	mov	r3, #1
	str	r3, [fp, #-2028]
	mov	r3, #0
	str	r3, [fp, #-2024]
	ldr	r3, [fp, #-2104]
	str	r3, [fp, #-2044]
	ldr	r3, [fp, #-2100]
	str	r3, [fp, #-2040]
	sub	r3, fp, #2032
	sub	r3, r3, #4
	sub	r3, r3, #4
	sub	r2, fp, #2032
	sub	r2, r2, #4
	sub	r2, r2, #8
	sub	ip, fp, #2032
	sub	ip, ip, #4
	sub	r0, fp, #1504
	sub	r0, r0, #4
	sub	r0, r0, #12
	sub	r1, fp, #1008
	str	r1, [sp]
	mov	r1, ip
	bl	xf_readbin3_v
	str	r0, [fp, #-2096]
	ldr	r3, [fp, #-2096]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L61+4
	ldr	r0, [r3]
	sub	r3, fp, #1008
	ldr	r2, .L61+40
	ldr	r1, .L61+184
	bl	fprintf
	mov	r0, #1
	bl	exit
.L25:
	ldr	r3, [fp, #-2024]
	cmp	r3, #0
	bgt	.L26
	ldr	r3, .L61+4
	ldr	r0, [r3]
	sub	r3, fp, #1504
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L61+40
	ldr	r1, .L61+188
	bl	fprintf
	mov	r0, #1
	bl	exit
.L26:
	ldr	r3, [fp, #-2024]
	str	r3, [fp, #-2092]
	ldr	r3, [fp, #-2116]
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2052]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L28
.L29:
	ldr	r2, [fp, #-2052]
	ldr	r3, [fp, #-2124]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L61+192
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L28:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L29
	b	.L30
.L27:
	ldr	r3, [fp, #-2116]
	cmp	r3, #1
	bne	.L31
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2056]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L32
.L33:
	ldr	r2, [fp, #-2056]
	ldr	r3, [fp, #-2124]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L61+196
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L32:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L33
	b	.L30
.L31:
	ldr	r3, [fp, #-2116]
	cmp	r3, #2
	bne	.L34
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2060]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L35
.L36:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2060]
	add	r3, r2, r3
	ldrh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+200
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L35:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L36
	b	.L30
.L34:
	ldr	r3, [fp, #-2116]
	cmp	r3, #3
	bne	.L37
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2064]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L38
.L39:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-2064]
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+204
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L38:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L39
	b	.L30
.L37:
	ldr	r3, [fp, #-2116]
	cmp	r3, #4
	bne	.L40
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2068]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L41
.L42:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2068]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+192
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L41:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L42
	b	.L30
.L40:
	ldr	r3, [fp, #-2116]
	cmp	r3, #5
	bne	.L43
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2072]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L44
.L45:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2072]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+196
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L44:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L45
	b	.L30
.L43:
	ldr	r3, [fp, #-2116]
	cmp	r3, #6
	bne	.L46
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2076]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L47
.L48:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2076]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+208
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L47:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L48
	b	.L30
.L46:
	ldr	r3, [fp, #-2116]
	cmp	r3, #7
	bne	.L49
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2080]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L50
.L51:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2080]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L61+212
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L50:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L51
	b	.L30
.L49:
	ldr	r3, [fp, #-2116]
	cmp	r3, #8
	bne	.L52
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2084]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L53
.L54:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-2084]
	add	r3, r2, r3
	ldr	r3, [r3]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L61+216
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L53:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L54
	b	.L30
.L52:
	ldr	r3, [fp, #-2116]
	cmp	r3, #9
	bne	.L30
	ldr	r3, [fp, #-2096]
	str	r3, [fp, #-2088]
	mov	r3, #0
	str	r3, [fp, #-2124]
	b	.L55
.L56:
	ldr	r3, [fp, #-2124]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-2088]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L61+220
	bl	printf
	ldr	r3, [fp, #-2124]
	add	r3, r3, #1
	str	r3, [fp, #-2124]
.L55:
	ldr	r2, [fp, #-2124]
	ldr	r3, [fp, #-2092]
	cmp	r2, r3
	bcc	.L56
.L30:
	ldr	r3, [fp, #-2112]
	cmp	r3, #1
	bne	.L57
	ldr	r3, .L61+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2120]
	ldr	r2, [fp, #-2092]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L61+224
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2092]
	ldr	r1, .L61+228
	mov	r0, r3
	bl	fprintf
.L57:
	ldr	r3, [fp, #-2112]
	cmp	r3, #2
	bne	.L58
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L61+40
	ldr	r1, .L61+232
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L61+236
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-2048]
	ldr	r3, [fp, #-2048]
	cmp	r3, #0
	bne	.L59
	ldr	r3, .L61+4
	ldr	r0, [r3]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L61+40
	ldr	r1, .L61+240
	bl	fprintf
	mov	r0, #1
	bl	exit
.L59:
	ldr	r3, .L61+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-2120]
	ldr	r2, [fp, #-2092]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L61+224
	bl	fprintf
	ldr	r3, .L61+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-2092]
	ldr	r1, .L61+228
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-2048]
	bl	fclose
.L58:
	ldr	r0, [fp, #-2096]
	bl	free
	mov	r0, #0
	bl	exit
.L62:
	.align	2
.L61:
	.word	.LC59
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.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	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
