	.file	"691857.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4032
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -8040[rbp]
	mov	rdi, rax
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	initscr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	call	noecho@PLT
	call	cbreak@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 50
	mov	rdi, rax
	call	wtimeout@PLT
	mov	BYTE PTR -8118[rbp], 97
	mov	BYTE PTR -8117[rbp], 97
	mov	DWORD PTR -8068[rbp], 0
	mov	DWORD PTR -8064[rbp], 20
	mov	DWORD PTR -8060[rbp], 50
	mov	DWORD PTR -8056[rbp], 10
	mov	eax, DWORD PTR -8056[rbp]
	mov	DWORD PTR -8052[rbp], eax
	mov	ecx, DWORD PTR -8056[rbp]
	mov	edx, DWORD PTR -8052[rbp]
	mov	esi, DWORD PTR -8060[rbp]
	mov	eax, DWORD PTR -8064[rbp]
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -8032[rbp], rax
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 4
	mov	edi, 4
	call	newwin@PLT
	mov	QWORD PTR -8024[rbp], rax
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -8032[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -8032[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR -8052[rbp]
	add	eax, 1
	mov	DWORD PTR -8112[rbp], eax
	mov	edx, DWORD PTR -8056[rbp]
	mov	eax, DWORD PTR -8064[rbp]
	add	eax, edx
	sub	eax, 5
	mov	DWORD PTR -8048[rbp], eax
	mov	DWORD PTR -8104[rbp], 0
.L40:
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -8044[rbp], eax
	mov	ecx, DWORD PTR -8044[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -8044[rbp], edx
	mov	DWORD PTR -8104[rbp], 0
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	BYTE PTR -8118[rbp], al
	cmp	DWORD PTR -8044[rbp], 1
	je	.L2
	cmp	DWORD PTR -8044[rbp], 5
	je	.L2
	cmp	DWORD PTR -8044[rbp], 7
	jne	.L38
.L2:
	mov	DWORD PTR -8100[rbp], 0
	jmp	.L4
.L7:
	mov	DWORD PTR -8096[rbp], 0
	jmp	.L5
.L6:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 4
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 50
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR -8096[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -8100[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR -8016[rbp+rax*4], edx
	add	DWORD PTR -8096[rbp], 1
.L5:
	cmp	DWORD PTR -8096[rbp], 99
	jle	.L6
	add	DWORD PTR -8100[rbp], 1
.L4:
	cmp	DWORD PTR -8100[rbp], 19
	jle	.L7
	mov	DWORD PTR -8092[rbp], 2
	jmp	.L8
.L13:
	mov	DWORD PTR -8088[rbp], 2
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -8092[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -8016[rbp+rax*4]
	cmp	eax, 5
	je	.L10
	mov	eax, DWORD PTR -8092[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8088[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -8016[rbp+rax*4]
	cmp	eax, 15
	jne	.L11
.L10:
	mov	edx, DWORD PTR -8092[rbp]
	mov	ecx, DWORD PTR -8088[rbp]
	mov	rax, QWORD PTR -8032[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	edx, DWORD PTR acs_map[rip+192]
	mov	rax, QWORD PTR -8032[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR -8032[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
.L11:
	add	DWORD PTR -8088[rbp], 1
.L9:
	cmp	DWORD PTR -8088[rbp], 3
	jle	.L12
	add	DWORD PTR -8092[rbp], 1
.L8:
	cmp	DWORD PTR -8092[rbp], 47
	jle	.L13
.L38:
	mov	DWORD PTR -8084[rbp], 2
	jmp	.L14
.L19:
	mov	DWORD PTR -8080[rbp], 2
	jmp	.L15
.L18:
	mov	edx, DWORD PTR -8080[rbp]
	mov	eax, DWORD PTR -8104[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -8056[rbp]
	mov	eax, DWORD PTR -8064[rbp]
	add	eax, ecx
	sub	eax, 11
	cmp	edx, eax
	jge	.L16
	mov	eax, DWORD PTR -8084[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8080[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -8016[rbp+rax*4]
	cmp	eax, 5
	je	.L17
	mov	eax, DWORD PTR -8084[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8080[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -8016[rbp+rax*4]
	cmp	eax, 15
	jne	.L16
.L17:
	mov	edx, DWORD PTR -8080[rbp]
	mov	eax, DWORD PTR -8104[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -8084[rbp]
	mov	rax, QWORD PTR -8032[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	edx, DWORD PTR acs_map[rip+192]
	mov	rax, QWORD PTR -8032[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR -8032[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
.L16:
	add	DWORD PTR -8080[rbp], 1
.L15:
	cmp	DWORD PTR -8080[rbp], 3
	jle	.L18
	add	DWORD PTR -8084[rbp], 1
.L14:
	cmp	DWORD PTR -8084[rbp], 47
	jle	.L19
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -8108[rbp], eax
	cmp	DWORD PTR -8108[rbp], 261
	je	.L20
	cmp	DWORD PTR -8108[rbp], 261
	jg	.L21
	cmp	DWORD PTR -8108[rbp], 112
	je	.L22
	cmp	DWORD PTR -8108[rbp], 260
	je	.L23
	jmp	.L21
.L20:
	mov	edx, DWORD PTR -8052[rbp]
	mov	eax, DWORD PTR -8060[rbp]
	add	eax, edx
	sub	eax, 10
	cmp	DWORD PTR -8112[rbp], eax
	jge	.L24
	mov	DWORD PTR -8116[rbp], 3
	jmp	.L26
.L24:
	mov	DWORD PTR -8116[rbp], 0
	jmp	.L26
.L23:
	mov	eax, DWORD PTR -8052[rbp]
	add	eax, 1
	cmp	DWORD PTR -8112[rbp], eax
	jle	.L27
	mov	DWORD PTR -8116[rbp], -3
	jmp	.L26
.L27:
	mov	DWORD PTR -8116[rbp], 0
	jmp	.L26
.L22:
	mov	DWORD PTR -8108[rbp], 97
	jmp	.L29
.L30:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -8108[rbp], eax
.L29:
	cmp	DWORD PTR -8108[rbp], 112
	je	.L21
	cmp	DWORD PTR -8108[rbp], 113
	jne	.L30
.L21:
	mov	DWORD PTR -8116[rbp], 0
.L26:
	mov	eax, DWORD PTR -8116[rbp]
	add	DWORD PTR -8112[rbp], eax
	mov	rax, QWORD PTR -8024[rbp]
	mov	rdi, rax
	call	werase@PLT
	mov	rax, QWORD PTR -8024[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edx, DWORD PTR -8112[rbp]
	mov	ecx, DWORD PTR -8048[rbp]
	mov	rax, QWORD PTR -8024[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -8024[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -8024[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	DWORD PTR -8076[rbp], 2
	jmp	.L31
.L36:
	mov	DWORD PTR -8072[rbp], 2
	jmp	.L32
.L35:
	mov	edx, DWORD PTR -8072[rbp]
	mov	eax, DWORD PTR -8104[rbp]
	add	edx, eax
	mov	ecx, DWORD PTR -8056[rbp]
	mov	eax, DWORD PTR -8064[rbp]
	add	eax, ecx
	sub	eax, 11
	cmp	edx, eax
	jge	.L33
	mov	eax, DWORD PTR -8076[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8072[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -8016[rbp+rax*4]
	cmp	eax, 5
	je	.L34
	mov	eax, DWORD PTR -8076[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8072[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR -8016[rbp+rax*4]
	cmp	eax, 15
	jne	.L33
.L34:
	mov	rax, QWORD PTR -8032[rbp]
	mov	edx, 0
	mov	esi, 8388608
	mov	rdi, rax
	call	wattr_on@PLT
	mov	edx, DWORD PTR -8072[rbp]
	mov	eax, DWORD PTR -8104[rbp]
	lea	ecx, [rdx+rax]
	mov	edx, DWORD PTR -8076[rbp]
	mov	rax, QWORD PTR -8032[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	edx, DWORD PTR acs_map[rip+192]
	mov	rax, QWORD PTR -8032[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
	mov	rax, QWORD PTR -8032[rbp]
	mov	edx, 0
	mov	esi, 8388608
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR -8032[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
.L33:
	add	DWORD PTR -8072[rbp], 1
.L32:
	cmp	DWORD PTR -8072[rbp], 3
	jle	.L35
	add	DWORD PTR -8076[rbp], 1
.L31:
	cmp	DWORD PTR -8076[rbp], 47
	jle	.L36
	add	DWORD PTR -8104[rbp], 1
	cmp	DWORD PTR -8104[rbp], 19
	jg	.L37
	cmp	DWORD PTR -8108[rbp], 113
	jne	.L38
.L37:
	cmp	BYTE PTR -8118[rbp], 113
	je	.L39
	cmp	DWORD PTR -8108[rbp], 113
	jne	.L40
.L39:
	call	endwin@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"691857.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8064
	sub	sp, sp, #60
	ldr	r3, .L43
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8064
	sub	r3, r3, #12
	sub	r3, r3, #28
	mov	r0, r3
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	initscr
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	bl	noecho
	bl	cbreak
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r1, #50
	mov	r0, r3
	bl	wtimeout
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #97
	strb	r2, [r3, #-3998]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #97
	strb	r2, [r3, #-3997]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3944]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #20
	str	r3, [r2, #-3940]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #50
	str	r3, [r2, #-3936]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #10
	str	r3, [r2, #-3932]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3932]
	str	r3, [r2, #-3928]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	sub	r0, fp, #4096
	sub	r0, r0, #12
	ldr	r3, [r3, #-3932]
	ldr	r2, [r2, #-3928]
	ldr	r1, [r1, #-3936]
	ldr	r0, [r0, #-3940]
	bl	newwin
	str	r0, [r4, #-3924]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	mov	r3, #0
	mov	r2, #0
	mov	r1, #4
	mov	r0, #4
	bl	newwin
	str	r0, [r4, #-3920]
	mov	r0, #0
	bl	curs_set
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	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, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r0, #-3924]
	bl	wborder
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3924]
	bl	wrefresh
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3928]
	add	r3, r3, #1
	str	r3, [r2, #-3988]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3932]
	ldr	r3, [r3, #-3940]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r3, r3, #5
	str	r3, [r2, #-3916]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3980]
.L40:
	bl	rand
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	ldr	r3, .L43+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [r0, #-3912]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3980]
	ldr	r3, .L43+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	strb	r2, [r3, #-3998]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3912]
	cmp	r3, #1
	beq	.L2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3912]
	cmp	r3, #5
	beq	.L2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3912]
	cmp	r3, #7
	bne	.L38
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3976]
	b	.L4
.L7:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3972]
	b	.L5
.L6:
	bl	rand
	mov	r1, r0
	ldr	r3, .L43+12
	smull	r2, r3, r1, r3
	asr	r2, r3, #4
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-3976]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r1, fp, #4096
	sub	r1, r1, #12
	ldr	r1, [r1, #-3972]
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r2, [r3, #-3908]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3972]
	add	r3, r3, #1
	str	r3, [r2, #-3972]
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3972]
	cmp	r3, #99
	ble	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3976]
	add	r3, r3, #1
	str	r3, [r2, #-3976]
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3976]
	cmp	r3, #19
	ble	.L7
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3968]
	b	.L8
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3964]
	b	.L9
.L12:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3964]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3968]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3908]
	cmp	r3, #5
	beq	.L10
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3964]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3968]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3908]
	cmp	r3, #15
	bne	.L11
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3968]
	ldr	r1, [r1, #-3964]
	ldr	r0, [r3, #-3924]
	bl	wmove
	ldr	r3, .L43+16
	ldr	r3, [r3, #192]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-3924]
	bl	waddch
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3924]
	bl	wrefresh
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3964]
	add	r3, r3, #1
	str	r3, [r2, #-3964]
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3964]
	cmp	r3, #3
	ble	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3968]
	add	r3, r3, #1
	str	r3, [r2, #-3968]
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3968]
	cmp	r3, #47
	ble	.L13
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3960]
	b	.L14
.L19:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3956]
	b	.L15
.L18:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3956]
	ldr	r3, [r3, #-3980]
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r1, #-3932]
	ldr	r3, [r3, #-3940]
	add	r3, r1, r3
	sub	r3, r3, #11
	cmp	r2, r3
	bge	.L16
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3956]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3960]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3908]
	cmp	r3, #5
	beq	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3956]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3960]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3908]
	cmp	r3, #15
	bne	.L16
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3956]
	ldr	r3, [r3, #-3980]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-3960]
	mov	r1, r3
	ldr	r0, [r0, #-3924]
	bl	wmove
	ldr	r3, .L43+16
	ldr	r3, [r3, #192]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-3924]
	bl	waddch
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3924]
	bl	wrefresh
.L16:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3956]
	add	r3, r3, #1
	str	r3, [r2, #-3956]
.L15:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3956]
	cmp	r3, #3
	ble	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3960]
	add	r3, r3, #1
	str	r3, [r2, #-3960]
.L14:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3960]
	cmp	r3, #47
	ble	.L19
	ldr	r3, .L43+4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	wgetch
	str	r0, [r4, #-3984]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	ldr	r2, .L43+20
	cmp	r3, r2
	beq	.L20
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	ldr	r2, .L43+20
	cmp	r3, r2
	bgt	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #112
	beq	.L22
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #260
	beq	.L23
	b	.L21
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3928]
	ldr	r3, [r3, #-3936]
	add	r3, r2, r3
	sub	r3, r3, #10
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3988]
	cmp	r2, r3
	bge	.L24
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #3
	str	r3, [r2, #-3992]
	b	.L26
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3992]
	b	.L26
.L23:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3928]
	add	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3988]
	cmp	r2, r3
	ble	.L27
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #2
	str	r3, [r2, #-3992]
	b	.L26
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3992]
	b	.L26
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #97
	str	r3, [r2, #-3984]
	b	.L29
.L30:
	ldr	r3, .L43+4
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	wgetch
	str	r0, [r4, #-3984]
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #112
	beq	.L21
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #113
	bne	.L30
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3992]
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3988]
	ldr	r3, [r3, #-3992]
	add	r3, r2, r3
	str	r3, [r1, #-3988]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3920]
	bl	werase
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3920]
	bl	wrefresh
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3988]
	ldr	r1, [r1, #-3916]
	ldr	r0, [r3, #-3920]
	bl	mvwin
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	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, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r0, #-3920]
	bl	wborder
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3920]
	bl	wrefresh
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3952]
	b	.L31
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-3948]
	b	.L32
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3948]
	ldr	r3, [r3, #-3980]
	add	r2, r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r1, #-3932]
	ldr	r3, [r3, #-3940]
	add	r3, r1, r3
	sub	r3, r3, #11
	cmp	r2, r3
	bge	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3948]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3952]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3908]
	cmp	r3, #5
	beq	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3948]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-3952]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3908]
	cmp	r3, #15
	bne	.L33
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #8388608
	ldr	r0, [r3, #-3924]
	bl	wattr_on
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-3948]
	ldr	r3, [r3, #-3980]
	add	r3, r2, r3
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-3952]
	mov	r1, r3
	ldr	r0, [r0, #-3924]
	bl	wmove
	ldr	r3, .L43+16
	ldr	r3, [r3, #192]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-3924]
	bl	waddch
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #8388608
	ldr	r0, [r3, #-3924]
	bl	wattr_off
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-3924]
	bl	wrefresh
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	add	r3, r3, #1
	str	r3, [r2, #-3948]
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3948]
	cmp	r3, #3
	ble	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3952]
	add	r3, r3, #1
	str	r3, [r2, #-3952]
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3952]
	cmp	r3, #47
	ble	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3980]
	add	r3, r3, #1
	str	r3, [r2, #-3980]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3980]
	cmp	r3, #19
	bgt	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #113
	bne	.L38
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-3998]	@ zero_extendqisi2
	cmp	r3, #113
	beq	.L39
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3984]
	cmp	r3, #113
	bne	.L40
.L39:
	bl	endwin
	mov	r3, #0
	ldr	r2, .L43
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L44:
	.align	2
.L43:
	.word	.LC0
	.word	stdscr
	.word	1717986919
	.word	1374389535
	.word	acs_map
	.word	261
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
