	.file	"156393256.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"xe-smoothgauss2"
.LC1:
	.string	"temp_%s_%d"
	.align 8
.LC2:
	.string	"----------------------------------------------------------------------\n"
	.align 8
.LC3:
	.string	"xe-smoothgauss2 v 1: 23.January.2021 [JRH]"
.LC4:
	.string	"%s\n"
	.align 8
.LC5:
	.string	"Apply Gaussian smoothing kernel to data in a column\n"
	.align 8
.LC6:
	.string	" - input must be tab-delimited\n"
	.align 8
.LC7:
	.string	" - assumes data has a fixed sample-rate\n"
	.align 8
.LC8:
	.string	" - non-numeric data and blank lines ignored\n"
.LC9:
	.string	"USAGE: \n"
.LC10:
	.string	"\t%s [in] [w] [options]\n"
	.align 8
.LC11:
	.string	"\t[in]: input file, or \"stdin\"\n"
	.align 8
.LC12:
	.string	"\t[w]: smoothing window (samples)\n"
.LC13:
	.string	"\t\t- uneven numbers only\n"
	.align 8
.LC14:
	.string	"\t\t- use \"1\" to specify no smoothing\n"
.LC15:
	.string	"VALID OPTIONS:\n"
	.align 8
.LC16:
	.string	"\t-cy : column-number containing data [%ld]\n"
	.align 8
.LC17:
	.string	"\t-head : number of header-lines to pass unaltered [%ld]\n"
	.align 8
.LC18:
	.string	"\t-p output precision (-1=auto (%%f), 0=auto (%%g), >0=decimals) [%d]\n"
.LC19:
	.string	"%s"
	.align 8
.LC20:
	.string	"\n--- Error [%s]: missing value for argument \"%s\"\n\n"
.LC21:
	.string	"-cy"
.LC22:
	.string	"-head"
.LC23:
	.string	"-p"
	.align 8
.LC24:
	.string	"\n--- Error [%s]: invalid command line argument [%s]\n\n"
	.align 8
.LC25:
	.string	"\n--- Error [%s]: invalid data column (-cy %ld) - must be greater than zero\n\n"
	.align 8
.LC26:
	.string	"\n--- Error [%s]: smoothing window (%d) must be an odd number\n\n"
	.align 8
.LC27:
	.string	"\n--- Error [%s]: -p [%d] must be -1 or greater\n\n"
.LC28:
	.string	"stdin"
.LC29:
	.string	"r"
	.align 8
.LC30:
	.string	"\n--- Error [%s]: file \"%s\" not found\n\n"
	.align 8
.LC31:
	.string	"\n--- Error [%s]: readline function encountered insufficient memory\n\n"
.LC32:
	.string	"w"
	.align 8
.LC33:
	.string	"\n--- Error [%s]: could not open \"%s\" for writing\n\n"
	.align 8
.LC34:
	.string	"\n--- Error [%s]: input file \"%s\" not found\n\n"
.LC35:
	.string	"\t"
	.align 8
.LC36:
	.string	"\n--- Error [%s]: lineparse function encountered insufficient memory\n\n"
.LC37:
	.string	"%lf"
	.align 8
.LC39:
	.string	"\n--- Error [%s]: insufficient memory\n\n"
	.align 8
.LC40:
	.string	"\n--- Error [%s]: insufficient memory for smoothing function\n\n"
.LC41:
	.string	"\t%.*f"
.LC42:
	.string	"\t%g"
.LC43:
	.string	"\t%f"
.LC44:
	.string	"\t%s"
	.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, 1488
	mov	DWORD PTR -1476[rbp], edi
	mov	QWORD PTR -1488[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -1392[rbp], 0
	mov	QWORD PTR -1320[rbp], 0
	mov	QWORD PTR -1312[rbp], 0
	mov	QWORD PTR -1304[rbp], 0
	mov	QWORD PTR -1296[rbp], 0
	mov	QWORD PTR -1288[rbp], 0
	mov	QWORD PTR -1384[rbp], 0
	mov	QWORD PTR -1280[rbp], 0
	mov	QWORD PTR -1416[rbp], 0
	mov	QWORD PTR -1408[rbp], 0
	mov	QWORD PTR -1272[rbp], 0
	mov	QWORD PTR -1368[rbp], 0
	mov	DWORD PTR -1452[rbp], 1
	mov	DWORD PTR -1448[rbp], 2
	mov	DWORD PTR -1444[rbp], 8
	mov	DWORD PTR -1440[rbp], 4
	mov	DWORD PTR -1436[rbp], 4
	mov	DWORD PTR -1432[rbp], 8
	mov	DWORD PTR -1460[rbp], 0
	mov	QWORD PTR -1344[rbp], 0
	mov	DWORD PTR -1428[rbp], -1
	mov	DWORD PTR -1424[rbp], -1
	mov	DWORD PTR -1456[rbp], -1
	mov	QWORD PTR -1336[rbp], 1
	mov	QWORD PTR -1328[rbp], 0
	call	getpid@PLT
	mov	edx, eax
	lea	rax, -1008[rbp]
	mov	r8d, edx
	lea	rcx, .LC0[rip]
	lea	rdx, .LC1[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR -1352[rbp], rax
	cmp	DWORD PTR -1476[rbp], 2
	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, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC3[rip]
	lea	rsi, .LC4[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, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 52
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 31
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 40
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 44
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[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, 30
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 33
	mov	esi, 1
	lea	rdi, .LC12[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 24
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -1336[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -1328[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -1456[rbp]
	lea	rsi, .LC18[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, .LC2[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC19[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1428[rbp], eax
	mov	QWORD PTR -1376[rbp], 3
	jmp	.L3
.L9:
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L4
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -1476[rbp]
	cdqe
	cmp	rdx, rax
	jl	.L5
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	add	QWORD PTR -1376[rbp], 1
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -1336[rbp], rax
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L7
	add	QWORD PTR -1376[rbp], 1
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	cdqe
	mov	QWORD PTR -1328[rbp], rax
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	add	QWORD PTR -1376[rbp], 1
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -1456[rbp], eax
	jmp	.L4
.L8:
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1488[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	add	QWORD PTR -1376[rbp], 1
.L3:
	mov	eax, DWORD PTR -1476[rbp]
	cdqe
	cmp	QWORD PTR -1376[rbp], rax
	jl	.L9
	cmp	QWORD PTR -1336[rbp], 0
	jg	.L10
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -1336[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	eax, DWORD PTR -1428[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -1428[rbp]
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	cmp	DWORD PTR -1456[rbp], -1
	jge	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -1456[rbp]
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	sub	QWORD PTR -1336[rbp], 1
	lea	rax, -1264[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L13
	mov	DWORD PTR -1460[rbp], 1
.L13:
	cmp	DWORD PTR -1428[rbp], 1
	jg	.L14
	lea	rax, -1264[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L15
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -1360[rbp], rax
	jmp	.L17
.L15:
	lea	rax, -1264[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	rax, QWORD PTR -1408[rbp]
	cmp	rax, -1
	jne	.L18
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L17:
	mov	rdx, QWORD PTR -1360[rbp]
	lea	rcx, -1408[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	xf_lineread1@PLT
	mov	QWORD PTR -1392[rbp], rax
	cmp	QWORD PTR -1392[rbp], 0
	jne	.L19
	lea	rax, -1264[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L20
	mov	rax, QWORD PTR -1360[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L20:
	mov	edi, 0
	call	exit@PLT
.L14:
	cmp	DWORD PTR -1460[rbp], 1
	jne	.L21
	mov	rax, QWORD PTR stdin[rip]
	mov	QWORD PTR -1360[rbp], rax
	lea	rax, -1008[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1352[rbp], rax
	cmp	QWORD PTR -1352[rbp], 0
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1008[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	lea	rax, -1264[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 0
	jne	.L22
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L22:
	mov	QWORD PTR -1368[rbp], 0
	jmp	.L23
.L31:
	mov	rax, QWORD PTR -1408[rbp]
	cmp	rax, -1
	jne	.L24
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	cmp	DWORD PTR -1460[rbp], 1
	jne	.L25
	mov	rdx, QWORD PTR -1352[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
.L25:
	lea	rdx, -1416[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	xf_lineparse2@PLT
	mov	QWORD PTR -1384[rbp], rax
	mov	rax, QWORD PTR -1416[rbp]
	test	rax, rax
	jns	.L26
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	QWORD PTR -1376[rbp], 0
	jmp	.L27
.L29:
	mov	rax, QWORD PTR -1376[rbp]
	cmp	rax, QWORD PTR -1336[rbp]
	jne	.L28
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	mov	rax, QWORD PTR -1392[rbp]
	lea	rcx, [rdx+rax]
	lea	rax, -1400[rbp]
	mov	rdx, rax
	lea	rsi, .LC37[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L28
	movsd	xmm0, QWORD PTR .LC38[rip]
	movsd	QWORD PTR -1400[rbp], xmm0
.L28:
	add	QWORD PTR -1376[rbp], 1
.L27:
	mov	rax, QWORD PTR -1416[rbp]
	cmp	QWORD PTR -1376[rbp], rax
	jl	.L29
	mov	rax, QWORD PTR -1368[rbp]
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -1432[rbp]
	cdqe
	imul	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -1344[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -1344[rbp], rax
	cmp	QWORD PTR -1344[rbp], 0
	jne	.L30
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	rax, QWORD PTR -1368[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1344[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -1400[rbp]
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -1368[rbp], 1
.L23:
	mov	rdx, QWORD PTR -1360[rbp]
	lea	rcx, -1408[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	xf_lineread1@PLT
	mov	QWORD PTR -1392[rbp], rax
	cmp	QWORD PTR -1392[rbp], 0
	jne	.L31
	cmp	DWORD PTR -1460[rbp], 0
	jne	.L32
	mov	rax, QWORD PTR -1360[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L33
.L32:
	mov	rax, QWORD PTR -1352[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L33:
	mov	eax, DWORD PTR -1428[rbp]
	sub	eax, 1
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -1424[rbp], eax
	mov	rcx, QWORD PTR -1368[rbp]
	mov	edx, DWORD PTR -1424[rbp]
	mov	rax, QWORD PTR -1344[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	xf_smoothgauss1_d@PLT
	mov	DWORD PTR -1420[rbp], eax
	cmp	DWORD PTR -1420[rbp], 0
	je	.L34
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L34:
	cmp	DWORD PTR -1460[rbp], 1
	jne	.L35
	lea	rax, -1008[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 0
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L35:
	lea	rax, -1264[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1360[rbp], rax
	cmp	QWORD PTR -1360[rbp], 0
	jne	.L36
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -1264[rbp]
	mov	rcx, rdx
	lea	rdx, .LC0[rip]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	QWORD PTR -1368[rbp], 0
	jmp	.L37
.L51:
	mov	rax, QWORD PTR -1408[rbp]
	cmp	rax, -1
	jne	.L38
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L38:
	mov	rax, QWORD PTR -1368[rbp]
	cmp	rax, QWORD PTR -1328[rbp]
	jge	.L39
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	add	QWORD PTR -1368[rbp], 1
	jmp	.L37
.L39:
	lea	rdx, -1416[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	xf_lineparse2@PLT
	mov	QWORD PTR -1384[rbp], rax
	mov	rax, QWORD PTR -1416[rbp]
	test	rax, rax
	jns	.L40
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC0[rip]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L40:
	cmp	QWORD PTR -1336[rbp], 0
	jne	.L41
	mov	rax, QWORD PTR -1368[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1344[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -1400[rbp], xmm0
	cmp	DWORD PTR -1456[rbp], 0
	jle	.L42
	mov	rdx, QWORD PTR -1400[rbp]
	mov	eax, DWORD PTR -1456[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L43
.L42:
	cmp	DWORD PTR -1456[rbp], 0
	jne	.L44
	mov	rax, QWORD PTR -1400[rbp]
	movq	xmm0, rax
	lea	rdi, .LC42[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L43
.L44:
	mov	rax, QWORD PTR -1400[rbp]
	movq	xmm0, rax
	lea	rdi, .LC43[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L43
.L41:
	mov	rax, QWORD PTR -1384[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	mov	rax, QWORD PTR -1392[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
.L43:
	mov	QWORD PTR -1376[rbp], 1
	jmp	.L45
.L50:
	mov	rax, QWORD PTR -1336[rbp]
	cmp	rax, QWORD PTR -1376[rbp]
	jne	.L46
	mov	rax, QWORD PTR -1368[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1344[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -1400[rbp], xmm0
	cmp	DWORD PTR -1456[rbp], 0
	jle	.L47
	mov	rdx, QWORD PTR -1400[rbp]
	mov	eax, DWORD PTR -1456[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC41[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L48
.L47:
	cmp	DWORD PTR -1456[rbp], 0
	jne	.L49
	mov	rax, QWORD PTR -1400[rbp]
	movq	xmm0, rax
	lea	rdi, .LC42[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -1400[rbp]
	movq	xmm0, rax
	lea	rdi, .LC43[rip]
	mov	eax, 1
	call	printf@PLT
	jmp	.L48
.L46:
	mov	rax, QWORD PTR -1376[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	mov	rax, QWORD PTR -1392[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
.L48:
	add	QWORD PTR -1376[rbp], 1
.L45:
	mov	rax, QWORD PTR -1416[rbp]
	cmp	QWORD PTR -1376[rbp], rax
	jl	.L50
	mov	edi, 10
	call	putchar@PLT
	add	QWORD PTR -1368[rbp], 1
.L37:
	mov	rdx, QWORD PTR -1360[rbp]
	lea	rcx, -1408[rbp]
	mov	rax, QWORD PTR -1392[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	xf_lineread1@PLT
	mov	QWORD PTR -1392[rbp], rax
	cmp	QWORD PTR -1392[rbp], 0
	jne	.L51
	mov	rax, QWORD PTR -1360[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	DWORD PTR -1460[rbp], 1
	jne	.L52
	lea	rax, -1008[rbp]
	mov	rdi, rax
	call	remove@PLT
.L52:
	cmp	QWORD PTR -1344[rbp], 0
	je	.L53
	mov	rax, QWORD PTR -1344[rbp]
	mov	rdi, rax
	call	free@PLT
.L53:
	cmp	QWORD PTR -1392[rbp], 0
	je	.L54
	mov	rax, QWORD PTR -1392[rbp]
	mov	rdi, rax
	call	free@PLT
.L54:
	cmp	QWORD PTR -1296[rbp], 0
	je	.L55
	mov	rax, QWORD PTR -1296[rbp]
	mov	rdi, rax
	call	free@PLT
.L55:
	cmp	QWORD PTR -1384[rbp], 0
	je	.L56
	mov	rax, QWORD PTR -1384[rbp]
	mov	rdi, rax
	call	free@PLT
.L56:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC38:
	.long	0
	.long	2146959360
	.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	"156393256.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"xe-smoothgauss2\000"
	.align	2
.LC1:
	.ascii	"temp_%s_%d\000"
	.align	2
.LC2:
	.ascii	"---------------------------------------------------"
	.ascii	"-------------------\012\000"
	.align	2
.LC3:
	.ascii	"xe-smoothgauss2 v 1: 23.January.2021 [JRH]\000"
	.align	2
.LC4:
	.ascii	"%s\012\000"
	.align	2
.LC5:
	.ascii	"Apply Gaussian smoothing kernel to data in a column"
	.ascii	"\012\000"
	.align	2
.LC6:
	.ascii	" - input must be tab-delimited\012\000"
	.align	2
.LC7:
	.ascii	" - assumes data has a fixed sample-rate\012\000"
	.align	2
.LC8:
	.ascii	" - non-numeric data and blank lines ignored\012\000"
	.align	2
.LC9:
	.ascii	"USAGE: \012\000"
	.align	2
.LC10:
	.ascii	"\011%s [in] [w] [options]\012\000"
	.align	2
.LC11:
	.ascii	"\011[in]: input file, or \"stdin\"\012\000"
	.align	2
.LC12:
	.ascii	"\011[w]: smoothing window (samples)\012\000"
	.align	2
.LC13:
	.ascii	"\011\011- uneven numbers only\012\000"
	.align	2
.LC14:
	.ascii	"\011\011- use \"1\" to specify no smoothing\012\000"
	.align	2
.LC15:
	.ascii	"VALID OPTIONS:\012\000"
	.align	2
.LC16:
	.ascii	"\011-cy : column-number containing data [%ld]\012\000"
	.align	2
.LC17:
	.ascii	"\011-head : number of header-lines to pass unaltere"
	.ascii	"d [%ld]\012\000"
	.align	2
.LC18:
	.ascii	"\011-p output precision (-1=auto (%%f), 0=auto (%%g"
	.ascii	"), >0=decimals) [%d]\012\000"
	.align	2
.LC19:
	.ascii	"%s\000"
	.align	2
.LC20:
	.ascii	"\012--- Error [%s]: missing value for argument \"%s"
	.ascii	"\"\012\012\000"
	.align	2
.LC21:
	.ascii	"-cy\000"
	.align	2
.LC22:
	.ascii	"-head\000"
	.align	2
.LC23:
	.ascii	"-p\000"
	.align	2
.LC24:
	.ascii	"\012--- Error [%s]: invalid command line argument ["
	.ascii	"%s]\012\012\000"
	.align	2
.LC25:
	.ascii	"\012--- Error [%s]: invalid data column (-cy %ld) -"
	.ascii	" must be greater than zero\012\012\000"
	.align	2
.LC26:
	.ascii	"\012--- Error [%s]: smoothing window (%d) must be a"
	.ascii	"n odd number\012\012\000"
	.align	2
.LC27:
	.ascii	"\012--- Error [%s]: -p [%d] must be -1 or greater\012"
	.ascii	"\012\000"
	.align	2
.LC28:
	.ascii	"stdin\000"
	.align	2
.LC29:
	.ascii	"r\000"
	.align	2
.LC30:
	.ascii	"\012--- Error [%s]: file \"%s\" not found\012\012\000"
	.align	2
.LC31:
	.ascii	"\012--- Error [%s]: readline function encountered i"
	.ascii	"nsufficient memory\012\012\000"
	.align	2
.LC32:
	.ascii	"w\000"
	.align	2
.LC33:
	.ascii	"\012--- Error [%s]: could not open \"%s\" for writi"
	.ascii	"ng\012\012\000"
	.align	2
.LC34:
	.ascii	"\012--- Error [%s]: input file \"%s\" not found\012"
	.ascii	"\012\000"
	.align	2
.LC35:
	.ascii	"\011\000"
	.align	2
.LC36:
	.ascii	"\012--- Error [%s]: lineparse function encountered "
	.ascii	"insufficient memory\012\012\000"
	.align	2
.LC37:
	.ascii	"%lf\000"
	.align	2
.LC38:
	.ascii	"\012--- Error [%s]: insufficient memory\012\012\000"
	.align	2
.LC39:
	.ascii	"\012--- Error [%s]: insufficient memory for smoothi"
	.ascii	"ng function\012\012\000"
	.align	2
.LC40:
	.ascii	"\011%.*f\000"
	.align	2
.LC41:
	.ascii	"\011%g\000"
	.align	2
.LC42:
	.ascii	"\011%f\000"
	.align	2
.LC43:
	.ascii	"\011%s\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1408
	str	r0, [fp, #-1400]
	str	r1, [fp, #-1404]
	ldr	r3, .L58
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1384]
	mov	r3, #0
	str	r3, [fp, #-1340]
	mov	r3, #0
	str	r3, [fp, #-1336]
	mov	r3, #0
	str	r3, [fp, #-1332]
	mov	r3, #0
	str	r3, [fp, #-1328]
	mov	r3, #0
	str	r3, [fp, #-1324]
	mov	r3, #0
	str	r3, [fp, #-1380]
	mov	r3, #0
	str	r3, [fp, #-1320]
	mov	r3, #0
	str	r3, [fp, #-1392]
	mov	r3, #0
	str	r3, [fp, #-1388]
	mov	r3, #0
	str	r3, [fp, #-1316]
	mov	r3, #0
	str	r3, [fp, #-1372]
	mov	r3, #1
	str	r3, [fp, #-1312]
	mov	r3, #2
	str	r3, [fp, #-1308]
	mov	r3, #4
	str	r3, [fp, #-1304]
	mov	r3, #4
	str	r3, [fp, #-1300]
	mov	r3, #4
	str	r3, [fp, #-1296]
	mov	r3, #8
	str	r3, [fp, #-1292]
	mov	r3, #0
	str	r3, [fp, #-1360]
	mov	r3, #0
	str	r3, [fp, #-1356]
	mvn	r3, #0
	str	r3, [fp, #-1288]
	mvn	r3, #0
	str	r3, [fp, #-1284]
	mvn	r3, #0
	str	r3, [fp, #-1352]
	mov	r3, #1
	str	r3, [fp, #-1348]
	mov	r3, #0
	str	r3, [fp, #-1344]
	bl	getpid
	mov	r3, r0
	sub	r0, fp, #1008
	str	r3, [sp]
	ldr	r3, .L58+4
	ldr	r2, .L58+8
	mov	r1, #256
	bl	snprintf
	ldr	r3, .L58+12
	ldr	r3, [r3]
	str	r3, [fp, #-1364]
	ldr	r3, [fp, #-1400]
	cmp	r3, #2
	bgt	.L2
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L58+20
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+24
	ldr	r1, .L58+28
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L58+20
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #52
	mov	r1, #1
	ldr	r0, .L58+32
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #31
	mov	r1, #1
	ldr	r0, .L58+36
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #1
	ldr	r0, .L58+40
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #44
	mov	r1, #1
	ldr	r0, .L58+44
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L58+48
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+52
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #30
	mov	r1, #1
	ldr	r0, .L58+56
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #33
	mov	r1, #1
	ldr	r0, .L58+60
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #24
	mov	r1, #1
	ldr	r0, .L58+64
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L58+68
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L58+72
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-1348]
	ldr	r1, .L58+76
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-1344]
	ldr	r1, .L58+80
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-1352]
	ldr	r1, .L58+84
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r2, #71
	mov	r1, #1
	ldr	r0, .L58+20
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-1404]
	add	r3, r3, #4
	ldr	r3, [r3]
	sub	r0, fp, #1248
	sub	r0, r0, #4
	sub	r0, r0, #12
	ldr	r2, .L58+88
	mov	r1, #256
	bl	snprintf
	ldr	r3, [fp, #-1404]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1288]
	mov	r3, #3
	str	r3, [fp, #-1376]
	b	.L3
.L9:
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L4
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	ldr	r2, [fp, #-1400]
	cmp	r2, r3
	bgt	.L5
	ldr	r3, .L58+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+92
	bl	fprintf
	mov	r0, #1
	bl	exit
.L5:
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L58+96
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	str	r3, [fp, #-1376]
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1348]
	b	.L4
.L6:
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L58+100
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	str	r3, [fp, #-1376]
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1344]
	b	.L4
.L7:
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L58+104
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	str	r3, [fp, #-1376]
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-1352]
	b	.L4
.L8:
	ldr	r3, .L58+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1404]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+108
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	str	r3, [fp, #-1376]
.L3:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1400]
	cmp	r2, r3
	blt	.L9
	ldr	r3, [fp, #-1348]
	cmp	r3, #0
	bgt	.L10
	ldr	r3, .L58+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-1348]
	ldr	r2, .L58+4
	ldr	r1, .L58+112
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, [fp, #-1288]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L58+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-1288]
	ldr	r2, .L58+4
	ldr	r1, .L58+116
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, [fp, #-1352]
	cmn	r3, #1
	bge	.L12
	ldr	r3, .L58+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-1352]
	ldr	r2, .L58+4
	ldr	r1, .L58+120
	bl	fprintf
	mov	r0, #1
	bl	exit
.L12:
	ldr	r3, [fp, #-1348]
	sub	r3, r3, #1
	str	r3, [fp, #-1348]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L58+124
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L13
	mov	r3, #1
	str	r3, [fp, #-1360]
.L13:
	ldr	r3, [fp, #-1288]
	cmp	r3, #1
	bgt	.L14
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L58+124
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L58+128
	ldr	r3, [r3]
	str	r3, [fp, #-1368]
	b	.L17
.L15:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L58+132
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1368]
	ldr	r3, [fp, #-1368]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L58+16
	ldr	r0, [r3]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L58+4
	ldr	r1, .L58+136
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-1388]
	cmn	r3, #1
	bne	.L18
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+140
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r1, [fp, #-1384]
	ldr	r0, .L58+88
	bl	printf
.L17:
	sub	r3, fp, #1376
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1368]
	mov	r1, r3
	ldr	r0, [fp, #-1384]
	bl	xf_lineread1
	str	r0, [fp, #-1384]
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	bne	.L19
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L58+124
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
	ldr	r0, [fp, #-1368]
	bl	fclose
.L20:
	mov	r0, #0
	bl	exit
.L14:
	ldr	r3, [fp, #-1360]
	cmp	r3, #1
	bne	.L21
	ldr	r3, .L58+128
	ldr	r3, [r3]
	str	r3, [fp, #-1368]
	sub	r3, fp, #1008
	ldr	r1, .L58+144
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1364]
	ldr	r3, [fp, #-1364]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L58+16
	ldr	r0, [r3]
	sub	r3, fp, #1008
	ldr	r2, .L58+4
	ldr	r1, .L58+148
	bl	fprintf
	mov	r0, #1
	bl	exit
.L21:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L58+132
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1368]
	ldr	r3, [fp, #-1368]
	cmp	r3, #0
	bne	.L22
	ldr	r3, .L58+16
	ldr	r0, [r3]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L58+4
	ldr	r1, .L58+152
	bl	fprintf
	mov	r0, #1
	bl	exit
.L22:
	mov	r3, #0
	str	r3, [fp, #-1372]
	b	.L23
.L31:
	ldr	r3, [fp, #-1388]
	cmn	r3, #1
	bne	.L24
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+140
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L24:
	ldr	r3, [fp, #-1360]
	cmp	r3, #1
	bne	.L25
	ldr	r1, [fp, #-1364]
	ldr	r0, [fp, #-1384]
	bl	fputs
.L25:
	sub	r3, fp, #1376
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L58+156
	ldr	r0, [fp, #-1384]
	bl	xf_lineparse2
	str	r0, [fp, #-1380]
	ldr	r3, [fp, #-1392]
	cmp	r3, #0
	bge	.L26
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+160
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L26:
	mov	r3, #0
	str	r3, [fp, #-1376]
	b	.L27
.L29:
	ldr	r2, [fp, #-1376]
	ldr	r3, [fp, #-1348]
	cmp	r2, r3
	bne	.L28
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1380]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-1384]
	add	r0, r3, r2
	sub	r3, fp, #1264
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L58+164
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L28
	mov	r2, #0
	ldr	r3, .L58+168
	str	r2, [fp, #-1276]
	str	r3, [fp, #-1272]
.L28:
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	str	r3, [fp, #-1376]
.L27:
	ldr	r3, [fp, #-1392]
	ldr	r2, [fp, #-1376]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-1372]
	add	r3, r3, #1
	ldr	r2, [fp, #-1292]
	mul	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-1356]
	bl	realloc
	str	r0, [fp, #-1356]
	ldr	r3, [fp, #-1356]
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+172
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L30:
	ldr	r3, [fp, #-1372]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1356]
	add	r1, r2, r3
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-1372]
	add	r3, r3, #1
	str	r3, [fp, #-1372]
.L23:
	sub	r3, fp, #1376
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1368]
	mov	r1, r3
	ldr	r0, [fp, #-1384]
	bl	xf_lineread1
	str	r0, [fp, #-1384]
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-1360]
	cmp	r3, #0
	bne	.L32
	ldr	r0, [fp, #-1368]
	bl	fclose
	b	.L33
.L32:
	ldr	r0, [fp, #-1364]
	bl	fclose
.L33:
	ldr	r3, [fp, #-1288]
	sub	r3, r3, #1
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-1284]
	ldr	r3, [fp, #-1372]
	ldr	r2, [fp, #-1284]
	mov	r1, r3
	ldr	r0, [fp, #-1356]
	bl	xf_smoothgauss1_d
	str	r0, [fp, #-1280]
	ldr	r3, [fp, #-1280]
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+176
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L34:
	ldr	r3, [fp, #-1360]
	cmp	r3, #1
	bne	.L35
	sub	r3, fp, #1008
	ldr	r1, .L58+132
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1368]
	ldr	r3, [fp, #-1368]
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L58+16
	ldr	r0, [r3]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L58+4
	ldr	r1, .L58+152
	bl	fprintf
	mov	r0, #1
	bl	exit
.L35:
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r1, .L58+132
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1368]
	ldr	r3, [fp, #-1368]
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L58+16
	ldr	r0, [r3]
	sub	r3, fp, #1248
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, .L58+4
	ldr	r1, .L58+152
	bl	fprintf
	mov	r0, #1
	bl	exit
.L36:
	mov	r3, #0
	str	r3, [fp, #-1372]
	b	.L37
.L51:
	ldr	r3, [fp, #-1388]
	cmn	r3, #1
	bne	.L38
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+140
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L38:
	ldr	r2, [fp, #-1372]
	ldr	r3, [fp, #-1344]
	cmp	r2, r3
	bge	.L39
	ldr	r1, [fp, #-1384]
	ldr	r0, .L58+88
	bl	printf
	ldr	r3, [fp, #-1372]
	add	r3, r3, #1
	str	r3, [fp, #-1372]
	b	.L37
.L39:
	sub	r3, fp, #1376
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L58+156
	ldr	r0, [fp, #-1384]
	bl	xf_lineparse2
	str	r0, [fp, #-1380]
	ldr	r3, [fp, #-1392]
	cmp	r3, #0
	bge	.L40
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+4
	ldr	r1, .L58+160
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L40:
	ldr	r3, [fp, #-1348]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-1372]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1356]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-1276]
	str	r3, [fp, #-1272]
	ldr	r3, [fp, #-1352]
	cmp	r3, #0
	ble	.L42
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	ldr	r1, [fp, #-1352]
	ldr	r0, .L58+180
	bl	printf
	b	.L43
.L42:
	ldr	r3, [fp, #-1352]
	cmp	r3, #0
	bne	.L44
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	ldr	r0, .L58+184
	bl	printf
	b	.L43
.L44:
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	ldr	r0, .L58+188
	bl	printf
	b	.L43
.L41:
	ldr	r3, [fp, #-1380]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-1384]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L58+88
	bl	printf
.L43:
	mov	r3, #1
	str	r3, [fp, #-1376]
	b	.L45
.L50:
	ldr	r2, [fp, #-1348]
	ldr	r3, [fp, #-1376]
	cmp	r2, r3
	bne	.L46
	ldr	r3, [fp, #-1372]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-1356]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-1276]
	str	r3, [fp, #-1272]
	ldr	r3, [fp, #-1352]
	cmp	r3, #0
	ble	.L47
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	ldr	r1, [fp, #-1352]
	ldr	r0, .L58+180
	bl	printf
	b	.L48
.L47:
	ldr	r3, [fp, #-1352]
	cmp	r3, #0
	bne	.L49
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	ldr	r0, .L58+184
	bl	printf
	b	.L48
.L49:
	ldr	r2, [fp, #-1276]
	ldr	r3, [fp, #-1272]
	ldr	r0, .L58+188
	bl	printf
	b	.L48
.L46:
	ldr	r3, [fp, #-1376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1380]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-1384]
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L58+192
	bl	printf
.L48:
	ldr	r3, [fp, #-1376]
	add	r3, r3, #1
	str	r3, [fp, #-1376]
.L45:
	ldr	r3, [fp, #-1392]
	ldr	r2, [fp, #-1376]
	cmp	r2, r3
	blt	.L50
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-1372]
	add	r3, r3, #1
	str	r3, [fp, #-1372]
.L37:
	sub	r3, fp, #1376
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-1368]
	mov	r1, r3
	ldr	r0, [fp, #-1384]
	bl	xf_lineread1
	str	r0, [fp, #-1384]
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	bne	.L51
	ldr	r0, [fp, #-1368]
	bl	fclose
	ldr	r3, [fp, #-1360]
	cmp	r3, #1
	bne	.L52
	sub	r3, fp, #1008
	mov	r0, r3
	bl	remove
.L52:
	ldr	r3, [fp, #-1356]
	cmp	r3, #0
	beq	.L53
	ldr	r0, [fp, #-1356]
	bl	free
.L53:
	ldr	r3, [fp, #-1384]
	cmp	r3, #0
	beq	.L54
	ldr	r0, [fp, #-1384]
	bl	free
.L54:
	ldr	r3, [fp, #-1328]
	cmp	r3, #0
	beq	.L55
	ldr	r0, [fp, #-1328]
	bl	free
.L55:
	ldr	r3, [fp, #-1380]
	cmp	r3, #0
	beq	.L56
	ldr	r0, [fp, #-1380]
	bl	free
.L56:
	mov	r0, #0
	bl	exit
.L59:
	.align	2
.L58:
	.word	.LC44
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	stderr
	.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	stdin
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	2146959360
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
