	.file	"906555.c"
	.intel_syntax noprefix
	.text
	.type	next_j, @function
next_j:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	cmp	DWORD PTR -20[rbp], 0
	jne	.L2
	mov	DWORD PTR -20[rbp], 4
	jmp	.L3
.L2:
	sub	DWORD PTR -20[rbp], 1
.L3:
	call	has_colors@PLT
	test	al, al
	je	.L4
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -4[rbp], edx
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, ecx
	add	edx, edx
	add	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	and	eax, 65535
	mov	DWORD PTR -8[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L5
	or	DWORD PTR -8[rbp], 2097152
.L5:
	mov	edx, DWORD PTR -8[rbp]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
.L4:
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	next_j, .-next_j
	.section	.rodata
.LC0:
	.string	"|.|"
.LC1:
	.string	"/ \\"
.LC2:
	.string	"| O |"
.LC3:
	.string	"\\ /"
.LC4:
	.string	"   "
.LC5:
	.string	"     "
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	call	initscr@PLT
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edi, eax
	call	srand@PLT
	call	has_colors@PLT
	test	al, al
	je	.L8
	mov	WORD PTR -30[rbp], 0
	call	start_color@PLT
	call	use_default_colors@PLT
	test	eax, eax
	jne	.L9
	mov	WORD PTR -30[rbp], -1
.L9:
	movsx	eax, WORD PTR -30[rbp]
	mov	edx, eax
	mov	esi, 4
	mov	edi, 1
	call	init_pair@PLT
	movsx	eax, WORD PTR -30[rbp]
	mov	edx, eax
	mov	esi, 6
	mov	edi, 2
	call	init_pair@PLT
.L8:
	call	nl@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wtimeout@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 4
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 4
	mov	DWORD PTR -20[rbp], eax
	mov	DWORD PTR -28[rbp], 5
	jmp	.L10
.L11:
	call	rand@PLT
	cdq
	idiv	DWORD PTR -20[rbp]
	mov	eax, edx
	lea	ecx, 2[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	DWORD PTR [rdx+rax], ecx
	call	rand@PLT
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	eax, edx
	lea	ecx, 2[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	DWORD PTR [rdx+rax], ecx
.L10:
	sub	DWORD PTR -28[rbp], 1
	cmp	DWORD PTR -28[rbp], 0
	jns	.L11
	mov	DWORD PTR -28[rbp], 0
.L50:
	call	rand@PLT
	cdq
	idiv	DWORD PTR -20[rbp]
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -16[rbp], eax
	call	rand@PLT
	cdq
	idiv	DWORD PTR -24[rbp]
	mov	eax, edx
	add	eax, 2
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L13
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 46
	mov	rdi, rax
	call	waddch@PLT
.L13:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L15
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L15:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	next_j
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L17
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 79
	mov	rdi, rax
	call	waddch@PLT
.L17:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	next_j
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L19
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 45
	mov	rdi, rax
	call	waddch@PLT
.L19:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L21
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L21:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L23
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 45
	mov	rdi, rax
	call	waddch@PLT
.L23:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	next_j
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L25
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 45
	mov	rdi, rax
	call	waddch@PLT
.L25:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L27
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L27:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -2[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L29
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L29:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L31
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L31:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L33
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 45
	mov	rdi, rax
	call	waddch@PLT
.L33:
	mov	eax, DWORD PTR -28[rbp]
	mov	edi, eax
	call	next_j
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L35
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L35:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L37:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -2[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	ecx, DWORD PTR [rcx+rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L39
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L39:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L41
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L41:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, xpos.1[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, ypos.0[rip]
	mov	eax, DWORD PTR [rcx+rax]
	lea	ecx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L43
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L43:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, xpos.1[rip]
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, ypos.0[rip]
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	cmp	eax, 410
	je	.L44
	cmp	eax, 410
	jg	.L45
	cmp	eax, 115
	je	.L46
	cmp	eax, 115
	jg	.L45
	cmp	eax, 113
	je	.L47
	cmp	eax, 113
	jg	.L45
	cmp	eax, 32
	je	.L48
	cmp	eax, 81
	jne	.L45
.L47:
	mov	edi, 1
	call	curs_set@PLT
	call	endwin@PLT
	mov	eax, 0
	jmp	.L51
.L46:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	nodelay@PLT
	jmp	.L45
.L48:
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	jmp	.L45
.L44:
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 4
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 4
	mov	DWORD PTR -20[rbp], eax
.L45:
	mov	edi, 50
	call	napms@PLT
	jmp	.L50
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.local	xpos.1
	.comm	xpos.1,20,16
	.local	ypos.0
	.comm	ypos.0,20,16
	.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	"906555.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_j, %function
next_j:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	mov	r3, #4
	str	r3, [fp, #-16]
	b	.L3
.L2:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	bl	rand
	mov	r2, r0
	ldr	r3, .L7
	smull	r0, r1, r3, r2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-12]
	orr	r3, r3, #2097152
	str	r3, [fp, #-12]
.L5:
	ldr	r3, .L7+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	mov	r1, r2
	mov	r0, r3
	bl	wattrset
.L4:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	1431655766
	.word	stdscr
	.size	next_j, .-next_j
	.global	__aeabi_idivmod
	.section	.rodata
	.align	2
.LC0:
	.ascii	"|.|\000"
	.align	2
.LC1:
	.ascii	"/ \\\000"
	.align	2
.LC2:
	.ascii	"| O |\000"
	.align	2
.LC3:
	.ascii	"\\ /\000"
	.align	2
.LC4:
	.ascii	"   \000"
	.align	2
.LC5:
	.ascii	"     \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	bl	initscr
	mov	r0, #0
	bl	time
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	srand
	bl	has_colors
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	mov	r3, #0
	strh	r3, [fp, #-30]	@ movhi
	bl	start_color
	bl	use_default_colors
	mov	r3, r0
	cmp	r3, #0
	bne	.L11
	mvn	r3, #0
	strh	r3, [fp, #-30]	@ movhi
.L11:
	ldrsh	r3, [fp, #-30]
	mov	r2, r3
	mov	r1, #4
	mov	r0, #1
	bl	init_pair
	ldrsh	r3, [fp, #-30]
	mov	r2, r3
	mov	r1, #6
	mov	r0, #2
	bl	init_pair
.L10:
	bl	nl
	bl	noecho
	mov	r0, #0
	bl	curs_set
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wtimeout
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	ldr	r3, .L54+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, .L54+8
	ldr	r3, [r3]
	sub	r3, r3, #4
	str	r3, [fp, #-20]
	mov	r3, #5
	str	r3, [fp, #-28]
	b	.L12
.L13:
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r2, r3, #2
	ldr	r1, .L54+12
	ldr	r3, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r2, r3, #2
	ldr	r1, .L54+16
	ldr	r3, [fp, #-28]
	str	r2, [r1, r3, lsl #2]
.L12:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L13
	mov	r3, #0
	str	r3, [fp, #-28]
.L52:
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-12]
	bl	rand
	mov	r3, r0
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	add	r3, r3, #2
	str	r3, [fp, #-8]
	ldr	r3, .L54
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L15
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #46
	mov	r0, r3
	bl	waddch
.L15:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L17
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L17:
	ldr	r0, [fp, #-28]
	bl	next_j
	str	r0, [fp, #-28]
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L19
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #79
	mov	r0, r3
	bl	waddch
.L19:
	ldr	r0, [fp, #-28]
	bl	next_j
	str	r0, [fp, #-28]
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, r3, #1
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L21
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #45
	mov	r0, r3
	bl	waddch
.L21:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L23
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+20
	mov	r0, r3
	bl	waddnstr
.L23:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #1
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L25
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #45
	mov	r0, r3
	bl	waddch
.L25:
	ldr	r0, [fp, #-28]
	bl	next_j
	str	r0, [fp, #-28]
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, r3, #2
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L27
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #45
	mov	r0, r3
	bl	waddch
.L27:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, r3, #1
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L29
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+24
	mov	r0, r3
	bl	waddnstr
.L29:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #2
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L31
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+28
	mov	r0, r3
	bl	waddnstr
.L31:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #1
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L33
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+32
	mov	r0, r3
	bl	waddnstr
.L33:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #2
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L35
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #45
	mov	r0, r3
	bl	waddch
.L35:
	ldr	r0, [fp, #-28]
	bl	next_j
	str	r0, [fp, #-28]
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, r3, #2
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L37
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L37:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r1, r3, #1
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+36
	mov	r0, r3
	bl	waddnstr
.L39:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #2
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L41
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+40
	mov	r0, r3
	bl	waddnstr
.L41:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #1
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L43
	ldr	r3, .L54
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L54+36
	mov	r0, r3
	bl	waddnstr
.L43:
	ldr	r3, .L54
	ldr	r0, [r3]
	ldr	r2, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	add	r1, r3, #2
	ldr	r2, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L45
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L45:
	ldr	r1, .L54+12
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L54+16
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	ldr	r2, .L54+44
	cmp	r3, r2
	beq	.L46
	ldr	r2, .L54+44
	cmp	r3, r2
	bgt	.L47
	cmp	r3, #115
	beq	.L48
	cmp	r3, #115
	bgt	.L47
	cmp	r3, #113
	beq	.L49
	cmp	r3, #113
	bgt	.L47
	cmp	r3, #32
	beq	.L50
	cmp	r3, #81
	bne	.L47
.L49:
	mov	r0, #1
	bl	curs_set
	bl	endwin
	mov	r3, #0
	b	.L53
.L48:
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	nodelay
	b	.L47
.L50:
	ldr	r3, .L54
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	b	.L47
.L46:
	ldr	r3, .L54+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	str	r3, [fp, #-24]
	ldr	r3, .L54+8
	ldr	r3, [r3]
	sub	r3, r3, #4
	str	r3, [fp, #-20]
.L47:
	mov	r0, #50
	bl	napms
	b	.L52
.L53:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L55:
	.align	2
.L54:
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	xpos.6701
	.word	ypos.6702
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	410
	.size	main, .-main
	.local	xpos.6701
	.comm	xpos.6701,20,4
	.local	ypos.6702
	.comm	ypos.6702,20,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
