	.file	"221146.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Delay in 10ths of a second (<CR> for blocking input)? "
.LC1:
	.string	"Key pressed: %04o "
.LC2:
	.string	"M-%c"
.LC3:
	.string	"M-%s"
.LC4:
	.string	" (high-half character)\n"
	.align 8
.LC5:
	.string	"%c (ASCII printable character)\n"
.LC6:
	.string	"%s (ASCII control character)\n"
	.align 8
.LC7:
	.string	"Type any key to see its keypad value, `q' to quit, `?' for help.\n"
.LC8:
	.string	"%05d: input timed out\n"
	.text
	.type	getch_test, @function
getch_test:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8216[rbp], 0
	mov	DWORD PTR -8212[rbp], 0
	mov	BYTE PTR -8221[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printw@PLT
	call	echo@PLT
	mov	rax, QWORD PTR stdscr[rip]
	lea	rcx, -8208[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	wgetnstr@PLT
	call	noecho@PLT
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movzx	eax, BYTE PTR -8208[rbp]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	je	.L2
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	atoi@PLT
	imul	edx, eax, 100
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wtimeout@PLT
	mov	BYTE PTR -8221[rbp], 0
.L2:
	mov	DWORD PTR -8220[rbp], 63
.L13:
	mov	eax, DWORD PTR -8212[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8212[rbp], edx
	test	eax, eax
	je	.L3
	mov	eax, DWORD PTR -8220[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printw@PLT
	cmp	DWORD PTR -8220[rbp], 256
	jbe	.L4
	mov	eax, DWORD PTR -8220[rbp]
	mov	edi, eax
	call	keyname@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 10
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L3
.L4:
	cmp	DWORD PTR -8220[rbp], 128
	jbe	.L5
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8220[rbp]
	and	al, 127
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR -8220[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printw@PLT
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -8220[rbp]
	mov	edi, eax
	call	unctrl@PLT
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printw@PLT
.L7:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	jmp	.L3
.L5:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -8220[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 16384
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR -8220[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printw@PLT
	jmp	.L3
.L8:
	mov	eax, DWORD PTR -8220[rbp]
	mov	edi, eax
	call	unctrl@PLT
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printw@PLT
.L3:
	cmp	DWORD PTR -8220[rbp], 120
	je	.L9
	cmp	DWORD PTR -8220[rbp], 113
	je	.L9
	cmp	DWORD PTR -8220[rbp], 63
	jne	.L11
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	jmp	.L11
.L12:
	movzx	eax, BYTE PTR -8221[rbp]
	xor	eax, 1
	test	al, al
	je	.L11
	mov	eax, DWORD PTR -8216[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8216[rbp], edx
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printw@PLT
.L11:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -8220[rbp], eax
	cmp	DWORD PTR -8220[rbp], -1
	je	.L12
	jmp	.L13
.L9:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, -1
	mov	rdi, rax
	call	wtimeout@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getch_test, .-getch_test
	.section	.rodata
	.align 8
.LC9:
	.string	"Character attribute test display"
.LC10:
	.string	"This is STANDOUT mode: "
	.align 8
.LC11:
	.string	"abcde fghij klmno pqrst uvwxy x"
.LC12:
	.string	"This is REVERSE mode: "
.LC13:
	.string	"This is BOLD mode: "
.LC14:
	.string	"This is UNDERLINE mode: "
.LC15:
	.string	"This is DIM mode: "
.LC16:
	.string	"This is BLINK mode: "
	.align 8
.LC17:
	.string	"This is BOLD UNDERLINE BLINK mode: "
.LC18:
	.string	"This is NORMAL mode: "
.LC19:
	.string	"Press any key to continue... "
	.text
	.type	attr_test, @function
attr_test:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 20
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L17
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L17:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L19
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L19:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L21
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L21:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L23
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L23:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L25
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L25:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 131072
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 131072
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L27
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L27:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 1048576
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 1048576
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 12
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L29
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L29:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 524288
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 524288
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 14
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L31
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L31:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2752512
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2752512
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 8
	mov	esi, 16
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L33
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L33:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	attr_test, .-attr_test
	.section	.rodata
.LC20:
	.string	"black"
.LC21:
	.string	"red"
.LC22:
	.string	"green"
.LC23:
	.string	"yellow"
.LC24:
	.string	"blue"
.LC25:
	.string	"magenta"
.LC26:
	.string	"cyan"
.LC27:
	.string	"white"
	.section	.data.rel.local,"aw"
	.align 32
	.type	colors, @object
	.size	colors, 64
colors:
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC26
	.quad	.LC27
	.section	.rodata
.LC28:
	.string	"There are %d color pairs\n"
	.align 8
.LC29:
	.string	"%dx%d matrix of foreground/background colors, bright *off*\n"
.LC30:
	.string	"Hello"
	.align 8
.LC31:
	.string	"%dx%d matrix of foreground/background colors, bright *on*\n"
	.text
	.type	color_test, @function
color_test:
.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, 16
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR COLOR_PAIRS[rip]
	mov	esi, eax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printw@PLT
	mov	edx, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR COLORS[rip]
	mov	r8d, edx
	mov	ecx, eax
	lea	rdx, .LC29[rip]
	mov	esi, 0
	mov	edi, 1
	mov	eax, 0
	call	mvprintw@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L35
.L38:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	lea	edx, 0[0+rax*8]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
.L37:
	add	DWORD PTR -4[rbp], 1
.L35:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L38
	mov	DWORD PTR -4[rbp], 0
	jmp	.L39
.L42:
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 3[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L41
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
.L41:
	add	DWORD PTR -4[rbp], 1
.L39:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L42
	mov	DWORD PTR -4[rbp], 1
	jmp	.L43
.L46:
	mov	edi, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	edi
	movsx	esi, ax
	mov	ecx, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	movsx	ecx, ax
	mov	eax, DWORD PTR -4[rbp]
	cwde
	mov	edx, esi
	mov	esi, ecx
	mov	edi, eax
	call	init_pair@PLT
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	movzx	ecx, ax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_on@PLT
	mov	ecx, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	lea	esi, 0[0+rax*8]
	mov	edi, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	edi
	lea	ecx, 3[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, esi
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L45
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L45:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	add	DWORD PTR -4[rbp], 1
.L43:
	mov	eax, DWORD PTR COLOR_PAIRS[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L46
	mov	ecx, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, DWORD PTR COLORS[rip]
	lea	edi, 4[rdx]
	mov	r8d, ecx
	mov	ecx, eax
	lea	rdx, .LC31[rip]
	mov	esi, 0
	mov	eax, 0
	call	mvprintw@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L47
.L50:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	lea	edx, 0[0+rax*8]
	mov	eax, DWORD PTR COLORS[rip]
	lea	ecx, 5[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L49
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
.L49:
	add	DWORD PTR -4[rbp], 1
.L47:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L50
	mov	DWORD PTR -4[rbp], 0
	jmp	.L51
.L54:
	mov	eax, DWORD PTR COLORS[rip]
	lea	edx, 6[rax]
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, [rdx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L53
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
.L53:
	add	DWORD PTR -4[rbp], 1
.L51:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L54
	mov	DWORD PTR -4[rbp], 1
	jmp	.L55
.L58:
	mov	esi, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	esi
	movsx	esi, ax
	mov	ecx, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	movsx	ecx, ax
	mov	eax, DWORD PTR -4[rbp]
	cwde
	mov	edx, esi
	mov	esi, ecx
	mov	edi, eax
	call	init_pair@PLT
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	movzx	eax, ax
	or	eax, 2097152
	mov	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_on@PLT
	mov	ecx, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	lea	esi, 0[0+rax*8]
	mov	eax, DWORD PTR COLORS[rip]
	lea	ecx, 6[rax]
	mov	edi, DWORD PTR COLORS[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	edi
	add	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, esi
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L57
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L57:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	add	DWORD PTR -4[rbp], 1
.L55:
	mov	eax, DWORD PTR COLOR_PAIRS[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L58
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	color_test, .-color_test
	.section	.rodata
.LC32:
	.string	"Color RGB Value Editing"
.LC33:
	.string	""
.LC34:
	.string	"%c %-8s:"
.LC35:
	.string	"        "
.LC36:
	.string	"   R = "
.LC37:
	.string	"%04d"
.LC38:
	.string	", G = "
.LC39:
	.string	", B = "
.LC40:
	.string	")"
	.align 8
.LC41:
	.string	"Use up/down to select a color, left/right to change fields."
	.align 8
.LC42:
	.string	"Modify field by typing nnn=, nnn-, or nnn+.  ? for help."
	.align 8
.LC43:
	.string	"                      RGB Value Editing Help"
.LC44:
	.string	"%s\n"
	.align 8
.LC45:
	.string	"You are in the RGB value editor.  Use the arrow keys to select one of"
	.align 8
.LC46:
	.string	"the fields in one of the RGB triples of the current colors; the one"
	.align 8
.LC47:
	.string	"currently selected will be reverse-video highlighted."
	.align 8
.LC48:
	.string	"To change a field, enter the digits of the new value; they won't be"
	.align 8
.LC49:
	.string	"echoed.  Finish by typing `='; the change will take effect instantly."
	.align 8
.LC50:
	.string	"To increment or decrement a value, use the same procedure, but finish"
.LC51:
	.string	"with a `+' or `-'."
.LC52:
	.string	"To quit, do `x' or 'q'"
	.text
	.type	color_edit, @function
color_edit:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L60
.L61:
	mov	eax, DWORD PTR -32[rbp]
	movsx	edx, ax
	mov	eax, DWORD PTR -32[rbp]
	cwde
	mov	esi, 7
	mov	edi, eax
	call	init_pair@PLT
	add	DWORD PTR -32[rbp], 1
.L60:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L61
.L109:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 20
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L63
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L63:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_off@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L64
.L75:
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 7
	ja	.L65
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, colors[rip]
	mov	rax, QWORD PTR [rdx+rax]
	jmp	.L66
.L65:
	lea	rax, .LC33[rip]
.L66:
	mov	edx, DWORD PTR -32[rbp]
	cmp	edx, DWORD PTR -20[rbp]
	jne	.L67
	mov	ecx, 62
	jmp	.L68
.L67:
	mov	ecx, 32
.L68:
	mov	edx, DWORD PTR -32[rbp]
	lea	edi, 2[rdx]
	mov	r8, rax
	lea	rdx, .LC34[rip]
	mov	esi, 0
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR -32[rbp]
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR -32[rbp]
	cwde
	lea	rcx, -34[rbp]
	lea	rdx, -36[rbp]
	lea	rsi, -38[rbp]
	mov	edi, eax
	call	color_content@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L69
	cmp	DWORD PTR -16[rbp], 0
	jne	.L69
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_on@PLT
.L69:
	movzx	eax, WORD PTR -38[rbp]
	cwde
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printw@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L70
	cmp	DWORD PTR -16[rbp], 0
	jne	.L70
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
.L70:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L71
	cmp	DWORD PTR -16[rbp], 1
	jne	.L71
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_on@PLT
.L71:
	movzx	eax, WORD PTR -36[rbp]
	cwde
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printw@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L72
	cmp	DWORD PTR -16[rbp], 1
	jne	.L72
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
.L72:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L73
	cmp	DWORD PTR -16[rbp], 2
	jne	.L73
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_on@PLT
.L73:
	movzx	eax, WORD PTR -34[rbp]
	cwde
	mov	esi, eax
	lea	rdi, .LC37[rip]
	mov	eax, 0
	call	printw@PLT
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L74
	cmp	DWORD PTR -16[rbp], 2
	jne	.L74
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
.L74:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	add	DWORD PTR -32[rbp], 1
.L64:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L75
	mov	eax, DWORD PTR COLORS[rip]
	lea	ecx, 3[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L77
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L77:
	mov	eax, DWORD PTR COLORS[rip]
	lea	ecx, 4[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L79
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L79:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 261
	je	.L80
	cmp	DWORD PTR -28[rbp], 261
	jg	.L81
	cmp	DWORD PTR -28[rbp], 260
	je	.L82
	cmp	DWORD PTR -28[rbp], 260
	jg	.L81
	cmp	DWORD PTR -28[rbp], 259
	je	.L83
	cmp	DWORD PTR -28[rbp], 259
	jg	.L81
	cmp	DWORD PTR -28[rbp], 258
	je	.L84
	cmp	DWORD PTR -28[rbp], 258
	jg	.L81
	cmp	DWORD PTR -28[rbp], 120
	je	.L111
	cmp	DWORD PTR -28[rbp], 120
	jg	.L81
	cmp	DWORD PTR -28[rbp], 63
	jg	.L86
	cmp	DWORD PTR -28[rbp], 43
	jl	.L81
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 43
	cmp	eax, 20
	ja	.L81
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L88[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L88[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L88:
	.long	.L92-.L88
	.long	.L81-.L88
	.long	.L91-.L88
	.long	.L81-.L88
	.long	.L81-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L90-.L88
	.long	.L81-.L88
	.long	.L81-.L88
	.long	.L81-.L88
	.long	.L89-.L88
	.long	.L81-.L88
	.long	.L87-.L88
	.text
.L86:
	cmp	DWORD PTR -28[rbp], 113
	je	.L111
	jmp	.L81
.L83:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L93
	mov	eax, DWORD PTR COLORS[rip]
	sub	eax, 1
	jmp	.L94
.L93:
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
.L94:
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L95
.L84:
	mov	eax, DWORD PTR COLORS[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	je	.L96
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	jmp	.L97
.L96:
	mov	eax, 0
.L97:
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L95
.L80:
	cmp	DWORD PTR -16[rbp], 2
	je	.L98
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	jmp	.L99
.L98:
	mov	eax, 0
.L99:
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L95
.L82:
	cmp	DWORD PTR -16[rbp], 0
	je	.L100
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	jmp	.L101
.L100:
	mov	eax, 2
.L101:
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L95
.L112:
	nop
.L90:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 48
	add	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -28[rbp], eax
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L112
	cmp	DWORD PTR -28[rbp], 43
	je	.L102
	cmp	DWORD PTR -28[rbp], 45
	je	.L102
	cmp	DWORD PTR -28[rbp], 61
	je	.L102
	call	beep@PLT
	jmp	.L95
.L102:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	ungetch@PLT
	jmp	.L95
.L92:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L104
.L91:
	neg	DWORD PTR -24[rbp]
	mov	DWORD PTR -12[rbp], 1
	jmp	.L104
.L89:
	mov	DWORD PTR -12[rbp], 0
.L104:
	mov	eax, DWORD PTR -20[rbp]
	cwde
	lea	rcx, -34[rbp]
	lea	rdx, -36[rbp]
	lea	rsi, -38[rbp]
	mov	edi, eax
	call	color_content@PLT
	cmp	DWORD PTR -16[rbp], 0
	jne	.L105
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	movzx	eax, WORD PTR -38[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	WORD PTR -38[rbp], ax
	jmp	.L106
.L105:
	cmp	DWORD PTR -16[rbp], 1
	jne	.L107
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	movzx	eax, WORD PTR -36[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	WORD PTR -36[rbp], ax
	jmp	.L106
.L107:
	cmp	DWORD PTR -16[rbp], 2
	jne	.L106
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, eax
	movzx	eax, WORD PTR -34[rbp]
	imul	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	WORD PTR -34[rbp], ax
.L106:
	movzx	eax, WORD PTR -34[rbp]
	movsx	ecx, ax
	movzx	eax, WORD PTR -36[rbp]
	movsx	edx, ax
	movzx	eax, WORD PTR -38[rbp]
	movsx	esi, ax
	mov	eax, DWORD PTR -20[rbp]
	cwde
	mov	edi, eax
	call	init_color@PLT
	jmp	.L95
.L87:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	lea	rsi, .LC43[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC45[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC46[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC47[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC48[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC49[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC50[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC51[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC52[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	jmp	.L95
.L81:
	call	beep@PLT
	jmp	.L95
.L111:
	nop
.L95:
	cmp	DWORD PTR -28[rbp], 120
	je	.L108
	cmp	DWORD PTR -28[rbp], 113
	jne	.L109
.L108:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L110
	call	__stack_chk_fail@PLT
.L110:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	color_edit, .-color_edit
	.section	.rodata
.LC53:
	.string	"Soft Key Exerciser"
.LC54:
	.string	"Available commands are:"
.LC55:
	.string	"^L         -- refresh screen"
	.align 8
.LC56:
	.string	"a          -- activate or restore soft keys"
	.align 8
.LC57:
	.string	"d          -- disable soft keys"
	.align 8
.LC58:
	.string	"c          -- set centered format for labels"
	.align 8
.LC59:
	.string	"l          -- set left-justified format for labels"
	.align 8
.LC60:
	.string	"r          -- set right-justified format for labels"
	.align 8
.LC61:
	.string	"[12345678] -- set label; labels are numbered 1 through 8"
	.align 8
.LC62:
	.string	"e          -- erase stdscr (should not erase labels)"
	.align 8
.LC63:
	.string	"s          -- test scrolling of shortened screen"
	.align 8
.LC64:
	.string	"x, q       -- return to main menu"
	.align 8
.LC65:
	.string	"Note: if activating the soft keys causes your terminal to"
	.align 8
.LC66:
	.string	"scroll up one line, your terminal auto-scrolls when anything"
	.align 8
.LC67:
	.string	"is written to the last screen position.  The ncurses code"
	.align 8
.LC68:
	.string	"does not yet handle this gracefully."
	.align 8
.LC69:
	.string	"Please enter the label value: "
	.text
	.type	slk_test, @function
slk_test:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -28[rbp], 12
.L134:
	cmp	DWORD PTR -28[rbp], 12
	je	.L114
	cmp	DWORD PTR -28[rbp], 12
	jl	.L115
	cmp	DWORD PTR -28[rbp], 120
	jg	.L115
	cmp	DWORD PTR -28[rbp], 49
	jl	.L115
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 49
	cmp	eax, 71
	ja	.L115
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L117[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L117[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L117:
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L125-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L124-.L117
	.long	.L115-.L117
	.long	.L123-.L117
	.long	.L122-.L117
	.long	.L121-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L120-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L136-.L117
	.long	.L119-.L117
	.long	.L118-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L136-.L117
	.text
.L114:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 20
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L127
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC53[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L127:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	lea	rsi, .LC54[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC55[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC56[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC57[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC58[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC59[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC60[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC61[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC62[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC63[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC64[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC33[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC65[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC66[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC67[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	lea	rsi, .LC68[rip]
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L124:
	call	slk_restore@PLT
	jmp	.L128
.L121:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	jmp	.L128
.L118:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 20
	mov	rdi, rax
	call	wmove@PLT
	jmp	.L129
.L130:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L129:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 81
	jne	.L130
	jmp	.L128
.L122:
	call	slk_clear@PLT
	jmp	.L128
.L120:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L128
.L123:
	mov	DWORD PTR -24[rbp], 1
	jmp	.L128
.L119:
	mov	DWORD PTR -24[rbp], 2
	jmp	.L128
.L125:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 20
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L132
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC69[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L132:
	mov	rax, QWORD PTR stdscr[rip]
	lea	rcx, -17[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	rdi, rax
	call	wgetnstr@PLT
	mov	eax, DWORD PTR -28[rbp]
	lea	ecx, -48[rax]
	mov	edx, DWORD PTR -24[rbp]
	lea	rax, -17[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	slk_set@PLT
	call	slk_refresh@PLT
	jmp	.L128
.L115:
	call	beep@PLT
.L128:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], -1
	jne	.L134
	jmp	.L133
.L136:
	nop
.L133:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L135
	call	__stack_chk_fail@PLT
.L135:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	slk_test, .-slk_test
	.section	.rodata
	.align 8
.LC70:
	.string	"Display of the ACS Character Set"
.LC71:
	.string	"ACS_ULCORNER: "
.LC72:
	.string	"ACS_LLCORNER: "
.LC73:
	.string	"ACS_URCORNER: "
.LC74:
	.string	"ACS_LRCORNER: "
.LC75:
	.string	"ACS_RTEE: "
.LC76:
	.string	"ACS_LTEE: "
.LC77:
	.string	"ACS_BTEE: "
.LC78:
	.string	"ACS_TTEE: "
.LC79:
	.string	"ACS_HLINE: "
.LC80:
	.string	"ACS_VLINE: "
.LC81:
	.string	"ACS_PLUS: "
.LC82:
	.string	"ACS_S1: "
.LC83:
	.string	"ACS_S9: "
.LC84:
	.string	"ACS_DIAMOND: "
.LC85:
	.string	"ACS_CKBOARD: "
.LC86:
	.string	"ACS_DEGREE: "
.LC87:
	.string	"ACS_PLMINUS: "
.LC88:
	.string	"ACS_BULLET: "
.LC89:
	.string	"ACS_LARROW: "
.LC90:
	.string	"ACS_RARROW: "
.LC91:
	.string	"ACS_DARROW: "
.LC92:
	.string	"ACS_UARROW: "
.LC93:
	.string	"ACS_BOARD: "
.LC94:
	.string	"ACS_LANTERN: "
.LC95:
	.string	"ACS_BLOCK: "
	.align 8
.LC96:
	.string	"High-half characters via echochar:\n"
	.text
	.type	acs_display, @function
acs_display:
.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	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 20
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L139
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC70[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L139:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2097152
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L141
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC71[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L141:
	mov	edx, DWORD PTR acs_map[rip+432]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 3
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L143
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC72[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L143:
	mov	edx, DWORD PTR acs_map[rip+436]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L145
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC73[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L145:
	mov	edx, DWORD PTR acs_map[rip+428]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L147
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L147:
	mov	edx, DWORD PTR acs_map[rip+424]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L149
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC75[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L149:
	mov	edx, DWORD PTR acs_map[rip+468]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 7
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L151
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L151:
	mov	edx, DWORD PTR acs_map[rip+464]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L153
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC77[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L153:
	mov	edx, DWORD PTR acs_map[rip+472]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L155
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L155:
	mov	edx, DWORD PTR acs_map[rip+476]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L157
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC79[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L157:
	mov	edx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 11
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L159
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC80[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L159:
	mov	edx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 12
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L161
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC81[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L161:
	mov	edx, DWORD PTR acs_map[rip+440]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 13
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L163
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC82[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L163:
	mov	edx, DWORD PTR acs_map[rip+444]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 14
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L165
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC83[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L165:
	mov	edx, DWORD PTR acs_map[rip+460]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L167
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC84[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L167:
	mov	edx, DWORD PTR acs_map[rip+384]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 3
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L169
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC85[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L169:
	mov	edx, DWORD PTR acs_map[rip+388]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L171
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC86[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L171:
	mov	edx, DWORD PTR acs_map[rip+408]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L173
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC87[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L173:
	mov	edx, DWORD PTR acs_map[rip+412]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L175
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC88[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L175:
	mov	edx, DWORD PTR acs_map[rip+504]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 7
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L177
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC89[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L177:
	mov	edx, DWORD PTR acs_map[rip+176]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L179
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC90[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L179:
	mov	edx, DWORD PTR acs_map[rip+172]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L181
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC91[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L181:
	mov	edx, DWORD PTR acs_map[rip+184]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L183
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC92[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L183:
	mov	edx, DWORD PTR acs_map[rip+180]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 11
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L185
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC93[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L185:
	mov	edx, DWORD PTR acs_map[rip+416]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 12
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L187
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC94[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L187:
	mov	edx, DWORD PTR acs_map[rip+420]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 40
	mov	esi, 13
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L189
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC95[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L189:
	mov	edx, DWORD PTR acs_map[rip+192]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	lea	rdx, .LC96[rip]
	mov	esi, 0
	mov	edi, 16
	mov	eax, 0
	call	mvprintw@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L190
.L193:
	mov	eax, DWORD PTR -8[rbp]
	lea	ecx, 18[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 24
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L191
.L192:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 4
	sal	eax, 5
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wechochar@PLT
	add	DWORD PTR -4[rbp], 1
.L191:
	cmp	DWORD PTR -4[rbp], 31
	jle	.L192
	add	DWORD PTR -8[rbp], 1
.L190:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L193
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	acs_display, .-acs_display
	.section	.rodata
.LC97:
	.string	"Y = %2d X = %2d"
	.text
	.type	report, @function
report:
.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	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L195
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR [rax]
	cwde
	jmp	.L196
.L195:
	mov	eax, -1
.L196:
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L197
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 2[rax]
	cwde
	jmp	.L198
.L197:
	mov	eax, -1
.L198:
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -17[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	edx, DWORD PTR -4[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC97[rip]
	mov	eax, 0
	call	printw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	report, .-report
	.type	selectcell, @function
selectcell:
.LFB13:
	.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	DWORD PTR -32[rbp], ecx
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
.L208:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -17[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, ecx
	mov	esi, eax
	lea	rdi, .LC97[rip]
	mov	eax, 0
	call	printw@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	cmp	eax, 261
	je	.L200
	cmp	eax, 261
	jg	.L201
	cmp	eax, 260
	je	.L202
	cmp	eax, 260
	jg	.L201
	cmp	eax, 259
	je	.L203
	cmp	eax, 259
	jg	.L201
	cmp	eax, 4
	je	.L204
	cmp	eax, 258
	je	.L205
	jmp	.L201
.L203:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	add	DWORD PTR -16[rbp], eax
	jmp	.L206
.L205:
	add	DWORD PTR -16[rbp], 1
	jmp	.L206
.L202:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	add	DWORD PTR -12[rbp], eax
	jmp	.L206
.L200:
	add	DWORD PTR -12[rbp], 1
	jmp	.L206
.L204:
	mov	eax, 0
	jmp	.L207
.L201:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR res.4[rip], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, edx
	mov	DWORD PTR res.4[rip+4], eax
	lea	rax, res.4[rip]
	jmp	.L207
.L206:
	mov	eax, DWORD PTR -16[rbp]
	cdq
	idiv	DWORD PTR -8[rbp]
	mov	DWORD PTR -16[rbp], edx
	mov	eax, DWORD PTR -12[rbp]
	cdq
	idiv	DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], edx
	jmp	.L208
.L207:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	selectcell, .-selectcell
	.section	.rodata
	.align 8
.LC98:
	.string	"Use arrows to move cursor, anything else to mark corner 1"
	.align 8
.LC99:
	.string	"Use arrows to move cursor, anything else to mark corner 2"
	.text
	.type	getwindow, @function
getwindow:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	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	wclrtoeol@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC98[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 0
	mov	edi, 1
	mov	eax, 0
	call	selectcell
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L210
	mov	eax, 0
	jmp	.L213
.L210:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -24[rbp], rax
	mov	edx, DWORD PTR acs_map[rip+432]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	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	wclrtoeol@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC99[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR COLS[rip]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	edx, -1[rax]
	mov	esi, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	mov	eax, 0
	call	selectcell
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	jne	.L212
	mov	eax, 0
	jmp	.L213
.L212:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -20[rbp]
	sub	ecx, esi
	lea	esi, 1[rcx]
	mov	ecx, DWORD PTR -16[rbp]
	mov	edi, DWORD PTR -24[rbp]
	sub	ecx, edi
	lea	edi, 1[rcx]
	mov	ecx, edx
	mov	edx, eax
	call	newwin@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -20[rbp]
	sub	eax, esi
	lea	esi, 3[rax]
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, DWORD PTR -24[rbp]
	sub	eax, edi
	add	eax, 3
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, DWORD PTR acs_map[rip+452]
	mov	ecx, DWORD PTR acs_map[rip+452]
	mov	edx, DWORD PTR acs_map[rip+480]
	mov	esi, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR -32[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, edi
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	scrollok@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -40[rbp]
.L213:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L214
	call	__stack_chk_fail@PLT
.L214:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	getwindow, .-getwindow
	.section	.rodata
	.align 8
.LC100:
	.string	"F1 = make new window, F2 = next window, F3 = previous window, Ctrl-D = exit"
	.align 8
.LC101:
	.string	"All other characters are echoed, windows should scroll."
	.text
	.type	acs_and_scroll, @function
acs_and_scroll:
.LFB15:
	.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], 0
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L217
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC100[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L217:
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L219
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC101[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L219:
	mov	DWORD PTR -28[rbp], 265
.L231:
	call	report
	cmp	QWORD PTR -16[rbp], 0
	je	.L220
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	wrefresh@PLT
.L220:
	cmp	DWORD PTR -28[rbp], 268
	je	.L221
	cmp	DWORD PTR -28[rbp], 268
	jg	.L222
	cmp	DWORD PTR -28[rbp], 267
	je	.L223
	cmp	DWORD PTR -28[rbp], 267
	jg	.L222
	cmp	DWORD PTR -28[rbp], 266
	je	.L224
	cmp	DWORD PTR -28[rbp], 266
	jg	.L222
	cmp	DWORD PTR -28[rbp], 13
	je	.L225
	cmp	DWORD PTR -28[rbp], 265
	jne	.L222
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	call	getwindow
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 16[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	test	rax, rax
	je	.L232
	cmp	QWORD PTR -24[rbp], 0
	jne	.L228
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L229
.L228:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR 8[rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -16[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rax], rdx
.L229:
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	jmp	.L230
.L224:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L230
.L223:
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -16[rbp], rax
	jmp	.L230
.L221:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	selectcell
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclrtobot@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	jmp	.L230
.L225:
	mov	DWORD PTR -28[rbp], 10
.L222:
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	nop
.L230:
	call	report
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 4
	jne	.L231
	jmp	.L227
.L232:
	nop
.L227:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	call	endwin@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	acs_and_scroll, .-acs_and_scroll
	.type	panner, @function
panner:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	DWORD PTR -76[rbp], esi
	mov	DWORD PTR -80[rbp], edx
	mov	QWORD PTR -88[rbp], rcx
	mov	QWORD PTR -16[rbp], 0
	mov	QWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR porty.3[rip], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR portx.2[rip], eax
	cmp	QWORD PTR -72[rbp], 0
	je	.L234
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L235
.L234:
	mov	eax, -1
.L235:
	mov	DWORD PTR -40[rbp], eax
	cmp	QWORD PTR -72[rbp], 0
	je	.L236
	mov	rax, QWORD PTR -72[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L237
.L236:
	mov	eax, -1
.L237:
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	jle	.L238
	mov	edx, DWORD PTR portx.2[rip]
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	setg	al
	movzx	eax, al
	sub	edx, eax
	mov	ecx, DWORD PTR porty.3[rip]
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	setg	al
	movzx	esi, al
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -16[rbp], rax
.L238:
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L239
	mov	edx, DWORD PTR porty.3[rip]
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	setg	al
	movzx	eax, al
	sub	edx, eax
	mov	ecx, DWORD PTR portx.2[rip]
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	setg	al
	movzx	esi, al
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, 0
	mov	esi, eax
	mov	edi, 1
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
.L239:
	mov	DWORD PTR -52[rbp], 373
.L300:
	cmp	DWORD PTR -52[rbp], 373
	je	.L301
	cmp	DWORD PTR -52[rbp], 373
	jg	.L241
	cmp	DWORD PTR -52[rbp], 331
	je	.L242
	cmp	DWORD PTR -52[rbp], 331
	jg	.L241
	cmp	DWORD PTR -52[rbp], 330
	je	.L243
	cmp	DWORD PTR -52[rbp], 330
	jg	.L241
	cmp	DWORD PTR -52[rbp], 329
	je	.L244
	cmp	DWORD PTR -52[rbp], 329
	jg	.L241
	cmp	DWORD PTR -52[rbp], 328
	je	.L245
	cmp	DWORD PTR -52[rbp], 328
	jg	.L241
	cmp	DWORD PTR -52[rbp], 261
	je	.L246
	cmp	DWORD PTR -52[rbp], 261
	jg	.L241
	cmp	DWORD PTR -52[rbp], 260
	je	.L247
	cmp	DWORD PTR -52[rbp], 260
	jg	.L241
	cmp	DWORD PTR -52[rbp], 258
	je	.L248
	cmp	DWORD PTR -52[rbp], 259
	je	.L249
	jmp	.L241
.L242:
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L250
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -80[rbp], eax
	jg	.L251
.L250:
	call	beep@PLT
	jmp	.L241
.L251:
	mov	eax, DWORD PTR portx.2[rip]
	add	eax, 1
	mov	DWORD PTR portx.2[rip], eax
	mov	eax, DWORD PTR portx.2[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	edx, DWORD PTR porty.3[rip]
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -36[rbp], eax
	setg	al
	movzx	eax, al
	sub	edx, eax
	mov	ecx, DWORD PTR portx.2[rip]
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	setg	al
	movzx	esi, al
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, 0
	mov	esi, eax
	mov	edi, 1
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L241
.L244:
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	jle	.L253
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -76[rbp], eax
	jg	.L254
.L253:
	call	beep@PLT
	jmp	.L241
.L254:
	mov	eax, DWORD PTR porty.3[rip]
	add	eax, 1
	mov	DWORD PTR porty.3[rip], eax
	mov	eax, DWORD PTR porty.3[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	edx, DWORD PTR portx.2[rip]
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	setg	al
	movzx	eax, al
	sub	edx, eax
	mov	ecx, DWORD PTR porty.3[rip]
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -36[rbp], eax
	setg	al
	movzx	esi, al
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L241
.L243:
	mov	eax, DWORD PTR portx.2[rip]
	test	eax, eax
	jg	.L256
	call	beep@PLT
	jmp	.L241
.L256:
	mov	eax, DWORD PTR portx.2[rip]
	sub	eax, 1
	mov	DWORD PTR portx.2[rip], eax
	mov	eax, DWORD PTR portx.2[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	edx, DWORD PTR porty.3[rip]
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -36[rbp], eax
	setg	al
	movzx	eax, al
	sub	edx, eax
	mov	ecx, DWORD PTR portx.2[rip]
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	setg	al
	movzx	esi, al
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, 0
	mov	esi, eax
	mov	edi, 1
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L241
.L245:
	mov	eax, DWORD PTR porty.3[rip]
	test	eax, eax
	jg	.L258
	call	beep@PLT
	jmp	.L241
.L258:
	mov	eax, DWORD PTR porty.3[rip]
	sub	eax, 1
	mov	DWORD PTR porty.3[rip], eax
	mov	eax, DWORD PTR porty.3[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	edx, DWORD PTR portx.2[rip]
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -40[rbp], eax
	setg	al
	movzx	eax, al
	sub	edx, eax
	mov	ecx, DWORD PTR porty.3[rip]
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -36[rbp], eax
	setg	al
	movzx	esi, al
	mov	eax, ecx
	sub	eax, esi
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 1
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L241
.L247:
	mov	eax, DWORD PTR basex.1[rip]
	test	eax, eax
	jle	.L260
	mov	eax, DWORD PTR basex.1[rip]
	sub	eax, 1
	mov	DWORD PTR basex.1[rip], eax
	jmp	.L241
.L260:
	call	beep@PLT
	jmp	.L241
.L246:
	mov	edx, DWORD PTR basex.1[rip]
	mov	eax, DWORD PTR portx.2[rip]
	add	eax, edx
	cmp	DWORD PTR -36[rbp], eax
	jle	.L262
	mov	eax, DWORD PTR basex.1[rip]
	add	eax, 1
	mov	DWORD PTR basex.1[rip], eax
	jmp	.L241
.L262:
	call	beep@PLT
	jmp	.L241
.L249:
	mov	eax, DWORD PTR basey.0[rip]
	test	eax, eax
	jle	.L264
	mov	eax, DWORD PTR basey.0[rip]
	sub	eax, 1
	mov	DWORD PTR basey.0[rip], eax
	jmp	.L241
.L264:
	call	beep@PLT
	jmp	.L241
.L248:
	mov	edx, DWORD PTR basey.0[rip]
	mov	eax, DWORD PTR porty.3[rip]
	add	eax, edx
	cmp	DWORD PTR -40[rbp], eax
	jle	.L266
	mov	eax, DWORD PTR basey.0[rip]
	add	eax, 1
	mov	DWORD PTR basey.0[rip], eax
	jmp	.L241
.L266:
	call	beep@PLT
	jmp	.L241
.L301:
	nop
.L241:
	mov	eax, DWORD PTR portx.2[rip]
	cmp	QWORD PTR -16[rbp], 0
	setne	dl
	movzx	edx, dl
	sub	eax, edx
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR porty.3[rip]
	cmp	QWORD PTR -8[rbp], 0
	setne	dl
	movzx	edx, dl
	sub	eax, edx
	lea	edi, -1[rax]
	mov	edx, DWORD PTR basex.1[rip]
	mov	esi, DWORD PTR basey.0[rip]
	mov	rax, QWORD PTR -72[rbp]
	sub	rsp, 8
	push	rcx
	mov	r9d, edi
	mov	r8d, 0
	mov	ecx, 0
	mov	rdi, rax
	call	prefresh@PLT
	add	rsp, 16
	cmp	QWORD PTR -16[rbp], 0
	je	.L268
	mov	eax, DWORD PTR basey.0[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	mov	eax, DWORD PTR porty.3[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -40[rbp]
	divss	xmm0, xmm2
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -32[rbp], eax
	mov	edx, DWORD PTR basey.0[rip]
	mov	eax, DWORD PTR porty.3[rip]
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	mov	eax, DWORD PTR porty.3[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -40[rbp]
	divss	xmm0, xmm2
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -28[rbp], eax
	cmp	QWORD PTR -16[rbp], 0
	je	.L269
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L270
.L269:
	mov	edx, -1
.L270:
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wtouchln@PLT
	mov	DWORD PTR -48[rbp], 0
	jmp	.L271
.L274:
	mov	ecx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L273
	mov	edx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L273:
	add	DWORD PTR -48[rbp], 1
.L271:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jl	.L274
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_on@PLT
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -48[rbp], eax
	jmp	.L275
.L278:
	mov	ecx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L277
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L277:
	add	DWORD PTR -48[rbp], 1
.L275:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jle	.L278
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_off@PLT
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -48[rbp], eax
	jmp	.L279
.L282:
	mov	ecx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L281
	mov	edx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L281:
	add	DWORD PTR -48[rbp], 1
.L279:
	mov	eax, DWORD PTR porty.3[rip]
	cmp	DWORD PTR -48[rbp], eax
	jl	.L282
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
.L268:
	cmp	QWORD PTR -8[rbp], 0
	je	.L283
	mov	eax, DWORD PTR basex.1[rip]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	mov	eax, DWORD PTR portx.2[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -36[rbp]
	divss	xmm0, xmm2
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -24[rbp], eax
	mov	edx, DWORD PTR basex.1[rip]
	mov	eax, DWORD PTR portx.2[rip]
	add	eax, edx
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	mov	eax, DWORD PTR portx.2[rip]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, DWORD PTR -36[rbp]
	divss	xmm0, xmm2
	mulss	xmm0, xmm1
	cvttss2si	eax, xmm0
	mov	DWORD PTR -20[rbp], eax
	cmp	QWORD PTR -8[rbp], 0
	je	.L284
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L285
.L284:
	mov	edx, -1
.L285:
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wtouchln@PLT
	mov	DWORD PTR -44[rbp], 0
	jmp	.L286
.L289:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L288
	mov	edx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L288:
	add	DWORD PTR -44[rbp], 1
.L286:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jl	.L289
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_on@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L290
.L293:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L292
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L292:
	add	DWORD PTR -44[rbp], 1
.L290:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L293
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 262144
	mov	rdi, rax
	call	wattr_off@PLT
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
	jmp	.L294
.L297:
	mov	edx, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L296
	mov	edx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L296:
	add	DWORD PTR -44[rbp], 1
.L294:
	mov	eax, DWORD PTR portx.2[rip]
	cmp	DWORD PTR -44[rbp], eax
	jl	.L297
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
.L283:
	mov	eax, DWORD PTR portx.2[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR porty.3[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L299
	mov	edx, DWORD PTR acs_map[rip+424]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L299:
	mov	rax, QWORD PTR -88[rbp]
	call	rax
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 361
	jne	.L300
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	panner, .-panner
	.globl	padgetch
	.type	padgetch, @function
padgetch:
.LFB17:
	.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	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 117
	je	.L303
	cmp	DWORD PTR -4[rbp], 117
	jg	.L304
	cmp	DWORD PTR -4[rbp], 114
	je	.L305
	cmp	DWORD PTR -4[rbp], 114
	jg	.L304
	cmp	DWORD PTR -4[rbp], 108
	je	.L306
	cmp	DWORD PTR -4[rbp], 108
	jg	.L304
	cmp	DWORD PTR -4[rbp], 100
	je	.L307
	cmp	DWORD PTR -4[rbp], 100
	jg	.L304
	cmp	DWORD PTR -4[rbp], 62
	je	.L308
	cmp	DWORD PTR -4[rbp], 62
	jg	.L304
	cmp	DWORD PTR -4[rbp], 60
	je	.L309
	cmp	DWORD PTR -4[rbp], 60
	jg	.L304
	cmp	DWORD PTR -4[rbp], 43
	je	.L310
	cmp	DWORD PTR -4[rbp], 45
	je	.L311
	jmp	.L304
.L303:
	mov	eax, 259
	jmp	.L312
.L307:
	mov	eax, 258
	jmp	.L312
.L305:
	mov	eax, 261
	jmp	.L312
.L306:
	mov	eax, 260
	jmp	.L312
.L310:
	mov	eax, 329
	jmp	.L312
.L311:
	mov	eax, 328
	jmp	.L312
.L308:
	mov	eax, 331
	jmp	.L312
.L309:
	mov	eax, 330
	jmp	.L312
.L304:
	mov	eax, DWORD PTR -4[rbp]
.L312:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	padgetch, .-padgetch
	.section	.rodata
	.align 8
.LC102:
	.string	"Use arrow keys to pan over the test pattern"
	.align 8
.LC103:
	.string	"Use +,- to grow/shrink the panner vertically."
	.align 8
.LC104:
	.string	"Use <,> to grow/shrink the panner horizontally."
	.text
	.type	demo_pad, @function
demo_pad:
.LFB18:
	.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 -12[rbp], 0
	mov	esi, 200
	mov	edi, 200
	call	newpad@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L314
.L324:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L315
.L323:
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L316
	mov	edx, DWORD PTR -16[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L316
	cmp	DWORD PTR -20[rbp], 0
	je	.L317
	cmp	DWORD PTR -16[rbp], 0
	jne	.L318
.L317:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 43
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L320
.L318:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 3
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 26
	sub	eax, ecx
	mov	edx, eax
	lea	eax, 65[rdx]
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L320
.L316:
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L321
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 45
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L320
.L321:
	mov	edx, DWORD PTR -16[rbp]
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	ecx, eax
	sal	ecx, 2
	add	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L322
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L320
.L322:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L320:
	add	DWORD PTR -16[rbp], 1
.L315:
	cmp	DWORD PTR -16[rbp], 199
	jle	.L323
	add	DWORD PTR -20[rbp], 1
.L314:
	cmp	DWORD PTR -20[rbp], 199
	jle	.L324
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 3
	lea	rdx, .LC102[rip]
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 2
	lea	rdx, .LC103[rip]
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	lea	rdx, .LC104[rip]
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	edx, DWORD PTR COLS[rip]
	mov	eax, DWORD PTR LINES[rip]
	lea	esi, -4[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, padgetch[rip]
	mov	rdi, rax
	call	panner
	call	endwin@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	demo_pad, .-demo_pad
	.section	.rodata
.LC105:
	.string	" Press any key to continue"
	.text
	.type	Continue, @function
Continue:
.LFB19:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L327
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC105[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L327:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	Continue, .-Continue
	.section	.rodata
	.align 8
.LC106:
	.string	"Type random keys for 5 seconds."
	.align 8
.LC107:
	.string	"These should be discarded (not echoed) after the subwindow goes away."
.LC108:
	.string	"Time = %d"
.LC109:
	.string	"Press a key"
	.align 8
.LC110:
	.string	"If you see any key other than what you typed, flushinp() is broken."
	.align 8
.LC111:
	.string	"What you typed should now have been deleted; if not, wdelch() failed."
	.text
	.type	input_test, @function
input_test:
.LFB20:
	.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	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 10[rax]
	cwde
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 8[rax]
	cwde
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -16[rbp]
	lea	edi, -2[rax]
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -12[rbp]
	lea	ecx, -2[rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	subwin@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L343
	call	has_colors@PLT
	test	al, al
	je	.L331
	mov	edx, 4
	mov	esi, 6
	mov	edi, 2
	call	init_pair@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2097664
	mov	rdi, rax
	call	wattrset@PLT
	jmp	.L332
.L331:
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2097152
	mov	rdi, rax
	call	wattrset@PLT
.L332:
	mov	edi, DWORD PTR acs_map[rip+452]
	mov	ecx, DWORD PTR acs_map[rip+452]
	mov	edx, DWORD PTR acs_map[rip+480]
	mov	esi, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, edi
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	nocbreak@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L334
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, -1
	lea	rsi, .LC106[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L334:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L336
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, -1
	lea	rsi, .LC107[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L336:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L337
.L338:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, edx
	lea	rcx, .LC108[rip]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 1
	call	sleep@PLT
	call	flushinp@PLT
	add	DWORD PTR -36[rbp], 1
.L337:
	cmp	DWORD PTR -36[rbp], 4
	jle	.L338
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	werase@PLT
	call	flash@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L340
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, -1
	lea	rsi, .LC109[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L340:
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 10
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	echo@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	call	flushinp@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	esi, 12
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L342
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, -1
	lea	rsi, .LC110[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L342:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 10
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wdelch@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, 0
	mov	esi, 12
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclrtoeol@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	edx, -1
	lea	rsi, .LC111[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	Continue
	jmp	.L328
.L343:
	nop
.L328:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	input_test, .-input_test
	.section	.rodata
.LC112:
	.string	"TERM"
	.align 8
.LC113:
	.string	"This %s terminal does not support color.\n"
	.align 8
.LC114:
	.string	"This %s terminal has hardwired color values.\n"
	.align 8
.LC115:
	.string	"This is the ncurses capability tester."
	.align 8
.LC116:
	.string	"You may select a test from the main menu by typing the"
	.align 8
.LC117:
	.string	"key letter of the choice (the letter to left of the =)"
	.align 8
.LC118:
	.string	"at the > prompt.  The commands `x' or `q' will exit."
	.text
	.globl	do_single_test
	.type	do_single_test, @function
do_single_test:
.LFB21:
	.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	eax, edi
	mov	BYTE PTR -4[rbp], al
	movsx	eax, BYTE PTR -4[rbp]
	sub	eax, 63
	cmp	eax, 49
	ja	.L345
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L347[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L347[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L347:
	.long	.L356-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L355-.L347
	.long	.L354-.L347
	.long	.L353-.L347
	.long	.L352-.L347
	.long	.L351-.L347
	.long	.L350-.L347
	.long	.L349-.L347
	.long	.L345-.L347
	.long	.L348-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L345-.L347
	.long	.L346-.L347
	.text
.L355:
	call	getch_test
	mov	eax, 1
	jmp	.L357
.L354:
	call	attr_test
	mov	eax, 1
	jmp	.L357
.L353:
	call	has_colors@PLT
	xor	eax, 1
	test	al, al
	je	.L358
	lea	rdi, .LC112[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC113[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L359
.L358:
	call	color_test
.L359:
	mov	eax, 1
	jmp	.L357
.L352:
	call	has_colors@PLT
	xor	eax, 1
	test	al, al
	je	.L360
	lea	rdi, .LC112[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC113[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L361
.L360:
	call	can_change_color@PLT
	xor	eax, 1
	test	al, al
	je	.L362
	lea	rdi, .LC112[rip]
	call	getenv@PLT
	mov	rsi, rax
	lea	rdi, .LC114[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L361
.L362:
	call	color_edit
.L361:
	mov	eax, 1
	jmp	.L357
.L351:
	call	slk_test
	mov	eax, 1
	jmp	.L357
.L350:
	mov	eax, 0
	call	acs_display
	mov	eax, 1
	jmp	.L357
.L349:
	mov	eax, 0
	call	acs_and_scroll
	mov	eax, 1
	jmp	.L357
.L346:
	call	demo_pad
	mov	eax, 1
	jmp	.L357
.L348:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	input_test
	mov	eax, 1
	jmp	.L357
.L356:
	lea	rdi, .LC115[rip]
	call	puts@PLT
	lea	rdi, .LC116[rip]
	call	puts@PLT
	lea	rdi, .LC117[rip]
	call	puts@PLT
	lea	rdi, .LC118[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L357
.L345:
	mov	eax, 0
.L357:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	do_single_test, .-do_single_test
	.section	.rodata
	.align 8
.LC119:
	.string	"Welcome to ncurses.  Press ? for help."
.LC120:
	.string	"This is the ncurses main menu"
.LC121:
	.string	"a = character input test"
.LC122:
	.string	"b = character attribute test"
.LC123:
	.string	"c = color test pattern"
.LC124:
	.string	"d = edit RGB color values"
.LC125:
	.string	"e = exercise soft keys"
.LC126:
	.string	"f = display ACS characters"
	.align 8
.LC127:
	.string	"g = display windows and scrolling"
.LC128:
	.string	"p = exercise pad features"
.LC129:
	.string	"i = subwindow input test"
.LC130:
	.string	"? = get help"
.LC131:
	.string	"> "
	.text
	.globl	main
	.type	main, @function
main:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 32
	mov	DWORD PTR -8212[rbp], edi
	mov	QWORD PTR -8224[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 31
	call	trace@PLT
	mov	edi, 1
	call	slk_init@PLT
	call	initscr@PLT
	call	start_color@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	scrollok@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	endwin@PLT
	lea	rdi, .LC119[rip]
	call	puts@PLT
.L366:
	lea	rdi, .LC120[rip]
	call	puts@PLT
	lea	rdi, .LC121[rip]
	call	puts@PLT
	lea	rdi, .LC122[rip]
	call	puts@PLT
	lea	rdi, .LC123[rip]
	call	puts@PLT
	lea	rdi, .LC124[rip]
	call	puts@PLT
	lea	rdi, .LC125[rip]
	call	puts@PLT
	lea	rdi, .LC126[rip]
	call	puts@PLT
	lea	rdi, .LC127[rip]
	call	puts@PLT
	lea	rdi, .LC128[rip]
	call	puts@PLT
	lea	rdi, .LC129[rip]
	call	puts@PLT
	lea	rdi, .LC130[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC131[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -8208[rbp]
	mov	esi, 8192
	mov	rdi, rax
	call	fgets@PLT
	movzx	eax, BYTE PTR -8208[rbp]
	movsx	eax, al
	mov	edi, eax
	call	do_single_test
	test	al, al
	je	.L364
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	endwin@PLT
	nop
.L364:
	movzx	eax, BYTE PTR -8208[rbp]
	cmp	al, 113
	je	.L365
	movzx	eax, BYTE PTR -8208[rbp]
	cmp	al, 120
	jne	.L366
.L365:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE22:
	.size	main, .-main
	.local	res.4
	.comm	res.4,8,8
	.local	porty.3
	.comm	porty.3,4,4
	.local	portx.2
	.comm	portx.2,4,4
	.local	basex.1
	.comm	basex.1,4,4
	.local	basey.0
	.comm	basey.0,4,4
	.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	"221146.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Delay in 10ths of a second (<CR> for blocking input"
	.ascii	")? \000"
	.align	2
.LC1:
	.ascii	"Key pressed: %04o \000"
	.align	2
.LC2:
	.ascii	"M-%c\000"
	.align	2
.LC3:
	.ascii	"M-%s\000"
	.align	2
.LC4:
	.ascii	" (high-half character)\012\000"
	.align	2
.LC5:
	.ascii	"%c (ASCII printable character)\012\000"
	.align	2
.LC6:
	.ascii	"%s (ASCII control character)\012\000"
	.align	2
.LC7:
	.ascii	"Type any key to see its keypad value, `q' to quit, "
	.ascii	"`?' for help.\012\000"
	.align	2
.LC8:
	.ascii	"%05d: input timed out\012\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getch_test, %function
getch_test:
	@ args = 0, pretend = 0, frame = 8216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #28
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #1
	strb	r2, [r3, #-17]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r0, .L15+8
	bl	printw
	bl	echo
	ldr	r3, .L15+4
	ldr	r0, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mvn	r2, #0
	mov	r1, r3
	bl	wgetnstr
	bl	noecho
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L15+4
	ldr	r4, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r4
	bl	wtimeout
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-17]
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #63
	str	r3, [r2, #-16]
.L13:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-8]
	cmp	r3, #0
	beq	.L3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-16]
	ldr	r0, .L15+12
	bl	printw
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #256
	bls	.L4
	ldr	r3, .L15+4
	ldr	r4, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	mov	r0, r3
	bl	keyname
	mov	r3, r0
	mvn	r2, #0
	mov	r1, r3
	mov	r0, r4
	bl	waddnstr
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r1, #10
	mov	r0, r3
	bl	waddch
	b	.L3
.L4:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #128
	bls	.L5
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	bic	r3, r3, #128
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L6
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-16]
	ldr	r0, .L15+16
	bl	printw
	b	.L7
.L6:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	unctrl
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+20
	bl	printw
.L7:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L15+24
	mov	r0, r3
	bl	waddnstr
	b	.L3
.L5:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #16384
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-16]
	ldr	r0, .L15+28
	bl	printw
	b	.L3
.L8:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-16]
	bl	unctrl
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L15+32
	bl	printw
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #120
	beq	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #113
	beq	.L9
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmp	r3, #63
	bne	.L11
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L15+36
	mov	r0, r3
	bl	waddnstr
	b	.L11
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldrb	r3, [r3, #-17]
	eor	r3, r3, #1
	and	r3, r3, #255
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-12]
	str	r2, [r1, #-12]
	cmp	r3, #0
	beq	.L11
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r1, r2
	add	r2, r3, #1
	str	r2, [r1, #-12]
	mov	r1, r3
	ldr	r0, .L15+40
	bl	printw
.L11:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-16]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	cmn	r3, #1
	beq	.L12
	b	.L13
.L9:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mvn	r1, #0
	mov	r0, r3
	bl	wtimeout
	ldr	r3, .L15+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC9
	.word	stdscr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	getch_test, .-getch_test
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Character attribute test display\000"
	.align	2
.LC11:
	.ascii	"This is STANDOUT mode: \000"
	.align	2
.LC12:
	.ascii	"abcde fghij klmno pqrst uvwxy x\000"
	.align	2
.LC13:
	.ascii	"This is REVERSE mode: \000"
	.align	2
.LC14:
	.ascii	"This is BOLD mode: \000"
	.align	2
.LC15:
	.ascii	"This is UNDERLINE mode: \000"
	.align	2
.LC16:
	.ascii	"This is DIM mode: \000"
	.align	2
.LC17:
	.ascii	"This is BLINK mode: \000"
	.align	2
.LC18:
	.ascii	"This is BOLD UNDERLINE BLINK mode: \000"
	.align	2
.LC19:
	.ascii	"This is NORMAL mode: \000"
	.align	2
.LC20:
	.ascii	"Press any key to continue... \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	attr_test, %function
attr_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L19
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+4
	mov	r0, r3
	bl	waddnstr
.L19:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #2
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L21
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+8
	mov	r0, r3
	bl	waddnstr
.L21:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #4
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L23
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+16
	mov	r0, r3
	bl	waddnstr
.L23:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #262144
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #262144
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #6
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L25
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+20
	mov	r0, r3
	bl	waddnstr
.L25:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #8
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L27
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+24
	mov	r0, r3
	bl	waddnstr
.L27:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #131072
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #131072
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #10
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L29
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+28
	mov	r0, r3
	bl	waddnstr
.L29:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1048576
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1048576
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #12
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L31
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+32
	mov	r0, r3
	bl	waddnstr
.L31:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #524288
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #524288
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #14
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L33
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+36
	mov	r0, r3
	bl	waddnstr
.L33:
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2752512
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2752512
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r2, #8
	mov	r1, #16
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L35
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+40
	mov	r0, r3
	bl	waddnstr
.L35:
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+12
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L36
	ldr	r0, [r3]
	ldr	r3, .L36+44
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	ldr	r3, .L36
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L36+48
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r3, .L36
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	stdscr
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	LINES
	.word	.LC20
	.size	attr_test, .-attr_test
	.section	.rodata
	.align	2
.LC21:
	.ascii	"black\000"
	.align	2
.LC22:
	.ascii	"red\000"
	.align	2
.LC23:
	.ascii	"green\000"
	.align	2
.LC24:
	.ascii	"yellow\000"
	.align	2
.LC25:
	.ascii	"blue\000"
	.align	2
.LC26:
	.ascii	"magenta\000"
	.align	2
.LC27:
	.ascii	"cyan\000"
	.align	2
.LC28:
	.ascii	"white\000"
	.data
	.align	2
	.type	colors, %object
	.size	colors, 32
colors:
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.section	.rodata
	.align	2
.LC29:
	.ascii	"There are %d color pairs\012\000"
	.align	2
.LC30:
	.ascii	"%dx%d matrix of foreground/background colors, brigh"
	.ascii	"t *off*\012\000"
	.global	__aeabi_idivmod
	.global	__aeabi_idiv
	.align	2
.LC31:
	.ascii	"Hello\000"
	.align	2
.LC32:
	.ascii	"%dx%d matrix of foreground/background colors, brigh"
	.ascii	"t *on*\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	color_test, %function
color_test:
	@ 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, #16
	ldr	r3, .L63
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L63+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L63+8
	bl	printw
	ldr	r3, .L63+12
	ldr	r2, [r3]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L63+16
	mov	r1, #0
	mov	r0, #1
	bl	mvprintw
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L39
.L42:
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, #2
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L41
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r2, .L63+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mvn	r2, #0
	mov	r1, r3
	bl	waddnstr
.L41:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L39:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L42
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L43
.L46:
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #3
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L45
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r2, .L63+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mvn	r2, #0
	mov	r1, r3
	bl	waddnstr
.L45:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L43:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L46
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L47
.L50:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	asr	r4, r3, #16
	ldr	r3, .L63+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #16
	asr	r5, r3, #16
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	mov	r1, r5
	mov	r0, r4
	bl	init_pair
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r2, #0
	mov	r1, r3
	bl	wattr_on
	ldr	r3, .L63
	ldr	r4, [r3]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	add	r5, r3, #3
	ldr	r3, .L63+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, r5
	mov	r0, r4
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L49
	ldr	r3, .L63
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L63+24
	mov	r0, r3
	bl	waddnstr
.L49:
	ldr	r3, .L63
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L47:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L50
	ldr	r3, .L63+12
	ldr	r3, [r3]
	add	r0, r3, #4
	ldr	r3, .L63+12
	ldr	r2, [r3]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L63+28
	mov	r1, #0
	bl	mvprintw
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L51
.L54:
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	add	r1, r3, #5
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L53
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r2, .L63+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mvn	r2, #0
	mov	r1, r3
	bl	waddnstr
.L53:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L51:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L54
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L55
.L58:
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	add	r2, r3, #6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L57
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r2, .L63+20
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	mvn	r2, #0
	mov	r1, r3
	bl	waddnstr
.L57:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L55:
	ldr	r3, .L63+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L58
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L59
.L62:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	asr	r4, r3, #16
	ldr	r3, .L63+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #16
	asr	r5, r3, #16
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	mov	r1, r5
	mov	r0, r4
	bl	init_pair
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	orr	r3, r3, #2097152
	mov	r2, #0
	mov	r1, r3
	bl	wattr_on
	ldr	r3, .L63
	ldr	r5, [r3]
	ldr	r3, .L63+12
	ldr	r3, [r3]
	add	r4, r3, #6
	ldr	r3, .L63+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	__aeabi_idiv
	mov	r3, r0
	add	r4, r4, r3
	ldr	r3, .L63+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r2, r3
	mov	r1, r4
	mov	r0, r5
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L61
	ldr	r3, .L63
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L63+24
	mov	r0, r3
	bl	waddnstr
.L61:
	ldr	r3, .L63
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L59:
	ldr	r3, .L63+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L62
	ldr	r3, .L63
	ldr	r0, [r3]
	ldr	r3, .L63+32
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	ldr	r3, .L63
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L63+36
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L63
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r3, .L63
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L64:
	.align	2
.L63:
	.word	stdscr
	.word	COLOR_PAIRS
	.word	.LC29
	.word	COLORS
	.word	.LC30
	.word	colors
	.word	.LC31
	.word	.LC32
	.word	LINES
	.word	.LC20
	.size	color_test, .-color_test
	.section	.rodata
	.align	2
.LC33:
	.ascii	"Color RGB Value Editing\000"
	.align	2
.LC34:
	.ascii	"\000"
	.align	2
.LC35:
	.ascii	"%c %-8s:\000"
	.align	2
.LC36:
	.ascii	"        \000"
	.align	2
.LC37:
	.ascii	"   R = \000"
	.align	2
.LC38:
	.ascii	"%04d\000"
	.align	2
.LC39:
	.ascii	", G = \000"
	.align	2
.LC40:
	.ascii	", B = \000"
	.align	2
.LC41:
	.ascii	")\000"
	.align	2
.LC42:
	.ascii	"Use up/down to select a color, left/right to change"
	.ascii	" fields.\000"
	.align	2
.LC43:
	.ascii	"Modify field by typing nnn=, nnn-, or nnn+.  ? for "
	.ascii	"help.\000"
	.align	2
.LC44:
	.ascii	"                      RGB Value Editing Help\000"
	.align	2
.LC45:
	.ascii	"%s\012\000"
	.align	2
.LC46:
	.ascii	"You are in the RGB value editor.  Use the arrow key"
	.ascii	"s to select one of\000"
	.align	2
.LC47:
	.ascii	"the fields in one of the RGB triples of the current"
	.ascii	" colors; the one\000"
	.align	2
.LC48:
	.ascii	"currently selected will be reverse-video highlighte"
	.ascii	"d.\000"
	.align	2
.LC49:
	.ascii	"To change a field, enter the digits of the new valu"
	.ascii	"e; they won't be\000"
	.align	2
.LC50:
	.ascii	"echoed.  Finish by typing `='; the change will take"
	.ascii	" effect instantly.\000"
	.align	2
.LC51:
	.ascii	"To increment or decrement a value, use the same pro"
	.ascii	"cedure, but finish\000"
	.align	2
.LC52:
	.ascii	"with a `+' or `-'.\000"
	.align	2
.LC53:
	.ascii	"To quit, do `x' or 'q'\000"
	.align	2
.LC54:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	color_edit, %function
color_edit:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L122
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L66
.L67:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	asr	r0, r3, #16
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	mov	r1, #7
	bl	init_pair
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L66:
	ldr	r3, .L122+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L67
.L118:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L69
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+12
	mov	r0, r3
	bl	waddnstr
.L69:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_off
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L70
.L81:
	ldr	r3, [fp, #-32]
	add	r0, r3, #2
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L71
	mov	r2, #62
	b	.L72
.L71:
	mov	r2, #32
.L72:
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	bhi	.L73
	ldr	r1, .L122+16
	ldr	r3, [fp, #-32]
	ldr	r3, [r1, r3, lsl #2]
	b	.L74
.L73:
	ldr	r3, .L122+20
.L74:
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L122+24
	mov	r1, #0
	bl	mvprintw
	ldr	r3, .L122+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	mov	r0, r2
	bl	wattrset
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+28
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	asr	r0, r3, #16
	sub	r3, fp, #34
	sub	r2, fp, #36
	sub	r1, fp, #38
	bl	color_content
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+32
	mov	r0, r3
	bl	waddnstr
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L75
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L75
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_on
.L75:
	ldrsh	r3, [fp, #-38]
	mov	r1, r3
	ldr	r0, .L122+36
	bl	printw
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L76
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L76
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
.L76:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+40
	mov	r0, r3
	bl	waddnstr
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L77
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L77
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_on
.L77:
	ldrsh	r3, [fp, #-36]
	mov	r1, r3
	ldr	r0, .L122+36
	bl	printw
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L78
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L78
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
.L78:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+44
	mov	r0, r3
	bl	waddnstr
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L79
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L79
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_on
.L79:
	ldrsh	r3, [fp, #-34]
	mov	r1, r3
	ldr	r0, .L122+36
	bl	printw
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	bne	.L80
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L80
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
.L80:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+48
	mov	r0, r3
	bl	waddnstr
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L70:
	ldr	r3, .L122+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L81
	ldr	r3, .L122+4
	ldr	r0, [r3]
	ldr	r3, .L122+8
	ldr	r3, [r3]
	add	r3, r3, #3
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L83
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+52
	mov	r0, r3
	bl	waddnstr
.L83:
	ldr	r3, .L122+4
	ldr	r0, [r3]
	ldr	r3, .L122+8
	ldr	r3, [r3]
	add	r3, r3, #4
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L85
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+56
	mov	r0, r3
	bl	waddnstr
.L85:
	ldr	r3, .L122+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	ldr	r2, .L122+60
	cmp	r3, r2
	bgt	.L86
	ldr	r3, [fp, #-28]
	ldr	r2, .L122+64
	cmp	r3, r2
	bge	.L87
	ldr	r3, [fp, #-28]
	cmp	r3, #120
	beq	.L120
	ldr	r3, [fp, #-28]
	cmp	r3, #120
	bgt	.L86
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	bgt	.L89
	ldr	r3, [fp, #-28]
	cmp	r3, #43
	bge	.L90
	b	.L86
.L87:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L86
.L92:
	.word	.L95
	.word	.L94
	.word	.L93
	.word	.L91
.L90:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #43
	cmp	r3, #20
	ldrls	pc, [pc, r3, asl #2]
	b	.L86
.L97:
	.word	.L101
	.word	.L86
	.word	.L100
	.word	.L86
	.word	.L86
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L99
	.word	.L86
	.word	.L86
	.word	.L86
	.word	.L98
	.word	.L86
	.word	.L96
.L89:
	ldr	r3, [fp, #-28]
	cmp	r3, #113
	beq	.L120
	b	.L86
.L94:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L102
	ldr	r3, .L122+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	b	.L103
.L102:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
.L103:
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L104
.L95:
	ldr	r3, .L122+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L105
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	b	.L106
.L105:
	mov	r3, #0
.L106:
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L104
.L91:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L107
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	b	.L108
.L107:
	mov	r3, #0
.L108:
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L104
.L93:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L109
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	b	.L110
.L109:
	mov	r3, #2
.L110:
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L104
.L121:
	nop
.L99:
	ldr	r2, [fp, #-24]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	sub	r3, r3, #48
	add	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-28]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L121
	ldr	r3, [fp, #-28]
	cmp	r3, #43
	beq	.L111
	ldr	r3, [fp, #-28]
	cmp	r3, #45
	beq	.L111
	ldr	r3, [fp, #-28]
	cmp	r3, #61
	beq	.L111
	bl	beep
	b	.L104
.L111:
	ldr	r0, [fp, #-28]
	bl	ungetch
	b	.L104
.L101:
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L113
.L100:
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L113
.L98:
	mov	r3, #0
	str	r3, [fp, #-12]
.L113:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	asr	r0, r3, #16
	sub	r3, fp, #34
	sub	r2, fp, #36
	sub	r1, fp, #38
	bl	color_content
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L114
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrsh	r2, [fp, #-38]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-38]	@ movhi
	b	.L115
.L114:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L116
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrsh	r2, [fp, #-36]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-36]	@ movhi
	b	.L115
.L116:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L115
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldrsh	r2, [fp, #-34]
	lsl	r2, r2, #16
	lsr	r2, r2, #16
	mul	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	strh	r3, [fp, #-34]	@ movhi
.L115:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	asr	r0, r3, #16
	ldrsh	r1, [fp, #-38]
	ldrsh	r2, [fp, #-36]
	ldrsh	r3, [fp, #-34]
	bl	init_color
	b	.L104
.L96:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r1, .L122+68
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+20
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+76
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+80
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+84
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+20
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+88
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+92
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+96
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+100
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+20
	ldr	r0, .L122+72
	bl	printw
	ldr	r1, .L122+104
	ldr	r0, .L122+72
	bl	printw
	ldr	r3, .L122+4
	ldr	r0, [r3]
	ldr	r3, .L122+108
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L122+112
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	b	.L104
.L86:
	bl	beep
	b	.L104
.L120:
	nop
.L104:
	ldr	r3, [fp, #-28]
	cmp	r3, #120
	beq	.L117
	ldr	r3, [fp, #-28]
	cmp	r3, #113
	bne	.L118
.L117:
	ldr	r3, .L122+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	ldr	r3, .L122
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L119
	bl	__stack_chk_fail
.L119:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L123:
	.align	2
.L122:
	.word	.LC54
	.word	stdscr
	.word	COLORS
	.word	.LC33
	.word	colors
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	261
	.word	258
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	LINES
	.word	.LC20
	.size	color_edit, .-color_edit
	.section	.rodata
	.align	2
.LC55:
	.ascii	"Soft Key Exerciser\000"
	.align	2
.LC56:
	.ascii	"Available commands are:\000"
	.align	2
.LC57:
	.ascii	"^L         -- refresh screen\000"
	.align	2
.LC58:
	.ascii	"a          -- activate or restore soft keys\000"
	.align	2
.LC59:
	.ascii	"d          -- disable soft keys\000"
	.align	2
.LC60:
	.ascii	"c          -- set centered format for labels\000"
	.align	2
.LC61:
	.ascii	"l          -- set left-justified format for labels\000"
	.align	2
.LC62:
	.ascii	"r          -- set right-justified format for labels"
	.ascii	"\000"
	.align	2
.LC63:
	.ascii	"[12345678] -- set label; labels are numbered 1 thro"
	.ascii	"ugh 8\000"
	.align	2
.LC64:
	.ascii	"e          -- erase stdscr (should not erase labels"
	.ascii	")\000"
	.align	2
.LC65:
	.ascii	"s          -- test scrolling of shortened screen\000"
	.align	2
.LC66:
	.ascii	"x, q       -- return to main menu\000"
	.align	2
.LC67:
	.ascii	"Note: if activating the soft keys causes your termi"
	.ascii	"nal to\000"
	.align	2
.LC68:
	.ascii	"scroll up one line, your terminal auto-scrolls when"
	.ascii	" anything\000"
	.align	2
.LC69:
	.ascii	"is written to the last screen position.  The ncurse"
	.ascii	"s code\000"
	.align	2
.LC70:
	.ascii	"does not yet handle this gracefully.\000"
	.align	2
.LC71:
	.ascii	"Please enter the label value: \000"
	.align	2
.LC72:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	slk_test, %function
slk_test:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L148
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-24]
	mov	r3, #12
	str	r3, [fp, #-28]
.L145:
	ldr	r3, [fp, #-28]
	cmp	r3, #12
	beq	.L125
	ldr	r3, [fp, #-28]
	cmp	r3, #12
	blt	.L126
	ldr	r3, [fp, #-28]
	cmp	r3, #120
	bgt	.L126
	ldr	r3, [fp, #-28]
	cmp	r3, #49
	blt	.L126
	ldr	r3, [fp, #-28]
	sub	r3, r3, #49
	cmp	r3, #71
	ldrls	pc, [pc, r3, asl #2]
	b	.L126
.L128:
	.word	.L136
	.word	.L136
	.word	.L136
	.word	.L136
	.word	.L136
	.word	.L136
	.word	.L136
	.word	.L136
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L135
	.word	.L126
	.word	.L134
	.word	.L133
	.word	.L132
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L131
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L147
	.word	.L130
	.word	.L129
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L126
	.word	.L147
.L125:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L138
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L148+8
	mov	r0, r3
	bl	waddnstr
.L138:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2
	mov	r0, r3
	bl	wmove
	ldr	r1, .L148+12
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+20
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+24
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+28
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+32
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+36
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+40
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+44
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+48
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+52
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+56
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+60
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+20
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+64
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+68
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+72
	ldr	r0, .L148+16
	bl	printw
	ldr	r1, .L148+76
	ldr	r0, .L148+16
	bl	printw
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L135:
	bl	slk_restore
	b	.L139
.L132:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	b	.L139
.L129:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #20
	mov	r0, r3
	bl	wmove
	b	.L140
.L141:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L140:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #81
	bne	.L141
	b	.L139
.L133:
	bl	slk_clear
	b	.L139
.L131:
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L139
.L134:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L139
.L130:
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L139
.L136:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #20
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L143
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L148+80
	mov	r0, r3
	bl	waddnstr
.L143:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	sub	r1, fp, #20
	mov	r2, #8
	mov	r0, r3
	bl	wgetnstr
	ldr	r3, [fp, #-28]
	sub	r3, r3, #48
	sub	r1, fp, #20
	ldr	r2, [fp, #-24]
	mov	r0, r3
	bl	slk_set
	bl	slk_refresh
	b	.L139
.L126:
	bl	beep
.L139:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L145
	b	.L144
.L147:
	nop
.L144:
	ldr	r3, .L148+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	ldr	r3, .L148
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L146
	bl	__stack_chk_fail
.L146:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L149:
	.align	2
.L148:
	.word	.LC72
	.word	stdscr
	.word	.LC55
	.word	.LC56
	.word	.LC45
	.word	.LC34
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.size	slk_test, .-slk_test
	.section	.rodata
	.align	2
.LC73:
	.ascii	"Display of the ACS Character Set\000"
	.align	2
.LC74:
	.ascii	"ACS_ULCORNER: \000"
	.align	2
.LC75:
	.ascii	"ACS_LLCORNER: \000"
	.align	2
.LC76:
	.ascii	"ACS_URCORNER: \000"
	.align	2
.LC77:
	.ascii	"ACS_LRCORNER: \000"
	.align	2
.LC78:
	.ascii	"ACS_RTEE: \000"
	.align	2
.LC79:
	.ascii	"ACS_LTEE: \000"
	.align	2
.LC80:
	.ascii	"ACS_BTEE: \000"
	.align	2
.LC81:
	.ascii	"ACS_TTEE: \000"
	.align	2
.LC82:
	.ascii	"ACS_HLINE: \000"
	.align	2
.LC83:
	.ascii	"ACS_VLINE: \000"
	.align	2
.LC84:
	.ascii	"ACS_PLUS: \000"
	.align	2
.LC85:
	.ascii	"ACS_S1: \000"
	.align	2
.LC86:
	.ascii	"ACS_S9: \000"
	.align	2
.LC87:
	.ascii	"ACS_DIAMOND: \000"
	.align	2
.LC88:
	.ascii	"ACS_CKBOARD: \000"
	.align	2
.LC89:
	.ascii	"ACS_DEGREE: \000"
	.align	2
.LC90:
	.ascii	"ACS_PLMINUS: \000"
	.align	2
.LC91:
	.ascii	"ACS_BULLET: \000"
	.align	2
.LC92:
	.ascii	"ACS_LARROW: \000"
	.align	2
.LC93:
	.ascii	"ACS_RARROW: \000"
	.align	2
.LC94:
	.ascii	"ACS_DARROW: \000"
	.align	2
.LC95:
	.ascii	"ACS_UARROW: \000"
	.align	2
.LC96:
	.ascii	"ACS_BOARD: \000"
	.align	2
.LC97:
	.ascii	"ACS_LANTERN: \000"
	.align	2
.LC98:
	.ascii	"ACS_BLOCK: \000"
	.align	2
.LC99:
	.ascii	"High-half characters via echochar:\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acs_display, %function
acs_display:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L152
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+4
	mov	r0, r3
	bl	waddnstr
.L152:
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2097152
	mov	r0, r3
	bl	wattr_off
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L154
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+8
	mov	r0, r3
	bl	waddnstr
.L154:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #432]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #3
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L156
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+16
	mov	r0, r3
	bl	waddnstr
.L156:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #436]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #4
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L158
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+20
	mov	r0, r3
	bl	waddnstr
.L158:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #428]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #5
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L160
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+24
	mov	r0, r3
	bl	waddnstr
.L160:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #424]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #6
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L162
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+28
	mov	r0, r3
	bl	waddnstr
.L162:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #468]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #7
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L164
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+32
	mov	r0, r3
	bl	waddnstr
.L164:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #464]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #8
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L166
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+36
	mov	r0, r3
	bl	waddnstr
.L166:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #472]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #9
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L168
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+40
	mov	r0, r3
	bl	waddnstr
.L168:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #476]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #10
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L170
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+44
	mov	r0, r3
	bl	waddnstr
.L170:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #452]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #11
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L172
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+48
	mov	r0, r3
	bl	waddnstr
.L172:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #480]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #12
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L174
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+52
	mov	r0, r3
	bl	waddnstr
.L174:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #440]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #13
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L176
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+56
	mov	r0, r3
	bl	waddnstr
.L176:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #444]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #14
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L178
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+60
	mov	r0, r3
	bl	waddnstr
.L178:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #460]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #2
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L180
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+64
	mov	r0, r3
	bl	waddnstr
.L180:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #384]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #3
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L182
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+68
	mov	r0, r3
	bl	waddnstr
.L182:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #388]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #4
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L184
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+72
	mov	r0, r3
	bl	waddnstr
.L184:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #408]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #5
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L186
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+76
	mov	r0, r3
	bl	waddnstr
.L186:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #412]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #6
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L188
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+80
	mov	r0, r3
	bl	waddnstr
.L188:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #504]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #7
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L190
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+84
	mov	r0, r3
	bl	waddnstr
.L190:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #176]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #8
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L192
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+88
	mov	r0, r3
	bl	waddnstr
.L192:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #172]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #9
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L194
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+92
	mov	r0, r3
	bl	waddnstr
.L194:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #184]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #10
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L196
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+96
	mov	r0, r3
	bl	waddnstr
.L196:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #180]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #11
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L198
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+100
	mov	r0, r3
	bl	waddnstr
.L198:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #416]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #12
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L200
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+104
	mov	r0, r3
	bl	waddnstr
.L200:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #420]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r2, #40
	mov	r1, #13
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L202
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+108
	mov	r0, r3
	bl	waddnstr
.L202:
	ldr	r3, .L207
	ldr	r3, [r3]
	ldr	r2, .L207+12
	ldr	r2, [r2, #192]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r2, .L207+112
	mov	r1, #0
	mov	r0, #16
	bl	mvprintw
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L203
.L206:
	ldr	r3, .L207
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #18
	mov	r2, #24
	mov	r1, r3
	bl	wmove
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L204
.L205:
	ldr	r3, .L207
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	lsl	r2, r3, #5
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r1, r3
	bl	wechochar
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L204:
	ldr	r3, [fp, #-8]
	cmp	r3, #31
	ble	.L205
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L203:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L206
	ldr	r3, .L207
	ldr	r0, [r3]
	ldr	r3, .L207+116
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	ldr	r3, .L207
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L207+120
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r3, .L207
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L208:
	.align	2
.L207:
	.word	stdscr
	.word	.LC73
	.word	.LC74
	.word	acs_map
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.word	.LC93
	.word	.LC94
	.word	.LC95
	.word	.LC96
	.word	.LC97
	.word	.LC98
	.word	.LC99
	.word	LINES
	.word	.LC20
	.size	acs_display, .-acs_display
	.section	.rodata
	.align	2
.LC100:
	.ascii	"Y = %2d X = %2d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	report, %function
report:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L214
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L210
	ldr	r3, .L214
	ldr	r3, [r3]
	ldrsh	r3, [r3]
	b	.L211
.L210:
	mvn	r3, #0
.L211:
	str	r3, [fp, #-12]
	ldr	r3, .L214
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L212
	ldr	r3, .L214
	ldr	r3, [r3]
	ldrsh	r3, [r3, #2]
	b	.L213
.L212:
	mvn	r3, #0
.L213:
	str	r3, [fp, #-8]
	ldr	r3, .L214
	ldr	r0, [r3]
	ldr	r3, .L214+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L214+8
	ldr	r3, [r3]
	sub	r3, r3, #17
	mov	r2, r3
	bl	wmove
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L214+12
	bl	printw
	ldr	r3, .L214
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	wmove
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L215:
	.align	2
.L214:
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	.LC100
	.size	report, .-report
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	selectcell, %function
selectcell:
	@ args = 0, 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]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
.L226:
	ldr	r3, .L227
	ldr	r0, [r3]
	ldr	r3, .L227+4
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L227+8
	ldr	r3, [r3]
	sub	r3, r3, #17
	mov	r2, r3
	bl	wmove
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r1, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r0, .L227+12
	bl	printw
	ldr	r3, .L227
	ldr	r0, [r3]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r1, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r3
	bl	wmove
	ldr	r3, .L227
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	cmp	r3, #4
	beq	.L217
	cmp	r3, #4
	blt	.L218
	ldr	r2, .L227+16
	cmp	r3, r2
	bgt	.L218
	ldr	r2, .L227+20
	cmp	r3, r2
	blt	.L218
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L218
.L220:
	.word	.L223
	.word	.L222
	.word	.L221
	.word	.L219
.L222:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L224
.L223:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L224
.L221:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	b	.L224
.L219:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L224
.L217:
	mov	r3, #0
	b	.L225
.L218:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, .L227+24
	str	r3, [r2]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, .L227+24
	str	r3, [r2, #4]
	ldr	r3, .L227+24
	b	.L225
.L224:
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-16]
	b	.L226
.L225:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L228:
	.align	2
.L227:
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	.LC100
	.word	261
	.word	258
	.word	res.7611
	.size	selectcell, .-selectcell
	.section	.rodata
	.align	2
.LC101:
	.ascii	"Use arrows to move cursor, anything else to mark co"
	.ascii	"rner 1\000"
	.align	2
.LC102:
	.ascii	"Use arrows to move cursor, anything else to mark co"
	.ascii	"rner 2\000"
	.align	2
.LC103:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getwindow, %function
getwindow:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L235
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclrtoeol
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L235+8
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L235+12
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L235+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r1, #0
	mov	r0, #1
	bl	selectcell
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L230
	mov	r3, #0
	b	.L233
.L230:
	sub	r3, fp, #24
	mov	r2, #8
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L235+4
	ldr	r3, [r3]
	ldr	r2, .L235+20
	ldr	r2, [r2, #432]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclrtoeol
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L235+24
	mov	r0, r3
	bl	waddnstr
	ldr	r3, .L235+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r0, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r3, .L235+12
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L235+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	bl	selectcell
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L232
	mov	r3, #0
	b	.L233
.L232:
	sub	r3, fp, #16
	mov	r2, #8
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	memcpy
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r0, r3, #1
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	add	r1, r3, #1
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	bl	newwin
	str	r0, [fp, #-32]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r0, r3, #3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	add	r1, r3, #3
	ldr	r3, [fp, #-24]
	sub	r2, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	bl	newwin
	str	r0, [fp, #-28]
	ldr	r3, .L235+20
	ldr	r1, [r3, #480]
	ldr	r3, .L235+20
	ldr	r2, [r3, #480]
	ldr	r3, .L235+20
	ldr	r0, [r3, #452]
	ldr	r3, .L235+20
	ldr	r3, [r3, #452]
	mov	ip, #0
	str	ip, [sp, #16]
	mov	ip, #0
	str	ip, [sp, #12]
	mov	ip, #0
	str	ip, [sp, #8]
	mov	ip, #0
	str	ip, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-28]
	bl	wborder
	ldr	r0, [fp, #-28]
	bl	wrefresh
	ldr	r0, [fp, #-28]
	bl	delwin
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	scrollok
	ldr	r0, [fp, #-32]
	bl	wrefresh
	ldr	r3, [fp, #-32]
.L233:
	ldr	r2, .L235
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L234
	bl	__stack_chk_fail
.L234:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L236:
	.align	2
.L235:
	.word	.LC103
	.word	stdscr
	.word	.LC101
	.word	LINES
	.word	COLS
	.word	acs_map
	.word	.LC102
	.size	getwindow, .-getwindow
	.section	.rodata
	.align	2
.LC104:
	.ascii	"F1 = make new window, F2 = next window, F3 = previo"
	.ascii	"us window, Ctrl-D = exit\000"
	.align	2
.LC105:
	.ascii	"All other characters are echoed, windows should scr"
	.ascii	"oll.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	acs_and_scroll, %function
acs_and_scroll:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L257
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L257
	ldr	r0, [r3]
	ldr	r3, .L257+4
	ldr	r3, [r3]
	sub	r3, r3, #2
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L239
	ldr	r3, .L257
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L257+8
	mov	r0, r3
	bl	waddnstr
.L239:
	ldr	r3, .L257
	ldr	r0, [r3]
	ldr	r3, .L257+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L241
	ldr	r3, .L257
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L257+12
	mov	r0, r3
	bl	waddnstr
.L241:
	ldr	r3, .L257+16
	str	r3, [fp, #-20]
.L255:
	bl	report
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L242
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	wrefresh
.L242:
	ldr	r3, [fp, #-20]
	cmp	r3, #13
	beq	.L243
	ldr	r3, [fp, #-20]
	cmp	r3, #13
	blt	.L244
	ldr	r3, [fp, #-20]
	cmp	r3, #268
	bgt	.L244
	ldr	r3, [fp, #-20]
	cmp	r3, #264
	ble	.L244
	ldr	r3, [fp, #-20]
	sub	r3, r3, #264
	sub	r3, r3, #1
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L244
.L246:
	.word	.L249
	.word	.L248
	.word	.L247
	.word	.L245
.L249:
	mov	r0, #12
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	bl	getwindow
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	beq	.L256
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L252
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L253
.L252:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #4]
.L253:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	b	.L254
.L248:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
	b	.L254
.L247:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-12]
	b	.L254
.L245:
	ldr	r3, .L257+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L257+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r1, #0
	mov	r0, #0
	bl	selectcell
	ldr	r3, .L257
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclrtobot
	ldr	r3, .L257
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	b	.L254
.L243:
	mov	r3, #10
	str	r3, [fp, #-20]
.L244:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
	nop
.L254:
	bl	report
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #4
	bne	.L255
	b	.L251
.L256:
	nop
.L251:
	ldr	r3, .L257
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	bl	endwin
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L258:
	.align	2
.L257:
	.word	stdscr
	.word	LINES
	.word	.LC104
	.word	.LC105
	.word	265
	.word	COLS
	.size	acs_and_scroll, .-acs_and_scroll
	.global	__aeabi_i2f
	.global	__aeabi_fdiv
	.global	__aeabi_fmul
	.global	__aeabi_f2iz
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	panner, %function
panner:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #80
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r2, .L333
	ldr	r3, [fp, #-68]
	str	r3, [r2]
	ldr	r2, .L333+4
	ldr	r3, [fp, #-72]
	str	r3, [r2]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L260
	ldr	r3, [fp, #-64]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L261
.L260:
	mvn	r3, #0
.L261:
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	beq	.L262
	ldr	r3, [fp, #-64]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L263
.L262:
	mvn	r3, #0
.L263:
	str	r3, [fp, #-32]
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L264
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-72]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r0, r3, r2
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-68]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r3, r3, r2
	mov	r2, #0
	mov	r1, #1
	bl	newwin
	str	r0, [fp, #-52]
.L264:
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L265
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	ldr	r2, [fp, #-68]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r0, r3, r2
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	ldr	r2, [fp, #-72]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r2, r3, r2
	mov	r3, #0
	mov	r1, r0
	mov	r0, #1
	bl	newwin
	str	r0, [fp, #-48]
.L265:
	ldr	r3, .L333+8
	str	r3, [fp, #-56]
.L331:
	ldr	r3, [fp, #-56]
	ldr	r2, .L333+8
	cmp	r3, r2
	beq	.L332
	ldr	r3, [fp, #-56]
	ldr	r2, .L333+8
	cmp	r3, r2
	bgt	.L267
	ldr	r3, [fp, #-56]
	ldr	r2, .L333+12
	cmp	r3, r2
	bgt	.L268
	ldr	r3, [fp, #-56]
	ldr	r2, .L333+16
	cmp	r3, r2
	bge	.L269
	b	.L267
.L280:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #328
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L267
.L271:
	.word	.L274
	.word	.L273
	.word	.L272
	.word	.L270
.L269:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L267
.L276:
	.word	.L279
	.word	.L278
	.word	.L277
	.word	.L275
.L268:
	ldr	r3, [fp, #-56]
	cmp	r3, #332
	bge	.L267
	ldr	r3, [fp, #-56]
	cmp	r3, #328
	bge	.L280
	b	.L267
.L270:
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L281
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bgt	.L282
.L281:
	bl	beep
	b	.L267
.L282:
	ldr	r3, .L333+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L333+4
	str	r3, [r2]
	ldr	r3, .L333+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	mvwin
	ldr	r0, [fp, #-48]
	bl	delwin
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, .L333
	ldr	r2, [r2]
	ldr	r1, [fp, #-36]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r0, r3, r2
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, .L333+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-32]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r2, r3, r2
	mov	r3, #0
	mov	r1, r0
	mov	r0, #1
	bl	newwin
	str	r0, [fp, #-48]
	b	.L267
.L273:
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L284
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	bgt	.L285
.L284:
	bl	beep
	b	.L267
.L285:
	ldr	r3, .L333
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L333
	str	r3, [r2]
	ldr	r3, .L333
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	mvwin
	ldr	r0, [fp, #-52]
	bl	delwin
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, .L333+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-32]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r0, r3, r2
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, .L333
	ldr	r2, [r2]
	ldr	r1, [fp, #-36]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r3, r3, r2
	mov	r2, #0
	mov	r1, #1
	bl	newwin
	str	r0, [fp, #-52]
	b	.L267
.L272:
	ldr	r3, .L333+4
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L287
	bl	beep
	b	.L267
.L287:
	ldr	r3, .L333+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L333+4
	str	r3, [r2]
	ldr	r3, .L333+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	mvwin
	ldr	r0, [fp, #-48]
	bl	delwin
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, .L333
	ldr	r2, [r2]
	ldr	r1, [fp, #-36]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r0, r3, r2
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, .L333+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-32]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r2, r3, r2
	mov	r3, #0
	mov	r1, r0
	mov	r0, #1
	bl	newwin
	str	r0, [fp, #-48]
	b	.L267
.L274:
	ldr	r3, .L333
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L289
	bl	beep
	b	.L267
.L289:
	ldr	r3, .L333
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L333
	str	r3, [r2]
	ldr	r3, .L333
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	mvwin
	ldr	r0, [fp, #-52]
	bl	delwin
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, .L333+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-32]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r0, r3, r2
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, .L333
	ldr	r2, [r2]
	ldr	r1, [fp, #-36]
	cmp	r1, r2
	movgt	r2, #1
	movle	r2, #0
	and	r2, r2, #255
	sub	r3, r3, r2
	mov	r2, #0
	mov	r1, #1
	bl	newwin
	str	r0, [fp, #-52]
	b	.L267
.L277:
	ldr	r3, .L333+20
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L291
	ldr	r3, .L333+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L333+20
	str	r3, [r2]
	b	.L267
.L291:
	bl	beep
	b	.L267
.L275:
	ldr	r3, .L333+20
	ldr	r2, [r3]
	ldr	r3, .L333+4
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L293
	ldr	r3, .L333+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L333+20
	str	r3, [r2]
	b	.L267
.L293:
	bl	beep
	b	.L267
.L278:
	ldr	r3, .L333+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L295
	ldr	r3, .L333+24
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L333+24
	str	r3, [r2]
	b	.L267
.L295:
	bl	beep
	b	.L267
.L279:
	ldr	r3, .L333+24
	ldr	r2, [r3]
	ldr	r3, .L333
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L297
	ldr	r3, .L333+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L333+24
	str	r3, [r2]
	b	.L267
.L297:
	bl	beep
	b	.L267
.L332:
	nop
.L267:
	ldr	r3, .L333+24
	ldr	r0, [r3]
	ldr	r3, .L333+20
	ldr	ip, [r3]
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, [fp, #-48]
	cmp	r2, #0
	movne	r2, #1
	moveq	r2, #0
	and	r2, r2, #255
	sub	r3, r3, r2
	sub	r3, r3, #1
	ldr	r2, .L333+4
	ldr	r2, [r2]
	ldr	r1, [fp, #-52]
	cmp	r1, #0
	movne	r1, #1
	moveq	r1, #0
	and	r1, r1, #255
	sub	r2, r2, r1
	sub	r2, r2, #1
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, ip
	mov	r1, r0
	ldr	r0, [fp, #-64]
	bl	prefresh
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L299
	ldr	r3, .L333+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L333
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, .L333+24
	ldr	r2, [r3]
	ldr	r3, .L333
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L333
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r0, [fp, #-36]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L300
	ldr	r3, [fp, #-52]
	ldrsh	r3, [r3, #4]
	add	r2, r3, #1
	b	.L301
.L300:
	mvn	r2, #0
.L301:
	mov	r3, #1
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	wtouchln
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L302
.L305:
	mov	r2, #0
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-52]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L304
	ldr	r3, .L333+28
	ldr	r3, [r3, #480]
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	waddch
.L304:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L302:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L305
	mov	r2, #0
	mov	r1, #262144
	ldr	r0, [fp, #-52]
	bl	wattr_on
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-44]
	b	.L306
.L309:
	mov	r2, #0
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-52]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L308
	mov	r1, #32
	ldr	r0, [fp, #-52]
	bl	waddch
.L308:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L306:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L309
	mov	r2, #0
	mov	r1, #262144
	ldr	r0, [fp, #-52]
	bl	wattr_off
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L310
.L313:
	mov	r2, #0
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-52]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L312
	ldr	r3, .L333+28
	ldr	r3, [r3, #480]
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	waddch
.L312:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L310:
	ldr	r3, .L333
	ldr	r3, [r3]
	ldr	r2, [fp, #-44]
	cmp	r2, r3
	blt	.L313
	ldr	r0, [fp, #-52]
	bl	wrefresh
.L299:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L314
	ldr	r3, .L333+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L333+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, .L333+20
	ldr	r2, [r3]
	ldr	r3, .L333+4
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L333+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r5, r0
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L315
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #4]
	add	r2, r3, #1
	b	.L316
.L315:
	mvn	r2, #0
.L316:
	mov	r3, #1
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	wtouchln
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L317
.L320:
	ldr	r2, [fp, #-40]
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L319
	ldr	r3, .L333+28
	ldr	r3, [r3, #452]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	waddch
.L319:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L317:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L320
	mov	r2, #0
	mov	r1, #262144
	ldr	r0, [fp, #-48]
	bl	wattr_on
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-40]
	b	.L321
.L324:
	ldr	r2, [fp, #-40]
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L323
	mov	r1, #32
	ldr	r0, [fp, #-48]
	bl	waddch
.L323:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L321:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L324
	mov	r2, #0
	mov	r1, #262144
	ldr	r0, [fp, #-48]
	bl	wattr_off
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	b	.L325
.L328:
	ldr	r2, [fp, #-40]
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L327
	ldr	r3, .L333+28
	ldr	r3, [r3, #452]
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	waddch
.L327:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L325:
	ldr	r3, .L333+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L328
	ldr	r0, [fp, #-48]
	bl	wrefresh
.L314:
	ldr	r3, .L333+32
	ldr	r0, [r3]
	ldr	r3, .L333
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L333+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L330
	ldr	r3, .L333+32
	ldr	r3, [r3]
	ldr	r2, .L333+28
	ldr	r2, [r2, #424]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L330:
	ldr	r3, [fp, #-76]
	blx	r3
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldr	r2, .L333+36
	cmp	r3, r2
	bne	.L331
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L334:
	.align	2
.L333:
	.word	porty.7659
	.word	portx.7660
	.word	373
	.word	261
	.word	258
	.word	basex.7661
	.word	basey.7662
	.word	acs_map
	.word	stdscr
	.word	361
	.size	panner, .-panner
	.align	2
	.global	padgetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	padgetch, %function
padgetch:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L351
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #62
	bgt	.L336
	ldr	r3, [fp, #-8]
	cmp	r3, #43
	bge	.L337
	b	.L338
.L349:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #100
	cmp	r3, #17
	ldrls	pc, [pc, r3, asl #2]
	b	.L338
.L340:
	.word	.L343
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L342
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L341
	.word	.L338
	.word	.L338
	.word	.L339
.L337:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #43
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L338
.L345:
	.word	.L348
	.word	.L338
	.word	.L347
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L338
	.word	.L346
	.word	.L338
	.word	.L344
.L336:
	ldr	r3, [fp, #-8]
	cmp	r3, #117
	bgt	.L338
	ldr	r3, [fp, #-8]
	cmp	r3, #100
	bge	.L349
	b	.L338
.L339:
	ldr	r3, .L351+4
	b	.L350
.L343:
	ldr	r3, .L351+8
	b	.L350
.L341:
	ldr	r3, .L351+12
	b	.L350
.L342:
	mov	r3, #260
	b	.L350
.L348:
	ldr	r3, .L351+16
	b	.L350
.L347:
	mov	r3, #328
	b	.L350
.L344:
	ldr	r3, .L351+20
	b	.L350
.L346:
	ldr	r3, .L351+24
	b	.L350
.L338:
	ldr	r3, [fp, #-8]
.L350:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L352:
	.align	2
.L351:
	.word	stdscr
	.word	259
	.word	258
	.word	261
	.word	329
	.word	331
	.word	330
	.size	padgetch, .-padgetch
	.section	.rodata
	.align	2
.LC106:
	.ascii	"Use arrow keys to pan over the test pattern\000"
	.align	2
.LC107:
	.ascii	"Use +,- to grow/shrink the panner vertically.\000"
	.align	2
.LC108:
	.ascii	"Use <,> to grow/shrink the panner horizontally.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	demo_pad, %function
demo_pad:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r1, #200
	mov	r0, #200
	bl	newpad
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L354
.L364:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L355
.L363:
	ldr	r1, [fp, #-20]
	ldr	r3, .L365
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L356
	ldr	r1, [fp, #-16]
	ldr	r3, .L365
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L356
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L357
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L358
.L357:
	mov	r1, #43
	ldr	r0, [fp, #-8]
	bl	waddch
	b	.L360
.L358:
	ldr	r1, [fp, #-12]
	add	r3, r1, #1
	str	r3, [fp, #-12]
	ldr	r3, .L365+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	add	r3, r2, #65
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	waddch
	b	.L360
.L356:
	ldr	r1, [fp, #-20]
	ldr	r3, .L365
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L361
	mov	r1, #45
	ldr	r0, [fp, #-8]
	bl	waddch
	b	.L360
.L361:
	ldr	r1, [fp, #-16]
	ldr	r3, .L365
	smull	r2, r3, r1, r3
	asr	r2, r3, #1
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L362
	mov	r1, #124
	ldr	r0, [fp, #-8]
	bl	waddch
	b	.L360
.L362:
	mov	r1, #32
	ldr	r0, [fp, #-8]
	bl	waddch
.L360:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L355:
	ldr	r3, [fp, #-16]
	cmp	r3, #199
	ble	.L363
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L354:
	ldr	r3, [fp, #-20]
	cmp	r3, #199
	ble	.L364
	ldr	r3, .L365+8
	ldr	r3, [r3]
	sub	r3, r3, #3
	ldr	r2, .L365+12
	mov	r1, #0
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L365+8
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L365+16
	mov	r1, #0
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L365+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L365+20
	mov	r1, #0
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L365+8
	ldr	r3, [r3]
	sub	r1, r3, #4
	ldr	r3, .L365+24
	ldr	r2, [r3]
	ldr	r3, .L365+28
	ldr	r0, [fp, #-8]
	bl	panner
	bl	endwin
	ldr	r3, .L365+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L366:
	.align	2
.L365:
	.word	1717986919
	.word	1321528399
	.word	LINES
	.word	.LC106
	.word	.LC107
	.word	.LC108
	.word	COLS
	.word	padgetch
	.word	stdscr
	.size	demo_pad, .-demo_pad
	.section	.rodata
	.align	2
.LC109:
	.ascii	" Press any key to continue\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Continue, %function
Continue:
	@ 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	r2, #1
	mov	r1, #10
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r2, #1
	mov	r1, #10
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L369
	mvn	r2, #0
	ldr	r1, .L370
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L369:
	ldr	r0, [fp, #-8]
	bl	wrefresh
	ldr	r0, [fp, #-8]
	bl	wgetch
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L371:
	.align	2
.L370:
	.word	.LC109
	.size	Continue, .-Continue
	.section	.rodata
	.align	2
.LC110:
	.ascii	"Type random keys for 5 seconds.\000"
	.align	2
.LC111:
	.ascii	"These should be discarded (not echoed) after the su"
	.ascii	"bwindow goes away.\000"
	.align	2
.LC112:
	.ascii	"Time = %d\000"
	.align	2
.LC113:
	.ascii	"Press a key\000"
	.align	2
.LC114:
	.ascii	"If you see any key other than what you typed, flush"
	.ascii	"inp() is broken.\000"
	.align	2
.LC115:
	.ascii	"What you typed should now have been deleted; if not"
	.ascii	", wdelch() failed.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	input_test, %function
input_test:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-40]
	ldr	r0, [fp, #-40]
	bl	wclear
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #6]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #4]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #10]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldrsh	r3, [r3, #8]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r2, .L388
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-28]
	ldr	r2, .L388
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	sub	r1, r3, #2
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	sub	r3, r3, #2
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-40]
	bl	subwin
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L387
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L375
	mov	r2, #4
	mov	r1, #6
	mov	r0, #2
	bl	init_pair
	ldr	r1, .L388+4
	ldr	r0, [fp, #-8]
	bl	wattrset
	b	.L376
.L375:
	mov	r1, #2097152
	ldr	r0, [fp, #-8]
	bl	wattrset
.L376:
	ldr	r3, .L388+8
	ldr	r1, [r3, #480]
	ldr	r3, .L388+8
	ldr	r2, [r3, #480]
	ldr	r3, .L388+8
	ldr	r0, [r3, #452]
	ldr	r3, .L388+8
	ldr	r3, [r3, #452]
	mov	ip, #0
	str	ip, [sp, #16]
	mov	ip, #0
	str	ip, [sp, #12]
	mov	ip, #0
	str	ip, [sp, #8]
	mov	ip, #0
	str	ip, [sp, #4]
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, [fp, #-8]
	bl	wborder
	ldr	r0, [fp, #-40]
	bl	wrefresh
	bl	nocbreak
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L378
	mvn	r2, #0
	ldr	r1, .L388+12
	ldr	r0, [fp, #-40]
	bl	waddnstr
.L378:
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-40]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L380
	mvn	r2, #0
	ldr	r1, .L388+16
	ldr	r0, [fp, #-40]
	bl	waddnstr
.L380:
	ldr	r0, [fp, #-40]
	bl	wrefresh
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L381
.L382:
	ldr	r3, [fp, #-36]
	str	r3, [sp]
	ldr	r3, .L388+20
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r0, [fp, #-8]
	bl	wrefresh
	mov	r0, #1
	bl	sleep
	bl	flushinp
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L381:
	ldr	r3, [fp, #-36]
	cmp	r3, #4
	ble	.L382
	ldr	r0, [fp, #-8]
	bl	delwin
	ldr	r0, [fp, #-40]
	bl	werase
	bl	flash
	ldr	r0, [fp, #-40]
	bl	wrefresh
	mov	r0, #1
	bl	sleep
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-40]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L384
	mvn	r2, #0
	ldr	r1, .L388+24
	ldr	r0, [fp, #-40]
	bl	waddnstr
.L384:
	mov	r2, #10
	mov	r1, #9
	ldr	r0, [fp, #-40]
	bl	wmove
	ldr	r0, [fp, #-40]
	bl	wrefresh
	bl	echo
	ldr	r0, [fp, #-40]
	bl	wgetch
	bl	flushinp
	mov	r2, #0
	mov	r1, #12
	ldr	r0, [fp, #-40]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L386
	mvn	r2, #0
	ldr	r1, .L388+28
	ldr	r0, [fp, #-40]
	bl	waddnstr
.L386:
	ldr	r0, [fp, #-40]
	bl	Continue
	mov	r2, #10
	mov	r1, #9
	ldr	r0, [fp, #-40]
	bl	wmove
	ldr	r0, [fp, #-40]
	bl	wdelch
	ldr	r0, [fp, #-40]
	bl	wrefresh
	mov	r2, #0
	mov	r1, #12
	ldr	r0, [fp, #-40]
	bl	wmove
	ldr	r3, .L388+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclrtoeol
	mvn	r2, #0
	ldr	r1, .L388+36
	ldr	r0, [fp, #-40]
	bl	waddnstr
	ldr	r0, [fp, #-40]
	bl	Continue
	ldr	r0, [fp, #-40]
	bl	Continue
	b	.L372
.L387:
	nop
.L372:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L389:
	.align	2
.L388:
	.word	1431655766
	.word	2097664
	.word	acs_map
	.word	.LC110
	.word	.LC111
	.word	.LC112
	.word	.LC113
	.word	.LC114
	.word	stdscr
	.word	.LC115
	.size	input_test, .-input_test
	.section	.rodata
	.align	2
.LC116:
	.ascii	"TERM\000"
	.align	2
.LC117:
	.ascii	"This %s terminal does not support color.\012\000"
	.align	2
.LC118:
	.ascii	"This %s terminal has hardwired color values.\012\000"
	.align	2
.LC119:
	.ascii	"This is the ncurses capability tester.\000"
	.align	2
.LC120:
	.ascii	"You may select a test from the main menu by typing "
	.ascii	"the\000"
	.align	2
.LC121:
	.ascii	"key letter of the choice (the letter to left of the"
	.ascii	" =)\000"
	.align	2
.LC122:
	.ascii	"at the > prompt.  The commands `x' or `q' will exit"
	.ascii	".\000"
	.text
	.align	2
	.global	do_single_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_single_test, %function
do_single_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #63
	cmp	r3, #49
	ldrls	pc, [pc, r3, asl #2]
	b	.L391
.L393:
	.word	.L402
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L401
	.word	.L400
	.word	.L399
	.word	.L398
	.word	.L397
	.word	.L396
	.word	.L395
	.word	.L391
	.word	.L394
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L391
	.word	.L392
.L401:
	bl	getch_test
	mov	r3, #1
	b	.L403
.L400:
	bl	attr_test
	mov	r3, #1
	b	.L403
.L399:
	bl	has_colors
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L404
	ldr	r0, .L409
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L409+4
	bl	printf
	b	.L405
.L404:
	bl	color_test
.L405:
	mov	r3, #1
	b	.L403
.L398:
	bl	has_colors
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L406
	ldr	r0, .L409
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L409+4
	bl	printf
	b	.L407
.L406:
	bl	can_change_color
	mov	r3, r0
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L408
	ldr	r0, .L409
	bl	getenv
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L409+8
	bl	printf
	b	.L407
.L408:
	bl	color_edit
.L407:
	mov	r3, #1
	b	.L403
.L397:
	bl	slk_test
	mov	r3, #1
	b	.L403
.L396:
	bl	acs_display
	mov	r3, #1
	b	.L403
.L395:
	bl	acs_and_scroll
	mov	r3, #1
	b	.L403
.L392:
	bl	demo_pad
	mov	r3, #1
	b	.L403
.L394:
	ldr	r3, .L409+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	input_test
	mov	r3, #1
	b	.L403
.L402:
	ldr	r0, .L409+16
	bl	puts
	ldr	r0, .L409+20
	bl	puts
	ldr	r0, .L409+24
	bl	puts
	ldr	r0, .L409+28
	bl	puts
	mov	r3, #1
	b	.L403
.L391:
	mov	r3, #0
.L403:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L410:
	.align	2
.L409:
	.word	.LC116
	.word	.LC117
	.word	.LC118
	.word	stdscr
	.word	.LC119
	.word	.LC120
	.word	.LC121
	.word	.LC122
	.size	do_single_test, .-do_single_test
	.section	.rodata
	.align	2
.LC123:
	.ascii	"Welcome to ncurses.  Press ? for help.\000"
	.align	2
.LC124:
	.ascii	"This is the ncurses main menu\000"
	.align	2
.LC125:
	.ascii	"a = character input test\000"
	.align	2
.LC126:
	.ascii	"b = character attribute test\000"
	.align	2
.LC127:
	.ascii	"c = color test pattern\000"
	.align	2
.LC128:
	.ascii	"d = edit RGB color values\000"
	.align	2
.LC129:
	.ascii	"e = exercise soft keys\000"
	.align	2
.LC130:
	.ascii	"f = display ACS characters\000"
	.align	2
.LC131:
	.ascii	"g = display windows and scrolling\000"
	.align	2
.LC132:
	.ascii	"p = exercise pad features\000"
	.align	2
.LC133:
	.ascii	"i = subwindow input test\000"
	.align	2
.LC134:
	.ascii	"? = get help\000"
	.align	2
.LC135:
	.ascii	"> \000"
	.align	2
.LC136:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8192
	sub	sp, sp, #16
	sub	r3, fp, #8192
	sub	r3, r3, #4
	str	r0, [r3, #-12]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	str	r1, [r3, #-16]
	ldr	r3, .L416
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #31
	bl	trace
	mov	r0, #1
	bl	slk_init
	bl	initscr
	bl	start_color
	bl	cbreak
	bl	noecho
	ldr	r3, .L416+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	scrollok
	ldr	r3, .L416+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	bl	endwin
	ldr	r0, .L416+8
	bl	puts
.L414:
	ldr	r0, .L416+12
	bl	puts
	ldr	r0, .L416+16
	bl	puts
	ldr	r0, .L416+20
	bl	puts
	ldr	r0, .L416+24
	bl	puts
	ldr	r0, .L416+28
	bl	puts
	ldr	r0, .L416+32
	bl	puts
	ldr	r0, .L416+36
	bl	puts
	ldr	r0, .L416+40
	bl	puts
	ldr	r0, .L416+44
	bl	puts
	ldr	r0, .L416+48
	bl	puts
	ldr	r0, .L416+52
	bl	puts
	ldr	r3, .L416+56
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L416+60
	bl	fwrite
	ldr	r3, .L416+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L416+64
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, #8192
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	mov	r0, r3
	bl	do_single_test
	mov	r3, r0
	cmp	r3, #0
	beq	.L412
	ldr	r3, .L416+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L416+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	endwin
	nop
.L412:
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #113
	beq	.L413
	sub	r3, fp, #8192
	sub	r3, r3, #4
	ldrb	r3, [r3, #-4]	@ zero_extendqisi2
	cmp	r3, #120
	bne	.L414
.L413:
	mov	r0, #0
	bl	exit
.L417:
	.align	2
.L416:
	.word	.LC136
	.word	stdscr
	.word	.LC123
	.word	.LC124
	.word	.LC125
	.word	.LC126
	.word	.LC127
	.word	.LC128
	.word	.LC129
	.word	.LC130
	.word	.LC131
	.word	.LC132
	.word	.LC133
	.word	.LC134
	.word	stdout
	.word	.LC135
	.word	stdin
	.size	main, .-main
	.local	res.7611
	.comm	res.7611,8,4
	.local	porty.7659
	.comm	porty.7659,4,4
	.local	portx.7660
	.comm	portx.7660,4,4
	.local	basex.7661
	.comm	basex.7661,4,4
	.local	basey.7662
	.comm	basey.7662,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
