	.file	"459658.c"
	.intel_syntax noprefix
	.text
	.globl	AusMap
	.section	.rodata
.LC0:
	.string	"                       A "
.LC1:
	.string	"           AA         AA "
.LC2:
	.string	"    N.T. AAAAA       AAAA "
.LC3:
	.string	"     AAAAAAAAAAA  AAAAAAAA "
	.align 8
.LC4:
	.string	"   AAAAAAAAAAAAAAAAAAAAAAAAA Qld."
	.align 8
.LC5:
	.string	" AAAAAAAAAAAAAAAAAAAAAAAAAAAA "
	.align 8
.LC6:
	.string	" AAAAAAAAAAAAAAAAAAAAAAAAAAAAA "
	.align 8
.LC7:
	.string	"   AAAAAAAAAAAAAAAAAAAAAAAAA N.S.W."
	.align 8
.LC8:
	.string	"W.A. AAAAAAAAA      AAAAAA Vic."
.LC9:
	.string	"       AAA   S.A.     AA"
	.align 8
.LC10:
	.string	"                       A  Tas."
.LC11:
	.string	""
	.section	.data.rel.local,"aw"
	.align 32
	.type	AusMap, @object
	.size	AusMap, 136
AusMap:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC5
	.quad	.LC7
	.quad	.LC8
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.zero	32
	.globl	messages
	.section	.rodata
	.align 8
.LC12:
	.string	"Hello from the Land Down Under"
	.align 8
.LC13:
	.string	"The Land of crocs, and a big Red Rock"
	.align 8
.LC14:
	.string	"Where the sunflower runs along the highways"
	.align 8
.LC15:
	.string	"The dusty red roads lead one to loneliness"
.LC16:
	.string	"Blue sky in the morning and"
	.align 8
.LC17:
	.string	"Freezing nights and twinkling stars"
	.section	.data.rel.local
	.align 32
	.type	messages, @object
	.size	messages, 56
messages:
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	0
	.text
	.globl	WaitForUser
	.type	WaitForUser, @function
WaitForUser:
.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, 16
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	mov	edi, 50
	call	halfdelay@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	nodelay@PLT
	call	nocbreak@PLT
	call	cbreak@PLT
	cmp	DWORD PTR -4[rbp], 27
	jne	.L2
	mov	eax, 27
	jmp	.L4
.L2:
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	WaitForUser, .-WaitForUser
	.section	.rodata
.LC18:
	.string	"Sub-window 1"
.LC19:
	.string	"Sub-window 2"
.LC20:
	.string	"Sub-window 3"
	.text
	.globl	SubWinTest
	.type	SubWinTest, @function
SubWinTest:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	cmp	QWORD PTR -56[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L7
.L6:
	mov	eax, -1
.L7:
	mov	DWORD PTR -48[rbp], eax
	cmp	QWORD PTR -56[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L9
.L8:
	mov	eax, -1
.L9:
	mov	DWORD PTR -44[rbp], eax
	cmp	QWORD PTR -56[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 8[rax]
	cwde
	jmp	.L11
.L10:
	mov	eax, -1
.L11:
	mov	DWORD PTR -40[rbp], eax
	cmp	QWORD PTR -56[rbp], 0
	je	.L12
	mov	rax, QWORD PTR -56[rbp]
	movzx	eax, WORD PTR 10[rax]
	cwde
	jmp	.L13
.L12:
	mov	eax, -1
.L13:
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -44[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 -32[rbp], eax
	mov	eax, DWORD PTR -48[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 -28[rbp], eax
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, 5
	mov	ecx, 3
	mov	rdi, rax
	call	derwin@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L14
	mov	eax, 1
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -36[rbp]
	lea	edi, 8[rax]
	mov	eax, DWORD PTR -40[rbp]
	lea	ecx, 4[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	subwin@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L16
	mov	eax, 1
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -36[rbp]
	lea	edi, 11[rax]
	mov	eax, DWORD PTR -40[rbp]
	lea	ecx, 5[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[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
	jne	.L17
	mov	eax, 1
	jmp	.L15
.L17:
	mov	edx, 4
	mov	esi, 1
	mov	edi, 8
	call	init_pair@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2048
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 3
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L19
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, -1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L19:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edx, 5
	mov	esi, 6
	mov	edi, 9
	call	init_pair@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 2304
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, 3
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L21
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, -1
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L21:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edx, 2
	mov	esi, 3
	mov	edi, 10
	call	init_pair@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2560
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 3
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L23
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L23:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	call	WaitForUser
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	SubWinTest, .-SubWinTest
	.globl	BouncingBalls
	.type	BouncingBalls, @function
BouncingBalls:
.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, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	edx, 2
	mov	esi, 1
	mov	edi, 11
	call	init_pair@PLT
	mov	edx, 1
	mov	esi, 4
	mov	edi, 12
	call	init_pair@PLT
	mov	edx, 7
	mov	esi, 3
	mov	edi, 13
	call	init_pair@PLT
	mov	DWORD PTR -36[rbp], 2895
	mov	DWORD PTR -32[rbp], 3114
	mov	DWORD PTR -28[rbp], 3392
	cmp	QWORD PTR -104[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L26
.L25:
	mov	eax, -1
.L26:
	mov	DWORD PTR -24[rbp], eax
	cmp	QWORD PTR -104[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -104[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L28
.L27:
	mov	eax, -1
.L28:
	mov	DWORD PTR -20[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -20[rbp]
	lea	ecx, -4[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -84[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -24[rbp]
	lea	ecx, -4[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -80[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -20[rbp]
	lea	ecx, -4[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -68[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -24[rbp]
	lea	ecx, -4[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -64[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -20[rbp]
	lea	ecx, -4[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -52[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -24[rbp]
	lea	ecx, -4[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -48[rbp], eax
	mov	DWORD PTR -76[rbp], 1
	mov	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -60[rbp], 1
	mov	DWORD PTR -56[rbp], -1
	mov	DWORD PTR -44[rbp], -1
	mov	DWORD PTR -40[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	jmp	.L29
.L60:
	mov	eax, DWORD PTR -76[rbp]
	add	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 1
	jle	.L30
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cmp	DWORD PTR -84[rbp], eax
	jl	.L31
.L30:
	neg	DWORD PTR -76[rbp]
.L31:
	mov	eax, DWORD PTR -72[rbp]
	add	DWORD PTR -80[rbp], eax
	cmp	DWORD PTR -80[rbp], 1
	jle	.L32
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 2
	cmp	DWORD PTR -80[rbp], eax
	jl	.L33
.L32:
	neg	DWORD PTR -72[rbp]
.L33:
	mov	eax, DWORD PTR -60[rbp]
	add	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 1
	jle	.L34
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cmp	DWORD PTR -68[rbp], eax
	jl	.L35
.L34:
	neg	DWORD PTR -60[rbp]
.L35:
	mov	eax, DWORD PTR -56[rbp]
	add	DWORD PTR -64[rbp], eax
	cmp	DWORD PTR -64[rbp], 1
	jle	.L36
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 2
	cmp	DWORD PTR -64[rbp], eax
	jl	.L37
.L36:
	neg	DWORD PTR -56[rbp]
.L37:
	mov	eax, DWORD PTR -44[rbp]
	add	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 1
	jle	.L38
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 2
	cmp	DWORD PTR -52[rbp], eax
	jl	.L39
.L38:
	neg	DWORD PTR -44[rbp]
.L39:
	mov	eax, DWORD PTR -40[rbp]
	add	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 1
	jle	.L40
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 2
	cmp	DWORD PTR -48[rbp], eax
	jl	.L41
.L40:
	neg	DWORD PTR -40[rbp]
.L41:
	mov	edx, DWORD PTR -84[rbp]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L42
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	winch@PLT
	jmp	.L43
.L42:
	mov	eax, -1
.L43:
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L44
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	winch@PLT
	jmp	.L45
.L44:
	mov	eax, -1
.L45:
	mov	DWORD PTR -8[rbp], eax
	mov	edx, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L46
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	winch@PLT
	jmp	.L47
.L46:
	mov	eax, -1
.L47:
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -84[rbp]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L49
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L49:
	mov	edx, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L51
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L51:
	mov	edx, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L53
	mov	edx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L53:
	mov	rax, QWORD PTR -104[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edx, DWORD PTR -84[rbp]
	mov	ecx, DWORD PTR -80[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L55
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L55:
	mov	edx, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L57
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L57:
	mov	edx, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -48[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L59
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L59:
	mov	edi, 150
	call	napms@PLT
.L29:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], -1
	je	.L60
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	nodelay@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	ungetch@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	BouncingBalls, .-BouncingBalls
	.globl	trap
	.type	trap, @function
trap:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 2
	jne	.L64
	call	endwin@PLT
	mov	edi, 0
	call	exit@PLT
.L64:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	trap, .-trap
	.section	.rodata
	.align 8
.LC21:
	.string	" PDCurses 3.4 - DOS, OS/2, Win32, X11, SDL"
	.align 8
.LC22:
	.string	"   Type a key to continue or ESC to quit  "
	.text
	.globl	main
	.type	main, @function
main:
.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, 448
	mov	DWORD PTR -436[rbp], edi
	mov	QWORD PTR -448[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	initscr@PLT
	mov	edi, 0
	call	time@PLT
	mov	DWORD PTR -400[rbp], eax
	mov	eax, DWORD PTR -400[rbp]
	mov	edi, eax
	call	srand@PLT
	call	start_color@PLT
	call	use_default_colors@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	lea	rsi, trap[rip]
	mov	edi, 2
	call	signal@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	DWORD PTR -396[rbp], 48
	mov	DWORD PTR -392[rbp], 15
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, DWORD PTR -396[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, DWORD PTR -392[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	esi, DWORD PTR -396[rbp]
	mov	eax, DWORD PTR -392[rbp]
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -368[rbp], rax
	cmp	QWORD PTR -368[rbp], 0
	jne	.L66
	call	endwin@PLT
	mov	eax, 1
	jmp	.L106
.L66:
	mov	edx, 4
	mov	esi, 7
	mov	edi, 1
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	werase@PLT
	mov	edx, 1
	mov	esi, 1
	mov	edi, 2
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR -368[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 32
	mov	ecx, 32
	mov	edx, 32
	mov	esi, 32
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	DWORD PTR -420[rbp], 97
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	mov	DWORD PTR -416[rbp], 0
	jmp	.L68
.L74:
	call	rand@PLT
	mov	edx, DWORD PTR -396[rbp]
	lea	ecx, -2[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	mov	DWORD PTR -388[rbp], eax
	call	rand@PLT
	mov	edx, DWORD PTR -392[rbp]
	lea	ecx, -2[rdx]
	cdq
	idiv	ecx
	mov	eax, edx
	add	eax, 1
	mov	DWORD PTR -384[rbp], eax
	mov	edx, DWORD PTR -388[rbp]
	mov	ecx, DWORD PTR -384[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L70
	mov	edx, DWORD PTR -420[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L70:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	cmp	eax, -1
	jne	.L108
	cmp	DWORD PTR -416[rbp], 2000
	jne	.L73
	mov	DWORD PTR -420[rbp], 98
	mov	edx, 3
	mov	esi, 6
	mov	edi, 3
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 768
	mov	rdi, rax
	call	wattrset@PLT
.L73:
	add	DWORD PTR -416[rbp], 1
.L68:
	cmp	DWORD PTR -416[rbp], 4999
	jle	.L74
	jmp	.L72
.L108:
	nop
.L72:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	nodelay@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	SubWinTest
	mov	edx, 2
	mov	esi, 3
	mov	edi, 4
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 2097152
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 512
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR -368[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 32
	mov	ecx, 32
	mov	edx, 32
	mov	esi, 32
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 2097152
	mov	rdi, rax
	call	wattrset@PLT
	mov	DWORD PTR -416[rbp], 0
	jmp	.L75
.L78:
	mov	eax, DWORD PTR -416[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 8
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L77
	mov	eax, DWORD PTR -416[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, AusMap[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, -1
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
.L77:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 100
	call	napms@PLT
	add	DWORD PTR -416[rbp], 1
.L75:
	mov	eax, DWORD PTR -416[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, AusMap[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L78
	mov	edx, 7
	mov	esi, 4
	mov	edi, 5
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 525568
	mov	rdi, rax
	call	wattrset@PLT
	mov	eax, DWORD PTR -392[rbp]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 3
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L80
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, -1
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L80:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edx, 7
	mov	esi, 0
	mov	edi, 6
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 1536
	mov	rdi, rax
	call	wattrset@PLT
	mov	eax, DWORD PTR -396[rbp]
	sub	eax, 2
	mov	DWORD PTR -380[rbp], eax
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	mov	DWORD PTR -412[rbp], 0
	jmp	.L81
.L90:
	mov	eax, DWORD PTR -412[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, messages[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -360[rbp], rax
	mov	rax, QWORD PTR -360[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -376[rbp], eax
	mov	eax, DWORD PTR -376[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -380[rbp]
	add	eax, edx
	mov	DWORD PTR -372[rbp], eax
	mov	eax, DWORD PTR -372[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -352[rbp], rax
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -352[rbp]
	add	rax, rdx
	mov	QWORD PTR -344[rbp], rax
	mov	DWORD PTR -408[rbp], 0
	mov	edx, DWORD PTR -380[rbp]
	mov	eax, DWORD PTR -376[rbp]
	add	eax, edx
	mov	DWORD PTR -404[rbp], eax
	jmp	.L82
.L87:
	mov	eax, DWORD PTR -380[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -344[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	memset@PLT
	mov	eax, DWORD PTR -376[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -404[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -352[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -360[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	eax, DWORD PTR -392[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 1
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L84
	mov	edx, DWORD PTR -380[rbp]
	mov	rcx, QWORD PTR -344[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	waddnstr@PLT
.L84:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wgetch@PLT
	cmp	eax, -1
	je	.L85
	call	flushinp@PLT
	mov	DWORD PTR -408[rbp], 1
	jmp	.L86
.L85:
	mov	edi, 100
	call	napms@PLT
	sub	DWORD PTR -404[rbp], 1
.L82:
	cmp	DWORD PTR -404[rbp], 0
	jg	.L87
.L86:
	mov	rax, QWORD PTR -352[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	DWORD PTR -408[rbp], 0
	jne	.L109
	add	DWORD PTR -412[rbp], 1
.L81:
	mov	eax, DWORD PTR -412[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, messages[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L90
	jmp	.L89
.L109:
	nop
.L89:
	mov	DWORD PTR -412[rbp], 0
	mov	edx, 2
	mov	esi, 1
	mov	edi, 7
	call	init_pair@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 0
	mov	esi, 1792
	mov	rdi, rax
	call	wattr_on@PLT
	mov	DWORD PTR -416[rbp], 2
	jmp	.L91
.L96:
	mov	edx, DWORD PTR -416[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L92
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	winch@PLT
	jmp	.L93
.L92:
	mov	eax, -1
.L93:
	mov	DWORD PTR -420[rbp], eax
	mov	eax, DWORD PTR -412[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -412[rbp], edx
	cdqe
	mov	edx, DWORD PTR -420[rbp]
	mov	DWORD PTR -336[rbp+rax*4], edx
	and	DWORD PTR -420[rbp], 127
	mov	edx, DWORD PTR -416[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L95
	mov	edx, DWORD PTR -420[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L95:
	add	DWORD PTR -416[rbp], 1
.L91:
	mov	eax, DWORD PTR -396[rbp]
	sub	eax, 4
	cmp	DWORD PTR -416[rbp], eax
	jl	.L96
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR -392[rbp]
	sub	eax, 2
	mov	DWORD PTR -416[rbp], eax
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 1280
	mov	rdi, rax
	call	wattrset@PLT
	mov	ecx, DWORD PTR -416[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, 3
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L98
	mov	rax, QWORD PTR -368[rbp]
	mov	edx, -1
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L98:
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	call	WaitForUser
	cmp	eax, 27
	je	.L110
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	DWORD PTR -416[rbp], 2
	mov	DWORD PTR -412[rbp], 0
	jmp	.L101
.L104:
	mov	edx, DWORD PTR -416[rbp]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, 5
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L103
	mov	eax, DWORD PTR -412[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -412[rbp], edx
	cdqe
	mov	edx, DWORD PTR -336[rbp+rax*4]
	mov	rax, QWORD PTR -368[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L103:
	add	DWORD PTR -416[rbp], 1
.L101:
	mov	eax, DWORD PTR -396[rbp]
	sub	eax, 4
	cmp	DWORD PTR -416[rbp], eax
	jl	.L104
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -368[rbp]
	mov	rdi, rax
	call	BouncingBalls
	call	WaitForUser
	cmp	eax, 27
	je	.L111
	jmp	.L66
.L110:
	nop
	jmp	.L100
.L111:
	nop
.L100:
	call	endwin@PLT
	mov	eax, 0
.L106:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L107
	call	__stack_chk_fail@PLT
.L107:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.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	"459658.c"
	.text
	.global	AusMap
	.section	.rodata
	.align	2
.LC0:
	.ascii	"                       A \000"
	.align	2
.LC1:
	.ascii	"           AA         AA \000"
	.align	2
.LC2:
	.ascii	"    N.T. AAAAA       AAAA \000"
	.align	2
.LC3:
	.ascii	"     AAAAAAAAAAA  AAAAAAAA \000"
	.align	2
.LC4:
	.ascii	"   AAAAAAAAAAAAAAAAAAAAAAAAA Qld.\000"
	.align	2
.LC5:
	.ascii	" AAAAAAAAAAAAAAAAAAAAAAAAAAAA \000"
	.align	2
.LC6:
	.ascii	" AAAAAAAAAAAAAAAAAAAAAAAAAAAAA \000"
	.align	2
.LC7:
	.ascii	"   AAAAAAAAAAAAAAAAAAAAAAAAA N.S.W.\000"
	.align	2
.LC8:
	.ascii	"W.A. AAAAAAAAA      AAAAAA Vic.\000"
	.align	2
.LC9:
	.ascii	"       AAA   S.A.     AA\000"
	.align	2
.LC10:
	.ascii	"                       A  Tas.\000"
	.align	2
.LC11:
	.ascii	"\000"
	.data
	.align	2
	.type	AusMap, %object
	.size	AusMap, 68
AusMap:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC5
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.space	16
	.global	messages
	.section	.rodata
	.align	2
.LC12:
	.ascii	"Hello from the Land Down Under\000"
	.align	2
.LC13:
	.ascii	"The Land of crocs, and a big Red Rock\000"
	.align	2
.LC14:
	.ascii	"Where the sunflower runs along the highways\000"
	.align	2
.LC15:
	.ascii	"The dusty red roads lead one to loneliness\000"
	.align	2
.LC16:
	.ascii	"Blue sky in the morning and\000"
	.align	2
.LC17:
	.ascii	"Freezing nights and twinkling stars\000"
	.data
	.align	2
	.type	messages, %object
	.size	messages, 28
messages:
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	0
	.text
	.align	2
	.global	WaitForUser
	.syntax unified
	.arm
	.fpu softvfp
	.type	WaitForUser, %function
WaitForUser:
	@ 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, .L5
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	mov	r0, #50
	bl	halfdelay
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	nodelay
	bl	nocbreak
	bl	cbreak
	ldr	r3, [fp, #-8]
	cmp	r3, #27
	bne	.L2
	mov	r3, #27
	b	.L4
.L2:
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	stdscr
	.size	WaitForUser, .-WaitForUser
	.section	.rodata
	.align	2
.LC18:
	.ascii	"Sub-window 1\000"
	.align	2
.LC19:
	.ascii	"Sub-window 2\000"
	.align	2
.LC20:
	.ascii	"Sub-window 3\000"
	.text
	.align	2
	.global	SubWinTest
	.syntax unified
	.arm
	.fpu softvfp
	.type	SubWinTest, %function
SubWinTest:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	mov	r1, #0
	ldr	r0, [fp, #-48]
	bl	wattrset
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L9
.L8:
	mvn	r3, #0
.L9:
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L11
.L10:
	mvn	r3, #0
.L11:
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #8]
	b	.L13
.L12:
	mvn	r3, #0
.L13:
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-48]
	ldrsh	r3, [r3, #10]
	b	.L15
.L14:
	mvn	r3, #0
.L15:
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	ldr	r2, .L26
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r2, .L26
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	mov	r3, #5
	str	r3, [sp]
	mov	r3, #3
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	derwin
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L16
	mov	r3, #1
	b	.L17
.L16:
	ldr	r3, [fp, #-32]
	add	r2, r3, #4
	ldr	r3, [fp, #-28]
	add	r3, r3, #8
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	subwin
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L18
	mov	r3, #1
	b	.L17
.L18:
	ldr	r3, [fp, #-32]
	add	r2, r3, #5
	ldr	r3, [fp, #-28]
	add	r3, r3, #11
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-48]
	bl	subwin
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	mov	r3, #1
	b	.L17
.L19:
	mov	r2, #4
	mov	r1, #1
	mov	r0, #8
	bl	init_pair
	mov	r1, #2048
	ldr	r0, [fp, #-16]
	bl	wbkgd
	ldr	r0, [fp, #-16]
	bl	werase
	mov	r2, #3
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L21
	mvn	r2, #0
	ldr	r1, .L26+4
	ldr	r0, [fp, #-16]
	bl	waddnstr
.L21:
	ldr	r0, [fp, #-16]
	bl	wrefresh
	mov	r2, #5
	mov	r1, #6
	mov	r0, #9
	bl	init_pair
	mov	r1, #2304
	ldr	r0, [fp, #-12]
	bl	wbkgd
	ldr	r0, [fp, #-12]
	bl	werase
	mov	r2, #3
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L23
	mvn	r2, #0
	ldr	r1, .L26+8
	ldr	r0, [fp, #-12]
	bl	waddnstr
.L23:
	ldr	r0, [fp, #-12]
	bl	wrefresh
	mov	r2, #2
	mov	r1, #3
	mov	r0, #10
	bl	init_pair
	mov	r1, #2560
	ldr	r0, [fp, #-8]
	bl	wbkgd
	ldr	r0, [fp, #-8]
	bl	werase
	mov	r2, #3
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L25
	mvn	r2, #0
	ldr	r1, .L26+12
	ldr	r0, [fp, #-8]
	bl	waddnstr
.L25:
	ldr	r0, [fp, #-8]
	bl	wrefresh
	ldr	r0, [fp, #-16]
	bl	delwin
	ldr	r0, [fp, #-12]
	bl	delwin
	ldr	r0, [fp, #-8]
	bl	delwin
	bl	WaitForUser
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	1431655766
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	SubWinTest, .-SubWinTest
	.global	__aeabi_idivmod
	.align	2
	.global	BouncingBalls
	.syntax unified
	.arm
	.fpu softvfp
	.type	BouncingBalls, %function
BouncingBalls:
	@ 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]
	mov	r0, #0
	bl	curs_set
	mov	r1, #256
	ldr	r0, [fp, #-96]
	bl	wbkgd
	ldr	r0, [fp, #-96]
	bl	wrefresh
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	wattrset
	mov	r2, #2
	mov	r1, #1
	mov	r0, #11
	bl	init_pair
	mov	r2, #1
	mov	r1, #4
	mov	r0, #12
	bl	init_pair
	mov	r2, #7
	mov	r1, #3
	mov	r0, #13
	bl	init_pair
	ldr	r3, .L66
	str	r3, [fp, #-40]
	ldr	r3, .L66+4
	str	r3, [fp, #-36]
	mov	r3, #3392
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L29
	ldr	r3, [fp, #-96]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L30
.L29:
	mvn	r3, #0
.L30:
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-96]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L32
.L31:
	mvn	r3, #0
.L32:
	str	r3, [fp, #-24]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-24]
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-88]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-28]
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-84]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-24]
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-72]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-28]
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-68]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-24]
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-56]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-28]
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-80]
	mov	r3, #1
	str	r3, [fp, #-76]
	mov	r3, #1
	str	r3, [fp, #-64]
	mvn	r3, #0
	str	r3, [fp, #-60]
	mvn	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #1
	str	r3, [fp, #-44]
	ldr	r3, .L66+8
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	b	.L33
.L64:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-88]
	cmp	r3, #1
	ble	.L34
	ldr	r3, [fp, #-24]
	sub	r3, r3, #2
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	blt	.L35
.L34:
	ldr	r3, [fp, #-80]
	rsb	r3, r3, #0
	str	r3, [fp, #-80]
.L35:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	ble	.L36
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L37
.L36:
	ldr	r3, [fp, #-76]
	rsb	r3, r3, #0
	str	r3, [fp, #-76]
.L37:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-64]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	ble	.L38
	ldr	r3, [fp, #-24]
	sub	r3, r3, #2
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L39
.L38:
	ldr	r3, [fp, #-64]
	rsb	r3, r3, #0
	str	r3, [fp, #-64]
.L39:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-60]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #1
	ble	.L40
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	ldr	r2, [fp, #-68]
	cmp	r2, r3
	blt	.L41
.L40:
	ldr	r3, [fp, #-60]
	rsb	r3, r3, #0
	str	r3, [fp, #-60]
.L41:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	ble	.L42
	ldr	r3, [fp, #-24]
	sub	r3, r3, #2
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L43
.L42:
	ldr	r3, [fp, #-48]
	rsb	r3, r3, #0
	str	r3, [fp, #-48]
.L43:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #1
	ble	.L44
	ldr	r3, [fp, #-28]
	sub	r3, r3, #2
	ldr	r2, [fp, #-52]
	cmp	r2, r3
	blt	.L45
.L44:
	ldr	r3, [fp, #-44]
	rsb	r3, r3, #0
	str	r3, [fp, #-44]
.L45:
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L46
	ldr	r0, [fp, #-96]
	bl	winch
	mov	r3, r0
	b	.L47
.L46:
	mvn	r3, #0
.L47:
	str	r3, [fp, #-16]
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L48
	ldr	r0, [fp, #-96]
	bl	winch
	mov	r3, r0
	b	.L49
.L48:
	mvn	r3, #0
.L49:
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L50
	ldr	r0, [fp, #-96]
	bl	winch
	mov	r3, r0
	b	.L51
.L50:
	mvn	r3, #0
.L51:
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L53
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-96]
	bl	waddch
.L53:
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L55
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-96]
	bl	waddch
.L55:
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L57
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-96]
	bl	waddch
.L57:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-96]
	bl	wmove
	ldr	r0, [fp, #-96]
	bl	wrefresh
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L59
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-96]
	bl	waddch
.L59:
	ldr	r2, [fp, #-72]
	ldr	r1, [fp, #-68]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L61
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-96]
	bl	waddch
.L61:
	ldr	r2, [fp, #-56]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-96]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L63
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-96]
	bl	waddch
.L63:
	mov	r0, #150
	bl	napms
.L33:
	ldr	r3, .L66+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmn	r3, #1
	beq	.L64
	ldr	r3, .L66+8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	nodelay
	ldr	r0, [fp, #-20]
	bl	ungetch
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	2895
	.word	3114
	.word	stdscr
	.size	BouncingBalls, .-BouncingBalls
	.align	2
	.global	trap
	.syntax unified
	.arm
	.fpu softvfp
	.type	trap, %function
trap:
	@ 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]
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L70
	bl	endwin
	mov	r0, #0
	bl	exit
.L70:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	trap, .-trap
	.section	.rodata
	.align	2
.LC21:
	.ascii	" PDCurses 3.4 - DOS, OS/2, Win32, X11, SDL\000"
	.align	2
.LC22:
	.ascii	"   Type a key to continue or ESC to quit  \000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 400
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #424
	str	r0, [fp, #-400]
	str	r1, [fp, #-404]
	ldr	r3, .L118
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	initscr
	mov	r0, #0
	bl	time
	str	r0, [fp, #-376]
	ldr	r3, [fp, #-376]
	mov	r0, r3
	bl	srand
	bl	start_color
	bl	use_default_colors
	bl	cbreak
	bl	noecho
	mov	r0, #0
	bl	curs_set
	ldr	r1, .L118+4
	mov	r0, #2
	bl	signal
	bl	noecho
	ldr	r3, .L118+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	mov	r3, #48
	str	r3, [fp, #-372]
	mov	r3, #15
	str	r3, [fp, #-368]
	ldr	r3, .L118+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-368]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L118+16
	ldr	r2, [r3]
	ldr	r3, [fp, #-372]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r1
	ldr	r1, [fp, #-372]
	ldr	r0, [fp, #-368]
	bl	newwin
	str	r0, [fp, #-364]
	ldr	r3, [fp, #-364]
	cmp	r3, #0
	bne	.L72
	bl	endwin
	mov	r3, #1
	b	.L112
.L72:
	mov	r2, #4
	mov	r1, #7
	mov	r0, #1
	bl	init_pair
	mov	r1, #256
	ldr	r0, [fp, #-364]
	bl	wbkgd
	ldr	r0, [fp, #-364]
	bl	werase
	mov	r2, #1
	mov	r1, #1
	mov	r0, #2
	bl	init_pair
	mov	r1, #512
	ldr	r0, [fp, #-364]
	bl	wattrset
	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, #32
	str	r3, [sp]
	mov	r3, #32
	mov	r2, #32
	mov	r1, #32
	ldr	r0, [fp, #-364]
	bl	wborder
	ldr	r0, [fp, #-364]
	bl	wrefresh
	mov	r1, #0
	ldr	r0, [fp, #-364]
	bl	wattrset
	mov	r3, #97
	str	r3, [fp, #-396]
	ldr	r3, .L118+8
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	mov	r3, #0
	str	r3, [fp, #-392]
	b	.L74
.L80:
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-372]
	sub	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	str	r3, [fp, #-360]
	bl	rand
	mov	r2, r0
	ldr	r3, [fp, #-368]
	sub	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #1
	str	r3, [fp, #-356]
	ldr	r2, [fp, #-360]
	ldr	r1, [fp, #-356]
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L76
	ldr	r1, [fp, #-396]
	ldr	r0, [fp, #-364]
	bl	waddch
.L76:
	ldr	r0, [fp, #-364]
	bl	wrefresh
	ldr	r3, .L118+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	cmn	r3, #1
	bne	.L114
	ldr	r3, [fp, #-392]
	cmp	r3, #2000
	bne	.L79
	mov	r3, #98
	str	r3, [fp, #-396]
	mov	r2, #3
	mov	r1, #6
	mov	r0, #3
	bl	init_pair
	mov	r1, #768
	ldr	r0, [fp, #-364]
	bl	wattrset
.L79:
	ldr	r3, [fp, #-392]
	add	r3, r3, #1
	str	r3, [fp, #-392]
.L74:
	ldr	r3, [fp, #-392]
	ldr	r2, .L118+20
	cmp	r3, r2
	ble	.L80
	b	.L78
.L114:
	nop
.L78:
	ldr	r3, .L118+8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	nodelay
	ldr	r0, [fp, #-364]
	bl	SubWinTest
	mov	r2, #2
	mov	r1, #3
	mov	r0, #4
	bl	init_pair
	mov	r1, #1024
	ldr	r0, [fp, #-364]
	bl	wbkgd
	mov	r1, #2097152
	ldr	r0, [fp, #-364]
	bl	wattrset
	ldr	r0, [fp, #-364]
	bl	werase
	ldr	r0, [fp, #-364]
	bl	wrefresh
	mov	r1, #512
	ldr	r0, [fp, #-364]
	bl	wattrset
	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, #32
	str	r3, [sp]
	mov	r3, #32
	mov	r2, #32
	mov	r1, #32
	ldr	r0, [fp, #-364]
	bl	wborder
	ldr	r0, [fp, #-364]
	bl	wrefresh
	mov	r1, #2097152
	ldr	r0, [fp, #-364]
	bl	wattrset
	mov	r3, #0
	str	r3, [fp, #-392]
	b	.L81
.L84:
	ldr	r3, [fp, #-392]
	add	r3, r3, #1
	mov	r2, #8
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L83
	ldr	r2, .L118+24
	ldr	r3, [fp, #-392]
	ldr	r3, [r2, r3, lsl #2]
	mvn	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	waddnstr
.L83:
	ldr	r0, [fp, #-364]
	bl	wrefresh
	mov	r0, #100
	bl	napms
	ldr	r3, [fp, #-392]
	add	r3, r3, #1
	str	r3, [fp, #-392]
.L81:
	ldr	r2, .L118+24
	ldr	r3, [fp, #-392]
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L84
	mov	r2, #7
	mov	r1, #4
	mov	r0, #5
	bl	init_pair
	ldr	r1, .L118+28
	ldr	r0, [fp, #-364]
	bl	wattrset
	ldr	r3, [fp, #-368]
	sub	r3, r3, #2
	mov	r2, #3
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L86
	mvn	r2, #0
	ldr	r1, .L118+32
	ldr	r0, [fp, #-364]
	bl	waddnstr
.L86:
	ldr	r0, [fp, #-364]
	bl	wrefresh
	mov	r2, #7
	mov	r1, #0
	mov	r0, #6
	bl	init_pair
	mov	r1, #1536
	ldr	r0, [fp, #-364]
	bl	wattrset
	ldr	r3, [fp, #-372]
	sub	r3, r3, #2
	str	r3, [fp, #-352]
	mov	r1, #1
	ldr	r0, [fp, #-364]
	bl	nodelay
	mov	r3, #0
	str	r3, [fp, #-388]
	b	.L87
.L96:
	ldr	r2, .L118+36
	ldr	r3, [fp, #-388]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-348]
	ldr	r0, [fp, #-348]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-344]
	ldr	r3, [fp, #-344]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-352]
	add	r3, r2, r3
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-340]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-336]
	ldr	r3, [fp, #-344]
	ldr	r2, [fp, #-336]
	add	r3, r2, r3
	str	r3, [fp, #-332]
	mov	r3, #0
	str	r3, [fp, #-384]
	ldr	r2, [fp, #-352]
	ldr	r3, [fp, #-344]
	add	r3, r2, r3
	str	r3, [fp, #-380]
	b	.L88
.L93:
	ldr	r3, [fp, #-352]
	mov	r2, r3
	mov	r1, #32
	ldr	r0, [fp, #-332]
	bl	memset
	ldr	r3, [fp, #-380]
	ldr	r2, [fp, #-336]
	add	r3, r2, r3
	ldr	r2, [fp, #-344]
	ldr	r1, [fp, #-348]
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-368]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L90
	ldr	r2, [fp, #-352]
	ldr	r1, [fp, #-332]
	ldr	r0, [fp, #-364]
	bl	waddnstr
.L90:
	ldr	r0, [fp, #-364]
	bl	wrefresh
	ldr	r0, [fp, #-364]
	bl	wgetch
	mov	r3, r0
	cmn	r3, #1
	beq	.L91
	bl	flushinp
	mov	r3, #1
	str	r3, [fp, #-384]
	b	.L92
.L91:
	mov	r0, #100
	bl	napms
	ldr	r3, [fp, #-380]
	sub	r3, r3, #1
	str	r3, [fp, #-380]
.L88:
	ldr	r3, [fp, #-380]
	cmp	r3, #0
	bgt	.L93
.L92:
	ldr	r0, [fp, #-336]
	bl	free
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L115
	ldr	r3, [fp, #-388]
	add	r3, r3, #1
	str	r3, [fp, #-388]
.L87:
	ldr	r2, .L118+36
	ldr	r3, [fp, #-388]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L96
	b	.L95
.L115:
	nop
.L95:
	mov	r3, #0
	str	r3, [fp, #-388]
	mov	r2, #2
	mov	r1, #1
	mov	r0, #7
	bl	init_pair
	mov	r2, #0
	mov	r1, #1792
	ldr	r0, [fp, #-364]
	bl	wattr_on
	mov	r3, #2
	str	r3, [fp, #-392]
	b	.L97
.L102:
	ldr	r2, [fp, #-392]
	mov	r1, #5
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L98
	ldr	r0, [fp, #-364]
	bl	winch
	mov	r3, r0
	b	.L99
.L98:
	mvn	r3, #0
.L99:
	str	r3, [fp, #-396]
	ldr	r3, [fp, #-388]
	add	r2, r3, #1
	str	r2, [fp, #-388]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-396]
	str	r2, [r3, #-324]
	ldr	r3, [fp, #-396]
	and	r3, r3, #127
	str	r3, [fp, #-396]
	ldr	r2, [fp, #-392]
	mov	r1, #5
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L101
	ldr	r1, [fp, #-396]
	ldr	r0, [fp, #-364]
	bl	waddch
.L101:
	ldr	r3, [fp, #-392]
	add	r3, r3, #1
	str	r3, [fp, #-392]
.L97:
	ldr	r3, [fp, #-372]
	sub	r3, r3, #4
	ldr	r2, [fp, #-392]
	cmp	r2, r3
	blt	.L102
	ldr	r0, [fp, #-364]
	bl	wrefresh
	ldr	r3, [fp, #-368]
	sub	r3, r3, #2
	str	r3, [fp, #-392]
	mov	r1, #1280
	ldr	r0, [fp, #-364]
	bl	wattrset
	mov	r2, #3
	ldr	r1, [fp, #-392]
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L104
	mvn	r2, #0
	ldr	r1, .L118+40
	ldr	r0, [fp, #-364]
	bl	waddnstr
.L104:
	ldr	r0, [fp, #-364]
	bl	wrefresh
	bl	WaitForUser
	mov	r3, r0
	cmp	r3, #27
	beq	.L116
	mov	r1, #0
	ldr	r0, [fp, #-364]
	bl	wattrset
	mov	r3, #2
	str	r3, [fp, #-392]
	mov	r3, #0
	str	r3, [fp, #-388]
	b	.L107
.L110:
	ldr	r2, [fp, #-392]
	mov	r1, #5
	ldr	r0, [fp, #-364]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L109
	ldr	r3, [fp, #-388]
	add	r2, r3, #1
	str	r2, [fp, #-388]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-324]
	mov	r1, r3
	ldr	r0, [fp, #-364]
	bl	waddch
.L109:
	ldr	r3, [fp, #-392]
	add	r3, r3, #1
	str	r3, [fp, #-392]
.L107:
	ldr	r3, [fp, #-372]
	sub	r3, r3, #4
	ldr	r2, [fp, #-392]
	cmp	r2, r3
	blt	.L110
	ldr	r0, [fp, #-364]
	bl	wrefresh
	ldr	r0, [fp, #-364]
	bl	BouncingBalls
	bl	WaitForUser
	mov	r3, r0
	cmp	r3, #27
	beq	.L117
	b	.L72
.L116:
	nop
	b	.L106
.L117:
	nop
.L106:
	bl	endwin
	mov	r3, #0
.L112:
	ldr	r2, .L118
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L113
	bl	__stack_chk_fail
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L119:
	.align	2
.L118:
	.word	.LC23
	.word	trap
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	4999
	.word	AusMap
	.word	525568
	.word	.LC21
	.word	messages
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
