	.file	"177273.c"
	.intel_syntax noprefix
	.text
	.globl	makeNumber
	.type	makeNumber, @function
makeNumber:
.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	eax, 0
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	cmp	DWORD PTR -4[rbp], 0
	je	.L2
	mov	eax, 2
	jmp	.L3
.L2:
	mov	eax, 4
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	makeNumber, .-makeNumber
	.globl	freeField
	.type	freeField, @function
freeField:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L10:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L7
	mov	eax, 1
	jmp	.L8
.L7:
	add	DWORD PTR -4[rbp], 1
.L6:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L9
	add	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L10
	mov	eax, 0
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	freeField, .-freeField
	.globl	spawnNumber
	.type	spawnNumber, @function
spawnNumber:
.LFB2:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	freeField
	test	eax, eax
	je	.L14
	mov	eax, 0
	call	rand@PLT
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -24[rbp], eax
	mov	eax, 0
	call	rand@PLT
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L13
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	spawnNumber
	jmp	.L14
.L13:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	lea	rbx, [rdx+rax]
	mov	eax, 0
	call	makeNumber
	mov	edx, DWORD PTR -20[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rbx+rdx*4], eax
.L14:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	spawnNumber, .-spawnNumber
	.globl	newGame
	.type	newGame, @function
newGame:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L16
.L19:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -4[rbp], 1
.L17:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L18
	add	DWORD PTR -8[rbp], 1
.L16:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L19
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	spawnNumber
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	spawnNumber
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	newGame, .-newGame
	.globl	moveUp
	.type	moveUp, @function
moveUp:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	WORD PTR -26[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L21
.L39:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L22
.L28:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L23
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L24
.L27:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L41
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	sub	DWORD PTR -16[rbp], 1
.L24:
	cmp	DWORD PTR -16[rbp], 0
	jns	.L27
	jmp	.L23
.L41:
	nop
.L23:
	add	DWORD PTR -20[rbp], 1
.L22:
	cmp	DWORD PTR -20[rbp], 3
	jle	.L28
	mov	DWORD PTR -12[rbp], 1
	jmp	.L29
.L31:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L30
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	lea	rcx, -16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	cmp	edx, eax
	jne	.L30
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	lea	rcx, -16[rdx]
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	WORD PTR -26[rbp], 1
.L30:
	add	DWORD PTR -12[rbp], 1
.L29:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L31
	mov	DWORD PTR -8[rbp], 1
	jmp	.L32
.L38:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L33
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L34
.L37:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L42
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	sub	DWORD PTR -4[rbp], 1
.L34:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L37
	jmp	.L33
.L42:
	nop
.L33:
	add	DWORD PTR -8[rbp], 1
.L32:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L38
	add	DWORD PTR -24[rbp], 1
.L21:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L39
	cmp	WORD PTR -26[rbp], 0
	je	.L43
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	spawnNumber
.L43:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	moveUp, .-moveUp
	.globl	moveDown
	.type	moveDown, @function
moveDown:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	WORD PTR -26[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L45
.L63:
	mov	DWORD PTR -20[rbp], 2
	jmp	.L46
.L52:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L47
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L48
.L51:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L65
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	add	DWORD PTR -16[rbp], 1
.L48:
	cmp	DWORD PTR -16[rbp], 3
	jle	.L51
	jmp	.L47
.L65:
	nop
.L47:
	sub	DWORD PTR -20[rbp], 1
.L46:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L52
	mov	DWORD PTR -12[rbp], 2
	jmp	.L53
.L55:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L54
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	cmp	edx, eax
	jne	.L54
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 1
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	lea	ecx, [rax+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, 1
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L54:
	sub	DWORD PTR -12[rbp], 1
.L53:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L55
	mov	DWORD PTR -8[rbp], 2
	jmp	.L56
.L62:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L57
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L58
.L61:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L66
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 4
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -4[rbp], 1
.L58:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L61
	jmp	.L57
.L66:
	nop
.L57:
	sub	DWORD PTR -8[rbp], 1
.L56:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L62
	add	DWORD PTR -24[rbp], 1
.L45:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L63
	cmp	WORD PTR -26[rbp], 0
	je	.L67
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	spawnNumber
.L67:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	moveDown, .-moveDown
	.globl	moveLeft
	.type	moveLeft, @function
moveLeft:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	WORD PTR -26[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L69
.L87:
	mov	DWORD PTR -20[rbp], 1
	jmp	.L70
.L76:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L71
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L72
.L75:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L89
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	movsx	rax, esi
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	sub	DWORD PTR -16[rbp], 1
.L72:
	cmp	DWORD PTR -16[rbp], 0
	jns	.L75
	jmp	.L71
.L89:
	nop
.L71:
	add	DWORD PTR -20[rbp], 1
.L70:
	cmp	DWORD PTR -20[rbp], 3
	jle	.L76
	mov	DWORD PTR -12[rbp], 1
	jmp	.L77
.L79:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L78
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	cmp	edx, eax
	jne	.L78
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR -12[rbp]
	lea	esi, -1[rcx]
	lea	ecx, [rax+rax]
	movsx	rax, esi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	sub	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L78:
	add	DWORD PTR -12[rbp], 1
.L77:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L79
	mov	DWORD PTR -8[rbp], 1
	jmp	.L80
.L86:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L81
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L82
.L85:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L90
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, 1[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	movsx	rax, esi
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	sub	DWORD PTR -4[rbp], 1
.L82:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L85
	jmp	.L81
.L90:
	nop
.L81:
	add	DWORD PTR -8[rbp], 1
.L80:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L86
	add	DWORD PTR -24[rbp], 1
.L69:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L87
	cmp	WORD PTR -26[rbp], 0
	je	.L91
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	spawnNumber
.L91:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	moveLeft, .-moveLeft
	.globl	moveRight
	.type	moveRight, @function
moveRight:
.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 -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	WORD PTR -26[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L93
.L111:
	mov	DWORD PTR -20[rbp], 2
	jmp	.L94
.L100:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L95
	mov	eax, DWORD PTR -20[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	jmp	.L96
.L99:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L113
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	movsx	rax, esi
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	add	DWORD PTR -16[rbp], 1
.L96:
	cmp	DWORD PTR -16[rbp], 3
	jle	.L99
	jmp	.L95
.L113:
	nop
.L95:
	sub	DWORD PTR -20[rbp], 1
.L94:
	cmp	DWORD PTR -20[rbp], 0
	jns	.L100
	mov	DWORD PTR -12[rbp], 2
	jmp	.L101
.L103:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rcx+rax*4]
	cmp	edx, eax
	jne	.L102
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 4
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	mov	ecx, DWORD PTR -12[rbp]
	lea	esi, 1[rcx]
	lea	ecx, [rax+rax]
	movsx	rax, esi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	mov	WORD PTR -26[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	lea	edx, [rcx+rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
.L102:
	sub	DWORD PTR -12[rbp], 1
.L101:
	cmp	DWORD PTR -12[rbp], 0
	jns	.L103
	mov	DWORD PTR -8[rbp], 2
	jmp	.L104
.L110:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	je	.L105
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L106
.L109:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L114
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	lea	esi, -1[rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rcx, rax
	movsx	rax, esi
	mov	edx, DWORD PTR [rdx+rax*4]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR [rcx+rax*4], edx
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -4[rbp], 1
.L106:
	cmp	DWORD PTR -4[rbp], 3
	jle	.L109
	jmp	.L105
.L114:
	nop
.L105:
	sub	DWORD PTR -8[rbp], 1
.L104:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L110
	add	DWORD PTR -24[rbp], 1
.L93:
	cmp	DWORD PTR -24[rbp], 3
	jle	.L111
	cmp	WORD PTR -26[rbp], 0
	je	.L115
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	spawnNumber
.L115:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	moveRight, .-moveRight
	.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	"177273.c"
	.text
	.align	2
	.global	makeNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	makeNumber, %function
makeNumber:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	rand
	mov	r2, r0
	ldr	r3, .L4
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L2
	mov	r3, #2
	b	.L3
.L2:
	mov	r3, #4
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	1717986919
	.size	makeNumber, .-makeNumber
	.align	2
	.global	freeField
	.syntax unified
	.arm
	.fpu softvfp
	.type	freeField, %function
freeField:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L12:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L8
.L11:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L9
	mov	r3, #1
	b	.L10
.L9:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L8:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L11
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L12
	mov	r3, #0
.L10:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	freeField, .-freeField
	.align	2
	.global	spawnNumber
	.syntax unified
	.arm
	.fpu softvfp
	.type	spawnNumber, %function
spawnNumber:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	freeField
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-20]
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-24]
	bl	spawnNumber
	b	.L16
.L15:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	bl	makeNumber
	mov	r2, r0
	ldr	r3, [fp, #-16]
	str	r2, [r4, r3, lsl #2]
.L16:
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	spawnNumber, .-spawnNumber
	.align	2
	.global	newGame
	.syntax unified
	.arm
	.fpu softvfp
	.type	newGame, %function
newGame:
	@ 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, #-12]
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L19
.L20:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L19:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L20
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L18:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L21
	ldr	r3, [fp, #-20]
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, [fp, #-16]
	bl	spawnNumber
	ldr	r0, [fp, #-16]
	bl	spawnNumber
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	newGame, .-newGame
	.align	2
	.global	moveUp
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveUp, %function
moveUp:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L23
.L41:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L24
.L30:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L25
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L26
.L29:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L43
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L29
	b	.L25
.L43:
	nop
.L25:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L24:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ble	.L30
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L31
.L33:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L32
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	lsl	r1, r2, #1
	ldr	r2, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r3, [r3, r1, lsl #2]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	str	r2, [r3]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
.L32:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L31:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L33
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L34
.L40:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L35
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L36
.L39:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L44
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L36:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L39
	b	.L35
.L44:
	nop
.L35:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L34:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L40
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	ble	.L41
	ldrsh	r3, [fp, #-30]
	cmp	r3, #0
	beq	.L45
	ldr	r0, [fp, #-40]
	bl	spawnNumber
.L45:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	moveUp, .-moveUp
	.align	2
	.global	moveDown
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveDown, %function
moveDown:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L47
.L65:
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L48
.L54:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L50
.L53:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-20]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L50:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L53
	b	.L49
.L67:
	nop
.L49:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L48:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L54
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L55
.L57:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L56
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	lsl	r1, r2, #1
	ldr	r2, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r3, [r3, r1, lsl #2]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	str	r2, [r3]
.L56:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L55:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L57
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L58
.L64:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L60
.L63:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-28]
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-28]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-28]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L60:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L63
	b	.L59
.L68:
	nop
.L59:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L58:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L64
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L47:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	ble	.L65
	ldrsh	r3, [fp, #-30]
	cmp	r3, #0
	beq	.L69
	ldr	r0, [fp, #-40]
	bl	spawnNumber
.L69:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	moveDown, .-moveDown
	.align	2
	.global	moveLeft
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveLeft, %function
moveLeft:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L71
.L89:
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L72
.L78:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L73
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L74
.L77:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L91
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r0, [fp, #-40]
	add	r3, r0, r3
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	add	r2, r2, #1
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L74:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L77
	b	.L73
.L91:
	nop
.L73:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L72:
	ldr	r3, [fp, #-24]
	cmp	r3, #3
	ble	.L78
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L79
.L81:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L80
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-16]
	sub	r1, r1, #1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L80
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	sub	r2, r2, #1
	lsl	r1, r1, #1
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-16]
	sub	r1, r1, #1
	ldr	r3, [r3, r1, lsl #2]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	str	r2, [r3]
.L80:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L79:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L81
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L82
.L88:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L83
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L84
.L87:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L92
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r0, [fp, #-40]
	add	r3, r0, r3
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	add	r2, r2, #1
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L84:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L87
	b	.L83
.L92:
	nop
.L83:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L82:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L88
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L71:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	ble	.L89
	ldrsh	r3, [fp, #-30]
	cmp	r3, #0
	beq	.L93
	ldr	r0, [fp, #-40]
	bl	spawnNumber
.L93:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	moveLeft, .-moveLeft
	.align	2
	.global	moveRight
	.syntax unified
	.arm
	.fpu softvfp
	.type	moveRight, %function
moveRight:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #0
	strh	r3, [fp, #-30]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L95
.L113:
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L96
.L102:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L97
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L98
.L101:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L115
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	sub	r1, r3, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r0, [fp, #-40]
	add	r3, r0, r3
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-20]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	sub	r2, r2, #1
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L98:
	ldr	r3, [fp, #-20]
	cmp	r3, #3
	ble	.L101
	b	.L97
.L115:
	nop
.L97:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L96:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L102
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L103
.L105:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-16]
	add	r1, r1, #1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bne	.L104
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	add	r2, r2, #1
	lsl	r1, r1, #1
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #1
	strh	r3, [fp, #-30]	@ movhi
	ldr	r3, [fp, #-44]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r1, [fp, #-40]
	add	r3, r1, r3
	ldr	r1, [fp, #-16]
	add	r1, r1, #1
	ldr	r3, [r3, r1, lsl #2]
	add	r2, r2, r3
	ldr	r3, [fp, #-44]
	str	r2, [r3]
.L104:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L103:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L105
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L106
.L112:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	beq	.L107
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L108
.L111:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L116
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	sub	r1, r3, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r0, [fp, #-40]
	add	r3, r0, r3
	ldr	r1, [r2, r1, lsl #2]
	ldr	r2, [fp, #-8]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #4
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	sub	r2, r2, #1
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L108:
	ldr	r3, [fp, #-8]
	cmp	r3, #3
	ble	.L111
	b	.L107
.L116:
	nop
.L107:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L106:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L112
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L95:
	ldr	r3, [fp, #-28]
	cmp	r3, #3
	ble	.L113
	ldrsh	r3, [fp, #-30]
	cmp	r3, #0
	beq	.L117
	ldr	r0, [fp, #-40]
	bl	spawnNumber
.L117:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	moveRight, .-moveRight
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
