	.file	"783340.c"
	.intel_syntax noprefix
	.text
	.globl	command
	.section	.rodata
.LC0:
	.string	"Intro Test"
.LC1:
	.string	"Pad Test"
.LC2:
	.string	"Resize Test"
.LC3:
	.string	"Scroll Test"
.LC4:
	.string	"Input Test"
.LC5:
	.string	"Output Test"
	.section	.data.rel.local,"aw"
	.align 32
	.type	command, @object
	.size	command, 96
command:
	.quad	.LC0
	.quad	introTest
	.quad	.LC1
	.quad	padTest
	.quad	.LC2
	.quad	resizeTest
	.quad	.LC3
	.quad	scrollTest
	.quad	.LC4
	.quad	inputTest
	.quad	.LC5
	.quad	outputTest
	.globl	width
	.bss
	.align 4
	.type	width, @object
	.size	width, 4
width:
	.zero	4
	.globl	height
	.align 4
	.type	height, @object
	.size	height, 4
height:
	.zero	4
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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], 0
	mov	BYTE PTR -29[rbp], 0
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	initTest
	test	eax, eax
	jne	.L2
	mov	eax, 1
	jmp	.L19
.L2:
	call	has_colors@PLT
	test	al, al
	je	.L4
	mov	edx, 4
	mov	esi, 7
	mov	edi, 1
	call	init_pair@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	wattrset@PLT
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 262144
	mov	rdi, rax
	call	wattrset@PLT
.L5:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	display_menu
.L18:
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	raw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 343
	je	.L6
	cmp	DWORD PTR -20[rbp], 343
	jg	.L22
	cmp	DWORD PTR -20[rbp], 259
	je	.L8
	cmp	DWORD PTR -20[rbp], 259
	jg	.L22
	cmp	DWORD PTR -20[rbp], 258
	je	.L9
	cmp	DWORD PTR -20[rbp], 258
	jg	.L22
	cmp	DWORD PTR -20[rbp], 113
	je	.L10
	cmp	DWORD PTR -20[rbp], 113
	jg	.L22
	cmp	DWORD PTR -20[rbp], 81
	je	.L10
	cmp	DWORD PTR -20[rbp], 81
	jg	.L22
	cmp	DWORD PTR -20[rbp], 10
	je	.L6
	cmp	DWORD PTR -20[rbp], 13
	jne	.L22
.L6:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, command[rip+8]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	werase@PLT
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	display_menu
	jmp	.L11
.L8:
	cmp	DWORD PTR -28[rbp], 0
	je	.L12
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 1
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -28[rbp]
.L13:
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	display_menu
	jmp	.L11
.L9:
	cmp	DWORD PTR -28[rbp], 5
	je	.L14
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -28[rbp]
.L15:
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, edx
	mov	edi, eax
	call	display_menu
	jmp	.L11
.L10:
	mov	BYTE PTR -29[rbp], 1
	jmp	.L11
.L22:
	nop
.L11:
	cmp	BYTE PTR -29[rbp], 0
	jne	.L23
	jmp	.L18
.L23:
	nop
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delwin@PLT
	call	endwin@PLT
	mov	eax, 0
.L19:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	" Press any key to continue"
	.text
	.globl	Continue
	.type	Continue, @function
Continue:
.LFB1:
	.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	.L26
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L26:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	raw@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Continue, .-Continue
	.globl	initTest
	.type	initTest, @function
initTest:
.LFB2:
	.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
	call	initscr@PLT
	call	has_colors@PLT
	test	al, al
	je	.L28
	call	start_color@PLT
.L28:
	mov	DWORD PTR width[rip], 60
	mov	DWORD PTR height[rip], 13
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, DWORD PTR width[rip]
	sub	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	edx, DWORD PTR height[rip]
	sub	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	esi, DWORD PTR width[rip]
	mov	eax, DWORD PTR height[rip]
	mov	edi, eax
	call	newwin@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L29
	call	endwin@PLT
	mov	eax, 1
	jmp	.L27
.L29:
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	initTest, .-initTest
	.section	.rodata
	.align 8
.LC7:
	.string	"You should have rectangle in the middle of the screen"
.LC8:
	.string	"You should have heard a beep"
	.text
	.globl	introTest
	.type	introTest, @function
introTest:
.LFB3:
	.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
	call	beep@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	werase@PLT
	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 -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	cbreak@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L33
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L33:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L35
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L35:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	Continue
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	introTest, .-introTest
	.section	.rodata
	.align 8
.LC9:
	.string	"The window will now scroll slowly"
	.align 8
.LC10:
	.string	"The top of the window will scroll"
	.text
	.globl	scrollTest
	.type	scrollTest, @function
scrollTest:
.LFB4:
	.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	QWORD PTR -40[rbp], rdi
	lea	rax, .LC9[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR height[rip]
	lea	esi, -2[rax]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	scrollok@PLT
	mov	DWORD PTR -20[rbp], 1
	jmp	.L38
.L39:
	mov	edi, 250
	mov	eax, 0
	call	usleep@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	wscrl@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	add	DWORD PTR -20[rbp], 1
.L38:
	mov	eax, DWORD PTR height[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L39
	cmp	QWORD PTR -40[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L41
.L40:
	mov	eax, -1
.L41:
	mov	DWORD PTR -16[rbp], eax
	cmp	QWORD PTR -40[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L43
.L42:
	mov	eax, -1
.L43:
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, .LC10[rip]
	mov	edx, 1
	mov	esi, 6
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 4
	mov	esi, 0
	mov	rdi, rax
	call	wsetscrreg@PLT
	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 -40[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 -40[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	DWORD PTR -20[rbp], 1
	jmp	.L44
.L45:
	mov	edi, 500
	mov	eax, 0
	call	usleep@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	wscrl@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	add	DWORD PTR -20[rbp], 1
.L44:
	cmp	DWORD PTR -20[rbp], 5
	jle	.L45
	sub	DWORD PTR -16[rbp], 1
	mov	edx, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wsetscrreg@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	scrollTest, .-scrollTest
	.section	.rodata
.LC11:
	.string	"Press some keys for 5 seconds"
.LC12:
	.string	"Pressing ^C should do nothing"
.LC13:
	.string	"Time = %d"
	.align 8
.LC14:
	.string	"Press a key, followed by ENTER"
	.align 8
.LC15:
	.string	"The character should now have been deleted"
	.align 8
.LC16:
	.string	"Press a function key or an arrow key"
.LC17:
	.string	"The window should have moved"
	.align 8
.LC18:
	.string	"This text should have appeared without you pressing a key"
.LC19:
	.string	"Keycode = %d"
	.align 8
.LC20:
	.string	"Enter a number then a string seperated by space"
.LC21:
	.string	"%d %s"
.LC22:
	.string	"String: %s Number: %d"
	.text
	.globl	inputTest
	.type	inputTest, @function
inputTest:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	QWORD PTR -152[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	mov	DWORD PTR -132[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	mov	DWORD PTR -128[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, WORD PTR 10[rax]
	cwde
	mov	DWORD PTR -124[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	movzx	eax, WORD PTR 8[rax]
	cwde
	mov	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -132[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 -116[rbp], eax
	mov	eax, DWORD PTR -128[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 -112[rbp], eax
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -132[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -116[rbp]
	lea	edi, -2[rax]
	mov	edx, DWORD PTR -120[rbp]
	mov	eax, DWORD PTR -128[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -112[rbp]
	lea	ecx, -2[rax]
	mov	edx, DWORD PTR -116[rbp]
	mov	esi, DWORD PTR -112[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	subwin@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	je	.L70
	call	has_colors@PLT
	test	al, al
	je	.L49
	mov	edx, 4
	mov	esi, 6
	mov	edi, 2
	call	init_pair@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 2097664
	mov	rdi, rax
	call	wattrset@PLT
	jmp	.L50
.L49:
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 2097152
	mov	rdi, rax
	call	wattrset@PLT
.L50:
	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 -104[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 -152[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	nocbreak@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L52
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L52:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L54
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L54:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	DWORD PTR -136[rbp], 0
	jmp	.L55
.L56:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	werase@PLT
	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 -104[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	edx, DWORD PTR -136[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	r8d, edx
	lea	rcx, .LC13[rip]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 1000
	mov	eax, 0
	call	usleep@PLT
	call	flushinp@PLT
	add	DWORD PTR -136[rbp], 1
.L55:
	cmp	DWORD PTR -136[rbp], 4
	jle	.L56
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	werase@PLT
	call	flash@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 500
	mov	eax, 0
	call	usleep@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L58
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L58:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 10
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	echo@PLT
	call	noraw@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	call	flushinp@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 10
	mov	esi, 9
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wdelch@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L60
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L60:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L62
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L62:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	raw@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nodelay@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 2
	mov	esi, 3
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L64
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L64:
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 2
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L66
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L66:
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r8d, edx
	lea	rcx, .LC19[rip]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, 2
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L68
	mov	rax, QWORD PTR -152[rbp]
	mov	edx, -1
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L68:
	call	echo@PLT
	call	noraw@PLT
	lea	rcx, -96[rbp]
	lea	rdx, -140[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r9, rcx
	mov	r8, rdx
	lea	rcx, .LC21[rip]
	mov	edx, 6
	mov	esi, 7
	mov	rdi, rax
	mov	eax, 0
	call	mvwscanw@PLT
	mov	ecx, DWORD PTR -140[rbp]
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -152[rbp]
	mov	r9d, ecx
	mov	r8, rdx
	lea	rcx, .LC22[rip]
	mov	edx, 6
	mov	esi, 8
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	Continue
	jmp	.L46
.L70:
	nop
.L46:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	inputTest, .-inputTest
	.section	.rodata
	.align 8
.LC23:
	.string	"You should now have a screen in the upper left corner, and this text should have wrapped"
	.align 8
.LC24:
	.string	"A new window will appear with this text in it"
.LC25:
	.string	"Press any key to continue"
	.align 8
.LC26:
	.string	"This text should appear; using overlay option"
	.align 8
.LC27:
	.string	"This blinking text should appear in only the second window"
.LC28:
	.string	"This line shouldn't appear"
	.align 8
.LC29:
	.string	"Only half of the next line is visible"
	.align 8
.LC30:
	.string	"This line also shouldn't appear"
.LC31:
	.string	"The next char should be l:  "
	.align 8
.LC32:
	.string	"The lines below should have moved down"
.LC33:
	.string	"is it"
	.align 8
.LC34:
	.string	"This is a formatted string in a window: %d %s\n"
.LC35:
	.string	"Enter a string: "
.LC36:
	.string	"%s"
.LC37:
	.string	"Enter a string"
	.align 8
.LC38:
	.string	"This is a formatted string in stdscr: %d %s\n"
	.align 8
.LC39:
	.string	"The cursor should appear as a block"
	.align 8
.LC40:
	.string	"The cursor should have disappeared"
	.align 8
.LC41:
	.string	"The cursor should be an underline"
	.text
	.globl	outputTest
	.type	outputTest, @function
outputTest:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	nl@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L73
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L73:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L75
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L75:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L77
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L77:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	ecx, 25
	mov	edx, 15
	mov	esi, 50
	mov	edi, 10
	call	newwin@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L78
	call	endwin@PLT
	jmp	.L71
.L78:
	call	has_colors@PLT
	test	al, al
	je	.L80
	mov	edx, 7
	mov	esi, 4
	mov	edi, 3
	call	init_pair@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 768
	mov	rdi, rax
	call	wattrset@PLT
	jmp	.L81
.L80:
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
.L81:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 1
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L83
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, -1
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L83:
	mov	rsi, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR -120[rbp]
	sub	rsp, 8
	push	1
	push	50
	push	10
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	rdi, rax
	call	copywin@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -104[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 196
	mov	ecx, 196
	mov	edx, 179
	mov	esi, 179
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 26
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 0
	mov	esi, 524288
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L85
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, -1
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L85:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 0
	mov	esi, 524288
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L87
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L87:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 4
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L89
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L89:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L91
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L91:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclrtobot@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 20
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclrtoeol@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L93
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L93:
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, -1
	mov	rdi, rax
	call	winsdelln@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 9
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	winch@PLT
	mov	DWORD PTR -108[rbp], eax
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 6
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	edx, DWORD PTR -108[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	winsch@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	winsdelln@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L95
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L95:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -120[rbp]
	lea	rcx, .LC33[rip]
	mov	edx, 42
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	mov	eax, 0
	call	wprintw@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L97
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L97:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	noraw@PLT
	call	echo@PLT
	lea	rdx, -96[rbp]
	mov	rax, QWORD PTR -120[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	wscanw@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L99
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L99:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	lea	rdx, .LC33[rip]
	mov	esi, 42
	lea	rdi, .LC38[rip]
	mov	eax, 0
	call	printw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L101
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC35[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L101:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	noraw@PLT
	call	echo@PLT
	lea	rax, -96[rbp]
	mov	rsi, rax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	scanw@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	edi, 2
	call	curs_set@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L103
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L103:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L105
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L105:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	edi, 1
	call	curs_set@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L107
	mov	rax, QWORD PTR -120[rbp]
	mov	edx, -1
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L107:
	mov	rax, QWORD PTR -120[rbp]
	mov	rdi, rax
	call	Continue
.L71:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L108
	call	__stack_chk_fail@PLT
.L108:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	outputTest, .-outputTest
	.section	.rodata
	.align 8
.LC42:
	.string	"The screen may now have 50 lines"
	.align 8
.LC43:
	.string	"The screen should now be reset"
	.text
	.globl	resizeTest
	.type	resizeTest, @function
resizeTest:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	savetty@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	ecx, 25
	mov	edx, 14
	mov	esi, 50
	mov	edi, 11
	call	newwin@PLT
	mov	QWORD PTR -104[rbp], rax
	cmp	QWORD PTR -104[rbp], 0
	jne	.L110
	call	endwin@PLT
	jmp	.L109
.L110:
	call	has_colors@PLT
	test	al, al
	je	.L112
	mov	edx, 7
	mov	esi, 4
	mov	edi, 3
	call	init_pair@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 768
	mov	rdi, rax
	call	wattrset@PLT
.L112:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L114
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, -1
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L114:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	Continue
	call	resetty@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L116
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, -1
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L116:
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	Continue
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L109:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L117
	call	__stack_chk_fail@PLT
.L117:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	resizeTest, .-resizeTest
	.section	.rodata
.LC44:
	.string	"This is a new pad"
	.align 8
.LC45:
	.string	"The end of this line should be truncated here:abcd"
.LC46:
	.string	"This line should not appear."
	.align 8
.LC47:
	.string	"This is displayed at line 35 in the pad"
	.text
	.globl	padTest
	.type	padTest, @function
padTest:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	esi, 100
	mov	edi, 50
	call	newpad@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 2
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L120
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC44[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L120:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, 8
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L122
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L122:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 11
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L124
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L124:
	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	rdi, rax
	call	wclrtoeol@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L126
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L126:
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	45
	mov	r9d, 10
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	prefresh@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	raw@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 2
	mov	esi, 35
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L128
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L128:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 1
	mov	esi, 40
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L130
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L130:
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	45
	mov	r9d, 10
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 30
	mov	rdi, rax
	call	prefresh@PLT
	add	rsp, 16
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	raw@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	padTest, .-padTest
	.section	.rodata
.LC48:
	.string	"PDCurses Test Program"
	.align 8
.LC49:
	.string	"Use Up and Down Arrows to select - Enter to run - Q to quit"
	.text
	.globl	display_menu
	.type	display_menu, @function
display_menu:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 20
	mov	esi, 3
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L133
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L133:
	mov	ebx, 0
	jmp	.L134
.L137:
	lea	ecx, 5[rbx]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 25
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L136
	movsx	rax, ebx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, command[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
.L136:
	add	ebx, 1
.L134:
	cmp	ebx, 5
	jle	.L137
	cmp	DWORD PTR -20[rbp], -1
	je	.L138
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 5[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 25
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L138
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, command[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
.L138:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 262144
	mov	rdi, rax
	call	wattrset@PLT
	mov	eax, DWORD PTR -24[rbp]
	lea	ecx, 5[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 25
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L141
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, command[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
.L141:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 3
	mov	esi, 13
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L143
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC49[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L143:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	display_menu, .-display_menu
	.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	"783340.c"
	.text
	.global	command
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Intro Test\000"
	.align	2
.LC1:
	.ascii	"Pad Test\000"
	.align	2
.LC2:
	.ascii	"Resize Test\000"
	.align	2
.LC3:
	.ascii	"Scroll Test\000"
	.align	2
.LC4:
	.ascii	"Input Test\000"
	.align	2
.LC5:
	.ascii	"Output Test\000"
	.data
	.align	2
	.type	command, %object
	.size	command, 48
command:
	.word	.LC0
	.word	introTest
	.word	.LC1
	.word	padTest
	.word	.LC2
	.word	resizeTest
	.word	.LC3
	.word	scrollTest
	.word	.LC4
	.word	inputTest
	.word	.LC5
	.word	outputTest
	.comm	width,4,4
	.comm	height,4,4
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-25]
	sub	r3, fp, #24
	mov	r0, r3
	bl	initTest
	mov	r3, r0
	cmp	r3, #0
	bne	.L2
	mov	r3, #1
	b	.L19
.L2:
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	mov	r2, #4
	mov	r1, #7
	mov	r0, #1
	bl	init_pair
	ldr	r3, [fp, #-24]
	mov	r1, #256
	mov	r0, r3
	bl	wattrset
	b	.L5
.L4:
	ldr	r3, [fp, #-24]
	mov	r1, #262144
	mov	r0, r3
	bl	wattrset
.L5:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	display_menu
.L18:
	bl	noecho
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	bl	raw
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+8
	cmp	r3, r2
	beq	.L6
	ldr	r3, [fp, #-12]
	cmp	r3, #344
	bge	.L22
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+12
	cmp	r3, r2
	beq	.L8
	ldr	r3, [fp, #-12]
	cmp	r3, #260
	bge	.L22
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+16
	cmp	r3, r2
	beq	.L9
	ldr	r3, [fp, #-12]
	ldr	r2, .L24+16
	cmp	r3, r2
	bgt	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #113
	beq	.L10
	ldr	r3, [fp, #-12]
	cmp	r3, #113
	bgt	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #81
	beq	.L10
	ldr	r3, [fp, #-12]
	cmp	r3, #81
	bgt	.L22
	ldr	r3, [fp, #-12]
	cmp	r3, #10
	beq	.L6
	ldr	r3, [fp, #-12]
	cmp	r3, #13
	bne	.L22
.L6:
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r2, .L24+20
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-24]
	mov	r0, r2
	blx	r3
	ldr	r3, .L24+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	werase
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	display_menu
	b	.L11
.L8:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	b	.L13
.L12:
	ldr	r3, [fp, #-20]
.L13:
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	display_menu
	b	.L11
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	beq	.L14
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	b	.L15
.L14:
	ldr	r3, [fp, #-20]
.L15:
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	display_menu
	b	.L11
.L10:
	mov	r3, #1
	strb	r3, [fp, #-25]
	b	.L11
.L22:
	nop
.L11:
	ldrb	r3, [fp, #-25]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L23
	b	.L18
.L23:
	nop
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	delwin
	bl	endwin
	mov	r3, #0
.L19:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC6
	.word	stdscr
	.word	343
	.word	259
	.word	258
	.word	command
	.size	main, .-main
	.section	.rodata
	.align	2
.LC7:
	.ascii	" Press any key to continue\000"
	.text
	.align	2
	.global	Continue
	.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	.L28
	mvn	r2, #0
	ldr	r1, .L29
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L28:
	ldr	r0, [fp, #-8]
	bl	wrefresh
	bl	raw
	ldr	r0, [fp, #-8]
	bl	wgetch
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC7
	.size	Continue, .-Continue
	.align	2
	.global	initTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	initTest, %function
initTest:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	initscr
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	bl	start_color
.L32:
	ldr	r3, .L35
	mov	r2, #60
	str	r2, [r3]
	ldr	r3, .L35+4
	mov	r2, #13
	str	r2, [r3]
	ldr	r3, .L35+4
	ldr	r0, [r3]
	ldr	r3, .L35
	ldr	r1, [r3]
	ldr	r3, .L35+8
	ldr	r2, [r3]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	ip, r3
	ldr	r3, .L35+12
	ldr	r2, [r3]
	ldr	r3, .L35
	ldr	r3, [r3]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, ip
	bl	newwin
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	bl	endwin
	mov	r3, #1
	b	.L31
.L33:
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	width
	.word	height
	.word	LINES
	.word	COLS
	.size	initTest, .-initTest
	.section	.rodata
	.align	2
.LC8:
	.ascii	"You should have rectangle in the middle of the scre"
	.ascii	"en\000"
	.align	2
.LC9:
	.ascii	"You should have heard a beep\000"
	.text
	.align	2
	.global	introTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	introTest, %function
introTest:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-8]
	bl	beep
	ldr	r0, [fp, #-8]
	bl	werase
	ldr	r3, .L43
	ldr	r1, [r3, #480]
	ldr	r3, .L43
	ldr	r2, [r3, #480]
	ldr	r3, .L43
	ldr	r0, [r3, #452]
	ldr	r3, .L43
	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, #-8]
	bl	wrefresh
	bl	cbreak
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	mvn	r2, #0
	ldr	r1, .L43+4
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L39:
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L41
	mvn	r2, #0
	ldr	r1, .L43+8
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L41:
	ldr	r0, [fp, #-8]
	bl	Continue
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	acs_map
	.word	.LC8
	.word	.LC9
	.size	introTest, .-introTest
	.section	.rodata
	.align	2
.LC10:
	.ascii	"The window will now scroll slowly\000"
	.align	2
.LC11:
	.ascii	"The top of the window will scroll\000"
	.text
	.align	2
	.global	scrollTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	scrollTest, %function
scrollTest:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-24]
	ldr	r3, .L54
	str	r3, [fp, #-16]
	ldr	r3, .L54+4
	ldr	r3, [r3]
	sub	r1, r3, #2
	ldr	r3, [fp, #-16]
	mov	r2, #1
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r0, [fp, #-24]
	bl	wrefresh
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	scrollok
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L46
.L47:
	mov	r0, #250
	bl	usleep
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	wscrl
	ldr	r0, [fp, #-24]
	bl	wrefresh
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L46:
	ldr	r3, .L54+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L47
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L49
.L48:
	mvn	r3, #0
.L49:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L50
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L51
.L50:
	mvn	r3, #0
.L51:
	str	r3, [fp, #-8]
	ldr	r3, .L54+8
	mov	r2, #1
	mov	r1, #6
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	wmove
	mov	r2, #4
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	wsetscrreg
	ldr	r3, .L54+12
	ldr	r1, [r3, #480]
	ldr	r3, .L54+12
	ldr	r2, [r3, #480]
	ldr	r3, .L54+12
	ldr	r0, [r3, #452]
	ldr	r3, .L54+12
	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, #-24]
	bl	wborder
	ldr	r0, [fp, #-24]
	bl	wrefresh
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L52
.L53:
	mov	r0, #500
	bl	usleep
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	wscrl
	ldr	r0, [fp, #-24]
	bl	wrefresh
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L52:
	ldr	r3, [fp, #-20]
	cmp	r3, #5
	ble	.L53
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	wsetscrreg
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	.LC10
	.word	height
	.word	.LC11
	.word	acs_map
	.size	scrollTest, .-scrollTest
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Press some keys for 5 seconds\000"
	.align	2
.LC13:
	.ascii	"Pressing ^C should do nothing\000"
	.align	2
.LC14:
	.ascii	"Time = %d\000"
	.align	2
.LC15:
	.ascii	"Press a key, followed by ENTER\000"
	.align	2
.LC16:
	.ascii	"The character should now have been deleted\000"
	.align	2
.LC17:
	.ascii	"Press a function key or an arrow key\000"
	.align	2
.LC18:
	.ascii	"The window should have moved\000"
	.align	2
.LC19:
	.ascii	"This text should have appeared without you pressing"
	.ascii	" a key\000"
	.align	2
.LC20:
	.ascii	"Keycode = %d\000"
	.align	2
.LC21:
	.ascii	"Enter a number then a string seperated by space\000"
	.align	2
.LC22:
	.ascii	"%d %s\000"
	.align	2
.LC23:
	.ascii	"String: %s Number: %d\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	inputTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	inputTest, %function
inputTest:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-136]
	ldr	r3, .L81
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, [fp, #-136]
	bl	wclear
	ldr	r3, [fp, #-136]
	ldrsh	r3, [r3, #6]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-136]
	ldrsh	r3, [r3, #4]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-136]
	ldrsh	r3, [r3, #10]
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-136]
	ldrsh	r3, [r3, #8]
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-120]
	ldr	r2, .L81+4
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-116]
	ldr	r2, .L81+4
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-100]
	ldr	r2, [fp, #-108]
	ldr	r3, [fp, #-116]
	add	r2, r2, r3
	ldr	r3, [fp, #-100]
	sub	r3, r2, r3
	sub	r1, r3, #2
	ldr	r2, [fp, #-112]
	ldr	r3, [fp, #-120]
	add	r2, r2, r3
	ldr	r3, [fp, #-104]
	sub	r3, r2, r3
	sub	r3, r3, #2
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, [fp, #-104]
	ldr	r1, [fp, #-100]
	ldr	r0, [fp, #-136]
	bl	subwin
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L80
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
	mov	r2, #4
	mov	r1, #6
	mov	r0, #2
	bl	init_pair
	ldr	r1, .L81+8
	ldr	r0, [fp, #-96]
	bl	wattrset
	b	.L60
.L59:
	mov	r1, #2097152
	ldr	r0, [fp, #-96]
	bl	wattrset
.L60:
	ldr	r3, .L81+12
	ldr	r1, [r3, #480]
	ldr	r3, .L81+12
	ldr	r2, [r3, #480]
	ldr	r3, .L81+12
	ldr	r0, [r3, #452]
	ldr	r3, .L81+12
	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, #-96]
	bl	wborder
	ldr	r0, [fp, #-136]
	bl	wrefresh
	bl	nocbreak
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L62
	mvn	r2, #0
	ldr	r1, .L81+16
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L62:
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L64
	mvn	r2, #0
	ldr	r1, .L81+20
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L64:
	ldr	r0, [fp, #-136]
	bl	wrefresh
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L65
.L66:
	ldr	r0, [fp, #-96]
	bl	werase
	ldr	r3, .L81+12
	ldr	r1, [r3, #480]
	ldr	r3, .L81+12
	ldr	r2, [r3, #480]
	ldr	r3, .L81+12
	ldr	r0, [r3, #452]
	ldr	r3, .L81+12
	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, #-96]
	bl	wborder
	ldr	r3, [fp, #-124]
	str	r3, [sp]
	ldr	r3, .L81+24
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-96]
	bl	mvwprintw
	ldr	r0, [fp, #-96]
	bl	wrefresh
	mov	r0, #1000
	bl	usleep
	bl	flushinp
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L65:
	ldr	r3, [fp, #-124]
	cmp	r3, #4
	ble	.L66
	ldr	r0, [fp, #-96]
	bl	delwin
	ldr	r0, [fp, #-136]
	bl	werase
	bl	flash
	ldr	r0, [fp, #-136]
	bl	wrefresh
	mov	r0, #500
	bl	usleep
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L68
	mvn	r2, #0
	ldr	r1, .L81+28
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L68:
	mov	r2, #10
	mov	r1, #9
	ldr	r0, [fp, #-136]
	bl	wmove
	ldr	r0, [fp, #-136]
	bl	wrefresh
	bl	echo
	bl	noraw
	ldr	r0, [fp, #-136]
	bl	wgetch
	bl	flushinp
	mov	r2, #10
	mov	r1, #9
	ldr	r0, [fp, #-136]
	bl	wmove
	ldr	r0, [fp, #-136]
	bl	wdelch
	mov	r2, #1
	mov	r1, #4
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L70
	mvn	r2, #0
	ldr	r1, .L81+32
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L70:
	ldr	r0, [fp, #-136]
	bl	Continue
	ldr	r0, [fp, #-136]
	bl	wclear
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L72
	mvn	r2, #0
	ldr	r1, .L81+36
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L72:
	ldr	r0, [fp, #-136]
	bl	wrefresh
	mov	r1, #1
	ldr	r0, [fp, #-136]
	bl	keypad
	bl	raw
	ldr	r0, [fp, #-136]
	bl	wgetch
	str	r0, [fp, #-92]
	mov	r1, #1
	ldr	r0, [fp, #-136]
	bl	nodelay
	ldr	r0, [fp, #-136]
	bl	wgetch
	mov	r1, #0
	ldr	r0, [fp, #-136]
	bl	nodelay
	ldr	r3, .L81+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r0, [fp, #-136]
	bl	wclear
	mov	r2, #2
	mov	r1, #3
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L74
	mvn	r2, #0
	ldr	r1, .L81+44
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L74:
	mov	r2, #2
	mov	r1, #4
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L76
	mvn	r2, #0
	ldr	r1, .L81+48
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L76:
	ldr	r3, [fp, #-92]
	str	r3, [sp]
	ldr	r3, .L81+52
	mov	r2, #2
	mov	r1, #2
	ldr	r0, [fp, #-136]
	bl	mvwprintw
	mov	r2, #2
	mov	r1, #6
	ldr	r0, [fp, #-136]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L78
	mvn	r2, #0
	ldr	r1, .L81+56
	ldr	r0, [fp, #-136]
	bl	waddnstr
.L78:
	bl	echo
	bl	noraw
	sub	r3, fp, #88
	str	r3, [sp, #4]
	sub	r3, fp, #128
	str	r3, [sp]
	ldr	r3, .L81+60
	mov	r2, #6
	mov	r1, #7
	ldr	r0, [fp, #-136]
	bl	mvwscanw
	ldr	r3, [fp, #-128]
	str	r3, [sp, #4]
	sub	r3, fp, #88
	str	r3, [sp]
	ldr	r3, .L81+64
	mov	r2, #6
	mov	r1, #8
	ldr	r0, [fp, #-136]
	bl	mvwprintw
	ldr	r0, [fp, #-136]
	bl	Continue
	b	.L56
.L80:
	nop
.L56:
	ldr	r3, .L81
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC24
	.word	1431655766
	.word	2097664
	.word	acs_map
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	stdscr
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.size	inputTest, .-inputTest
	.section	.rodata
	.align	2
.LC25:
	.ascii	"You should now have a screen in the upper left corn"
	.ascii	"er, and this text should have wrapped\000"
	.align	2
.LC26:
	.ascii	"A new window will appear with this text in it\000"
	.align	2
.LC27:
	.ascii	"Press any key to continue\000"
	.align	2
.LC28:
	.ascii	"This text should appear; using overlay option\000"
	.align	2
.LC29:
	.ascii	"This blinking text should appear in only the second"
	.ascii	" window\000"
	.align	2
.LC30:
	.ascii	"This line shouldn't appear\000"
	.align	2
.LC31:
	.ascii	"Only half of the next line is visible\000"
	.align	2
.LC32:
	.ascii	"This line also shouldn't appear\000"
	.align	2
.LC33:
	.ascii	"The next char should be l:  \000"
	.align	2
.LC34:
	.ascii	"The lines below should have moved down\000"
	.align	2
.LC35:
	.ascii	"is it\000"
	.align	2
.LC36:
	.ascii	"This is a formatted string in a window: %d %s\012\000"
	.align	2
.LC37:
	.ascii	"Enter a string: \000"
	.align	2
.LC38:
	.ascii	"%s\000"
	.align	2
.LC39:
	.ascii	"Enter a string\000"
	.align	2
.LC40:
	.ascii	"This is a formatted string in stdscr: %d %s\012\000"
	.align	2
.LC41:
	.ascii	"The cursor should appear as a block\000"
	.align	2
.LC42:
	.ascii	"The cursor should have disappeared\000"
	.align	2
.LC43:
	.ascii	"The cursor should be an underline\000"
	.align	2
.LC44:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	outputTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	outputTest, %function
outputTest:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-104]
	ldr	r3, .L121
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	nl
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L85
	mvn	r2, #0
	ldr	r1, .L121+4
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L85:
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-104]
	bl	mvwin
	ldr	r0, [fp, #-104]
	bl	Continue
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L87
	mvn	r2, #0
	ldr	r1, .L121+8
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L87:
	mov	r2, #1
	mov	r1, #8
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L89
	mvn	r2, #0
	ldr	r1, .L121+12
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L89:
	ldr	r0, [fp, #-104]
	bl	wrefresh
	ldr	r0, [fp, #-104]
	bl	wgetch
	mov	r3, #25
	mov	r2, #15
	mov	r1, #50
	mov	r0, #10
	bl	newwin
	str	r0, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L90
	bl	endwin
	b	.L83
.L90:
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L92
	mov	r2, #7
	mov	r1, #4
	mov	r0, #3
	bl	init_pair
	mov	r1, #768
	ldr	r0, [fp, #-96]
	bl	wattrset
	b	.L93
.L92:
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	wattrset
.L93:
	ldr	r0, [fp, #-96]
	bl	wclear
	mov	r2, #1
	mov	r1, #5
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L95
	mvn	r2, #0
	ldr	r1, .L121+16
	ldr	r0, [fp, #-96]
	bl	waddnstr
.L95:
	mov	r3, #1
	str	r3, [sp, #16]
	mov	r3, #50
	str	r3, [sp, #12]
	mov	r3, #10
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-96]
	ldr	r0, [fp, #-104]
	bl	copywin
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #196
	str	r3, [sp]
	mov	r3, #196
	mov	r2, #179
	mov	r1, #179
	ldr	r0, [fp, #-96]
	bl	wborder
	mov	r2, #26
	mov	r1, #8
	ldr	r0, [fp, #-96]
	bl	wmove
	ldr	r0, [fp, #-96]
	bl	wrefresh
	ldr	r0, [fp, #-96]
	bl	wgetch
	ldr	r0, [fp, #-96]
	bl	wclear
	mov	r2, #0
	mov	r1, #524288
	ldr	r0, [fp, #-96]
	bl	wattr_on
	mov	r2, #1
	mov	r1, #4
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L97
	mvn	r2, #0
	ldr	r1, .L121+20
	ldr	r0, [fp, #-96]
	bl	waddnstr
.L97:
	mov	r2, #0
	mov	r1, #524288
	ldr	r0, [fp, #-96]
	bl	wattr_off
	ldr	r0, [fp, #-96]
	bl	wrefresh
	ldr	r0, [fp, #-96]
	bl	wgetch
	ldr	r0, [fp, #-96]
	bl	delwin
	ldr	r0, [fp, #-104]
	bl	wclear
	ldr	r0, [fp, #-104]
	bl	wrefresh
	mov	r2, #2
	mov	r1, #6
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L99
	mvn	r2, #0
	ldr	r1, .L121+24
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L99:
	mov	r2, #2
	mov	r1, #4
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L101
	mvn	r2, #0
	ldr	r1, .L121+28
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L101:
	mov	r2, #2
	mov	r1, #5
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L103
	mvn	r2, #0
	ldr	r1, .L121+28
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L103:
	mov	r2, #1
	mov	r1, #6
	ldr	r0, [fp, #-104]
	bl	wmove
	ldr	r0, [fp, #-104]
	bl	wclrtobot
	mov	r2, #20
	mov	r1, #5
	ldr	r0, [fp, #-104]
	bl	wmove
	ldr	r0, [fp, #-104]
	bl	wclrtoeol
	mov	r2, #2
	mov	r1, #8
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L105
	mvn	r2, #0
	ldr	r1, .L121+32
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L105:
	mov	r2, #1
	mov	r1, #8
	ldr	r0, [fp, #-104]
	bl	wmove
	mvn	r1, #0
	ldr	r0, [fp, #-104]
	bl	winsdelln
	ldr	r0, [fp, #-104]
	bl	Continue
	mov	r2, #9
	mov	r1, #5
	ldr	r0, [fp, #-104]
	bl	wmove
	ldr	r0, [fp, #-104]
	bl	winch
	str	r0, [fp, #-92]
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r2, #2
	mov	r1, #6
	ldr	r0, [fp, #-104]
	bl	wmove
	mvn	r2, #0
	ldr	r1, .L121+36
	ldr	r0, [fp, #-104]
	bl	waddnstr
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-104]
	bl	winsch
	ldr	r0, [fp, #-104]
	bl	Continue
	mov	r2, #1
	mov	r1, #5
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r1, #1
	ldr	r0, [fp, #-104]
	bl	winsdelln
	mov	r2, #2
	mov	r1, #5
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L107
	mvn	r2, #0
	ldr	r1, .L121+40
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L107:
	ldr	r0, [fp, #-104]
	bl	Continue
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r2, #2
	mov	r1, #2
	ldr	r0, [fp, #-104]
	bl	wmove
	ldr	r3, .L121+44
	mov	r2, #42
	ldr	r1, .L121+48
	ldr	r0, [fp, #-104]
	bl	wprintw
	mov	r2, #1
	mov	r1, #10
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L109
	mvn	r2, #0
	ldr	r1, .L121+52
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L109:
	ldr	r0, [fp, #-104]
	bl	wrefresh
	bl	noraw
	bl	echo
	sub	r3, fp, #88
	mov	r2, r3
	ldr	r1, .L121+56
	ldr	r0, [fp, #-104]
	bl	wscanw
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r2, #1
	mov	r1, #10
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L111
	mvn	r2, #0
	ldr	r1, .L121+60
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L111:
	ldr	r0, [fp, #-104]
	bl	wrefresh
	ldr	r3, .L121+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L121+64
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	ldr	r2, .L121+44
	mov	r1, #42
	ldr	r0, .L121+68
	bl	printw
	ldr	r3, .L121+64
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #10
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L113
	ldr	r3, .L121+64
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L121+52
	mov	r0, r3
	bl	waddnstr
.L113:
	ldr	r3, .L121+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	noraw
	bl	echo
	sub	r3, fp, #88
	mov	r1, r3
	ldr	r0, .L121+56
	bl	scanw
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r0, #2
	bl	curs_set
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L115
	mvn	r2, #0
	ldr	r1, .L121+72
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L115:
	ldr	r0, [fp, #-104]
	bl	Continue
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r0, #0
	bl	curs_set
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L117
	mvn	r2, #0
	ldr	r1, .L121+76
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L117:
	ldr	r0, [fp, #-104]
	bl	Continue
	ldr	r0, [fp, #-104]
	bl	wclear
	mov	r0, #1
	bl	curs_set
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-104]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L119
	mvn	r2, #0
	ldr	r1, .L121+80
	ldr	r0, [fp, #-104]
	bl	waddnstr
.L119:
	ldr	r0, [fp, #-104]
	bl	Continue
.L83:
	ldr	r3, .L121
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L120
	bl	__stack_chk_fail
.L120:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L122:
	.align	2
.L121:
	.word	.LC44
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	stdscr
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.size	outputTest, .-outputTest
	.section	.rodata
	.align	2
.LC45:
	.ascii	"The screen may now have 50 lines\000"
	.align	2
.LC46:
	.ascii	"The screen should now be reset\000"
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	resizeTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	resizeTest, %function
resizeTest:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	ldr	r3, .L132
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	savetty
	ldr	r3, .L132+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L132+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	mov	r3, #25
	mov	r2, #14
	mov	r1, #50
	mov	r0, #11
	bl	newwin
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	bne	.L124
	bl	endwin
	b	.L123
.L124:
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L126
	mov	r2, #7
	mov	r1, #4
	mov	r0, #3
	bl	init_pair
	mov	r1, #768
	ldr	r0, [fp, #-92]
	bl	wattrset
.L126:
	ldr	r0, [fp, #-92]
	bl	wclear
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-92]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L128
	mvn	r2, #0
	ldr	r1, .L132+8
	ldr	r0, [fp, #-92]
	bl	waddnstr
.L128:
	ldr	r0, [fp, #-92]
	bl	Continue
	bl	resetty
	ldr	r0, [fp, #-92]
	bl	wclear
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-92]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L130
	mvn	r2, #0
	ldr	r1, .L132+12
	ldr	r0, [fp, #-92]
	bl	waddnstr
.L130:
	ldr	r0, [fp, #-92]
	bl	Continue
	ldr	r0, [fp, #-92]
	bl	delwin
	ldr	r3, .L132+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L132+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L123:
	ldr	r3, .L132
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L131
	bl	__stack_chk_fail
.L131:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L133:
	.align	2
.L132:
	.word	.LC47
	.word	stdscr
	.word	.LC45
	.word	.LC46
	.size	resizeTest, .-resizeTest
	.section	.rodata
	.align	2
.LC48:
	.ascii	"This is a new pad\000"
	.align	2
.LC49:
	.ascii	"The end of this line should be truncated here:abcd\000"
	.align	2
.LC50:
	.ascii	"This line should not appear.\000"
	.align	2
.LC51:
	.ascii	"This is displayed at line 35 in the pad\000"
	.text
	.align	2
	.global	padTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	padTest, %function
padTest:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	mov	r1, #100
	mov	r0, #50
	bl	newpad
	str	r0, [fp, #-8]
	mov	r2, #2
	mov	r1, #5
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L136
	mvn	r2, #0
	ldr	r1, .L147
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L136:
	mov	r2, #0
	mov	r1, #8
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L138
	mvn	r2, #0
	ldr	r1, .L147+4
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L138:
	mov	r2, #1
	mov	r1, #11
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L140
	mvn	r2, #0
	ldr	r1, .L147+8
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L140:
	mov	r2, #1
	mov	r1, #10
	ldr	r0, [fp, #-8]
	bl	wmove
	ldr	r0, [fp, #-8]
	bl	wclrtoeol
	mov	r2, #1
	mov	r1, #10
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L142
	mvn	r2, #0
	ldr	r1, .L147+12
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L142:
	mov	r3, #45
	str	r3, [sp, #8]
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	prefresh
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	keypad
	bl	raw
	ldr	r0, [fp, #-8]
	bl	wgetch
	mov	r2, #2
	mov	r1, #35
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L144
	mvn	r2, #0
	ldr	r1, .L147+16
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L144:
	mov	r2, #1
	mov	r1, #40
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L146
	mvn	r2, #0
	ldr	r1, .L147+12
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L146:
	mov	r3, #45
	str	r3, [sp, #8]
	mov	r3, #10
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #30
	ldr	r0, [fp, #-8]
	bl	prefresh
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	keypad
	bl	raw
	ldr	r0, [fp, #-8]
	bl	wgetch
	ldr	r0, [fp, #-8]
	bl	delwin
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L148:
	.align	2
.L147:
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC7
	.word	.LC51
	.size	padTest, .-padTest
	.section	.rodata
	.align	2
.LC52:
	.ascii	"PDCurses Test Program\000"
	.align	2
.LC53:
	.ascii	"Use Up and Down Arrows to select - Enter to run - Q"
	.ascii	" to quit\000"
	.text
	.align	2
	.global	display_menu
	.syntax unified
	.arm
	.fpu softvfp
	.type	display_menu, %function
display_menu:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L162
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L162
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #3
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L151
	ldr	r3, .L162
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L162+4
	mov	r0, r3
	bl	waddnstr
.L151:
	mov	r4, #0
	b	.L152
.L155:
	ldr	r3, .L162
	ldr	r3, [r3]
	add	r1, r4, #5
	mov	r2, #25
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L154
	ldr	r3, .L162
	ldr	r3, [r3]
	ldr	r2, .L162+8
	ldr	r1, [r2, r4, lsl #3]
	mvn	r2, #0
	mov	r0, r3
	bl	waddnstr
.L154:
	add	r4, r4, #1
.L152:
	cmp	r4, #5
	ble	.L155
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L156
	ldr	r3, .L162
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #5
	mov	r2, #25
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L156
	ldr	r3, .L162
	ldr	r0, [r3]
	ldr	r2, .L162+8
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #3]
	mvn	r2, #0
	mov	r1, r3
	bl	waddnstr
.L156:
	ldr	r3, .L162
	ldr	r3, [r3]
	mov	r1, #262144
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L162
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #5
	mov	r2, #25
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L159
	ldr	r3, .L162
	ldr	r0, [r3]
	ldr	r2, .L162+8
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #3]
	mvn	r2, #0
	mov	r1, r3
	bl	waddnstr
.L159:
	ldr	r3, .L162
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L162
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #13
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L161
	ldr	r3, .L162
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L162+12
	mov	r0, r3
	bl	waddnstr
.L161:
	ldr	r3, .L162
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L163:
	.align	2
.L162:
	.word	stdscr
	.word	.LC52
	.word	command
	.word	.LC53
	.size	display_menu, .-display_menu
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
