	.file	"485098.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.ascii	"Usage: svm-scale [options] data_filename\noptions:\n-l lower"
	.ascii	" : x scaling lower l"
	.string	"imit (default -1)\n-u upper : x scaling upper limit (default +1)\n-y y_lower y_upper : y scaling limits (default: no y scaling)\n-s save_filename : save scaling parameters to save_filename\n-r restore_filename : restore scaling parameters from restore_filename"
	.text
	.globl	exit_with_help
	.type	exit_with_help, @function
exit_with_help:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	exit_with_help, .-exit_with_help
	.globl	line
	.bss
	.align 8
	.type	line, @object
	.size	line, 8
line:
	.zero	8
	.globl	max_line_len
	.data
	.align 4
	.type	max_line_len, @object
	.size	max_line_len, 4
max_line_len:
	.long	1024
	.globl	lower
	.align 8
	.type	lower, @object
	.size	lower, 8
lower:
	.long	0
	.long	-1074790400
	.globl	upper
	.align 8
	.type	upper, @object
	.size	upper, 8
upper:
	.long	0
	.long	1072693248
	.globl	y_lower
	.bss
	.align 8
	.type	y_lower, @object
	.size	y_lower, 8
y_lower:
	.zero	8
	.globl	y_upper
	.align 8
	.type	y_upper, @object
	.size	y_upper, 8
y_upper:
	.zero	8
	.globl	y_scaling
	.align 4
	.type	y_scaling, @object
	.size	y_scaling, 4
y_scaling:
	.zero	4
	.globl	feature_max
	.align 8
	.type	feature_max, @object
	.size	feature_max, 8
feature_max:
	.zero	8
	.globl	feature_min
	.align 8
	.type	feature_min, @object
	.size	feature_min, 8
feature_min:
	.zero	8
	.globl	y_max
	.data
	.align 8
	.type	y_max, @object
	.size	y_max, 8
y_max:
	.long	-1
	.long	-1048577
	.globl	y_min
	.align 8
	.type	y_min, @object
	.size	y_min, 8
y_min:
	.long	-1
	.long	2146435071
	.globl	max_index
	.bss
	.align 4
	.type	max_index, @object
	.size	max_index, 4
max_index:
	.zero	4
	.globl	min_index
	.align 4
	.type	min_index, @object
	.size	min_index, 4
min_index:
	.zero	4
	.globl	num_nonzeros
	.align 8
	.type	num_nonzeros, @object
	.size	num_nonzeros, 8
num_nonzeros:
	.zero	8
	.globl	new_num_nonzeros
	.align 8
	.type	new_num_nonzeros, @object
	.size	new_num_nonzeros, 8
new_num_nonzeros:
	.zero	8
	.section	.rodata
.LC1:
	.string	"unknown option\n"
	.align 8
.LC2:
	.string	"inconsistent lower/upper specification\n"
	.align 8
.LC3:
	.string	"cannot use -r and -s simultaneously\n"
.LC4:
	.string	"r"
.LC5:
	.string	"can't open file %s\n"
.LC6:
	.string	"%d %*f %*f\n"
.LC7:
	.string	"%d:%*f"
	.align 8
.LC8:
	.string	"WARNING: minimal feature index is %d, but indices should start from 1\n"
.LC9:
	.string	"can't allocate enough memory\n"
.LC12:
	.string	"%lf"
.LC13:
	.string	"ERROR: failed to read labels\n"
.LC15:
	.string	"%d:%lf"
.LC16:
	.string	"%lf %lf\n"
	.align 8
.LC17:
	.string	"ERROR: failed to read scaling parameters\n"
	.align 8
.LC18:
	.string	"WARNING: feature index %d appeared in file %s was not seen in the scaling factor file %s.\n"
.LC19:
	.string	"%d %lf %lf\n"
.LC20:
	.string	"w"
.LC21:
	.string	"y\n"
.LC22:
	.string	"%.16g %.16g\n"
.LC23:
	.string	"x\n"
.LC24:
	.string	"%d %.16g %.16g\n"
	.align 8
.LC25:
	.string	"WARNING: scaling factors with indices smaller than 1 are not stored to the file %s.\n"
	.align 8
.LC26:
	.string	"WARNING: original #nonzeros %ld\n         new      #nonzeros %ld\nUse -l 0 if many original feature values are zeros\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	DWORD PTR -132[rbp], edi
	mov	QWORD PTR -144[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	DWORD PTR -112[rbp], 1
	jmp	.L3
.L14:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L158
	add	DWORD PTR -112[rbp], 1
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 108
	cmp	eax, 13
	ja	.L6
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L8[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L8[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L12-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L6-.L8
	.long	.L9-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L6-.L8
	.long	.L7-.L8
	.text
.L12:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR lower[rip], rax
	jmp	.L13
.L9:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR upper[rip], rax
	jmp	.L13
.L7:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR y_lower[rip], rax
	add	DWORD PTR -112[rbp], 1
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR y_upper[rip], rax
	mov	DWORD PTR y_scaling[rip], 1
	jmp	.L13
.L10:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L13
.L11:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -56[rbp], rax
	jmp	.L13
.L6:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, 0
	call	exit_with_help
.L13:
	add	DWORD PTR -112[rbp], 1
.L3:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -132[rbp]
	jl	.L14
	jmp	.L5
.L158:
	nop
.L5:
	movsd	xmm0, QWORD PTR upper[rip]
	movsd	xmm1, QWORD PTR lower[rip]
	comisd	xmm0, xmm1
	seta	al
	xor	eax, 1
	test	al, al
	jne	.L15
	mov	eax, DWORD PTR y_scaling[rip]
	test	eax, eax
	je	.L16
	movsd	xmm0, QWORD PTR y_upper[rip]
	movsd	xmm1, QWORD PTR y_lower[rip]
	comisd	xmm0, xmm1
	seta	al
	xor	eax, 1
	test	al, al
	je	.L16
.L15:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC2[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	cmp	QWORD PTR -56[rbp], 0
	je	.L17
	cmp	QWORD PTR -64[rbp], 0
	je	.L17
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 1
	cmp	DWORD PTR -132[rbp], eax
	je	.L18
	mov	eax, 0
	call	exit_with_help
.L18:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L19:
	mov	eax, DWORD PTR max_line_len[rip]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR line[rip], rax
	mov	DWORD PTR max_index[rip], 0
	mov	DWORD PTR min_index[rip], 1
	cmp	QWORD PTR -56[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -56[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -96[rbp], eax
	cmp	DWORD PTR -96[rbp], 121
	jne	.L22
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	readline
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	readline
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	readline
.L22:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	readline
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	readline
	jmp	.L23
.L24:
	mov	edx, DWORD PTR max_index[rip]
	mov	eax, DWORD PTR -80[rbp]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR max_index[rip], eax
.L23:
	lea	rdx, -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L24
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	rewind@PLT
	jmp	.L25
.L39:
	mov	rax, QWORD PTR line[rip]
	mov	QWORD PTR -48[rbp], rax
	jmp	.L26
.L27:
	add	QWORD PTR -48[rbp], 1
.L26:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L27
	jmp	.L28
.L29:
	add	QWORD PTR -48[rbp], 1
.L28:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L29
	jmp	.L30
.L38:
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR max_index[rip]
	cmp	edx, eax
	cmovge	eax, edx
	mov	DWORD PTR max_index[rip], eax
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR min_index[rip]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR min_index[rip], eax
	jmp	.L31
.L32:
	add	QWORD PTR -48[rbp], 1
.L31:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L32
	add	QWORD PTR -48[rbp], 1
	jmp	.L33
.L34:
	add	QWORD PTR -48[rbp], 1
.L33:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L34
	jmp	.L35
.L37:
	add	QWORD PTR -48[rbp], 1
.L35:
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L36
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L37
.L36:
	mov	rax, QWORD PTR num_nonzeros[rip]
	add	rax, 1
	mov	QWORD PTR num_nonzeros[rip], rax
.L30:
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L38
.L25:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readline
	test	rax, rax
	jne	.L39
	mov	eax, DWORD PTR min_index[rip]
	test	eax, eax
	jg	.L40
	mov	edx, DWORD PTR min_index[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L40:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	eax, DWORD PTR max_index[rip]
	add	eax, 1
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR feature_max[rip], rax
	mov	eax, DWORD PTR max_index[rip]
	add	eax, 1
	cdqe
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR feature_min[rip], rax
	mov	rax, QWORD PTR feature_max[rip]
	test	rax, rax
	je	.L41
	mov	rax, QWORD PTR feature_min[rip]
	test	rax, rax
	jne	.L42
.L41:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 29
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
.L42:
	mov	DWORD PTR -112[rbp], 0
	jmp	.L43
.L44:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR .LC11[rip]
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -112[rbp], 1
.L43:
	mov	eax, DWORD PTR max_index[rip]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L44
	jmp	.L45
.L89:
	mov	rax, QWORD PTR line[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -108[rbp], 1
	lea	rdx, -88[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L46
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC13[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	clean_up
	jmp	.L137
.L46:
	movsd	xmm0, QWORD PTR y_max[rip]
	movsd	xmm1, QWORD PTR -88[rbp]
	comisd	xmm0, xmm1
	jbe	.L150
	movsd	xmm0, QWORD PTR y_max[rip]
	jmp	.L50
.L150:
	movsd	xmm0, QWORD PTR -88[rbp]
.L50:
	movsd	QWORD PTR y_max[rip], xmm0
	movsd	xmm1, QWORD PTR y_min[rip]
	movsd	xmm0, QWORD PTR -88[rbp]
	comisd	xmm0, xmm1
	jbe	.L151
	movsd	xmm0, QWORD PTR y_min[rip]
	jmp	.L53
.L151:
	movsd	xmm0, QWORD PTR -88[rbp]
.L53:
	movsd	QWORD PTR y_min[rip], xmm0
	jmp	.L54
.L55:
	add	QWORD PTR -40[rbp], 1
.L54:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L55
	jmp	.L56
.L57:
	add	QWORD PTR -40[rbp], 1
.L56:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L57
	jmp	.L58
.L80:
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -112[rbp], eax
	jmp	.L59
.L66:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L152
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L62
.L152:
	pxor	xmm0, xmm0
.L62:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L153
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L65
.L153:
	pxor	xmm0, xmm0
.L65:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -112[rbp], 1
.L59:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L66
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -80[rbp]
	comisd	xmm0, xmm1
	jbe	.L154
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L69
.L154:
	movsd	xmm0, QWORD PTR -80[rbp]
.L69:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -80[rbp]
	comisd	xmm0, xmm1
	jbe	.L155
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L72
.L155:
	movsd	xmm0, QWORD PTR -80[rbp]
.L72:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	jmp	.L73
.L74:
	add	QWORD PTR -40[rbp], 1
.L73:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L74
	add	QWORD PTR -40[rbp], 1
	jmp	.L75
.L76:
	add	QWORD PTR -40[rbp], 1
.L75:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L76
	jmp	.L77
.L79:
	add	QWORD PTR -40[rbp], 1
.L77:
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L78
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L79
.L78:
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -108[rbp], eax
.L58:
	lea	rcx, -80[rbp]
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L80
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -112[rbp], eax
	jmp	.L81
.L88:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L156
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L84
.L156:
	pxor	xmm0, xmm0
.L84:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L157
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L87
.L157:
	pxor	xmm0, xmm0
.L87:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -112[rbp], 1
.L81:
	mov	eax, DWORD PTR max_index[rip]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L88
.L45:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readline
	test	rax, rax
	jne	.L89
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rewind@PLT
	cmp	QWORD PTR -56[rbp], 0
	je	.L90
	mov	DWORD PTR -104[rbp], 1
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 121
	jne	.L91
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, y_upper[rip]
	lea	rdx, y_lower[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	jne	.L92
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, y_max[rip]
	lea	rdx, y_min[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	je	.L93
.L92:
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC17[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	clean_up
	jmp	.L137
.L93:
	mov	DWORD PTR y_scaling[rip], 1
	jmp	.L95
.L91:
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -92[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
.L95:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, 120
	jne	.L96
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, upper[rip]
	lea	rdx, lower[rip]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 2
	je	.L98
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, .LC17[rip]
	mov	rsi, rcx
	mov	rdi, rax
	call	clean_up
	jmp	.L137
.L103:
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -112[rbp], eax
	jmp	.L99
.L102:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	ucomisd	xmm0, xmm1
	jp	.L147
	comisd	xmm0, xmm1
	je	.L100
.L147:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -112[rbp]
	mov	r8, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L100:
	add	DWORD PTR -112[rbp], 1
.L99:
	mov	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L102
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -116[rbp]
	add	eax, 1
	mov	DWORD PTR -104[rbp], eax
.L98:
	lea	rsi, -80[rbp]
	lea	rcx, -88[rbp]
	lea	rdx, -116[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	r8, rsi
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 3
	je	.L103
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -112[rbp], eax
	jmp	.L104
.L107:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	ucomisd	xmm0, xmm1
	jp	.L148
	comisd	xmm0, xmm1
	je	.L105
.L148:
	mov	eax, DWORD PTR -132[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -112[rbp]
	mov	r8, rsi
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L105:
	add	DWORD PTR -112[rbp], 1
.L104:
	mov	eax, DWORD PTR max_index[rip]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L107
.L96:
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L90:
	cmp	QWORD PTR -64[rbp], 0
	je	.L116
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L109
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L109:
	mov	eax, DWORD PTR y_scaling[rip]
	test	eax, eax
	je	.L110
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC21[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR y_upper[rip]
	mov	rdx, QWORD PTR y_lower[rip]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	movsd	xmm0, QWORD PTR y_max[rip]
	mov	rdx, QWORD PTR y_min[rip]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
.L110:
	mov	rax, QWORD PTR -16[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	movsd	xmm0, QWORD PTR upper[rip]
	mov	rdx, QWORD PTR lower[rip]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	mov	DWORD PTR -112[rbp], 1
	jmp	.L111
.L114:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	ucomisd	xmm0, xmm1
	jp	.L149
	comisd	xmm0, xmm1
	je	.L112
.L149:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR -16[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rcx
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
.L112:
	add	DWORD PTR -112[rbp], 1
.L111:
	mov	eax, DWORD PTR max_index[rip]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L114
	mov	eax, DWORD PTR min_index[rip]
	test	eax, eax
	jg	.L115
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -64[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L115:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L116
.L135:
	mov	rax, QWORD PTR line[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -100[rbp], 1
	lea	rdx, -88[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L117
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, .LC13[rip]
	mov	rsi, rax
	mov	edi, 0
	call	clean_up
	jmp	.L137
.L117:
	mov	rax, QWORD PTR -88[rbp]
	movq	xmm0, rax
	call	output_target
	jmp	.L118
.L119:
	add	QWORD PTR -32[rbp], 1
.L118:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L119
	jmp	.L120
.L121:
	add	QWORD PTR -32[rbp], 1
.L120:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L121
	jmp	.L122
.L132:
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -112[rbp], eax
	jmp	.L123
.L124:
	mov	eax, DWORD PTR -112[rbp]
	pxor	xmm0, xmm0
	mov	edi, eax
	call	output
	add	DWORD PTR -112[rbp], 1
.L123:
	mov	eax, DWORD PTR -120[rbp]
	cmp	DWORD PTR -112[rbp], eax
	jl	.L124
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	movq	xmm0, rdx
	mov	edi, eax
	call	output
	jmp	.L125
.L126:
	add	QWORD PTR -32[rbp], 1
.L125:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L126
	add	QWORD PTR -32[rbp], 1
	jmp	.L127
.L128:
	add	QWORD PTR -32[rbp], 1
.L127:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L128
	jmp	.L129
.L131:
	add	QWORD PTR -32[rbp], 1
.L129:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L130
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L131
.L130:
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	DWORD PTR -100[rbp], eax
.L122:
	lea	rcx, -80[rbp]
	lea	rdx, -120[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L132
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR -112[rbp], eax
	jmp	.L133
.L134:
	mov	eax, DWORD PTR -112[rbp]
	pxor	xmm0, xmm0
	mov	edi, eax
	call	output
	add	DWORD PTR -112[rbp], 1
.L133:
	mov	eax, DWORD PTR max_index[rip]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L134
	mov	edi, 10
	call	putchar@PLT
.L116:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	readline
	test	rax, rax
	jne	.L135
	mov	rdx, QWORD PTR new_num_nonzeros[rip]
	mov	rax, QWORD PTR num_nonzeros[rip]
	cmp	rdx, rax
	jle	.L136
	mov	rcx, QWORD PTR new_num_nonzeros[rip]
	mov	rdx, QWORD PTR num_nonzeros[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L136:
	mov	rax, QWORD PTR line[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR feature_max[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR feature_min[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L137:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L138
	call	__stack_chk_fail@PLT
.L138:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.globl	readline
	.type	readline, @function
readline:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	ecx, DWORD PTR max_line_len[rip]
	mov	rax, QWORD PTR line[rip]
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L162
	mov	eax, 0
	jmp	.L161
.L164:
	mov	eax, DWORD PTR max_line_len[rip]
	add	eax, eax
	mov	DWORD PTR max_line_len[rip], eax
	mov	eax, DWORD PTR max_line_len[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR line[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR line[rip], rax
	mov	rax, QWORD PTR line[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR max_line_len[rip]
	sub	eax, DWORD PTR -4[rbp]
	mov	rcx, QWORD PTR line[rip]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, eax
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	je	.L165
.L162:
	mov	rax, QWORD PTR line[rip]
	mov	esi, 10
	mov	rdi, rax
	call	strrchr@PLT
	test	rax, rax
	je	.L164
	jmp	.L163
.L165:
	nop
.L163:
	mov	rax, QWORD PTR line[rip]
.L161:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	readline, .-readline
	.section	.rodata
.LC27:
	.string	"%g "
	.text
	.globl	output_target
	.type	output_target, @function
output_target:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR y_scaling[rip]
	test	eax, eax
	je	.L167
	movsd	xmm0, QWORD PTR y_min[rip]
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jp	.L168
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jne	.L168
	movsd	xmm0, QWORD PTR y_lower[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L167
.L168:
	movsd	xmm0, QWORD PTR y_max[rip]
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jp	.L170
	ucomisd	xmm0, QWORD PTR -8[rbp]
	jne	.L170
	movsd	xmm0, QWORD PTR y_upper[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L167
.L170:
	movsd	xmm0, QWORD PTR y_upper[rip]
	movsd	xmm2, QWORD PTR y_lower[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm2, QWORD PTR y_min[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR y_max[rip]
	movsd	xmm3, QWORD PTR y_min[rip]
	movapd	xmm2, xmm1
	subsd	xmm2, xmm3
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR y_lower[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
.L167:
	mov	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC27[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	output_target, .-output_target
	.section	.rodata
.LC28:
	.string	"%d:%g "
	.text
	.globl	output
	.type	output, @function
output:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	movsd	QWORD PTR -16[rbp], xmm0
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	ucomisd	xmm0, xmm1
	jp	.L175
	ucomisd	xmm0, xmm1
	je	.L187
.L175:
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jp	.L178
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jne	.L178
	movsd	xmm0, QWORD PTR lower[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L180
.L178:
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jp	.L181
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jne	.L181
	movsd	xmm0, QWORD PTR upper[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L180
.L181:
	movsd	xmm0, QWORD PTR upper[rip]
	movsd	xmm2, QWORD PTR lower[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	mov	rdx, QWORD PTR feature_max[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rdx, QWORD PTR feature_min[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	movsd	xmm3, QWORD PTR [rax]
	movapd	xmm2, xmm1
	subsd	xmm2, xmm3
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR lower[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
.L180:
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jp	.L186
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -16[rbp]
	je	.L174
.L186:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR new_num_nonzeros[rip]
	add	rax, 1
	mov	QWORD PTR new_num_nonzeros[rip], rax
	jmp	.L174
.L187:
	nop
.L174:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	output, .-output
	.globl	clean_up
	.type	clean_up, @function
clean_up:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rdx, QWORD PTR stderr[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR line[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR feature_max[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR feature_min[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	cmp	QWORD PTR -8[rbp], 0
	je	.L189
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L189:
	mov	eax, -1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	clean_up, .-clean_up
	.section	.rodata
	.align 8
.LC10:
	.long	-1
	.long	-1048577
	.align 8
.LC11:
	.long	-1
	.long	2146435071
	.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	"485098.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: svm-scale [options] data_filename\012options"
	.ascii	":\012-l lower : x scaling lower limit (default -1)\012"
	.ascii	"-u upper : x scaling upper limit (default +1)\012-y"
	.ascii	" y_lower y_upper : y scaling limits (default: no y "
	.ascii	"scaling)\012-s save_filename : save scaling paramet"
	.ascii	"ers to save_filename\012-r restore_filename : resto"
	.ascii	"re scaling parameters from restore_filename\000"
	.text
	.align	2
	.global	exit_with_help
	.syntax unified
	.arm
	.fpu softvfp
	.type	exit_with_help, %function
exit_with_help:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	puts
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	exit_with_help, .-exit_with_help
	.global	line
	.bss
	.align	2
	.type	line, %object
	.size	line, 4
line:
	.space	4
	.global	max_line_len
	.data
	.align	2
	.type	max_line_len, %object
	.size	max_line_len, 4
max_line_len:
	.word	1024
	.global	lower
	.align	3
	.type	lower, %object
	.size	lower, 8
lower:
	.word	0
	.word	-1074790400
	.global	upper
	.align	3
	.type	upper, %object
	.size	upper, 8
upper:
	.word	0
	.word	1072693248
	.comm	y_lower,8,8
	.comm	y_upper,8,8
	.global	y_scaling
	.bss
	.align	2
	.type	y_scaling, %object
	.size	y_scaling, 4
y_scaling:
	.space	4
	.comm	feature_max,4,4
	.comm	feature_min,4,4
	.global	y_max
	.data
	.align	3
	.type	y_max, %object
	.size	y_max, 8
y_max:
	.word	4294967295
	.word	-1048577
	.global	y_min
	.align	3
	.type	y_min, %object
	.size	y_min, 8
y_min:
	.word	4294967295
	.word	2146435071
	.comm	max_index,4,4
	.comm	min_index,4,4
	.global	num_nonzeros
	.bss
	.align	2
	.type	num_nonzeros, %object
	.size	num_nonzeros, 4
num_nonzeros:
	.space	4
	.global	new_num_nonzeros
	.align	2
	.type	new_num_nonzeros, %object
	.size	new_num_nonzeros, 4
new_num_nonzeros:
	.space	4
	.section	.rodata
	.align	2
.LC1:
	.ascii	"unknown option\012\000"
	.global	__aeabi_dcmpgt
	.align	2
.LC2:
	.ascii	"inconsistent lower/upper specification\012\000"
	.align	2
.LC3:
	.ascii	"cannot use -r and -s simultaneously\012\000"
	.align	2
.LC4:
	.ascii	"r\000"
	.align	2
.LC5:
	.ascii	"can't open file %s\012\000"
	.align	2
.LC6:
	.ascii	"%d %*f %*f\012\000"
	.align	2
.LC7:
	.ascii	"%d:%*f\000"
	.align	2
.LC8:
	.ascii	"WARNING: minimal feature index is %d, but indices s"
	.ascii	"hould start from 1\012\000"
	.align	2
.LC9:
	.ascii	"can't allocate enough memory\012\000"
	.align	2
.LC10:
	.ascii	"%lf\000"
	.align	2
.LC11:
	.ascii	"ERROR: failed to read labels\012\000"
	.global	__aeabi_dcmplt
	.align	2
.LC12:
	.ascii	"%d:%lf\000"
	.align	2
.LC13:
	.ascii	"%lf %lf\012\000"
	.align	2
.LC14:
	.ascii	"ERROR: failed to read scaling parameters\012\000"
	.global	__aeabi_dcmpeq
	.align	2
.LC15:
	.ascii	"WARNING: feature index %d appeared in file %s was n"
	.ascii	"ot seen in the scaling factor file %s.\012\000"
	.align	2
.LC16:
	.ascii	"%d %lf %lf\012\000"
	.align	2
.LC17:
	.ascii	"w\000"
	.align	2
.LC18:
	.ascii	"y\012\000"
	.align	2
.LC19:
	.ascii	"%.16g %.16g\012\000"
	.align	2
.LC20:
	.ascii	"x\012\000"
	.align	2
.LC21:
	.ascii	"%d %.16g %.16g\012\000"
	.align	2
.LC22:
	.ascii	"WARNING: scaling factors with indices smaller than "
	.ascii	"1 are not stored to the file %s.\012\000"
	.align	2
.LC23:
	.ascii	"WARNING: original #nonzeros %ld\012         new    "
	.ascii	"  #nonzeros %ld\012Use -l 0 if many original featur"
	.ascii	"e values are zeros\012\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #116
	str	r0, [fp, #-104]
	str	r1, [fp, #-108]
	ldr	r3, .L163+160
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L5
.L16:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L162
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #108
	cmp	r3, #13
	ldrls	pc, [pc, r3, asl #2]
	b	.L8
.L10:
	.word	.L14
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L13
	.word	.L12
	.word	.L8
	.word	.L11
	.word	.L8
	.word	.L8
	.word	.L8
	.word	.L9
.L14:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+92
	stm	r1, {r2-r3}
	b	.L15
.L11:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+96
	stm	r1, {r2-r3}
	b	.L15
.L9:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+72
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+76
	stm	r1, {r2-r3}
	ldr	r3, .L163+64
	mov	r2, #1
	str	r2, [r3]
	b	.L15
.L12:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-84]
	b	.L15
.L13:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-80]
	b	.L15
.L8:
	ldr	r3, .L163+132
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L163
	bl	fwrite
	bl	exit_with_help
.L15:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L5:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	blt	.L16
	b	.L7
.L162:
	nop
.L7:
	ldr	r3, .L163+96
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+92
	ldmia	r3, {r2-r3}
	mov	ip, #1
	mov	r4, ip
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	mov	r3, #0
	mov	r4, r3
.L17:
	and	r3, r4, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L163+64
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L163+76
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+72
	ldmia	r3, {r2-r3}
	mov	ip, #1
	mov	r4, ip
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	mov	r3, #0
	mov	r4, r3
.L20:
	and	r3, r4, #255
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L19
.L18:
	ldr	r3, .L163+132
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L163+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L163+132
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L163+8
	bl	fwrite
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	beq	.L22
	bl	exit_with_help
.L22:
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L163+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L163+132
	ldr	r0, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L163+60
	bl	fprintf
	mov	r0, #1
	bl	exit
.L23:
	ldr	r3, .L163+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L163+148
	str	r2, [r3]
	ldr	r3, .L163+128
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L163+108
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L29
	ldr	r1, .L163+12
	ldr	r0, [fp, #-80]
	bl	fopen
	str	r0, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L163+132
	ldr	r3, [r3]
	ldr	r2, [fp, #-80]
	ldr	r1, .L163+60
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L25:
	ldr	r0, [fp, #-88]
	bl	fgetc
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	cmp	r3, #121
	bne	.L26
	ldr	r0, [fp, #-88]
	bl	readline
	ldr	r0, [fp, #-88]
	bl	readline
	ldr	r0, [fp, #-88]
	bl	readline
.L26:
	ldr	r0, [fp, #-88]
	bl	readline
	ldr	r0, [fp, #-88]
	bl	readline
	b	.L27
.L28:
	ldr	r3, .L163+128
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	ldr	r2, .L163+128
	str	r3, [r2]
.L27:
	sub	r3, fp, #28
	mov	r2, r3
	ldr	r1, .L163+20
	ldr	r0, [fp, #-88]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L28
	ldr	r0, [fp, #-88]
	bl	rewind
	b	.L29
.L43:
	ldr	r3, .L163+148
	ldr	r3, [r3]
	str	r3, [fp, #-76]
	b	.L30
.L31:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L30:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L31
	b	.L32
.L33:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L32:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L33
	b	.L34
.L42:
	ldr	r2, [fp, #-100]
	ldr	r3, .L163+128
	ldr	r3, [r3]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	ldr	r2, .L163+128
	str	r3, [r2]
	ldr	r2, [fp, #-100]
	ldr	r3, .L163+108
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	ldr	r2, .L163+108
	str	r3, [r2]
	b	.L35
.L36:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L35:
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L36
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	b	.L37
.L38:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L37:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L38
	b	.L39
.L41:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L39:
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L40
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-76]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L41
.L40:
	ldr	r3, .L163+136
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L163+136
	str	r3, [r2]
.L34:
	sub	r3, fp, #100
	mov	r2, r3
	ldr	r1, .L163+24
	ldr	r0, [fp, #-76]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L42
.L29:
	ldr	r0, [fp, #-52]
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L163+108
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L44
	ldr	r3, .L163+132
	ldr	r3, [r3]
	ldr	r2, .L163+108
	ldr	r2, [r2]
	ldr	r1, .L163+28
	mov	r0, r3
	bl	fprintf
.L44:
	ldr	r0, [fp, #-52]
	bl	rewind
	ldr	r3, .L163+128
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L163+152
	str	r2, [r3]
	ldr	r3, .L163+128
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L163+156
	str	r2, [r3]
	ldr	r3, .L163+152
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L163+156
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L46
.L45:
	ldr	r3, .L163+132
	ldr	r3, [r3]
	mov	r2, #29
	mov	r1, #1
	ldr	r0, .L163+32
	bl	fwrite
	mov	r0, #1
	bl	exit
.L46:
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L47
.L48:
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mvn	r2, #0
	mvn	r3, #1048576
	stm	r1, {r2-r3}
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r1, r2, r3
	mvn	r2, #0
	ldr	r3, .L163+36
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L47:
	ldr	r3, .L163+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	ble	.L48
	b	.L49
.L93:
	ldr	r3, .L163+148
	ldr	r3, [r3]
	str	r3, [fp, #-72]
	mov	r3, #1
	str	r3, [fp, #-68]
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, .L163+116
	ldr	r0, [fp, #-72]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L50
	ldr	r2, .L163+120
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-88]
	bl	clean_up
	mov	r3, r0
	b	.L141
.L50:
	ldr	r3, .L163+84
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L154
	ldr	r3, .L163+84
	ldmia	r3, {r2-r3}
	b	.L54
.L154:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
.L54:
	ldr	r1, .L163+84
	stm	r1, {r2-r3}
	ldr	r3, .L163+80
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L155
	ldr	r3, .L163+80
	ldmia	r3, {r2-r3}
	b	.L57
.L155:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
.L57:
	ldr	r1, .L163+80
	stm	r1, {r2-r3}
	b	.L58
.L59:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L58:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L59
	b	.L60
.L61:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L60:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L61
	b	.L62
.L84:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-92]
	b	.L63
.L70:
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L156
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L66
.L156:
	mov	r2, #0
	mov	r3, #0
.L66:
	ldr	r1, .L163+152
	ldr	r0, [r1]
	ldr	r1, [fp, #-92]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L157
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L69
.L157:
	mov	r2, #0
	mov	r3, #0
.L69:
	ldr	r1, .L163+156
	ldr	r0, [r1]
	ldr	r1, [fp, #-92]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L63:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L70
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L158
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L73
.L158:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L73:
	ldr	r1, .L163+152
	ldr	r0, [r1]
	ldr	r1, [fp, #-100]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L159
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L76
.L159:
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
.L76:
	ldr	r1, .L163+156
	ldr	r0, [r1]
	ldr	r1, [fp, #-100]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	b	.L77
.L78:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L77:
	ldr	r3, [fp, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L78
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
	b	.L79
.L80:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L79:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L80
	b	.L81
.L83:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L81:
	ldr	r3, [fp, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L82
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-72]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L83
.L82:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L62:
	sub	r3, fp, #28
	sub	r2, fp, #100
	ldr	r1, .L163+124
	ldr	r0, [fp, #-72]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L84
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-92]
	b	.L85
.L92:
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L160
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L88
.L160:
	mov	r2, #0
	mov	r3, #0
.L88:
	ldr	r1, .L163+152
	ldr	r0, [r1]
	ldr	r1, [fp, #-92]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L161
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L91
.L161:
	mov	r2, #0
	mov	r3, #0
.L91:
	ldr	r1, .L163+156
	ldr	r0, [r1]
	ldr	r1, [fp, #-92]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L85:
	ldr	r3, .L163+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	ble	.L92
.L49:
	ldr	r0, [fp, #-52]
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bne	.L93
	ldr	r0, [fp, #-52]
	bl	rewind
	ldr	r3, [fp, #-80]
	cmp	r3, #0
	beq	.L94
	mov	r3, #1
	str	r3, [fp, #-64]
	ldr	r0, [fp, #-88]
	bl	fgetc
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #121
	bne	.L95
	ldr	r3, .L163+76
	ldr	r2, .L163+72
	ldr	r1, .L163+40
	ldr	r0, [fp, #-88]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	bne	.L96
	ldr	r3, .L163+84
	ldr	r2, .L163+80
	ldr	r1, .L163+40
	ldr	r0, [fp, #-88]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L97
.L96:
	ldr	r2, .L163+44
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-88]
	bl	clean_up
	mov	r3, r0
	b	.L141
.L97:
	ldr	r3, .L163+64
	mov	r2, #1
	str	r2, [r3]
	b	.L99
.L95:
	ldr	r1, [fp, #-88]
	ldr	r0, [fp, #-44]
	bl	ungetc
.L99:
	ldr	r0, [fp, #-88]
	bl	fgetc
	mov	r3, r0
	cmp	r3, #120
	bne	.L100
	ldr	r3, .L163+96
	ldr	r2, .L163+92
	ldr	r1, .L163+40
	ldr	r0, [fp, #-88]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L102
	ldr	r2, .L163+44
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-88]
	bl	clean_up
	mov	r3, r0
	b	.L141
.L107:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-92]
	b	.L103
.L106:
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L104
	ldr	r3, .L163+132
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-92]
	ldr	r1, .L163+52
	bl	fprintf
.L104:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L103:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L106
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L102:
	sub	r1, fp, #36
	sub	r2, fp, #96
	sub	r3, fp, #28
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L163+48
	ldr	r0, [fp, #-88]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #3
	beq	.L107
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-92]
	b	.L108
.L164:
	.align	2
.L163:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	max_line_len
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	2146435071
	.word	.LC13
	.word	.LC14
	.word	.LC16
	.word	.LC15
	.word	.LC17
	.word	.LC5
	.word	y_scaling
	.word	.LC18
	.word	y_lower
	.word	y_upper
	.word	y_min
	.word	y_max
	.word	.LC20
	.word	lower
	.word	upper
	.word	.LC19
	.word	.LC21
	.word	min_index
	.word	.LC22
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	max_index
	.word	stderr
	.word	num_nonzeros
	.word	new_num_nonzeros
	.word	.LC23
	.word	line
	.word	feature_max
	.word	feature_min
	.word	.LC24
.L111:
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L109
	ldr	r3, .L163+132
	ldr	r0, [r3]
	ldr	r3, [fp, #-104]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-92]
	ldr	r1, .L163+52
	bl	fprintf
.L109:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L108:
	ldr	r3, .L163+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	ble	.L111
.L100:
	ldr	r0, [fp, #-88]
	bl	fclose
.L94:
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L120
	ldr	r1, .L163+56
	ldr	r0, [fp, #-84]
	bl	fopen
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L113
	ldr	r3, .L163+132
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	ldr	r1, .L163+60
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L113:
	ldr	r3, .L163+64
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-40]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L163+68
	bl	fwrite
	ldr	r3, .L163+72
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+76
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+100
	ldr	r0, [fp, #-40]
	bl	fprintf
	ldr	r3, .L163+80
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+84
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+100
	ldr	r0, [fp, #-40]
	bl	fprintf
.L114:
	ldr	r3, [fp, #-40]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L163+88
	bl	fwrite
	ldr	r3, .L163+92
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+96
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L163+100
	ldr	r0, [fp, #-40]
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-92]
	b	.L115
.L118:
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L163+152
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L116
	ldr	r3, .L163+156
	ldr	r2, [r3]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, .L163+152
	ldr	r0, [r1]
	ldr	r1, [fp, #-92]
	lsl	r1, r1, #3
	add	r1, r0, r1
	ldmia	r1, {r0-r1}
	str	r0, [sp, #8]
	str	r1, [sp, #12]
	stm	sp, {r2-r3}
	ldr	r2, [fp, #-92]
	ldr	r1, .L163+104
	ldr	r0, [fp, #-40]
	bl	fprintf
.L116:
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L115:
	ldr	r3, .L163+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	ble	.L118
	ldr	r3, .L163+108
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L119
	ldr	r3, .L163+132
	ldr	r3, [r3]
	ldr	r2, [fp, #-84]
	ldr	r1, .L163+112
	mov	r0, r3
	bl	fprintf
.L119:
	ldr	r0, [fp, #-40]
	bl	fclose
	b	.L120
.L139:
	ldr	r3, .L163+148
	ldr	r3, [r3]
	str	r3, [fp, #-60]
	mov	r3, #1
	str	r3, [fp, #-56]
	sub	r3, fp, #36
	mov	r2, r3
	ldr	r1, .L163+116
	ldr	r0, [fp, #-60]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L121
	ldr	r2, .L163+120
	ldr	r1, [fp, #-52]
	mov	r0, #0
	bl	clean_up
	mov	r3, r0
	b	.L141
.L121:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	output_target
	b	.L122
.L123:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L122:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L123
	b	.L124
.L125:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L124:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L125
	b	.L126
.L136:
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-92]
	b	.L127
.L128:
	mov	r2, #0
	mov	r3, #0
	ldr	r0, [fp, #-92]
	bl	output
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L127:
	ldr	r3, [fp, #-100]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L128
	ldr	r1, [fp, #-100]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	output
	b	.L129
.L130:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L129:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L130
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	b	.L131
.L132:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L131:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L132
	b	.L133
.L135:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L133:
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L134
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L135
.L134:
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L126:
	sub	r3, fp, #28
	sub	r2, fp, #100
	ldr	r1, .L163+124
	ldr	r0, [fp, #-60]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L136
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-92]
	b	.L137
.L138:
	mov	r2, #0
	mov	r3, #0
	ldr	r0, [fp, #-92]
	bl	output
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L137:
	ldr	r3, .L163+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	ble	.L138
	mov	r0, #10
	bl	putchar
.L120:
	ldr	r0, [fp, #-52]
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bne	.L139
	ldr	r3, .L163+140
	ldr	r2, [r3]
	ldr	r3, .L163+136
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L140
	ldr	r3, .L163+132
	ldr	r0, [r3]
	ldr	r3, .L163+136
	ldr	r2, [r3]
	ldr	r3, .L163+140
	ldr	r3, [r3]
	ldr	r1, .L163+144
	bl	fprintf
.L140:
	ldr	r3, .L163+148
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L163+152
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L163+156
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-52]
	bl	fclose
	mov	r3, #0
.L141:
	ldr	r2, .L163+160
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L142
	bl	__stack_chk_fail
.L142:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	main, .-main
	.align	2
	.global	readline
	.syntax unified
	.arm
	.fpu softvfp
	.type	readline, %function
readline:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, .L172
	ldr	r3, [r3]
	ldr	r2, .L172+4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L168
	mov	r3, #0
	b	.L167
.L170:
	ldr	r3, .L172+4
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L172+4
	str	r3, [r2]
	ldr	r3, .L172
	ldr	r3, [r3]
	ldr	r2, .L172+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	mov	r3, r0
	ldr	r2, .L172
	str	r3, [r2]
	ldr	r3, .L172
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L172
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r0, r2, r3
	ldr	r3, .L172+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	ldr	r2, [fp, #-16]
	mov	r1, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L171
.L168:
	ldr	r3, .L172
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	strrchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L170
	b	.L169
.L171:
	nop
.L169:
	ldr	r3, .L172
	ldr	r3, [r3]
.L167:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L173:
	.align	2
.L172:
	.word	line
	.word	max_line_len
	.size	readline, .-readline
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC25:
	.ascii	"%g \000"
	.text
	.align	2
	.global	output_target
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_target, %function
output_target:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, .L184
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L175
	ldr	r3, .L184+4
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L182
	ldr	r3, .L184+8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L175
.L182:
	ldr	r3, .L184+12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L183
	ldr	r3, .L184+16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	b	.L175
.L183:
	ldr	r3, .L184+16
	ldmia	r3, {r0-r1}
	ldr	r3, .L184+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L184+4
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L184+12
	ldmia	r3, {r0-r1}
	ldr	r3, .L184+4
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L184+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
.L175:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L184+20
	bl	printf
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L185:
	.align	2
.L184:
	.word	y_scaling
	.word	y_min
	.word	y_lower
	.word	y_max
	.word	y_upper
	.word	.LC25
	.size	output_target, .-output_target
	.section	.rodata
	.align	2
.LC26:
	.ascii	"%d:%g \000"
	.text
	.align	2
	.global	output
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, .L202
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L202+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L201
	ldr	r3, .L202+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L199
	ldr	r3, .L202+8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L192
.L199:
	ldr	r3, .L202
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L200
	ldr	r3, .L202+12
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L192
.L200:
	ldr	r3, .L202+12
	ldmia	r3, {r0-r1}
	ldr	r3, .L202+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L202+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L202
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L202+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L202+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L192:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L186
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	ldr	r0, .L202+16
	bl	printf
	ldr	r3, .L202+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L202+20
	str	r3, [r2]
	b	.L186
.L201:
	nop
.L186:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L203:
	.align	2
.L202:
	.word	feature_max
	.word	feature_min
	.word	lower
	.word	upper
	.word	.LC26
	.word	new_num_nonzeros
	.size	output, .-output
	.align	2
	.global	clean_up
	.syntax unified
	.arm
	.fpu softvfp
	.type	clean_up, %function
clean_up:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	fputs
	ldr	r3, .L207+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L207+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, .L207+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L205
	ldr	r0, [fp, #-8]
	bl	fclose
.L205:
	mvn	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L208:
	.align	2
.L207:
	.word	stderr
	.word	line
	.word	feature_max
	.word	feature_min
	.size	clean_up, .-clean_up
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
