	.file	"117489.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.ascii	"Usage:\n ttyplot [-2] [-r] [-c plotchar] [-s softmax] [-m ha"
	.ascii	"rdmax] [-t title] [-u unit]\n\n-2 read two values and draw t"
	.ascii	"wo plots, the second one is in reverse video\n\n-r calculate"
	.ascii	" counter rate and divide by measured sample interval\n\n-c c"
	.ascii	"haracter to use for plot line, eg @ # %% . etc\n\n-s softmax"
	.ascii	" is "
	.string	"an initial maximum value that can grow if data input has larger value\n\n-m hardmax is a hard maximum value that can never grow, \n   if data input has larger value the plot line will not be drawn\n\n-t title of the plot\n\n-u unit displayed beside vertical bar\n\n"
	.text
	.globl	usage
	.type	usage, @function
usage:
.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]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	usage, .-usage
	.globl	getminmax
	.type	getminmax, @function
getminmax:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	QWORD PTR -48[rbp], r8
	mov	QWORD PTR -56[rbp], r9
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR [rax]
	comisd	xmm0, xmm1
	jbe	.L4
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	movsd	QWORD PTR [rax], xmm0
.L4:
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L6
	mov	DWORD PTR -12[rbp], 0
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, xmm1
	jbe	.L8
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movsd	QWORD PTR [rax], xmm0
.L8:
	add	DWORD PTR -12[rbp], 1
.L7:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L10
	mov	DWORD PTR -12[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -8[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	add	DWORD PTR -12[rbp], 1
.L11:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jl	.L12
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -20[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -56[rbp]
	movsd	QWORD PTR [rax], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	getminmax, .-getminmax
	.section	.rodata
.LC4:
	.string	"%.1f %s"
	.text
	.globl	draw_axes
	.type	draw_axes, @function
draw_axes:
.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	movsd	QWORD PTR -24[rbp], xmm0
	mov	QWORD PTR -32[rbp], r8
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, -3[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 2
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L17
	mov	ecx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	whline@PLT
.L17:
	mov	eax, DWORD PTR -16[rbp]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, -3[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L19
	mov	edx, DWORD PTR acs_map[rip+172]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L19:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L21
	mov	ecx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
.L21:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L23
	mov	edx, DWORD PTR acs_map[rip+180]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L23:
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, -3[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 2
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L25
	mov	edx, DWORD PTR acs_map[rip+436]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L25:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, rdx
	movq	xmm0, rax
	lea	rdx, .LC4[rip]
	mov	esi, 4
	mov	edi, 1
	mov	eax, 1
	call	mvprintw@PLT
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	eax, DWORD PTR -12[rbp]
	lea	ecx, 3[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 2
	lea	edi, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	movq	xmm0, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 4
	mov	eax, 1
	call	mvprintw@PLT
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC7[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	lea	edi, 1[rdx]
	mov	rdx, QWORD PTR -32[rbp]
	mov	rcx, rdx
	movq	xmm0, rax
	lea	rdx, .LC4[rip]
	mov	esi, 4
	mov	eax, 1
	call	mvprintw@PLT
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC6[rip]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	lea	ecx, 3[rax]
	test	eax, eax
	cmovs	eax, ecx
	sar	eax, 2
	lea	edi, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	movq	xmm0, rdx
	lea	rdx, .LC4[rip]
	mov	esi, 4
	mov	eax, 1
	call	mvprintw@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	draw_axes, .-draw_axes
	.globl	draw_line
	.type	draw_line, @function
draw_line:
.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, 32
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L27
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L29
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
.L29:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	eax, DWORD PTR -20[rbp]
	or	eax, 262144
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
	jmp	.L37
.L27:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L32
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L34
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 262176
	mov	rdi, rax
	call	wvline@PLT
.L34:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	eax, DWORD PTR -20[rbp]
	or	eax, 262144
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
	jmp	.L37
.L32:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	sub	eax, DWORD PTR -12[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	eax, DWORD PTR -20[rbp]
	or	eax, 262144
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
.L37:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	draw_line, .-draw_line
	.globl	draw_values
	.type	draw_values, @function
draw_values:
.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, 64
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	QWORD PTR -40[rbp], r8
	mov	QWORD PTR -48[rbp], r9
	movsd	QWORD PTR -56[rbp], xmm0
	mov	DWORD PTR -12[rbp], 3
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR 16[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	ecx, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, DWORD PTR -8[rbp]
	mov	edi, DWORD PTR -28[rbp]
	mov	r8d, ecx
	mov	ecx, eax
	call	draw_line
	add	DWORD PTR -16[rbp], 1
.L39:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L40
	mov	DWORD PTR -16[rbp], 0
	jmp	.L41
.L42:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movapd	xmm1, xmm0
	divsd	xmm1, QWORD PTR -56[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	mov	ecx, DWORD PTR 24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, DWORD PTR -8[rbp]
	mov	edi, DWORD PTR -28[rbp]
	mov	r8d, ecx
	mov	ecx, eax
	call	draw_line
	add	DWORD PTR -16[rbp], 1
.L41:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR 16[rbp]
	jle	.L42
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	draw_values, .-draw_values
	.globl	resize
	.type	resize, @function
resize:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	call	endwin@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	resize, .-resize
	.globl	finish
	.type	finish, @function
finish:
.LFB12:
	.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
	mov	edi, 0
	call	curs_set@PLT
	call	echo@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	endwin@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE12:
	.size	finish, .-finish
	.section	.rodata
.LC8:
	.string	"%s"
.LC9:
	.string	"2rc:s:m:t:u:"
.LC10:
	.string	"%lf %lf"
.LC11:
	.string	"%lf"
.LC12:
	.string	"github.com/tenox7/ttyplot 1.1"
	.align 8
.LC13:
	.string	"last=%.1f min=%.1f max=%.1f avg=%.1f %s "
.LC14:
	.string	" interval=%ds"
	.align 8
.LC15:
	.string	"last=%.1f min=%.1f max=%.1f avg=%.1f %s   "
	.text
	.globl	main
	.type	main, @function
main:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	lea	r11, -16384[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 792
	.cfi_offset 3, -24
	mov	DWORD PTR -17172[rbp], edi
	mov	QWORD PTR -17184[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdx, -16992[rbp]
	mov	eax, 0
	mov	ecx, 1024
	mov	rdi, rdx
	rep stosq
	lea	rdx, -8800[rbp]
	mov	eax, 0
	mov	ecx, 1024
	mov	rdi, rdx
	rep stosq
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -17072[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -17064[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -17056[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -17048[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -17128[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -17120[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -17112[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movsd	QWORD PTR -17104[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -17096[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -17088[rbp], xmm0
	mov	DWORD PTR -17168[rbp], 0
	mov	DWORD PTR -17164[rbp], 0
	mov	DWORD PTR -17148[rbp], 0
	mov	DWORD PTR -17144[rbp], 0
	mov	DWORD PTR -17140[rbp], 0
	mov	DWORD PTR -17136[rbp], 0
	mov	eax, DWORD PTR acs_map[rip+480]
	mov	DWORD PTR -17160[rbp], eax
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -17032[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -17024[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -17016[rbp], xmm0
	movabs	rax, 7813878894559246894
	movabs	rdx, 198543701103
	mov	QWORD PTR -544[rbp], rax
	mov	QWORD PTR -536[rbp], rdx
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -456[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 0
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -608[rbp], 0
	mov	QWORD PTR -600[rbp], 0
	mov	QWORD PTR -592[rbp], 0
	mov	QWORD PTR -584[rbp], 0
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	DWORD PTR -17156[rbp], 0
	mov	DWORD PTR -17152[rbp], 0
	mov	DWORD PTR opterr[rip], 0
	jmp	.L46
.L56:
	cmp	DWORD PTR -17132[rbp], 50
	je	.L47
	cmp	DWORD PTR -17132[rbp], 50
	jl	.L46
	cmp	DWORD PTR -17132[rbp], 117
	jg	.L46
	cmp	DWORD PTR -17132[rbp], 63
	jl	.L46
	mov	eax, DWORD PTR -17132[rbp]
	sub	eax, 63
	cmp	eax, 54
	ja	.L46
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L49[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L49[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L49:
	.long	.L55-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L54-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L53-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L46-.L49
	.long	.L52-.L49
	.long	.L51-.L49
	.long	.L50-.L49
	.long	.L48-.L49
	.text
.L52:
	mov	DWORD PTR -17156[rbp], 1
	jmp	.L46
.L47:
	mov	DWORD PTR -17152[rbp], 1
	mov	DWORD PTR -17160[rbp], 124
	jmp	.L46
.L54:
	mov	rax, QWORD PTR optarg[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR -17160[rbp], eax
	jmp	.L46
.L51:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -17024[rbp], rax
	jmp	.L46
.L53:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atof@PLT
	movq	rax, xmm0
	mov	QWORD PTR -17016[rbp], rax
	jmp	.L46
.L50:
	mov	rdx, QWORD PTR optarg[rip]
	lea	rax, -544[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L46
.L48:
	mov	rdx, QWORD PTR optarg[rip]
	lea	rax, -608[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	mov	esi, 64
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L46
.L55:
	mov	eax, 0
	call	usage
	nop
.L46:
	mov	rcx, QWORD PTR -17184[rbp]
	mov	eax, DWORD PTR -17172[rbp]
	lea	rdx, .LC9[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -17132[rbp], eax
	cmp	DWORD PTR -17132[rbp], -1
	jne	.L56
	lea	rax, -17080[rbp]
	mov	rdi, rax
	call	time@PLT
	call	initscr@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	lea	rsi, resize[rip]
	mov	edi, 28
	call	signal@PLT
	lea	rsi, finish[rip]
	mov	edi, 2
	call	signal@PLT
.L97:
	cmp	DWORD PTR -17152[rbp], 0
	je	.L57
	lea	rdx, -8800[rbp]
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	sal	rax, 3
	add	rdx, rax
	lea	rcx, -16992[rbp]
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -17164[rbp], eax
	jmp	.L58
.L57:
	lea	rdx, -16992[rbp]
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -17164[rbp], eax
.L58:
	cmp	DWORD PTR -17164[rbp], 0
	jne	.L59
	nop
.L60:
	call	getchar@PLT
	cmp	eax, 10
	jne	.L60
	jmp	.L61
.L59:
	cmp	DWORD PTR -17164[rbp], 0
	js	.L109
	cmp	DWORD PTR -17156[rbp], 0
	je	.L64
	mov	rax, QWORD PTR -17080[rbp]
	mov	QWORD PTR -17008[rbp], rax
	lea	rax, -17080[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	rax, QWORD PTR -17080[rbp]
	sub	rax, QWORD PTR -17008[rbp]
	mov	QWORD PTR -17040[rbp], rax
	cmp	QWORD PTR -17040[rbp], 0
	jne	.L65
	mov	QWORD PTR -17040[rbp], 1
.L65:
	movsd	xmm0, QWORD PTR -17072[rbp]
	ucomisd	xmm0, QWORD PTR .LC2[rip]
	jp	.L66
	movsd	xmm0, QWORD PTR -17072[rbp]
	ucomisd	xmm0, QWORD PTR .LC2[rip]
	jne	.L66
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -16992[rbp+rax*8]
	movsd	QWORD PTR -17064[rbp], xmm0
	jmp	.L68
.L66:
	movsd	xmm0, QWORD PTR -17072[rbp]
	movsd	QWORD PTR -17064[rbp], xmm0
.L68:
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -16992[rbp+rax*8]
	movsd	QWORD PTR -17072[rbp], xmm0
	movsd	xmm0, QWORD PTR -17072[rbp]
	subsd	xmm0, QWORD PTR -17064[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -17040[rbp]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	QWORD PTR -16992[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -16992[rbp+rax*8]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L69
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	pxor	xmm0, xmm0
	movsd	QWORD PTR -16992[rbp+rax*8], xmm0
.L69:
	cmp	DWORD PTR -17152[rbp], 0
	je	.L71
	movsd	xmm0, QWORD PTR -17056[rbp]
	ucomisd	xmm0, QWORD PTR .LC2[rip]
	jp	.L72
	movsd	xmm0, QWORD PTR -17056[rbp]
	ucomisd	xmm0, QWORD PTR .LC2[rip]
	jne	.L72
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -8800[rbp+rax*8]
	movsd	QWORD PTR -17048[rbp], xmm0
	jmp	.L74
.L72:
	movsd	xmm0, QWORD PTR -17056[rbp]
	movsd	QWORD PTR -17048[rbp], xmm0
.L74:
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -8800[rbp+rax*8]
	movsd	QWORD PTR -17056[rbp], xmm0
	movsd	xmm0, QWORD PTR -17056[rbp]
	subsd	xmm0, QWORD PTR -17048[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -17040[rbp]
	divsd	xmm0, xmm1
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	QWORD PTR -8800[rbp+rax*8], xmm0
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	movsd	xmm1, QWORD PTR -8800[rbp+rax*8]
	pxor	xmm0, xmm0
	comisd	xmm0, xmm1
	jbe	.L71
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	pxor	xmm0, xmm0
	movsd	QWORD PTR -8800[rbp+rax*8], xmm0
	jmp	.L71
.L64:
	lea	rax, -17080[rbp]
	mov	rdi, rax
	call	time@PLT
.L71:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L76
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L77
.L76:
	mov	eax, -1
.L77:
	mov	DWORD PTR -17144[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L78
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L79
.L78:
	mov	eax, -1
.L79:
	mov	DWORD PTR -17148[rbp], eax
	mov	eax, DWORD PTR -17144[rbp]
	sub	eax, 4
	mov	DWORD PTR -17136[rbp], eax
	mov	eax, DWORD PTR -17148[rbp]
	sub	eax, 4
	mov	DWORD PTR -17140[rbp], eax
	mov	eax, DWORD PTR -17140[rbp]
	cmp	eax, 1022
	jbe	.L80
	mov	eax, 0
	jmp	.L98
.L80:
	lea	r8, -17112[rbp]
	lea	rdi, -17120[rbp]
	lea	rcx, -17128[rbp]
	lea	rdx, -16992[rbp]
	mov	esi, DWORD PTR -17168[rbp]
	mov	eax, DWORD PTR -17140[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	getminmax
	lea	r8, -17088[rbp]
	lea	rdi, -17096[rbp]
	lea	rcx, -17104[rbp]
	lea	rdx, -8800[rbp]
	mov	esi, DWORD PTR -17168[rbp]
	mov	eax, DWORD PTR -17140[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	getminmax
	movsd	xmm0, QWORD PTR -17120[rbp]
	movsd	xmm1, QWORD PTR -17096[rbp]
	comisd	xmm0, xmm1
	jbe	.L108
	movsd	xmm0, QWORD PTR -17120[rbp]
	movsd	QWORD PTR -17032[rbp], xmm0
	jmp	.L84
.L108:
	movsd	xmm0, QWORD PTR -17096[rbp]
	movsd	QWORD PTR -17032[rbp], xmm0
.L84:
	movsd	xmm0, QWORD PTR -17024[rbp]
	comisd	xmm0, QWORD PTR -17032[rbp]
	jbe	.L85
	movsd	xmm0, QWORD PTR -17024[rbp]
	movsd	QWORD PTR -17032[rbp], xmm0
.L85:
	movsd	xmm0, QWORD PTR -17016[rbp]
	ucomisd	xmm0, QWORD PTR .LC3[rip]
	jp	.L106
	movsd	xmm0, QWORD PTR -17016[rbp]
	comisd	xmm0, QWORD PTR .LC3[rip]
	je	.L87
.L106:
	movsd	xmm0, QWORD PTR -17016[rbp]
	movsd	QWORD PTR -17032[rbp], xmm0
.L87:
	mov	eax, DWORD PTR -17148[rbp]
	sub	eax, 30
	mov	ecx, eax
	mov	eax, DWORD PTR -17144[rbp]
	sub	eax, 1
	lea	rdx, .LC12[rip]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	lea	rax, -17080[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -17000[rbp], rax
	lea	rdx, -288[rbp]
	mov	rax, QWORD PTR -17000[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	asctime_r@PLT
	mov	ebx, DWORD PTR -17148[rbp]
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	mov	eax, ebx
	sub	eax, edx
	mov	esi, eax
	mov	eax, DWORD PTR -17144[rbp]
	lea	edi, -2[rax]
	lea	rax, -288[rbp]
	mov	rcx, rax
	lea	rdx, .LC8[rip]
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR -17144[rbp]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 5
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L90
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -17160[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
.L90:
	movsd	xmm2, QWORD PTR -17112[rbp]
	movsd	xmm1, QWORD PTR -17120[rbp]
	movsd	xmm0, QWORD PTR -17128[rbp]
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	mov	rax, QWORD PTR -16992[rbp+rax*8]
	mov	edx, DWORD PTR -17144[rbp]
	lea	edi, -2[rdx]
	lea	rdx, -608[rbp]
	mov	rcx, rdx
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdx, .LC13[rip]
	mov	esi, 7
	mov	eax, 4
	call	mvprintw@PLT
	cmp	DWORD PTR -17156[rbp], 0
	je	.L91
	mov	rax, QWORD PTR -17040[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printw@PLT
.L91:
	cmp	DWORD PTR -17152[rbp], 0
	je	.L92
	mov	eax, DWORD PTR -17144[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 5
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L94
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 262176
	mov	rdi, rax
	call	waddch@PLT
.L94:
	movsd	xmm2, QWORD PTR -17088[rbp]
	movsd	xmm1, QWORD PTR -17096[rbp]
	movsd	xmm0, QWORD PTR -17104[rbp]
	mov	eax, DWORD PTR -17168[rbp]
	cdqe
	mov	rax, QWORD PTR -8800[rbp+rax*8]
	mov	edx, DWORD PTR -17144[rbp]
	lea	edi, -1[rdx]
	lea	rdx, -608[rbp]
	mov	rcx, rdx
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdx, .LC15[rip]
	mov	esi, 7
	mov	eax, 4
	call	mvprintw@PLT
.L92:
	mov	rdi, QWORD PTR -17032[rbp]
	lea	r9, -8800[rbp]
	lea	r10, -16992[rbp]
	mov	ecx, DWORD PTR -17140[rbp]
	mov	edx, DWORD PTR -17136[rbp]
	mov	esi, DWORD PTR -17148[rbp]
	mov	eax, DWORD PTR -17144[rbp]
	mov	r8d, DWORD PTR -17160[rbp]
	push	r8
	mov	r8d, DWORD PTR -17168[rbp]
	push	r8
	movq	xmm0, rdi
	mov	r8, r10
	mov	edi, eax
	call	draw_values
	add	rsp, 16
	lea	r8, -608[rbp]
	mov	rdi, QWORD PTR -17032[rbp]
	mov	ecx, DWORD PTR -17140[rbp]
	mov	edx, DWORD PTR -17136[rbp]
	mov	esi, DWORD PTR -17148[rbp]
	mov	eax, DWORD PTR -17144[rbp]
	movq	xmm0, rdi
	mov	edi, eax
	call	draw_axes
	mov	eax, DWORD PTR -17148[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ebx, eax
	lea	rax, -544[rbp]
	mov	rdi, rax
	call	strlen@PLT
	shr	rax
	mov	edx, eax
	mov	eax, ebx
	sub	eax, edx
	mov	esi, eax
	lea	rax, -544[rbp]
	mov	rcx, rax
	lea	rdx, .LC8[rip]
	mov	edi, 0
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR -17140[rbp]
	sub	eax, 1
	cmp	DWORD PTR -17168[rbp], eax
	jge	.L95
	add	DWORD PTR -17168[rbp], 1
	jmp	.L96
.L95:
	mov	DWORD PTR -17168[rbp], 0
.L96:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L61:
	jmp	.L97
.L109:
	nop
	call	endwin@PLT
	mov	eax, 0
.L98:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	-536870912
	.long	1206910975
	.align 8
.LC3:
	.long	0
	.long	940572672
	.align 8
.LC5:
	.long	0
	.long	1074266112
	.align 8
.LC6:
	.long	0
	.long	1074790400
	.align 8
.LC7:
	.long	0
	.long	1073741824
	.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	"117489.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage:\012 ttyplot [-2] [-r] [-c plotchar] [-s soft"
	.ascii	"max] [-m hardmax] [-t title] [-u unit]\012\012-2 re"
	.ascii	"ad two values and draw two plots, the second one is"
	.ascii	" in reverse video\012\012-r calculate counter rate "
	.ascii	"and divide by measured sample interval\012\012-c ch"
	.ascii	"aracter to use for plot line, eg @ # %% . etc\012\012"
	.ascii	"-s softmax is an initial maximum value that can gro"
	.ascii	"w if data input has larger value\012\012-m hardmax "
	.ascii	"is a hard maximum value that can never grow, \012  "
	.ascii	" if data input has larger value the plot line will "
	.ascii	"not be drawn\012\012-t title of the plot\012\012-u "
	.ascii	"unit displayed beside vertical bar\012\012\000"
	.text
	.align	2
	.global	usage
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	usage, .-usage
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.global	__aeabi_dadd
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
	.global	getminmax
	.syntax unified
	.arm
	.fpu softvfp
	.type	getminmax, %function
getminmax:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-36]
	mov	r2, #-536870912
	ldr	r3, .L17
	stm	r1, {r2-r3}
	ldr	r1, [fp, #4]
	mov	r2, #0
	ldr	r3, .L17+4
	stm	r1, {r2-r3}
	mov	r2, #0
	ldr	r3, .L17+4
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L5
.L8:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #4]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #4]
	stm	r1, {r2-r3}
.L6:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L5:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L9
.L12:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r1, [fp, #-36]
	stm	r1, {r2-r3}
.L10:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L9:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L12
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L13
.L14:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L14
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #8]
	stm	r1, {r2-r3}
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	1206910975
	.word	940572672
	.size	getminmax, .-getminmax
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%.1f %s\000"
	.global	__aeabi_dmul
	.text
	.align	2
	.global	draw_axes
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_axes, %function
draw_axes:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #36
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #3
	mov	r2, #2
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L21
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, .L30+4
	ldr	r1, [r2, #452]
	ldr	r2, [fp, #-28]
	mov	r0, r3
	bl	whline
.L21:
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #3
	ldr	r3, [fp, #-28]
	add	r3, r3, #2
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L23
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, .L30+4
	ldr	r2, [r2, #172]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L23:
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #2
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L25
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, .L30+4
	ldr	r1, [r2, #480]
	ldr	r2, [fp, #-24]
	mov	r0, r3
	bl	wvline
.L25:
	ldr	r3, .L30
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L27
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, .L30+4
	ldr	r2, [r2, #180]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L27:
	ldr	r3, .L30
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #3
	mov	r2, #2
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L29
	ldr	r3, .L30
	ldr	r3, [r3]
	ldr	r2, .L30+4
	ldr	r2, [r2, #436]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L29:
	ldr	r3, [fp, #12]
	str	r3, [sp, #8]
	ldmib	fp, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r2, .L30+8
	mov	r1, #4
	mov	r0, #1
	bl	mvprintw
	ldr	r3, [fp, #-24]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	add	r4, r3, #1
	mov	r2, #0
	ldr	r3, .L30+12
	ldmib	fp, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L30+16
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #12]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	ldr	r2, .L30+8
	mov	r1, #4
	mov	r0, r4
	bl	mvprintw
	ldr	r3, [fp, #-24]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r4, r3, #1
	mov	r2, #0
	mov	r3, #1073741824
	ldmib	fp, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #12]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	ldr	r2, .L30+8
	mov	r1, #4
	mov	r0, r4
	bl	mvprintw
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	add	r4, r3, #1
	mov	r2, #0
	ldr	r3, .L30+16
	ldmib	fp, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #12]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	ldr	r2, .L30+8
	mov	r1, #4
	mov	r0, r4
	bl	mvprintw
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L31:
	.align	2
.L30:
	.word	stdscr
	.word	acs_map
	.word	.LC1
	.word	1074266112
	.word	1074790400
	.size	draw_axes, .-draw_axes
	.align	2
	.global	draw_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_line, %function
draw_line:
	@ args = 4, 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]
	str	r3, [fp, #-20]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L33
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L35
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #4]
	bl	wvline
.L35:
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L43
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #4]
	orr	r3, r3, #262144
	ldr	r2, [fp, #-16]
	mov	r1, r3
	bl	wvline
	b	.L43
.L33:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L38
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L40
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L44+4
	bl	wvline
.L40:
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L43
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #4]
	orr	r3, r3, #262144
	ldr	r2, [fp, #-12]
	mov	r1, r3
	bl	wvline
	b	.L43
.L38:
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L43
	ldr	r3, .L44
	ldr	r0, [r3]
	ldr	r3, [fp, #4]
	orr	r3, r3, #262144
	ldr	r2, [fp, #-16]
	mov	r1, r3
	bl	wvline
.L43:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	stdscr
	.word	262176
	.size	draw_line, .-draw_line
	.global	__aeabi_d2iz
	.align	2
	.global	draw_values
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_values, %function
draw_values:
	@ args = 24, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #3
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #20]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L47
.L48:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #24]
	str	r2, [sp]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-40]
	bl	draw_line
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L47:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L48
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L49
.L50:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #3
	ldr	r2, [fp, #8]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-40]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r2, r3, #1
	str	r2, [fp, #-24]
	ldr	r2, [fp, #24]
	str	r2, [sp]
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-40]
	bl	draw_line
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L49:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	ble	.L50
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	draw_values, .-draw_values
	.align	2
	.global	resize
	.syntax unified
	.arm
	.fpu softvfp
	.type	resize, %function
resize:
	@ 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, #-8]
	bl	endwin
	ldr	r3, .L52
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L53:
	.align	2
.L52:
	.word	stdscr
	.size	resize, .-resize
	.align	2
	.global	finish
	.syntax unified
	.arm
	.fpu softvfp
	.type	finish, %function
finish:
	@ 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, #-8]
	mov	r0, #0
	bl	curs_set
	bl	echo
	ldr	r3, .L55
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	endwin
	mov	r0, #0
	bl	exit
.L56:
	.align	2
.L55:
	.word	stdscr
	.size	finish, .-finish
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s\000"
	.align	2
.LC4:
	.ascii	"2rc:s:m:t:u:\000"
	.align	2
.LC5:
	.ascii	"%lf %lf\000"
	.align	2
.LC6:
	.ascii	"%lf\000"
	.global	__aeabi_dcmpeq
	.global	__aeabi_dsub
	.align	2
.LC7:
	.ascii	"github.com/tenox7/ttyplot 1.1\000"
	.align	2
.LC8:
	.ascii	"last=%.1f min=%.1f max=%.1f avg=%.1f %s \000"
	.align	2
.LC9:
	.ascii	" interval=%ds\000"
	.align	2
.LC10:
	.ascii	"last=%.1f min=%.1f max=%.1f avg=%.1f %s   \000"
	.align	2
.LC2:
	.ascii	".: ttyplot :.\000"
	.space	242
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 17136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #17152
	sub	sp, sp, #24
	sub	r3, fp, #16384
	sub	r3, r3, #20
	str	r0, [r3, #-748]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	str	r1, [r3, #-752]
	ldr	r3, .L124+76
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #20
	sub	r3, r3, #584
	mov	r2, #8192
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #8192
	sub	r3, r3, #20
	sub	r3, r3, #584
	mov	r2, #8192
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #176
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L124+44
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L124+44
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	mov	r1, r3
	mov	r2, #0
	mov	r3, #0
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-740]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-736]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-716]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-712]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-708]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-704]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	ldr	r3, .L124+4
	ldr	r3, [r3, #480]
	str	r3, [r2, #-728]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L124+44
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L124+44
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L124+44
	stm	r1, {r2-r3}
	ldr	r3, .L124+8
	sub	ip, fp, #536
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	sub	r3, fp, #520
	sub	r3, r3, #2
	mov	r2, #242
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-600]
	sub	r3, fp, #596
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-280]
	sub	r3, fp, #276
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-724]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-720]
	ldr	r3, .L124+12
	mov	r2, #0
	str	r2, [r3]
	b	.L58
.L68:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-700]
	cmp	r3, #50
	beq	.L59
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-728]
	str	r3, [r2, #-728]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-724]
	str	r3, [r2, #-724]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	str	r3, [r2, #-720]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-700]
	cmp	r3, #50
	blt	.L58
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-728]
	str	r3, [r2, #-728]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-724]
	str	r3, [r2, #-724]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	str	r3, [r2, #-720]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-700]
	cmp	r3, #117
	bgt	.L58
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-728]
	str	r3, [r2, #-728]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-724]
	str	r3, [r2, #-724]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	str	r3, [r2, #-720]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-700]
	cmp	r3, #63
	blt	.L58
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-728]
	str	r3, [r2, #-728]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-724]
	str	r3, [r2, #-724]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	str	r3, [r2, #-720]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-700]
	sub	r3, r3, #63
	cmp	r3, #54
	ldrls	pc, [pc, r3, asl #2]
	b	.L58
.L61:
	.word	.L67
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L66
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L65
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L58
	.word	.L64
	.word	.L63
	.word	.L62
	.word	.L60
.L64:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-724]
	b	.L58
.L59:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-720]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #124
	str	r3, [r2, #-728]
	b	.L58
.L66:
	ldr	r3, .L124+16
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	str	r3, [r2, #-728]
	b	.L58
.L63:
	ldr	r3, .L124+16
	ldr	r2, [r3]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r4, r3
	mov	r0, r2
	bl	atof
	stmdb	r4, {r0-r1}
	b	.L58
.L65:
	ldr	r3, .L124+16
	ldr	r2, [r3]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r4, r3
	mov	r0, r2
	bl	atof
	stm	r4, {r0-r1}
	b	.L58
.L62:
	ldr	r3, .L124+16
	ldr	r3, [r3]
	sub	r0, fp, #536
	ldr	r2, .L124+68
	mov	r1, #256
	bl	snprintf
	b	.L58
.L60:
	ldr	r3, .L124+16
	ldr	r3, [r3]
	sub	r0, fp, #600
	ldr	r2, .L124+68
	mov	r1, #64
	bl	snprintf
	b	.L58
.L67:
	bl	usage
	nop
.L58:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r4, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, .L124+20
	ldr	r1, [r1, #-752]
	ldr	r0, [r3, #-748]
	bl	getopt
	str	r0, [r4, #-700]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-700]
	cmn	r3, #1
	bne	.L68
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #232
	mov	r0, r3
	bl	time
	bl	initscr
	bl	noecho
	mov	r0, #0
	bl	curs_set
	ldr	r1, .L124+24
	mov	r0, #28
	bl	signal
	ldr	r1, .L124+28
	mov	r0, #2
	bl	signal
.L109:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	cmp	r3, #0
	beq	.L69
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #72
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-740]
	lsl	r2, r2, #3
	add	r1, r3, r2
	sub	r3, fp, #8768
	sub	r3, r3, #20
	sub	r3, r3, #8
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-740]
	lsl	r2, r2, #3
	add	r3, r3, r2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	mov	r4, r2
	mov	r2, r3
	ldr	r0, .L124+32
	bl	__isoc99_scanf
	str	r0, [r4, #-736]
	b	.L70
.L69:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #72
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-740]
	lsl	r2, r2, #3
	add	r3, r3, r2
	sub	r2, fp, #16384
	sub	r2, r2, #20
	mov	r4, r2
	mov	r1, r3
	ldr	r0, .L124+36
	bl	__isoc99_scanf
	str	r0, [r4, #-736]
.L70:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-736]
	cmp	r3, #0
	bne	.L71
	nop
.L72:
	bl	getchar
	mov	r3, r0
	cmp	r3, #10
	bne	.L72
	b	.L73
.L71:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-736]
	cmp	r3, #0
	blt	.L123
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-724]
	cmp	r3, #0
	beq	.L76
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-744]
	str	r3, [r2, #-696]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #232
	mov	r0, r3
	bl	time
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r2, [r3, #-744]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-696]
	sub	r3, r2, r3
	str	r3, [r1, #-732]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-732]
	cmp	r3, #0
	bne	.L77
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-732]
.L77:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L120
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	b	.L80
.L120:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
.L80:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	ldmdb	r3, {r2-r3}
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r0, [r3, #-732]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #16384
	sub	r1, r1, #20
	mov	r0, r1
	sub	r1, fp, #16384
	sub	r1, r1, #20
	ldr	r1, [r1, #-740]
	lsl	r1, r1, #3
	add	r1, r0, r1
	sub	r1, r1, #584
	stm	r1, {r2-r3}
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L81
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r1, r3, #584
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
.L81:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	cmp	r3, #0
	beq	.L83
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	mov	r2, #-536870912
	ldr	r3, .L124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	beq	.L121
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
	b	.L86
.L121:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	ldmia	r3, {r2-r3}
	stmdb	r1, {r2-r3}
.L86:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #112
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	ldmdb	r3, {r2-r3}
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r0, [r3, #-732]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #20
	mov	r0, r1
	sub	r1, fp, #16384
	sub	r1, r1, #20
	ldr	r1, [r1, #-740]
	lsl	r1, r1, #3
	add	r1, r0, r1
	sub	r1, r1, #584
	stm	r1, {r2-r3}
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r1, r3, #584
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	b	.L83
.L76:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #232
	mov	r0, r3
	bl	time
.L83:
	ldr	r3, .L124+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r3, .L124+72
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L88
	ldr	r3, .L124+72
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L89
.L88:
	mvn	r3, #0
.L89:
	sub	r2, fp, #16384
	sub	r2, r2, #20
	str	r3, [r2, #-712]
	ldr	r3, .L124+72
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L90
	ldr	r3, .L124+72
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L91
.L90:
	mvn	r3, #0
.L91:
	sub	r2, fp, #16384
	sub	r2, r2, #20
	str	r3, [r2, #-716]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	r3, r3, #4
	str	r3, [r2, #-704]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-716]
	sub	r3, r3, #4
	str	r3, [r2, #-708]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-708]
	ldr	r2, .L124+40
	cmp	r3, r2
	bls	.L92
	mov	r3, #0
	b	.L110
.L125:
	.align	2
.L124:
	.word	1206910975
	.word	acs_map
	.word	.LC2
	.word	opterr
	.word	optarg
	.word	.LC4
	.word	resize
	.word	finish
	.word	.LC5
	.word	.LC6
	.word	1022
	.word	940572672
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	262176
	.word	.LC10
	.word	.LC3
	.word	stdscr
	.word	.LC11
.L92:
	sub	r1, fp, #16896
	sub	r1, r1, #20
	sub	r1, r1, #176
	sub	r2, fp, #16896
	sub	r2, r2, #20
	sub	r2, r2, #72
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	str	r3, [sp, #4]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #168
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [ip, #-740]
	ldr	r0, [r0, #-708]
	bl	getminmax
	sub	r1, fp, #16896
	sub	r1, r1, #20
	sub	r1, r1, #152
	sub	r2, fp, #8768
	sub	r2, r2, #20
	sub	r2, r2, #8
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #136
	str	r3, [sp, #4]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [ip, #-740]
	ldr	r0, [r0, #-708]
	bl	getminmax
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	ldmdb	r3, {r0-r1}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	ldmia	r3, {r2-r3}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L122
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	ldmdb	r3, {r2-r3}
	stm	r1, {r2-r3}
	b	.L96
.L122:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L96:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L97
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmdb	r3, {r2-r3}
	stm	r1, {r2-r3}
.L97:
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L124+44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L99
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	mov	r1, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #80
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L99:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	r0, r3, #1
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-716]
	sub	r3, r3, #30
	ldr	r2, .L124+48
	mov	r1, r3
	bl	mvprintw
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r4, r3
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #232
	mov	r0, r3
	bl	localtime
	str	r0, [r4, #-692]
	sub	r3, fp, #280
	sub	r2, fp, #16384
	sub	r2, r2, #20
	mov	r1, r3
	ldr	r0, [r2, #-692]
	bl	asctime_r
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	r5, r3, #2
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r4, [r3, #-716]
	sub	r3, fp, #280
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r4, r3
	mov	r1, r3
	sub	r3, fp, #280
	ldr	r2, .L124+68
	mov	r0, r5
	bl	mvprintw
	ldr	r3, .L124+72
	ldr	r0, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	r3, r3, #2
	mov	r2, #5
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L102
	ldr	r3, .L124+72
	ldr	r3, [r3]
	sub	r2, fp, #16384
	sub	r2, r2, #20
	mov	r1, r2
	mov	r2, #1
	ldr	r1, [r1, #-728]
	mov	r0, r3
	bl	wvline
.L102:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	lr, r3, #2
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r0-r1}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #176
	ldmia	r3, {r4-r5}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	ldmdb	r3, {r6-r7}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #160
	ldmia	r3, {r2-r3}
	sub	ip, fp, #600
	str	ip, [sp, #32]
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	str	r6, [sp, #16]
	str	r7, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	stm	sp, {r0-r1}
	ldr	r2, .L124+52
	mov	r1, #7
	mov	r0, lr
	bl	mvprintw
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-724]
	cmp	r3, #0
	beq	.L103
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r1, [r3, #-732]
	ldr	r0, .L124+56
	bl	printw
.L103:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-720]
	cmp	r3, #0
	beq	.L104
	ldr	r3, .L124+72
	ldr	r0, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	r3, r3, #1
	mov	r2, #5
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L106
	ldr	r3, .L124+72
	ldr	r3, [r3]
	ldr	r1, .L124+60
	mov	r0, r3
	bl	waddch
.L106:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-712]
	sub	lr, r3, #1
	sub	r3, fp, #8192
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	lsl	r3, r3, #3
	add	r3, r2, r3
	sub	r3, r3, #584
	ldmia	r3, {r0-r1}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	ldmdb	r3, {r4-r5}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #144
	ldmia	r3, {r6-r7}
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #128
	ldmdb	r3, {r2-r3}
	sub	ip, fp, #600
	str	ip, [sp, #32]
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	str	r6, [sp, #16]
	str	r7, [sp, #20]
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	stm	sp, {r0-r1}
	ldr	r2, .L124+64
	mov	r1, #7
	mov	r0, lr
	bl	mvprintw
.L104:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	lr, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-728]
	str	r3, [sp, #20]
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	str	r3, [sp, #16]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #8768
	sub	r3, r3, #20
	sub	r3, r3, #8
	str	r3, [sp, #4]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #72
	str	r3, [sp]
	ldr	r3, [lr, #-708]
	ldr	r2, [ip, #-704]
	ldr	r1, [r1, #-716]
	ldr	r0, [r0, #-712]
	bl	draw_values
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	lr, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	ip, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r0, r3
	sub	r3, fp, #600
	str	r3, [sp, #8]
	sub	r3, fp, #16896
	sub	r3, r3, #20
	sub	r3, r3, #96
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	ldr	r3, [lr, #-708]
	ldr	r2, [ip, #-704]
	ldr	r1, [r1, #-716]
	ldr	r0, [r0, #-712]
	bl	draw_axes
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-716]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r4, r3
	sub	r3, fp, #536
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	lsr	r3, r3, #1
	sub	r3, r4, r3
	mov	r1, r3
	sub	r3, fp, #536
	ldr	r2, .L124+68
	mov	r0, #0
	bl	mvprintw
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-708]
	sub	r3, r3, #1
	sub	r2, fp, #16384
	sub	r2, r2, #20
	ldr	r2, [r2, #-740]
	cmp	r2, r3
	bge	.L107
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #20
	ldr	r3, [r3, #-740]
	add	r3, r3, #1
	str	r3, [r2, #-740]
	b	.L108
.L107:
	sub	r3, fp, #16384
	sub	r3, r3, #20
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-740]
.L108:
	ldr	r3, .L124+72
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	ldr	r3, .L124+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L73:
	b	.L109
.L123:
	nop
	bl	endwin
	mov	r3, #0
.L110:
	ldr	r2, .L124+76
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L111
	bl	__stack_chk_fail
.L111:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
