	.file	"254244.c"
	.intel_syntax noprefix
	.text
	.globl	col_width
	.bss
	.align 4
	.type	col_width, @object
	.size	col_width, 4
col_width:
	.zero	4
	.globl	blocks
	.data
	.align 32
	.type	blocks, @object
	.size	blocks, 140
blocks:
	.string	".X.."
	.string	".X.."
	.string	".XX."
	.string	"..X."
	.string	".X.."
	.string	".X.."
	.string	"...."
	.string	".XX."
	.string	".X.."
	.string	".X.."
	.string	".XX."
	.string	".XX."
	.string	".X.."
	.string	".XX."
	.string	".X.."
	.string	".XX."
	.string	".X.."
	.string	".X.."
	.string	"..X."
	.string	".X.."
	.string	".XX."
	.string	"...."
	.string	"...."
	.string	"...."
	.string	"...."
	.string	"...."
	.string	".X.."
	.string	"...."
	.globl	rots
	.align 16
	.type	rots, @object
	.size	rots, 28
rots:
	.long	4
	.long	4
	.long	4
	.long	2
	.long	2
	.long	2
	.long	1
	.globl	buf
	.bss
	.align 8
	.type	buf, @object
	.size	buf, 8
buf:
	.zero	8
	.globl	pwin
	.align 8
	.type	pwin, @object
	.size	pwin, 8
pwin:
	.zero	8
	.globl	nwin
	.align 8
	.type	nwin, @object
	.size	nwin, 8
nwin:
	.zero	8
	.globl	iwin
	.align 8
	.type	iwin, @object
	.size	iwin, 8
iwin:
	.zero	8
	.globl	instruct
	.section	.rodata
.LC0:
	.string	"Use arrow"
.LC1:
	.string	"keys to play"
.LC2:
	.string	""
.LC3:
	.string	"UP- Rotate"
.LC4:
	.string	"DOWN- Faster"
.LC5:
	.string	"SPACE- Drop"
.LC6:
	.string	"S- Shadow"
.LC7:
	.string	"N- Next"
.LC8:
	.string	"Q to Quit"
	.section	.data.rel.local,"aw"
	.align 32
	.type	instruct, @object
	.size	instruct, 80
instruct:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.quad	.LC2
	.quad	.LC8
	.globl	pausemsg
	.section	.rodata
.LC9:
	.string	"PAUSED"
.LC10:
	.string	" Press"
.LC11:
	.string	"  any"
.LC12:
	.string	"  key"
	.section	.data.rel.local
	.align 32
	.type	pausemsg, @object
	.size	pausemsg, 32
pausemsg:
	.quad	.LC9
	.quad	.LC10
	.quad	.LC11
	.quad	.LC12
	.globl	againmsg
	.section	.rodata
.LC13:
	.string	"Do you want"
.LC14:
	.string	"  to play"
.LC15:
	.string	"   again"
.LC16:
	.string	"   (Y/N)"
	.section	.data.rel.local
	.align 32
	.type	againmsg, @object
	.size	againmsg, 32
againmsg:
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.text
	.globl	drawmsg
	.type	drawmsg, @function
drawmsg:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, [rdx+rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jl	.L3
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	drawmsg, .-drawmsg
	.globl	wfillrect
	.type	wfillrect, @function
wfillrect:
.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L5
.L8:
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	waddch@PLT
	add	DWORD PTR -8[rbp], 1
.L6:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L7
	add	DWORD PTR -4[rbp], 1
.L5:
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	cmp	DWORD PTR -4[rbp], eax
	jl	.L8
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	wfillrect, .-wfillrect
	.globl	rx
	.type	rx, @function
rx:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR -24[rbp]
	jmp	.L11
.L10:
	mov	eax, DWORD PTR -28[rbp]
.L11:
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	cmp	eax, 2
	jbe	.L12
	mov	eax, 2
	sub	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -4[rbp], eax
.L12:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L13
	mov	DWORD PTR -4[rbp], 3
.L13:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	rx, .-rx
	.globl	ry
	.type	ry, @function
ry:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	ecx, eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	rx
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	ry, .-ry
	.globl	clip
	.type	clip, @function
clip:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L18
.L25:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L19
.L24:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 12[rdx]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, rots[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	rx
	mov	ebx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	r12d, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 12[rdx]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, rots[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	ry
	movsx	rsi, eax
	movsx	rdx, ebx
	movsx	rcx, r12d
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	sub	rax, rdx
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, blocks[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L20
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	test	eax, eax
	jns	.L21
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	cmp	eax, 1
	jle	.L22
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	lea	edx, -1[rax]
	mov	eax, DWORD PTR col_width[rip]
	cmp	edx, eax
	jle	.L21
.L22:
	mov	eax, 1
	jmp	.L23
.L21:
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	test	eax, eax
	js	.L20
	mov	rdx, QWORD PTR buf[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L20
	mov	eax, 1
	jmp	.L23
.L20:
	add	DWORD PTR -24[rbp], 1
.L19:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L24
	add	DWORD PTR -20[rbp], 1
.L18:
	cmp	DWORD PTR -20[rbp], 3
	jle	.L25
	mov	eax, 0
.L23:
	add	rsp, 24
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	clip, .-clip
	.globl	init
	.type	init, @function
init:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	initscr@PLT
	call	raw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	nodelay@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	call	nonl@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	esi, 80
	mov	edi, 25
	call	resize_term@PLT
	call	start_color@PLT
	mov	DWORD PTR -32[rbp], 0
	jmp	.L27
.L30:
	cmp	DWORD PTR -32[rbp], 7
	jne	.L28
	mov	eax, DWORD PTR -32[rbp]
	movsx	edx, ax
	mov	eax, DWORD PTR -32[rbp]
	cwde
	mov	esi, 0
	mov	edi, eax
	call	init_pair@PLT
	jmp	.L29
.L28:
	mov	eax, DWORD PTR -32[rbp]
	movsx	edx, ax
	mov	eax, DWORD PTR -32[rbp]
	cwde
	mov	esi, 7
	mov	edi, eax
	call	init_pair@PLT
.L29:
	add	DWORD PTR -32[rbp], 1
.L27:
	mov	eax, DWORD PTR COLORS[rip]
	cmp	DWORD PTR -32[rbp], eax
	jl	.L30
	mov	edi, 192
	call	malloc@PLT
	mov	QWORD PTR buf[rip], rax
	mov	DWORD PTR -28[rbp], 0
	jmp	.L31
.L32:
	mov	eax, DWORD PTR col_width[rip]
	add	eax, 2
	cdqe
	sal	rax, 2
	mov	rcx, QWORD PTR buf[rip]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rbx, [rcx+rdx]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -28[rbp], 1
.L31:
	cmp	DWORD PTR -28[rbp], 23
	jle	.L32
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, DWORD PTR col_width[rip]
	sub	eax, edx
	sub	eax, 15
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 23
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -20[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR col_width[rip]
	add	eax, 1
	lea	esi, [rax+rax]
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, edx
	mov	edx, eax
	mov	edi, 24
	call	newwin@PLT
	mov	QWORD PTR pwin[rip], rax
	mov	eax, DWORD PTR col_width[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	lea	edx, 5[rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 10
	mov	edi, 6
	call	newwin@PLT
	mov	QWORD PTR nwin[rip], rax
	mov	eax, DWORD PTR col_width[rip]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	lea	edx, 3[rax]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 8
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 15
	mov	edi, 15
	call	newwin@PLT
	mov	QWORD PTR iwin[rip], rax
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR iwin[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR iwin[rip]
	mov	r8d, 13
	mov	ecx, 14
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wfillrect
	mov	rax, QWORD PTR iwin[rip]
	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 iwin[rip]
	lea	r8, instruct[rip]
	mov	ecx, 10
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	drawmsg
	mov	rax, QWORD PTR iwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	init, .-init
	.section	.rodata
.LC17:
	.string	"  "
.LC18:
	.string	"NEXT"
	.text
	.globl	drawplay
	.type	drawplay, @function
drawplay:
.LFB12:
	.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	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	ecx
	mov	DWORD PTR -8[rbp], edx
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR COLORS[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, edx
	cdq
	idiv	ecx
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -8[rbp]
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR pwin[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	edx, DWORD PTR acs_map[rip+480]
	mov	ecx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR pwin[rip]
	sub	rsp, 8
	push	0
	push	0
	push	rdx
	mov	r9d, ecx
	mov	r8d, 0
	mov	ecx, 32
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	DWORD PTR -12[rbp], 0
	jmp	.L34
.L41:
	mov	DWORD PTR -16[rbp], 1
	jmp	.L35
.L40:
	mov	rdx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L36
	mov	rdx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR COLORS[rip]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	mov	ecx, edx
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	add	eax, ecx
	sal	eax, 8
	movzx	eax, ax
	jmp	.L37
.L36:
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	sal	eax, 8
	movzx	eax, ax
.L37:
	mov	rdx, QWORD PTR pwin[rip]
	mov	esi, eax
	mov	rdi, rdx
	call	wattrset@PLT
	mov	eax, DWORD PTR -16[rbp]
	add	eax, eax
	lea	edx, -1[rax]
	mov	rax, QWORD PTR pwin[rip]
	mov	ecx, DWORD PTR -12[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L39
	mov	rax, QWORD PTR pwin[rip]
	mov	edx, -1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L39:
	add	DWORD PTR -16[rbp], 1
.L35:
	mov	eax, DWORD PTR col_width[rip]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L40
	add	DWORD PTR -12[rbp], 1
.L34:
	cmp	DWORD PTR -12[rbp], 22
	jle	.L41
	mov	eax, DWORD PTR -4[rbp]
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR nwin[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR nwin[rip]
	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 nwin[rip]
	mov	r8d, 8
	mov	ecx, 4
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wfillrect
	mov	rax, QWORD PTR nwin[rip]
	mov	edx, 3
	mov	esi, 0
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L43
	mov	rax, QWORD PTR nwin[rip]
	mov	edx, -1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L43:
	mov	rax, QWORD PTR pwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR nwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	drawplay, .-drawplay
	.globl	clearedlines
	.type	clearedlines, @function
clearedlines:
.LFB13:
	.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	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L45
.L56:
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	jmp	.L46
.L48:
	mov	rdx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L47
	add	DWORD PTR -12[rbp], 1
.L47:
	add	DWORD PTR -20[rbp], 1
.L46:
	mov	eax, DWORD PTR col_width[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L48
	mov	eax, DWORD PTR col_width[rip]
	cmp	DWORD PTR -12[rbp], eax
	jne	.L49
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L50
.L53:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L51
.L52:
	mov	rdx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	sub	rax, 8
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rcx, QWORD PTR buf[rip]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	mov	rcx, QWORD PTR [rdx]
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	sal	rdx, 2
	add	rdx, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -20[rbp], 1
.L51:
	mov	eax, DWORD PTR col_width[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L52
	sub	DWORD PTR -8[rbp], 1
.L50:
	cmp	DWORD PTR -8[rbp], 0
	jg	.L53
	mov	DWORD PTR -20[rbp], 1
	jmp	.L54
.L55:
	mov	rdx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -20[rbp], 1
.L54:
	mov	eax, DWORD PTR col_width[rip]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L55
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	drawplay
	mov	rax, QWORD PTR pwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	beep@PLT
	mov	edi, 75
	call	napms@PLT
.L49:
	add	DWORD PTR -16[rbp], 1
.L45:
	cmp	DWORD PTR -16[rbp], 22
	jle	.L56
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	clearedlines, .-clearedlines
	.globl	drawpiece
	.type	drawpiece, @function
drawpiece:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -48[rbp], edx
	mov	DWORD PTR -52[rbp], ecx
	mov	DWORD PTR -56[rbp], r8d
	mov	DWORD PTR -60[rbp], r9d
	mov	eax, DWORD PTR -60[rbp]
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L59
.L64:
	mov	DWORD PTR -24[rbp], 0
	jmp	.L60
.L63:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rots[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	rx
	mov	ebx, eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, rots[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -52[rbp]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	ry
	movsx	rsi, eax
	movsx	rdx, ebx
	mov	eax, DWORD PTR -56[rbp]
	movsx	rcx, eax
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	sub	rax, rdx
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, blocks[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L61
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	sub	eax, 1
	add	eax, eax
	lea	edx, -1[rax]
	mov	ecx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -44[rbp]
	add	ecx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L61
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, -1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L61:
	add	DWORD PTR -24[rbp], 1
.L60:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L63
	add	DWORD PTR -20[rbp], 1
.L59:
	cmp	DWORD PTR -20[rbp], 3
	jle	.L64
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	drawpiece, .-drawpiece
	.section	.rodata
.LC25:
	.string	"Level : %d"
.LC26:
	.string	"Lines : %d"
	.text
	.globl	play
	.type	play, @function
play:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 112
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -124[rbp], 1
	mov	DWORD PTR -104[rbp], 1
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -120[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	jmp	.L66
.L72:
	mov	DWORD PTR -112[rbp], 0
	jmp	.L67
.L71:
	cmp	DWORD PTR -116[rbp], 22
	jg	.L68
	cmp	DWORD PTR -112[rbp], 0
	jle	.L68
	mov	eax, DWORD PTR col_width[rip]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L69
.L68:
	mov	edx, 1
	jmp	.L70
.L69:
	mov	edx, 0
.L70:
	mov	rcx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -112[rbp], 1
.L67:
	mov	eax, DWORD PTR col_width[rip]
	add	eax, 1
	cmp	DWORD PTR -112[rbp], eax
	jle	.L71
	add	DWORD PTR -116[rbp], 1
.L66:
	cmp	DWORD PTR -116[rbp], 23
	jle	.L72
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 3
	sub	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	mov	DWORD PTR -52[rbp], edx
	mov	eax, DWORD PTR col_width[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -64[rbp], eax
	mov	DWORD PTR -60[rbp], 0
.L120:
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -124[rbp]
	movsd	xmm0, QWORD PTR .LC19[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC20[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	comisd	xmm0, QWORD PTR -88[rbp]
	jbe	.L73
	mov	eax, DWORD PTR -124[rbp]
	sub	eax, 20
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC22[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC21[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
.L73:
	movsd	xmm0, QWORD PTR .LC23[rip]
	comisd	xmm0, QWORD PTR -88[rbp]
	jbe	.L75
	movsd	xmm0, QWORD PTR .LC24[rip]
	movsd	QWORD PTR -88[rbp], xmm0
.L75:
	cmp	DWORD PTR -100[rbp], 0
	je	.L77
	mov	DWORD PTR -60[rbp], -2
.L77:
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -96[rbp], edx
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, ecx
	sal	edx, 3
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR COLORS[rip]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	mov	ecx, edx
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	eax, DWORD PTR -124[rbp]
	cdq
	idiv	esi
	mov	eax, edx
	cmp	ecx, eax
	jne	.L78
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR COLORS[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, edx
	cdq
	idiv	ecx
	mov	DWORD PTR -108[rbp], edx
	jmp	.L79
.L78:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR COLORS[rip]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	mov	ecx, edx
	cdq
	idiv	ecx
	mov	DWORD PTR -108[rbp], edx
.L79:
	mov	eax, DWORD PTR -124[rbp]
	mov	edi, eax
	call	drawplay
	mov	rax, QWORD PTR iwin[rip]
	mov	edx, DWORD PTR -124[rbp]
	mov	r8d, edx
	lea	rcx, .LC25[rip]
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR iwin[rip]
	mov	edx, DWORD PTR -120[rbp]
	mov	r8d, edx
	lea	rcx, .LC26[rip]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR iwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -36[rbp], eax
.L113:
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -40[rbp], eax
	jmp	.L80
.L81:
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
.L80:
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L81
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	je	.L82
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -96[rbp]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	esi, [rcx+rax]
	mov	edx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR nwin[rip]
	mov	ecx, DWORD PTR -96[rbp]
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	drawpiece
.L82:
	cmp	DWORD PTR -100[rbp], 0
	je	.L83
	mov	edi, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR pwin[rip]
	mov	r8d, DWORD PTR -108[rbp]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	drawpiece
.L83:
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR COLORS[rip]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	mov	ecx, edx
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	r8d, [rcx+rax]
	mov	edi, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR pwin[rip]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	drawpiece
	mov	rax, QWORD PTR pwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR nwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L85:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -92[rbp], eax
	call	clock@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	DWORD PTR -92[rbp], -1
	jne	.L84
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm2, QWORD PTR .LC27[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR -88[rbp]
	comisd	xmm0, xmm1
	ja	.L85
.L84:
	cmp	DWORD PTR -104[rbp], 0
	je	.L86
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR COLORS[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	ecx, eax
	mov	eax, edx
	cdq
	idiv	ecx
	mov	esi, edx
	mov	edx, DWORD PTR -56[rbp]
	mov	rax, QWORD PTR nwin[rip]
	mov	ecx, DWORD PTR -96[rbp]
	mov	r9d, esi
	mov	r8d, ecx
	mov	ecx, edx
	mov	edx, 2
	mov	esi, 1
	mov	rdi, rax
	call	drawpiece
.L86:
	cmp	DWORD PTR -100[rbp], 0
	je	.L87
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -124[rbp]
	cdq
	idiv	ecx
	mov	r8d, edx
	mov	edi, DWORD PTR -36[rbp]
	mov	ecx, DWORD PTR -40[rbp]
	mov	edx, DWORD PTR -48[rbp]
	mov	esi, DWORD PTR -44[rbp]
	mov	rax, QWORD PTR pwin[rip]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	drawpiece
.L87:
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -124[rbp]
	cdq
	idiv	ecx
	mov	r8d, edx
	mov	edi, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR pwin[rip]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	drawpiece
	mov	rax, QWORD PTR -72[rbp]
	sub	rax, QWORD PTR -80[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	xmm1, QWORD PTR .LC27[rip]
	divsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -88[rbp]
	jbe	.L126
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L126:
	cmp	DWORD PTR -92[rbp], 261
	je	.L91
	cmp	DWORD PTR -92[rbp], 261
	jg	.L90
	cmp	DWORD PTR -92[rbp], 260
	je	.L92
	cmp	DWORD PTR -92[rbp], 260
	jg	.L90
	cmp	DWORD PTR -92[rbp], 259
	je	.L93
	cmp	DWORD PTR -92[rbp], 259
	jg	.L90
	cmp	DWORD PTR -92[rbp], 258
	je	.L94
	cmp	DWORD PTR -92[rbp], 258
	jg	.L90
	cmp	DWORD PTR -92[rbp], 32
	je	.L109
	cmp	DWORD PTR -92[rbp], 32
	jl	.L90
	cmp	DWORD PTR -92[rbp], 115
	jg	.L90
	cmp	DWORD PTR -92[rbp], 78
	jl	.L90
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 78
	cmp	eax, 37
	ja	.L90
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L97[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L97[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L97:
	.long	.L100-.L97
	.long	.L90-.L97
	.long	.L99-.L97
	.long	.L98-.L97
	.long	.L90-.L97
	.long	.L96-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L90-.L97
	.long	.L100-.L97
	.long	.L90-.L97
	.long	.L99-.L97
	.long	.L98-.L97
	.long	.L90-.L97
	.long	.L96-.L97
	.text
.L91:
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L101
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	jmp	.L90
.L101:
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L92:
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L103
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 1
	mov	DWORD PTR -64[rbp], eax
	jmp	.L90
.L103:
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L93:
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 1
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -56[rbp], eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L105
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L106
	mov	eax, DWORD PTR -64[rbp]
	add	eax, 2
	mov	DWORD PTR -64[rbp], eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L107
	mov	eax, DWORD PTR -64[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	add	eax, 3
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -56[rbp], eax
	jmp	.L90
.L107:
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L106:
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L105:
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L94:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L110:
	mov	eax, DWORD PTR -60[rbp]
	add	eax, 1
	mov	DWORD PTR -60[rbp], eax
.L109:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L110
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -60[rbp], eax
	call	clock@PLT
	mov	QWORD PTR -80[rbp], rax
	jmp	.L90
.L100:
	cmp	DWORD PTR -104[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -104[rbp], eax
	jmp	.L90
.L96:
	cmp	DWORD PTR -100[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -100[rbp], eax
	jmp	.L90
.L99:
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	ecx, eax
	mov	eax, DWORD PTR -124[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR pwin[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	eax, DWORD PTR col_width[rip]
	lea	edx, [rax+rax]
	mov	rax, QWORD PTR pwin[rip]
	mov	r8d, edx
	mov	ecx, 23
	mov	edx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wfillrect
	mov	rax, QWORD PTR pwin[rip]
	lea	r8, pausemsg[rip]
	mov	ecx, 4
	mov	edx, 2
	mov	esi, 11
	mov	rdi, rax
	call	drawmsg
	mov	rax, QWORD PTR pwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
.L111:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	cmp	eax, -1
	je	.L111
	mov	eax, DWORD PTR -124[rbp]
	mov	edi, eax
	call	drawplay
	mov	rax, QWORD PTR pwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	jmp	.L90
.L98:
	mov	eax, DWORD PTR -120[rbp]
	jmp	.L121
.L90:
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L113
	mov	eax, DWORD PTR -60[rbp]
	sub	eax, 1
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	test	eax, eax
	jns	.L114
	mov	eax, DWORD PTR -120[rbp]
	jmp	.L121
.L114:
	mov	DWORD PTR -112[rbp], 0
	jmp	.L115
.L119:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L116
.L118:
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, rots[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	rx
	mov	ebx, eax
	mov	r12d, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, rots[rip]
	mov	ecx, DWORD PTR [rcx+rdx]
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	mov	edi, ecx
	call	ry
	movsx	rsi, eax
	movsx	rdx, ebx
	movsx	rcx, r12d
	mov	rax, rdx
	sal	rax, 3
	add	rax, rdx
	sal	rax, 2
	sub	rax, rdx
	mov	rdx, rcx
	sal	rdx, 2
	add	rdx, rcx
	add	rax, rdx
	lea	rdx, [rax+rsi]
	lea	rax, blocks[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	je	.L117
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR COLORS[rip]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	mov	ecx, edx
	cdq
	idiv	ecx
	mov	edi, edx
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	rdx, QWORD PTR buf[rip]
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -112[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, ecx
	cdqe
	sal	rax, 2
	sub	rax, 4
	add	rax, rdx
	lea	edx, [rdi+rsi]
	mov	DWORD PTR [rax], edx
.L117:
	add	DWORD PTR -116[rbp], 1
.L116:
	cmp	DWORD PTR -116[rbp], 3
	jle	.L118
	add	DWORD PTR -112[rbp], 1
.L115:
	cmp	DWORD PTR -112[rbp], 3
	jle	.L119
	mov	eax, DWORD PTR -124[rbp]
	mov	edi, eax
	call	drawplay
	mov	eax, DWORD PTR -124[rbp]
	mov	edi, eax
	call	clearedlines
	add	DWORD PTR -120[rbp], eax
	mov	eax, DWORD PTR -120[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	eax, 1
	mov	DWORD PTR -124[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR col_width[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -64[rbp], eax
	mov	DWORD PTR -60[rbp], 0
	call	rand@PLT
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	DWORD PTR -96[rbp], edx
	mov	ecx, DWORD PTR -96[rbp]
	mov	edx, ecx
	sal	edx, 3
	sub	edx, ecx
	sub	eax, edx
	mov	DWORD PTR -96[rbp], eax
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	clip
	test	eax, eax
	je	.L120
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, DWORD PTR COLORS[rip]
	mov	ecx, edx
	shr	ecx, 31
	add	edx, ecx
	sar	edx
	mov	ecx, edx
	cdq
	idiv	ecx
	mov	ecx, edx
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	r8d, [rcx+rax]
	mov	edi, DWORD PTR -52[rbp]
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -64[rbp]
	mov	esi, DWORD PTR -60[rbp]
	mov	rax, QWORD PTR pwin[rip]
	mov	r9d, r8d
	mov	r8d, edi
	mov	rdi, rax
	call	drawpiece
	mov	rax, QWORD PTR pwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR -120[rbp]
.L121:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L122
	call	__stack_chk_fail@PLT
.L122:
	add	rsp, 112
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	play, .-play
	.section	.rodata
.LC28:
	.string	"High Score:"
.LC29:
	.string	" %d lines"
	.text
	.globl	again
	.type	again, @function
again:
.LFB16:
	.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	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	lea	edx, -4[rax]
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	sub	eax, 6
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 13
	mov	edi, 11
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	sub	eax, 1
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, 13
	mov	ecx, 11
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wfillrect
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC28[rip]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	r8d, edx
	lea	rcx, .LC29[rip]
	mov	edx, 3
	mov	esi, 3
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	r8, againmsg[rip]
	mov	ecx, 4
	mov	edx, 1
	mov	esi, 6
	mov	rdi, rax
	call	drawmsg
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wclear@PLT
.L129:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 113
	je	.L128
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 110
	je	.L128
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 121
	jne	.L129
.L128:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR COLORS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	sal	eax, 8
	movzx	edx, ax
	mov	rax, QWORD PTR iwin[rip]
	mov	esi, edx
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR iwin[rip]
	mov	r8d, 13
	mov	ecx, 14
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	call	wfillrect
	mov	rax, QWORD PTR iwin[rip]
	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 iwin[rip]
	lea	r8, instruct[rip]
	mov	ecx, 10
	mov	edx, 1
	mov	esi, 4
	mov	rdi, rax
	call	drawmsg
	mov	rax, QWORD PTR iwin[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	tolower@PLT
	cmp	eax, 121
	jne	.L130
	mov	eax, 1
	jmp	.L131
.L130:
	mov	eax, 0
.L131:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	again, .-again
	.globl	main
	.type	main, @function
main:
.LFB17:
	.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	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR col_width[rip], 4
	cmp	DWORD PTR -20[rbp], 2
	jne	.L133
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR col_width[rip], eax
.L133:
	mov	eax, DWORD PTR col_width[rip]
	cmp	eax, 20
	jle	.L134
	mov	DWORD PTR col_width[rip], 4
.L134:
	mov	eax, DWORD PTR col_width[rip]
	test	eax, eax
	jg	.L135
	mov	DWORD PTR col_width[rip], 4
.L135:
	mov	eax, 0
	call	init
.L137:
	mov	eax, 0
	call	play
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L136
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -12[rbp], eax
.L136:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	again
	test	eax, eax
	jne	.L137
	call	endwin@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L138
.L139:
	mov	rdx, QWORD PTR buf[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -8[rbp], 1
.L138:
	mov	eax, DWORD PTR col_width[rip]
	add	eax, 1
	cmp	DWORD PTR -8[rbp], eax
	jle	.L139
	mov	rax, QWORD PTR buf[rip]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC19:
	.long	-1717986918
	.long	1068079513
	.align 8
.LC20:
	.long	0
	.long	1072693248
	.align 8
.LC21:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC22:
	.long	1202590843
	.long	1065646817
	.align 8
.LC23:
	.long	-343597384
	.long	1068415057
	.align 8
.LC24:
	.long	858993459
	.long	1071854387
	.align 8
.LC27:
	.long	0
	.long	1093567616
	.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	"254244.c"
	.text
	.comm	col_width,4,4
	.global	blocks
	.data
	.align	2
	.type	blocks, %object
	.size	blocks, 140
blocks:
	.ascii	".X..\000"
	.ascii	".X..\000"
	.ascii	".XX.\000"
	.ascii	"..X.\000"
	.ascii	".X..\000"
	.ascii	".X..\000"
	.ascii	"....\000"
	.ascii	".XX.\000"
	.ascii	".X..\000"
	.ascii	".X..\000"
	.ascii	".XX.\000"
	.ascii	".XX.\000"
	.ascii	".X..\000"
	.ascii	".XX.\000"
	.ascii	".X..\000"
	.ascii	".XX.\000"
	.ascii	".X..\000"
	.ascii	".X..\000"
	.ascii	"..X.\000"
	.ascii	".X..\000"
	.ascii	".XX.\000"
	.ascii	"....\000"
	.ascii	"....\000"
	.ascii	"....\000"
	.ascii	"....\000"
	.ascii	"....\000"
	.ascii	".X..\000"
	.ascii	"....\000"
	.global	rots
	.align	2
	.type	rots, %object
	.size	rots, 28
rots:
	.word	4
	.word	4
	.word	4
	.word	2
	.word	2
	.word	2
	.word	1
	.comm	buf,4,4
	.comm	pwin,4,4
	.comm	nwin,4,4
	.comm	iwin,4,4
	.global	instruct
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Use arrow\000"
	.align	2
.LC1:
	.ascii	"keys to play\000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"UP- Rotate\000"
	.align	2
.LC4:
	.ascii	"DOWN- Faster\000"
	.align	2
.LC5:
	.ascii	"SPACE- Drop\000"
	.align	2
.LC6:
	.ascii	"S- Shadow\000"
	.align	2
.LC7:
	.ascii	"N- Next\000"
	.align	2
.LC8:
	.ascii	"Q to Quit\000"
	.data
	.align	2
	.type	instruct, %object
	.size	instruct, 40
instruct:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC2
	.word	.LC8
	.global	pausemsg
	.section	.rodata
	.align	2
.LC9:
	.ascii	"PAUSED\000"
	.align	2
.LC10:
	.ascii	" Press\000"
	.align	2
.LC11:
	.ascii	"  any\000"
	.align	2
.LC12:
	.ascii	"  key\000"
	.data
	.align	2
	.type	pausemsg, %object
	.size	pausemsg, 16
pausemsg:
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.global	againmsg
	.section	.rodata
	.align	2
.LC13:
	.ascii	"Do you want\000"
	.align	2
.LC14:
	.ascii	"  to play\000"
	.align	2
.LC15:
	.ascii	"   again\000"
	.align	2
.LC16:
	.ascii	"   (Y/N)\000"
	.data
	.align	2
	.type	againmsg, %object
	.size	againmsg, 16
againmsg:
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.text
	.align	2
	.global	drawmsg
	.syntax unified
	.arm
	.fpu softvfp
	.type	drawmsg, %function
drawmsg:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #4]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	mvwprintw
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	blt	.L3
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	drawmsg, .-drawmsg
	.align	2
	.global	wfillrect
	.syntax unified
	.arm
	.fpu softvfp
	.type	wfillrect, %function
wfillrect:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
	b	.L5
.L8:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	wmove
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L6
.L7:
	mov	r1, #32
	ldr	r0, [fp, #-16]
	bl	waddch
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L6:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L8
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	wfillrect, .-wfillrect
	.align	2
	.global	rx
	.syntax unified
	.arm
	.fpu softvfp
	.type	rx, %function
rx:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-20]
	b	.L11
.L10:
	ldr	r3, [fp, #-24]
.L11:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	cmp	r3, #2
	bls	.L12
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #2
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L13
	mov	r3, #3
	str	r3, [fp, #-8]
.L13:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	rx, .-rx
	.align	2
	.global	ry
	.syntax unified
	.arm
	.fpu softvfp
	.type	ry, %function
ry:
	@ 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]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	rx
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ry, .-ry
	.global	__aeabi_idivmod
	.align	2
	.global	clip
	.syntax unified
	.arm
	.fpu softvfp
	.type	clip, %function
clip:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L18
.L25:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L19
.L24:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldr	r1, .L26
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	rx
	mov	r5, r0
	ldr	r3, [fp, #-24]
	ldr	r4, [r3, #12]
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	ldr	r1, .L26
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	ry
	ldr	ip, .L26+4
	mov	r2, r4
	lsl	r2, r2, #2
	add	r2, r2, r4
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r1, r3, #3
	sub	r1, r1, r3
	add	r3, r2, r1
	add	r3, ip, r3
	add	r3, r3, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L20
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r3, #0
	bge	.L21
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	cmp	r3, #1
	ble	.L22
	ldr	r3, [fp, #-24]
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	sub	r2, r3, #1
	ldr	r3, .L26+8
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L21
.L22:
	mov	r3, #1
	b	.L23
.L21:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	cmp	r3, #0
	blt	.L20
	ldr	r3, .L26+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r1, r3
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L20
	mov	r3, #1
	b	.L23
.L20:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L19:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L25
	mov	r3, #0
.L23:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L27:
	.align	2
.L26:
	.word	rots
	.word	blocks
	.word	col_width
	.word	buf
	.size	clip, .-clip
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	initscr
	bl	raw
	ldr	r3, .L35
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	nodelay
	bl	noecho
	mov	r0, #0
	bl	curs_set
	bl	nonl
	ldr	r3, .L35
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	mov	r1, #80
	mov	r0, #25
	bl	resize_term
	bl	start_color
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L29
.L32:
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	bne	.L30
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r0, r3, #16
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	mov	r1, #0
	bl	init_pair
	b	.L31
.L30:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r0, r3, #16
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r2, r3
	mov	r1, #7
	bl	init_pair
.L31:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L29:
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L32
	mov	r0, #96
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L35+8
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L33
.L34:
	ldr	r3, .L35+12
	ldr	r3, [r3]
	add	r3, r3, #2
	lsl	r1, r3, #2
	ldr	r3, .L35+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L33:
	ldr	r3, [fp, #-24]
	cmp	r3, #23
	ble	.L34
	ldr	r3, .L35+16
	ldr	r2, [r3]
	ldr	r3, .L35+12
	ldr	r3, [r3]
	sub	r3, r2, r3
	sub	r3, r3, #15
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, .L35+20
	ldr	r3, [r3]
	sub	r3, r3, #23
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L35
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L35
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L35+12
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r1, r3, #1
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-16]
	mov	r0, #24
	bl	newwin
	mov	r3, r0
	ldr	r2, .L35+24
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r1, r3, #1
	ldr	r3, .L35+12
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #5
	mov	r2, r1
	mov	r1, #10
	mov	r0, #6
	bl	newwin
	mov	r3, r0
	ldr	r2, .L35+28
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	add	r1, r3, #8
	ldr	r3, .L35+12
	ldr	r3, [r3]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	add	r3, r3, #3
	mov	r2, r1
	mov	r1, #15
	mov	r0, #15
	bl	newwin
	mov	r3, r0
	ldr	r2, .L35+32
	str	r3, [r2]
	ldr	r3, .L35+32
	ldr	r0, [r3]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	bl	wattrset
	ldr	r3, .L35+32
	ldr	r0, [r3]
	mov	r3, #13
	str	r3, [sp]
	mov	r3, #14
	mov	r2, #1
	mov	r1, #1
	bl	wfillrect
	ldr	r3, .L35+32
	ldr	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
	bl	wborder
	ldr	r3, .L35+32
	ldr	r0, [r3]
	ldr	r3, .L35+36
	str	r3, [sp]
	mov	r3, #10
	mov	r2, #1
	mov	r1, #4
	bl	drawmsg
	ldr	r3, .L35+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L36:
	.align	2
.L35:
	.word	stdscr
	.word	COLORS
	.word	buf
	.word	col_width
	.word	COLS
	.word	LINES
	.word	pwin
	.word	nwin
	.word	iwin
	.word	instruct
	.size	init, .-init
	.section	.rodata
	.align	2
.LC17:
	.ascii	"  \000"
	.align	2
.LC18:
	.ascii	"NEXT\000"
	.text
	.align	2
	.global	drawplay
	.syntax unified
	.arm
	.fpu softvfp
	.type	drawplay, %function
drawplay:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-32]
	ldr	r3, .L48
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r0, r3, #1
	ldr	r3, .L48
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-16]
	ldr	r3, .L48+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	mov	r0, r2
	bl	wattrset
	ldr	r3, .L48+4
	ldr	r0, [r3]
	ldr	r3, .L48+8
	ldr	r3, [r3, #480]
	ldr	r2, .L48+8
	ldr	r2, [r2, #480]
	mov	r1, #0
	str	r1, [sp, #16]
	mov	r1, #0
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #32
	mov	r2, #0
	mov	r1, #0
	bl	wborder
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L38
.L45:
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L39
.L44:
	ldr	r3, .L48+4
	ldr	r4, [r3]
	ldr	r3, .L48+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L40
	ldr	r3, .L48+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, .L48
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r3, .L48
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r1, r3
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	b	.L41
.L40:
	ldr	r3, .L48
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
.L41:
	mov	r1, r3
	mov	r0, r4
	bl	wattrset
	ldr	r3, .L48+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-24]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L43
	ldr	r3, .L48+4
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L48+16
	mov	r0, r3
	bl	waddnstr
.L43:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L39:
	ldr	r3, .L48+20
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	ble	.L44
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L38:
	ldr	r3, [fp, #-24]
	cmp	r3, #22
	ble	.L45
	ldr	r3, .L48+24
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	mov	r0, r2
	bl	wattrset
	ldr	r3, .L48+24
	ldr	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
	bl	wborder
	ldr	r3, .L48+24
	ldr	r0, [r3]
	mov	r3, #8
	str	r3, [sp]
	mov	r3, #4
	mov	r2, #1
	mov	r1, #1
	bl	wfillrect
	ldr	r3, .L48+24
	ldr	r3, [r3]
	mov	r2, #3
	mov	r1, #0
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L47
	ldr	r3, .L48+24
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L48+28
	mov	r0, r3
	bl	waddnstr
.L47:
	ldr	r3, .L48+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L48+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L49:
	.align	2
.L48:
	.word	COLORS
	.word	pwin
	.word	acs_map
	.word	buf
	.word	.LC17
	.word	col_width
	.word	nwin
	.word	.LC18
	.size	drawplay, .-drawplay
	.align	2
	.global	clearedlines
	.syntax unified
	.arm
	.fpu softvfp
	.type	clearedlines, %function
clearedlines:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L51
.L62:
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L52
.L54:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L53
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L53:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L52:
	ldr	r3, .L64+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L54
	ldr	r3, .L64+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bne	.L55
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L56
.L59:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L57
.L58:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L64
	ldr	r1, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [r2]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L57:
	ldr	r3, .L64+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L58
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bgt	.L59
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L60
.L61:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L60:
	ldr	r3, .L64+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L61
	ldr	r0, [fp, #-32]
	bl	drawplay
	ldr	r3, .L64+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	beep
	mov	r0, #75
	bl	napms
.L55:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L51:
	ldr	r3, [fp, #-20]
	cmp	r3, #22
	ble	.L62
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L65:
	.align	2
.L64:
	.word	buf
	.word	col_width
	.word	pwin
	.size	clearedlines, .-clearedlines
	.align	2
	.global	drawpiece
	.syntax unified
	.arm
	.fpu softvfp
	.type	drawpiece, %function
drawpiece:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #8]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	wattrset
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L67
.L72:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L68
.L71:
	ldr	r2, .L73
	ldr	r3, [fp, #4]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	rx
	mov	r4, r0
	ldr	r2, .L73
	ldr	r3, [fp, #4]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-36]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	ry
	ldr	ip, .L73+4
	ldr	r3, [fp, #4]
	mov	r2, r3
	lsl	r2, r2, #2
	add	r2, r2, r3
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r1, r3, #3
	sub	r1, r1, r3
	add	r3, r2, r1
	add	r3, ip, r3
	add	r3, r3, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L69
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-28]
	add	r1, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #1
	lsl	r3, r3, #1
	sub	r3, r3, #1
	mov	r2, r3
	ldr	r0, [fp, #-24]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L69
	mvn	r2, #0
	ldr	r1, .L73+8
	ldr	r0, [fp, #-24]
	bl	waddnstr
.L69:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L68:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L71
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L67:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L72
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L74:
	.align	2
.L73:
	.word	rots
	.word	blocks
	.word	.LC17
	.size	drawpiece, .-drawpiece
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dcmplt
	.section	.rodata
	.align	2
.LC19:
	.ascii	"Level : %d\000"
	.align	2
.LC20:
	.ascii	"Lines : %d\000"
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpgt
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	play
	.syntax unified
	.arm
	.fpu softvfp
	.type	play, %function
play:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #108
	ldr	r3, .L140
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #1
	str	r3, [fp, #-120]
	mov	r3, #1
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-116]
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L76
.L82:
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L77
.L81:
	ldr	r3, [fp, #-112]
	cmp	r3, #22
	bgt	.L78
	ldr	r3, [fp, #-108]
	cmp	r3, #0
	ble	.L78
	ldr	r3, .L140+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	ble	.L79
.L78:
	mov	r2, #1
	b	.L80
.L79:
	mov	r2, #0
.L80:
	ldr	r3, .L140+8
	ldr	r1, [r3]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L77:
	ldr	r3, .L140+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	ble	.L81
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L76:
	ldr	r3, [fp, #-112]
	cmp	r3, #23
	ble	.L82
	bl	rand
	mov	r2, r0
	ldr	r3, .L140+12
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r1, r2, r3
	str	r1, [fp, #-52]
	ldr	r3, .L140+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
.L133:
	ldr	r0, [fp, #-120]
	bl	__aeabi_i2d
	ldr	r2, .L140+16
	ldr	r3, .L140+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L140+24
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r2, .L140+16
	ldr	r3, .L140+28
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L83
	ldr	r3, [fp, #-120]
	sub	r3, r3, #20
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L140+32
	ldr	r3, .L140+36
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L140+16
	ldr	r1, .L140+28
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L83:
	ldr	r2, .L140+40
	ldr	r3, .L140+44
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	ldr	r2, .L140+48
	ldr	r3, .L140+52
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
.L85:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L87
	mvn	r3, #1
	str	r3, [fp, #-60]
.L87:
	bl	rand
	mov	r2, r0
	ldr	r3, .L140+12
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-88]
	ldr	r0, [fp, #-52]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r4, r3
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-120]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r4, r3
	bne	.L88
	ldr	r3, [fp, #-52]
	add	r0, r3, #1
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-104]
	b	.L89
.L88:
	ldr	r0, [fp, #-52]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-104]
.L89:
	ldr	r0, [fp, #-120]
	bl	drawplay
	ldr	r3, .L140+60
	ldr	r0, [r3]
	ldr	r3, [fp, #-120]
	str	r3, [sp]
	ldr	r3, .L140+64
	mov	r2, #2
	mov	r1, #1
	bl	mvwprintw
	ldr	r3, .L140+60
	ldr	r0, [r3]
	ldr	r3, [fp, #-116]
	str	r3, [sp]
	ldr	r3, .L140+68
	mov	r2, #2
	mov	r1, #2
	bl	mvwprintw
	ldr	r3, .L140+60
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	clock
	str	r0, [fp, #-92]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-36]
.L126:
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-56]
	str	r3, [fp, #-40]
	b	.L90
.L91:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L90:
	sub	r3, fp, #48
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L91
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L92
	ldr	r3, .L140+72
	ldr	r4, [r3]
	ldr	r5, [fp, #-56]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-88]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r1, r3
	str	r3, [sp, #4]
	ldr	r3, [fp, #-88]
	str	r3, [sp]
	mov	r3, r5
	mov	r2, #2
	mov	r1, #1
	mov	r0, r4
	bl	drawpiece
.L92:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L93
	ldr	r3, .L140+76
	ldr	r0, [r3]
	ldr	r1, [fp, #-44]
	ldr	ip, [fp, #-48]
	ldr	lr, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-104]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, lr
	mov	r2, ip
	bl	drawpiece
.L93:
	ldr	r3, .L140+76
	ldr	r5, [r3]
	ldr	r6, [fp, #-60]
	ldr	r7, [fp, #-64]
	ldr	r8, [fp, #-56]
	ldr	r4, [fp, #-52]
	ldr	r0, [fp, #-52]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r1, r3
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	drawpiece
	ldr	r3, .L140+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L140+72
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L95:
	ldr	r3, .L140+80
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-84]
	bl	clock
	str	r0, [fp, #-80]
	ldr	r3, [fp, #-84]
	cmn	r3, #1
	bne	.L94
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L140+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L95
.L94:
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L96
	ldr	r3, .L140+72
	ldr	r4, [r3]
	ldr	r5, [fp, #-56]
	ldr	r3, [fp, #-120]
	add	r0, r3, #1
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [sp, #4]
	ldr	r3, [fp, #-88]
	str	r3, [sp]
	mov	r3, r5
	mov	r2, #2
	mov	r1, #1
	mov	r0, r4
	bl	drawpiece
.L96:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	beq	.L97
	ldr	r3, .L140+76
	ldr	r5, [r3]
	ldr	r6, [fp, #-44]
	ldr	r7, [fp, #-48]
	ldr	r8, [fp, #-40]
	ldr	r4, [fp, #-36]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-120]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	drawpiece
.L97:
	ldr	r3, .L140+76
	ldr	r5, [r3]
	ldr	r6, [fp, #-60]
	ldr	r7, [fp, #-64]
	ldr	r8, [fp, #-56]
	ldr	r4, [fp, #-52]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-120]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	drawpiece
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-92]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L140+84
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L139
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L139:
	ldr	r3, [fp, #-84]
	ldr	r2, .L140+88
	cmp	r3, r2
	bgt	.L100
	ldr	r3, [fp, #-84]
	ldr	r2, .L140+92
	cmp	r3, r2
	bge	.L101
	ldr	r3, [fp, #-84]
	cmp	r3, #32
	beq	.L122
	ldr	r3, [fp, #-84]
	cmp	r3, #32
	blt	.L100
	ldr	r3, [fp, #-84]
	cmp	r3, #115
	bgt	.L100
	ldr	r3, [fp, #-84]
	cmp	r3, #78
	bge	.L103
	b	.L100
.L101:
	ldr	r3, [fp, #-84]
	sub	r3, r3, #256
	sub	r3, r3, #2
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L100
.L105:
	.word	.L108
	.word	.L107
	.word	.L106
	.word	.L104
.L103:
	ldr	r3, [fp, #-84]
	sub	r3, r3, #78
	cmp	r3, #37
	ldrls	pc, [pc, r3, asl #2]
	b	.L100
.L110:
	.word	.L113
	.word	.L100
	.word	.L112
	.word	.L111
	.word	.L100
	.word	.L109
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L113
	.word	.L100
	.word	.L112
	.word	.L111
	.word	.L100
	.word	.L109
.L104:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L114
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L100
.L114:
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L106:
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-64]
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L116
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
	b	.L100
.L116:
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L107:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L118
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-64]
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L119
	ldr	r3, [fp, #-64]
	add	r3, r3, #2
	str	r3, [fp, #-64]
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L120
	ldr	r3, [fp, #-64]
	sub	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-56]
	add	r3, r3, #3
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-56]
	b	.L100
.L120:
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L119:
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L118:
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L108:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L123:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L122:
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L123
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	bl	clock
	str	r0, [fp, #-92]
	b	.L100
.L113:
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-100]
	b	.L100
.L109:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-96]
	b	.L100
.L112:
	ldr	r3, .L140+76
	ldr	r4, [r3]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-120]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	mov	r0, r4
	bl	wattrset
	ldr	r3, .L140+76
	ldr	r0, [r3]
	ldr	r3, .L140+4
	ldr	r3, [r3]
	lsl	r3, r3, #1
	str	r3, [sp]
	mov	r3, #23
	mov	r2, #1
	mov	r1, #0
	bl	wfillrect
	ldr	r3, .L140+76
	ldr	r0, [r3]
	ldr	r3, .L140+96
	str	r3, [sp]
	mov	r3, #4
	mov	r2, #2
	mov	r1, #11
	bl	drawmsg
	ldr	r3, .L140+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
.L124:
	ldr	r3, .L140+80
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	mov	r3, r0
	cmn	r3, #1
	beq	.L124
	ldr	r0, [fp, #-120]
	bl	drawplay
	ldr	r3, .L140+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	b	.L100
.L111:
	ldr	r3, [fp, #-116]
	b	.L134
.L100:
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L126
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bge	.L127
	ldr	r3, [fp, #-116]
	b	.L134
.L127:
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L128
.L132:
	mov	r3, #0
	str	r3, [fp, #-112]
	b	.L129
.L131:
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r1, .L140+100
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, [fp, #-112]
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	rx
	mov	r5, r0
	ldr	r4, [fp, #-52]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	ldr	r1, .L140+100
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, [fp, #-112]
	ldr	r1, [fp, #-108]
	mov	r0, r3
	bl	ry
	ldr	ip, .L140+104
	mov	r2, r4
	lsl	r2, r2, #2
	add	r2, r2, r4
	mov	r3, r5
	lsl	r3, r3, #2
	add	r3, r3, r5
	lsl	r1, r3, #3
	sub	r1, r1, r3
	add	r3, r2, r1
	add	r3, ip, r3
	add	r3, r3, r0
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L130
	ldr	r0, [fp, #-52]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	ip, r3
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	ldr	r3, .L140+8
	ldr	r2, [r3]
	ldr	r1, [fp, #-60]
	ldr	r3, [fp, #-108]
	add	r3, r1, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r1, [fp, #-64]
	ldr	r3, [fp, #-112]
	add	r3, r1, r3
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	add	r3, r2, r3
	add	r2, ip, r0
	str	r2, [r3]
.L130:
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
.L129:
	ldr	r3, [fp, #-112]
	cmp	r3, #3
	ble	.L131
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L128:
	ldr	r3, [fp, #-108]
	cmp	r3, #3
	ble	.L132
	ldr	r0, [fp, #-120]
	bl	drawplay
	ldr	r0, [fp, #-120]
	bl	clearedlines
	mov	r2, r0
	ldr	r3, [fp, #-116]
	add	r3, r3, r2
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-116]
	ldr	r2, .L140+108
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-88]
	str	r3, [fp, #-52]
	ldr	r3, .L140+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-60]
	bl	rand
	mov	r2, r0
	ldr	r3, .L140+12
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-88]
	sub	r3, fp, #64
	mov	r0, r3
	bl	clip
	mov	r3, r0
	cmp	r3, #0
	beq	.L133
	ldr	r3, .L140+76
	ldr	r5, [r3]
	ldr	r6, [fp, #-60]
	ldr	r7, [fp, #-64]
	ldr	r8, [fp, #-56]
	ldr	r4, [fp, #-52]
	ldr	r0, [fp, #-52]
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	ldr	r3, .L140+56
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r1, r3
	str	r3, [sp, #4]
	str	r4, [sp]
	mov	r3, r8
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	drawpiece
	ldr	r3, .L140+76
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, [fp, #-116]
.L134:
	ldr	r2, .L140
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L135
	bl	__stack_chk_fail
.L135:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L141:
	.align	2
.L140:
	.word	.LC21
	.word	col_width
	.word	buf
	.word	-1840700269
	.word	-1717986918
	.word	1068079513
	.word	1072693248
	.word	1069128089
	.word	1202590843
	.word	1065646817
	.word	-343597384
	.word	1068415057
	.word	858993459
	.word	1071854387
	.word	COLORS
	.word	iwin
	.word	.LC19
	.word	.LC20
	.word	nwin
	.word	pwin
	.word	stdscr
	.word	1093567616
	.word	261
	.word	258
	.word	pausemsg
	.word	rots
	.word	blocks
	.word	1717986919
	.size	play, .-play
	.section	.rodata
	.align	2
.LC22:
	.ascii	"High Score:\000"
	.align	2
.LC23:
	.ascii	" %d lines\000"
	.text
	.align	2
	.global	again
	.syntax unified
	.arm
	.fpu softvfp
	.type	again, %function
again:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-16]
	ldr	r3, .L147
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r1, r3, #6
	ldr	r3, .L147+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #4
	mov	r2, r1
	mov	r1, #13
	mov	r0, #11
	bl	newwin
	str	r0, [fp, #-12]
	ldr	r3, .L147+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	wattrset
	mov	r3, #13
	str	r3, [sp]
	mov	r3, #11
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	wfillrect
	ldr	r3, .L147+12
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	mvwprintw
	ldr	r3, [fp, #-16]
	str	r3, [sp]
	ldr	r3, .L147+16
	mov	r2, #3
	mov	r1, #3
	ldr	r0, [fp, #-12]
	bl	mvwprintw
	ldr	r3, .L147+20
	str	r3, [sp]
	mov	r3, #4
	mov	r2, #1
	mov	r1, #6
	ldr	r0, [fp, #-12]
	bl	drawmsg
	ldr	r0, [fp, #-12]
	bl	wrefresh
	ldr	r0, [fp, #-12]
	bl	wclear
.L144:
	ldr	r3, .L147+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	tolower
	mov	r3, r0
	cmp	r3, #113
	beq	.L143
	ldr	r0, [fp, #-8]
	bl	tolower
	mov	r3, r0
	cmp	r3, #110
	beq	.L143
	ldr	r0, [fp, #-8]
	bl	tolower
	mov	r3, r0
	cmp	r3, #121
	bne	.L144
.L143:
	ldr	r0, [fp, #-12]
	bl	wrefresh
	ldr	r3, .L147+28
	ldr	r0, [r3]
	ldr	r3, .L147+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	mov	r1, r3
	bl	wattrset
	ldr	r3, .L147+28
	ldr	r0, [r3]
	mov	r3, #13
	str	r3, [sp]
	mov	r3, #14
	mov	r2, #1
	mov	r1, #1
	bl	wfillrect
	ldr	r3, .L147+28
	ldr	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
	bl	wborder
	ldr	r3, .L147+28
	ldr	r0, [r3]
	ldr	r3, .L147+32
	str	r3, [sp]
	mov	r3, #10
	mov	r2, #1
	mov	r1, #4
	bl	drawmsg
	ldr	r3, .L147+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r0, [fp, #-12]
	bl	delwin
	ldr	r0, [fp, #-8]
	bl	tolower
	mov	r3, r0
	cmp	r3, #121
	bne	.L145
	mov	r3, #1
	b	.L146
.L145:
	mov	r3, #0
.L146:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L148:
	.align	2
.L147:
	.word	LINES
	.word	COLS
	.word	COLORS
	.word	.LC22
	.word	.LC23
	.word	againmsg
	.word	stdscr
	.word	iwin
	.word	instruct
	.size	again, .-again
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L158
	mov	r2, #4
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	cmp	r3, #2
	bne	.L150
	ldr	r3, [fp, #-28]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L158
	str	r3, [r2]
.L150:
	ldr	r3, .L158
	ldr	r3, [r3]
	cmp	r3, #20
	ble	.L151
	ldr	r3, .L158
	mov	r2, #4
	str	r2, [r3]
.L151:
	ldr	r3, .L158
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L152
	ldr	r3, .L158
	mov	r2, #4
	str	r2, [r3]
.L152:
	bl	init
.L154:
	bl	play
	str	r0, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	ble	.L153
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
.L153:
	ldr	r0, [fp, #-16]
	bl	again
	mov	r3, r0
	cmp	r3, #0
	bne	.L154
	bl	endwin
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L155
.L156:
	ldr	r3, .L158+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L155:
	ldr	r3, .L158
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L156
	ldr	r3, .L158+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L159:
	.align	2
.L158:
	.word	col_width
	.word	buf
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
