	.file	"190162.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: svm-prob data_filename hist_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	10240
	.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	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
	.align 8
.LC1:
	.string	"usage: %s data_file hist_file\n"
.LC2:
	.string	"r"
.LC3:
	.string	"can't open data file %s\n"
.LC4:
	.string	"w"
.LC5:
	.string	"can't open histogram file %s\n"
.LC6:
	.string	"%lf"
.LC8:
	.string	"%06d "
.LC10:
	.string	"%d:%lf"
.LC11:
	.string	"%d:%g "
	.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -24[rbp], 0
	cmp	DWORD PTR -68[rbp], 2
	jg	.L3
	mov	rax, QWORD PTR -80[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, -1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	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	.L5
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	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
.L5:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -24[rbp], rax
	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
	jmp	.L6
.L33:
	mov	rax, QWORD PTR line[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -52[rbp], 1
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	addsd	xmm0, xmm1
	cvttsd2si	edx, xmm0
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L7
.L8:
	add	QWORD PTR -32[rbp], 1
.L7:
	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	.L8
	jmp	.L9
.L10:
	add	QWORD PTR -32[rbp], 1
.L9:
	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	.L10
	pxor	xmm0, xmm0
	movss	DWORD PTR -56[rbp], xmm0
	jmp	.L11
.L19:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -56[rbp]
	movsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -56[rbp], xmm0
	jmp	.L12
.L13:
	add	QWORD PTR -32[rbp], 1
.L12:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L13
	add	QWORD PTR -32[rbp], 1
	jmp	.L14
.L15:
	add	QWORD PTR -32[rbp], 1
.L14:
	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	.L15
	jmp	.L16
.L18:
	add	QWORD PTR -32[rbp], 1
.L16:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L17
	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	.L18
.L17:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	DWORD PTR -52[rbp], eax
.L11:
	lea	rcx, -40[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L19
	mov	rax, QWORD PTR line[rip]
	mov	QWORD PTR -32[rbp], rax
	lea	rdx, -48[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L20
.L21:
	add	QWORD PTR -32[rbp], 1
.L20:
	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	.L21
	jmp	.L22
.L23:
	add	QWORD PTR -32[rbp], 1
.L22:
	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	.L23
	jmp	.L24
.L32:
	movsd	xmm0, QWORD PTR -40[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -56[rbp]
	divsd	xmm0, xmm1
	movq	rcx, xmm0
	mov	edx, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rcx
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	jmp	.L25
.L26:
	add	QWORD PTR -32[rbp], 1
.L25:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 58
	jne	.L26
	add	QWORD PTR -32[rbp], 1
	jmp	.L27
.L28:
	add	QWORD PTR -32[rbp], 1
.L27:
	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	.L28
	jmp	.L29
.L31:
	add	QWORD PTR -32[rbp], 1
.L29:
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L30
	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	.L31
.L30:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	DWORD PTR -52[rbp], eax
.L24:
	lea	rcx, -40[rbp]
	lea	rdx, -60[rbp]
	mov	rax, QWORD PTR -32[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L32
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	readline
	test	rax, rax
	jne	.L33
	mov	rax, QWORD PTR line[rip]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	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	.L39
	mov	eax, 0
	jmp	.L38
.L41:
	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	.L42
.L39:
	mov	rax, QWORD PTR line[rip]
	mov	esi, 10
	mov	rdi, rax
	call	strrchr@PLT
	test	rax, rax
	je	.L41
	jmp	.L40
.L42:
	nop
.L40:
	mov	rax, QWORD PTR line[rip]
.L38:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	readline, .-readline
	.section	.rodata
.LC12:
	.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	rax, QWORD PTR -8[rbp]
	movq	xmm0, rax
	lea	rdi, .LC12[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	output_target, .-output_target
	.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	.L45
	ucomisd	xmm0, xmm1
	je	.L57
.L45:
	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	.L48
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jne	.L48
	movsd	xmm0, QWORD PTR lower[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L50
.L48:
	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	.L51
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jne	.L51
	movsd	xmm0, QWORD PTR upper[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	jmp	.L50
.L51:
	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
.L50:
	pxor	xmm0, xmm0
	ucomisd	xmm0, QWORD PTR -16[rbp]
	jp	.L56
	pxor	xmm0, xmm0
	comisd	xmm0, QWORD PTR -16[rbp]
	je	.L44
.L56:
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -4[rbp]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC11[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	.L44
.L57:
	nop
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	output, .-output
	.section	.rodata
	.align 8
.LC7:
	.long	0
	.long	1071644672
	.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	"190162.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: svm-prob data_filename hist_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	10240
	.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
	.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	"usage: %s data_file hist_file\012\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"can't open data file %s\012\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"can't open histogram file %s\012\000"
	.align	2
.LC6:
	.ascii	"%lf\000"
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
.LC7:
	.ascii	"%06d \000"
	.global	__aeabi_f2d
	.global	__aeabi_d2f
	.align	2
.LC8:
	.ascii	"%d:%lf\000"
	.global	__aeabi_ddiv
	.align	2
.LC9:
	.ascii	"%d:%g \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #68
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	cmp	r3, #2
	bgt	.L5
	ldr	r3, .L38+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L38+8
	bl	fprintf
	mvn	r0, #0
	bl	exit
.L5:
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L38+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L6
	ldr	r3, .L38+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L38+16
	bl	fprintf
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L38+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L7
	ldr	r3, .L38+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L38+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L7:
	ldr	r3, [fp, #-76]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L38+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-56]
	ldr	r3, .L38+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L38+32
	str	r2, [r3]
	ldr	r3, .L38+36
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L35:
	ldr	r3, .L38+32
	ldr	r3, [r3]
	str	r3, [fp, #-64]
	mov	r3, #1
	str	r3, [fp, #-48]
	sub	r3, fp, #44
	mov	r2, r3
	ldr	r1, .L38+40
	ldr	r0, [fp, #-64]
	bl	__isoc99_sscanf
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L38+44
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L38+48
	ldr	r0, [fp, #-56]
	bl	fprintf
	b	.L9
.L10:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L9:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L10
	b	.L11
.L12:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L11:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L12
	mov	r3, #0
	str	r3, [fp, #-60]	@ float
	b	.L13
.L21:
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-60]	@ float
	b	.L14
.L15:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L14:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L15
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L16
.L17:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L16:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L17
	b	.L18
.L20:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L18:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L20
.L19:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L13:
	sub	r3, fp, #36
	sub	r2, fp, #68
	ldr	r1, .L38+52
	ldr	r0, [fp, #-64]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L21
	ldr	r3, .L38+32
	ldr	r3, [r3]
	str	r3, [fp, #-64]
	sub	r3, fp, #44
	mov	r2, r3
	ldr	r1, .L38+40
	ldr	r0, [fp, #-64]
	bl	__isoc99_sscanf
	b	.L22
.L23:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L22:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L23
	b	.L24
.L25:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L24:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L25
	b	.L26
.L34:
	ldr	r6, [fp, #-68]
	sub	r5, fp, #36
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r6
	ldr	r1, .L38+56
	ldr	r0, [fp, #-56]
	bl	fprintf
	b	.L27
.L28:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L27:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #58
	bne	.L28
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L29
.L30:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L29:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L30
	b	.L31
.L33:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L31:
	ldr	r3, [fp, #-64]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L32
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-64]
	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
.L32:
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L26:
	sub	r3, fp, #36
	sub	r2, fp, #68
	ldr	r1, .L38+52
	ldr	r0, [fp, #-64]
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L34
	ldr	r1, [fp, #-56]
	mov	r0, #10
	bl	fputc
.L8:
	ldr	r0, [fp, #-52]
	bl	readline
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L38+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-52]
	bl	fclose
	ldr	r0, [fp, #-56]
	bl	fclose
	mov	r3, #0
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC10
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	max_line_len
	.word	line
	.word	max_index
	.word	.LC6
	.word	1071644672
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.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, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	mov	r3, #0
	b	.L42
.L45:
	ldr	r3, .L47+4
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L47+4
	str	r3, [r2]
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+4
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	realloc
	mov	r3, r0
	ldr	r2, .L47
	str	r3, [r2]
	ldr	r3, .L47
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L47
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r0, r2, r3
	ldr	r3, .L47+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	.L46
.L43:
	ldr	r3, .L47
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	strrchr
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	b	.L44
.L46:
	nop
.L44:
	ldr	r3, .L47
	ldr	r3, [r3]
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L48:
	.align	2
.L47:
	.word	line
	.word	max_line_len
	.size	readline, .-readline
	.section	.rodata
	.align	2
.LC11:
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	ldr	r0, .L50
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC11
	.size	output_target, .-output_target
	.global	__aeabi_dcmpeq
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.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, .L68
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L68+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	.L67
	ldr	r3, .L68+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	.L65
	ldr	r3, .L68+8
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L58
.L65:
	ldr	r3, .L68
	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	.L66
	ldr	r3, .L68+12
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	b	.L58
.L66:
	ldr	r3, .L68+12
	ldmia	r3, {r0-r1}
	ldr	r3, .L68+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L68+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, .L68
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L68+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, .L68+8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
.L58:
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L52
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-16]
	ldr	r0, .L68+16
	bl	printf
	ldr	r3, .L68+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L68+20
	str	r3, [r2]
	b	.L52
.L67:
	nop
.L52:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L69:
	.align	2
.L68:
	.word	feature_max
	.word	feature_min
	.word	lower
	.word	upper
	.word	.LC9
	.word	new_num_nonzeros
	.size	output, .-output
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
