	.file	"839322.c"
	.intel_syntax noprefix
	.text
	.globl	initialize_map
	.type	initialize_map, @function
initialize_map:
.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, 16
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L5:
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L4
	mov	edx, DWORD PTR COLS[rip]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	whline@PLT
.L4:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR LINES[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L5
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	initialize_map, .-initialize_map
	.section	.rodata
	.align 8
.LC0:
	.string	"add_glider: insufficient screen space"
	.text
	.globl	add_glider
	.type	add_glider, @function
add_glider:
.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 2
	cmp	DWORD PTR -4[rbp], eax
	jge	.L7
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 2
	cmp	DWORD PTR -8[rbp], eax
	jl	.L8
.L7:
	call	endwin@PLT
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L10
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L10:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L12
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L12:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L14
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L14:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L16
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L16:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L18
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L18:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L20
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L20:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L22
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L22:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L24
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L24:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L26
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L26:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	add_glider, .-add_glider
	.section	.rodata
	.align 8
.LC1:
	.string	"add_small_exploder: insufficient screen space"
	.text
	.globl	add_small_exploder
	.type	add_small_exploder, @function
add_small_exploder:
.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	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 3
	cmp	DWORD PTR -4[rbp], eax
	jge	.L28
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 2
	cmp	DWORD PTR -8[rbp], eax
	jl	.L29
.L28:
	call	endwin@PLT
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L31
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L31:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L33
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L33:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	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:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L37
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L37:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L39
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L39:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L41
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L41:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L43
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L43:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L45
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L45:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L47
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L47:
	add	DWORD PTR -4[rbp], 1
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -8[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L49
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L49:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L51
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L51:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -4[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L53
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
.L53:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	add_small_exploder, .-add_small_exploder
	.globl	count_neighbours
	.type	count_neighbours, @function
count_neighbours:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 0
	je	.L55
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	je	.L55
	cmp	DWORD PTR -24[rbp], 0
	je	.L55
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	je	.L55
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L56
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L56
	add	DWORD PTR -4[rbp], 1
.L56:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L57
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L57
	add	DWORD PTR -4[rbp], 1
.L57:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L58
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L58
	add	DWORD PTR -4[rbp], 1
.L58:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L59
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L59
	add	DWORD PTR -4[rbp], 1
.L59:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L60
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L60
	add	DWORD PTR -4[rbp], 1
.L60:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L61
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L61
	add	DWORD PTR -4[rbp], 1
.L61:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L62
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L62
	add	DWORD PTR -4[rbp], 1
.L62:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L136
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L136
	add	DWORD PTR -4[rbp], 1
	jmp	.L136
.L55:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L65
	cmp	DWORD PTR -24[rbp], 0
	je	.L65
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	je	.L65
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L66
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L66
	add	DWORD PTR -4[rbp], 1
.L66:
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L67
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L67
	add	DWORD PTR -4[rbp], 1
.L67:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L68
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L68
	add	DWORD PTR -4[rbp], 1
.L68:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L69
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L69
	add	DWORD PTR -4[rbp], 1
.L69:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L70
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L70
	add	DWORD PTR -4[rbp], 1
.L70:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L71
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L71
	add	DWORD PTR -4[rbp], 1
.L71:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L72
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L72
	add	DWORD PTR -4[rbp], 1
.L72:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L137
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L137
	add	DWORD PTR -4[rbp], 1
	jmp	.L137
.L65:
	cmp	DWORD PTR -24[rbp], 0
	jne	.L74
	cmp	DWORD PTR -20[rbp], 0
	je	.L74
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	je	.L74
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L75
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L75
	add	DWORD PTR -4[rbp], 1
.L75:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L76
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L76
	add	DWORD PTR -4[rbp], 1
.L76:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L77
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L77
	add	DWORD PTR -4[rbp], 1
.L77:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L78
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L78
	add	DWORD PTR -4[rbp], 1
.L78:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L79
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L79
	add	DWORD PTR -4[rbp], 1
.L79:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L80
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L80
	add	DWORD PTR -4[rbp], 1
.L80:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L81
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L81
	add	DWORD PTR -4[rbp], 1
.L81:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L138
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L138
	add	DWORD PTR -4[rbp], 1
	jmp	.L138
.L74:
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jne	.L83
	cmp	DWORD PTR -20[rbp], 0
	je	.L83
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	je	.L83
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L84
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L84
	add	DWORD PTR -4[rbp], 1
.L84:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L85
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L85
	add	DWORD PTR -4[rbp], 1
.L85:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L86
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L86
	add	DWORD PTR -4[rbp], 1
.L86:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L87
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L87
	add	DWORD PTR -4[rbp], 1
.L87:
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L88
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L88
	add	DWORD PTR -4[rbp], 1
.L88:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L89
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L89
	add	DWORD PTR -4[rbp], 1
.L89:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L90
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L90
	add	DWORD PTR -4[rbp], 1
.L90:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L139
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L139
	add	DWORD PTR -4[rbp], 1
	jmp	.L139
.L83:
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jne	.L92
	cmp	DWORD PTR -24[rbp], 0
	je	.L92
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	je	.L92
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L93
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L93
	add	DWORD PTR -4[rbp], 1
.L93:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L94
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L94
	add	DWORD PTR -4[rbp], 1
.L94:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L95
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L95
	add	DWORD PTR -4[rbp], 1
.L95:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L96
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L96
	add	DWORD PTR -4[rbp], 1
.L96:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L97
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L97
	add	DWORD PTR -4[rbp], 1
.L97:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L98
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L98
	add	DWORD PTR -4[rbp], 1
.L98:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L99
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L99
	add	DWORD PTR -4[rbp], 1
.L99:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L140
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L140
	add	DWORD PTR -4[rbp], 1
	jmp	.L140
.L92:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L101
	cmp	DWORD PTR -24[rbp], 0
	jne	.L101
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L102
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L102
	add	DWORD PTR -4[rbp], 1
.L102:
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L103
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L103
	add	DWORD PTR -4[rbp], 1
.L103:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L104
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L104
	add	DWORD PTR -4[rbp], 1
.L104:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L105
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L105
	add	DWORD PTR -4[rbp], 1
.L105:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L106
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L106
	add	DWORD PTR -4[rbp], 1
.L106:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L107
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L107
	add	DWORD PTR -4[rbp], 1
.L107:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L108
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L108
	add	DWORD PTR -4[rbp], 1
.L108:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L141
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L141
	add	DWORD PTR -4[rbp], 1
	jmp	.L141
.L101:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L110
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jne	.L110
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L111
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L111
	add	DWORD PTR -4[rbp], 1
.L111:
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L112
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L112
	add	DWORD PTR -4[rbp], 1
.L112:
	mov	eax, DWORD PTR LINES[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L113
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L113
	add	DWORD PTR -4[rbp], 1
.L113:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L114
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L114
	add	DWORD PTR -4[rbp], 1
.L114:
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L115
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L115
	add	DWORD PTR -4[rbp], 1
.L115:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L116
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L116
	add	DWORD PTR -4[rbp], 1
.L116:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L117
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L117
	add	DWORD PTR -4[rbp], 1
.L117:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L142
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L142
	add	DWORD PTR -4[rbp], 1
	jmp	.L142
.L110:
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jne	.L119
	cmp	DWORD PTR -24[rbp], 0
	jne	.L119
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L120
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L120
	add	DWORD PTR -4[rbp], 1
.L120:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L121
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L121
	add	DWORD PTR -4[rbp], 1
.L121:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L122
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L122
	add	DWORD PTR -4[rbp], 1
.L122:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L123
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L123
	add	DWORD PTR -4[rbp], 1
.L123:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L124
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L124
	add	DWORD PTR -4[rbp], 1
.L124:
	mov	eax, DWORD PTR COLS[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L125
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L125
	add	DWORD PTR -4[rbp], 1
.L125:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L126
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L126
	add	DWORD PTR -4[rbp], 1
.L126:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L143
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L143
	add	DWORD PTR -4[rbp], 1
	jmp	.L143
.L119:
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jne	.L64
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jne	.L64
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L128
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L128
	add	DWORD PTR -4[rbp], 1
.L128:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L129
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L129
	add	DWORD PTR -4[rbp], 1
.L129:
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L130
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L130
	add	DWORD PTR -4[rbp], 1
.L130:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L131
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L131
	add	DWORD PTR -4[rbp], 1
.L131:
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, DWORD PTR -20[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L132
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L132
	add	DWORD PTR -4[rbp], 1
.L132:
	mov	eax, DWORD PTR -24[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L133
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L133
	add	DWORD PTR -4[rbp], 1
.L133:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L134
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L134
	add	DWORD PTR -4[rbp], 1
.L134:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L64
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	cmp	eax, 111
	jne	.L64
	add	DWORD PTR -4[rbp], 1
	jmp	.L64
.L136:
	nop
	jmp	.L64
.L137:
	nop
	jmp	.L64
.L138:
	nop
	jmp	.L64
.L139:
	nop
	jmp	.L64
.L140:
	nop
	jmp	.L64
.L141:
	nop
	jmp	.L64
.L142:
	nop
	jmp	.L64
.L143:
	nop
.L64:
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	count_neighbours, .-count_neighbours
	.globl	update_cell
	.type	update_cell, @function
update_cell:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	cmp	DWORD PTR -4[rbp], 111
	jne	.L145
	cmp	DWORD PTR -8[rbp], 1
	ja	.L146
	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	.L151
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L151
.L146:
	cmp	DWORD PTR -8[rbp], 3
	jbe	.L151
	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	.L151
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
	jmp	.L151
.L145:
	cmp	DWORD PTR -4[rbp], 32
	jne	.L151
	cmp	DWORD PTR -8[rbp], 3
	jne	.L151
	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	.L151
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 111
	mov	rdi, rax
	call	waddch@PLT
.L151:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	update_cell, .-update_cell
	.section	.rodata
.LC2:
	.string	"LINES: %d, COLS: %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 5000000
	call	initscr@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	edx, DWORD PTR COLS[rip]
	mov	eax, DWORD PTR LINES[rip]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	initialize_map
	mov	esi, 80
	mov	edi, 0
	call	add_glider
	mov	esi, 70
	mov	edi, 0
	call	add_glider
	mov	esi, 60
	mov	edi, 0
	call	add_glider
	mov	esi, 105
	mov	edi, 25
	call	add_small_exploder
	mov	esi, 15
	mov	edi, 40
	call	add_small_exploder
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L163:
	mov	edx, DWORD PTR LINES[rip]
	mov	eax, DWORD PTR COLS[rip]
	imul	eax, edx
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	DWORD PTR -52[rbp], 0
	jmp	.L153
.L156:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L154
.L155:
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	count_neighbours
	mov	edx, DWORD PTR COLS[rip]
	imul	edx, DWORD PTR -52[rbp]
	movsx	rcx, edx
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	add	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -56[rbp], 1
.L154:
	mov	eax, DWORD PTR COLS[rip]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L155
	add	DWORD PTR -52[rbp], 1
.L153:
	mov	eax, DWORD PTR LINES[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L156
	mov	DWORD PTR -52[rbp], 0
	jmp	.L157
.L162:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L158
.L161:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -56[rbp]
	mov	ecx, DWORD PTR -52[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L159
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	winch@PLT
	movzx	eax, al
	jmp	.L160
.L159:
	mov	eax, 255
.L160:
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR COLS[rip]
	imul	eax, DWORD PTR -52[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -44[rbp], eax
	mov	esi, DWORD PTR -44[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	update_cell
	add	DWORD PTR -56[rbp], 1
.L158:
	mov	eax, DWORD PTR COLS[rip]
	cmp	DWORD PTR -56[rbp], eax
	jl	.L161
	add	DWORD PTR -52[rbp], 1
.L157:
	mov	eax, DWORD PTR LINES[rip]
	cmp	DWORD PTR -52[rbp], eax
	jl	.L162
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	jmp	.L163
	.cfi_endproc
.LFE5:
	.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	"839322.c"
	.text
	.align	2
	.global	initialize_map
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize_map, %function
initialize_map:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L5:
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L4
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, .L6+4
	ldr	r2, [r2]
	mov	r1, #32
	mov	r0, r3
	bl	whline
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, .L6+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L5
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	stdscr
	.word	COLS
	.word	LINES
	.size	initialize_map, .-initialize_map
	.section	.rodata
	.align	2
.LC0:
	.ascii	"add_glider: insufficient screen space\000"
	.text
	.align	2
	.global	add_glider
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_glider, %function
add_glider:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, .L29
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L9
	ldr	r3, .L29+4
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L10
.L9:
	bl	endwin
	ldr	r0, .L29+8
	bl	perror
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L12
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L12:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L14
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L14:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L16
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L16:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L18
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L18:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L20
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L20:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L22
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L22:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L24
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L24:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L26
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L26:
	ldr	r3, .L29+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L28
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L28:
	ldr	r3, .L29+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	LINES
	.word	COLS
	.word	.LC0
	.word	stdscr
	.size	add_glider, .-add_glider
	.section	.rodata
	.align	2
.LC1:
	.ascii	"add_small_exploder: insufficient screen space\000"
	.text
	.align	2
	.global	add_small_exploder
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_small_exploder, %function
add_small_exploder:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, .L58
	ldr	r3, [r3]
	sub	r3, r3, #3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L32
	ldr	r3, .L58+4
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L33
.L32:
	bl	endwin
	ldr	r0, .L58+8
	bl	perror
	mov	r0, #1
	bl	exit
.L33:
	ldr	r3, .L58+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L35
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L35:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L37
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L37:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L39:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L58+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L41
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L41:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L43
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L43:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L45
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L45:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L58+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L47
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L47:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L49
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L49:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L51
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L51:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L58+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L53
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L53:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L55
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L55:
	ldr	r3, .L58+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	mov	r2, r3
	ldr	r1, [fp, #-8]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L57
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
.L57:
	ldr	r3, .L58+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	LINES
	.word	COLS
	.word	.LC1
	.word	stdscr
	.size	add_small_exploder, .-add_small_exploder
	.align	2
	.global	count_neighbours
	.syntax unified
	.arm
	.fpu softvfp
	.type	count_neighbours, %function
count_neighbours:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L61
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L61
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L61
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L62
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L62
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L62:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L63
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L63
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L63:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L64
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L64
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L64:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L65
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L65
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L65:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L66
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L66
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L66:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L67
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L67
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L67:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L68
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L68
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L68:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L142
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L142
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L142
.L61:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L71
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L71
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L71
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L72
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L72
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L72:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L73
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L73
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L73:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L74
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L74
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L74:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L75
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L75
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L75:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L76
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L76
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L76:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L77
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L77
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L77:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L78
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L78
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L78:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L143
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L143
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L143
.L71:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L80
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L80
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L80
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L81
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L81
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L81:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L82
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L82
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L82:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L83
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L83
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L83:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L84
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L84
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L84:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L85
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L85
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L85:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L86
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L86
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L86:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L87
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L87
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L87:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L144
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L144
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L144
.L80:
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L89
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L89
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	beq	.L89
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L90
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L90
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L90:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L91
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L91
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L91:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L92
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L92
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L92:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L93
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L93
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L93:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L94
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L94
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L94:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L95
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L95
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L95:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L96
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L96
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L96:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L145
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L145
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L145
.L89:
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L98
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L98
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L98
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L99
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L99
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L99:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L100
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L100
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L100:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L101
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L101
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L101:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L102
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L102
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L102:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L103
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L103
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L103:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L104
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L104
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L104:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L105
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L105
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L105:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L146
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L146
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L146
.L151:
	.align	2
.L150:
	.word	LINES
	.word	COLS
	.word	stdscr
.L98:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L107
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L107
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L108
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L108
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L108:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L109
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L109
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L109:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L110
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L110
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L110:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L111
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L111
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L111:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L112
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L112
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L112:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L113
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L113
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L113:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L114
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L114
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L114:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L147
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L147
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L147
.L107:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L116
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L116
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L117
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L117
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L117:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L118
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L118
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L118:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L119
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L119
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L119:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L120
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L120
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L120:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L121
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L121
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L121:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L122
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L122
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L122:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L123
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L123
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L123:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L148
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L148
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L148
.L116:
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L125
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L125
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L126
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L126
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L126:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L127
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L127
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L127:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L128
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L128
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L128:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L129
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L129
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L129:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L130
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L130
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L130:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L131
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L131
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L131:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L132
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L132
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L132:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L149
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L149
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L149
.L125:
	ldr	r3, .L150
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L70
	ldr	r3, .L150+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L70
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r1, r3, #1
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L134
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L134
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L134:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L135
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L135
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L135:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	mov	r2, #0
	mov	r1, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L136
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L136
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L136:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-16]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L137
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L137
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L137:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L138
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L138
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L138:
	ldr	r3, .L150+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #0
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L139
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L139
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L139:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L140
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L140
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L140:
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L70
	ldr	r3, .L150+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	cmp	r3, #111
	bne	.L70
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L70
.L142:
	nop
	b	.L70
.L143:
	nop
	b	.L70
.L144:
	nop
	b	.L70
.L145:
	nop
	b	.L70
.L146:
	nop
	b	.L70
.L147:
	nop
	b	.L70
.L148:
	nop
	b	.L70
.L149:
	nop
.L70:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	count_neighbours, .-count_neighbours
	.align	2
	.global	update_cell
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_cell, %function
update_cell:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r3, #111
	bne	.L153
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bhi	.L154
	ldr	r3, .L160
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L159
	ldr	r3, .L160
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
	b	.L159
.L154:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bls	.L159
	ldr	r3, .L160
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L159
	ldr	r3, .L160
	ldr	r3, [r3]
	mov	r1, #32
	mov	r0, r3
	bl	waddch
	b	.L159
.L153:
	ldr	r3, [fp, #-8]
	cmp	r3, #32
	bne	.L159
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	bne	.L159
	ldr	r3, .L160
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L159
	ldr	r3, .L160
	ldr	r3, [r3]
	mov	r1, #111
	mov	r0, r3
	bl	waddch
.L159:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L161:
	.align	2
.L160:
	.word	stdscr
	.size	update_cell, .-update_cell
	.section	.rodata
	.align	2
.LC2:
	.ascii	"LINES: %d, COLS: %d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L175
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L175+4
	str	r3, [fp, #-12]
	bl	initscr
	bl	cbreak
	bl	noecho
	mov	r0, #0
	bl	curs_set
	ldr	r3, .L175+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L175+12
	ldr	r3, [r3]
	ldr	r2, .L175+16
	ldr	r2, [r2]
	mov	r1, r3
	ldr	r0, .L175+20
	bl	printw
	ldr	r3, .L175+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	initialize_map
	mov	r1, #80
	mov	r0, #0
	bl	add_glider
	mov	r1, #70
	mov	r0, #0
	bl	add_glider
	mov	r1, #60
	mov	r0, #0
	bl	add_glider
	mov	r1, #105
	mov	r0, #25
	bl	add_small_exploder
	mov	r1, #15
	mov	r0, #40
	bl	add_small_exploder
	ldr	r3, .L175+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L173:
	ldr	r3, .L175+12
	ldr	r3, [r3]
	ldr	r2, .L175+16
	ldr	r2, [r2]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L163
.L166:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L164
.L165:
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	count_neighbours
	mov	r1, r0
	ldr	r3, .L175+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, r1
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L164:
	ldr	r3, .L175+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L165
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L163:
	ldr	r3, .L175+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L166
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L167
.L172:
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L168
.L171:
	ldr	r3, .L175+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L169
	ldr	r3, .L175+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	winch
	mov	r3, r0
	and	r3, r3, #255
	b	.L170
.L169:
	mov	r3, #255
.L170:
	str	r3, [fp, #-24]
	ldr	r3, .L175+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	mul	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	update_cell
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L168:
	ldr	r3, .L175+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	blt	.L171
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L167:
	ldr	r3, .L175+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L172
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	ldr	r3, .L175+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	b	.L173
.L176:
	.align	2
.L175:
	.word	.LC3
	.word	5000000
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
