	.file	"184888.c"
	.intel_syntax noprefix
	.text
	.globl	arr
	.bss
	.align 32
	.type	arr, @object
	.size	arr, 64
arr:
	.zero	64
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	ii
	.align 4
	.type	ii, @object
	.size	ii, 4
ii:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	score
	.align 4
	.type	score, @object
	.size	score, 4
score:
	.zero	4
	.globl	key
	.type	key, @object
	.size	key, 1
key:
	.zero	1
	.globl	r
	.type	r, @object
	.size	r, 1
r:
	.zero	1
	.globl	ok
	.type	ok, @object
	.size	ok, 1
ok:
	.zero	1
	.globl	end
	.type	end, @object
	.size	end, 1
end:
	.zero	1
	.globl	newn
	.type	newn, @object
	.size	newn, 1
newn:
	.zero	1
	.text
	.globl	init
	.type	init, @function
init:
.LFB0:
	.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 i[rip], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L2:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 15
	jle	.L3
	mov	DWORD PTR score[rip], 0
	mov	esi, 3
	mov	edi, 3
	mov	eax, 0
	call	gotoxy@PLT
	mov	edi, 10
	call	putchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	init, .-init
	.globl	shiftLeft
	.type	shiftLeft, @function
shiftLeft:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	DWORD PTR ii[rip], 0
	jmp	.L5
.L9:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	mov	DWORD PTR i[rip], eax
	jmp	.L6
.L8:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L7:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L6:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	lea	edx, 2[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L8
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L5:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L9
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	mov	DWORD PTR i[rip], eax
	jmp	.L10
.L12:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L11
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	lea	ecx, [rdx+rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR score[rip]
	add	eax, edx
	mov	DWORD PTR score[rip], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L11:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L10:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	lea	edx, 2[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L12
	mov	DWORD PTR ii[rip], 0
	jmp	.L13
.L17:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	mov	DWORD PTR i[rip], eax
	jmp	.L14
.L16:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L15
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L15:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L14:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	lea	edx, 2[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L16
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L13:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L17
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	shiftLeft, .-shiftLeft
	.globl	shiftRight
	.type	shiftRight, @function
shiftRight:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	DWORD PTR ii[rip], 0
	jmp	.L19
.L23:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	add	eax, 3
	mov	DWORD PTR i[rip], eax
	jmp	.L20
.L22:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L21
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L21:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
.L20:
	movsx	eax, BYTE PTR -4[rbp]
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L22
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L19:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L23
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	add	eax, 3
	mov	DWORD PTR i[rip], eax
	jmp	.L24
.L26:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L25
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	sub	edx, 1
	lea	ecx, [rax+rax]
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR score[rip]
	add	eax, edx
	mov	DWORD PTR score[rip], eax
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L25:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
.L24:
	movsx	eax, BYTE PTR -4[rbp]
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L26
	mov	DWORD PTR ii[rip], 0
	jmp	.L27
.L31:
	movsx	eax, BYTE PTR -4[rbp]
	sal	eax, 2
	add	eax, 3
	mov	DWORD PTR i[rip], eax
	jmp	.L28
.L30:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L29:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
.L28:
	movsx	eax, BYTE PTR -4[rbp]
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L30
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L27:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L31
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	shiftRight, .-shiftRight
	.globl	shiftUp
	.type	shiftUp, @function
shiftUp:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	DWORD PTR ii[rip], 0
	jmp	.L33
.L37:
	movsx	eax, BYTE PTR -4[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L34
.L36:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L35
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L35:
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	mov	DWORD PTR i[rip], eax
.L34:
	movsx	eax, BYTE PTR -4[rbp]
	lea	edx, 11[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L36
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L33:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L37
	movsx	eax, BYTE PTR -4[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L38
.L40:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L39
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	lea	ecx, [rdx+rdx]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR score[rip]
	add	eax, edx
	mov	DWORD PTR score[rip], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L39:
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	mov	DWORD PTR i[rip], eax
.L38:
	movsx	eax, BYTE PTR -4[rbp]
	lea	edx, 11[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L40
	mov	DWORD PTR ii[rip], 0
	jmp	.L41
.L45:
	movsx	eax, BYTE PTR -4[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L42
.L44:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L43:
	mov	eax, DWORD PTR i[rip]
	add	eax, 4
	mov	DWORD PTR i[rip], eax
.L42:
	movsx	eax, BYTE PTR -4[rbp]
	lea	edx, 11[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L44
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L41:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L45
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	shiftUp, .-shiftUp
	.globl	shiftDown
	.type	shiftDown, @function
shiftDown:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	mov	DWORD PTR ii[rip], 0
	jmp	.L47
.L51:
	movsx	eax, BYTE PTR -4[rbp]
	add	eax, 12
	mov	DWORD PTR i[rip], eax
	jmp	.L48
.L50:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L49
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L49:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	mov	DWORD PTR i[rip], eax
.L48:
	movsx	edx, BYTE PTR -4[rbp]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L50
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L47:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L51
	movsx	eax, BYTE PTR -4[rbp]
	add	eax, 12
	mov	DWORD PTR i[rip], eax
	jmp	.L52
.L54:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	cmp	edx, eax
	jne	.L53
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR i[rip]
	sub	edx, 4
	lea	ecx, [rax+rax]
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR score[rip]
	add	eax, edx
	mov	DWORD PTR score[rip], eax
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L53:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	mov	DWORD PTR i[rip], eax
.L52:
	movsx	edx, BYTE PTR -4[rbp]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L54
	mov	DWORD PTR ii[rip], 0
	jmp	.L55
.L59:
	movsx	eax, BYTE PTR -4[rbp]
	add	eax, 12
	mov	DWORD PTR i[rip], eax
	jmp	.L56
.L58:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L57
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	mov	edx, DWORD PTR i[rip]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rcx+rax]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	DWORD PTR [rdx+rax], 0
.L57:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 4
	mov	DWORD PTR i[rip], eax
.L56:
	movsx	edx, BYTE PTR -4[rbp]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L58
	mov	eax, DWORD PTR ii[rip]
	add	eax, 1
	mov	DWORD PTR ii[rip], eax
.L55:
	mov	eax, DWORD PTR ii[rip]
	cmp	eax, 3
	jle	.L59
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	shiftDown, .-shiftDown
	.section	.rodata
.LC0:
	.string	"score %d"
.LC1:
	.string	"\n"
.LC2:
	.string	"%d\t"
	.text
	.globl	draw
	.type	draw, @function
draw:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 3
	mov	edi, 3
	mov	eax, 0
	call	gotoxy@PLT
	mov	eax, DWORD PTR score[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 5
	mov	edi, 0
	mov	eax, 0
	call	gotoxy@PLT
	mov	DWORD PTR j[rip], 0
	jmp	.L61
.L64:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L62
.L63:
	mov	eax, DWORD PTR j[rip]
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR i[rip]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L62:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 3
	jle	.L63
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L61:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 3
	jle	.L64
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	draw, .-draw
	.globl	onkey
	.type	onkey, @function
onkey:
.LFB6:
	.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 j[rip], 0
	jmp	.L66
.L72:
	movzx	eax, BYTE PTR key[rip]
	movsx	eax, al
	cmp	eax, 8
	je	.L67
	cmp	eax, 8
	jg	.L68
	cmp	eax, 4
	je	.L69
	cmp	eax, 4
	jg	.L68
	cmp	eax, 1
	je	.L70
	cmp	eax, 2
	je	.L71
	jmp	.L68
.L70:
	mov	eax, DWORD PTR j[rip]
	movsx	eax, al
	mov	edi, eax
	call	shiftUp
	jmp	.L68
.L71:
	mov	eax, DWORD PTR j[rip]
	movsx	eax, al
	mov	edi, eax
	call	shiftDown
	jmp	.L68
.L69:
	mov	eax, DWORD PTR j[rip]
	movsx	eax, al
	mov	edi, eax
	call	shiftLeft
	jmp	.L68
.L67:
	mov	eax, DWORD PTR j[rip]
	movsx	eax, al
	mov	edi, eax
	call	shiftRight
	nop
.L68:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L66:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 3
	jle	.L72
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	onkey, .-onkey
	.globl	rand
	.type	rand, @function
rand:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	BYTE PTR ok[rip], 1
	mov	DWORD PTR j[rip], 0
	mov	BYTE PTR newn[rip], 2
	mov	edi, 10
	mov	eax, 0
	call	random@PLT
	mov	BYTE PTR r[rip], al
	movzx	eax, BYTE PTR r[rip]
	cmp	al, 1
	jne	.L75
	mov	BYTE PTR newn[rip], 4
	jmp	.L75
.L77:
	mov	edi, 16
	mov	eax, 0
	call	random@PLT
	mov	BYTE PTR r[rip], al
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
	movzx	eax, BYTE PTR r[rip]
	movsx	eax, al
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, arr[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	jne	.L76
	movzx	eax, BYTE PTR newn[rip]
	movzx	edx, BYTE PTR r[rip]
	movsx	edx, dl
	movsx	eax, al
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, arr[rip]
	mov	DWORD PTR [rcx+rdx], eax
	mov	BYTE PTR ok[rip], 0
.L76:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 1000
	jle	.L75
	mov	BYTE PTR ok[rip], 0
	mov	BYTE PTR end[rip], 1
.L75:
	movzx	eax, BYTE PTR ok[rip]
	test	al, al
	jne	.L77
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rand, .-rand
	.section	.rodata
.LC3:
	.string	"\n game over "
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	BYTE PTR end[rip], 0
	mov	eax, 0
	call	init
	mov	eax, 0
	call	rand
	mov	eax, 0
	call	draw
.L82:
	mov	eax, 0
	call	getkey@PLT
	mov	BYTE PTR key[rip], al
	movzx	eax, BYTE PTR key[rip]
	test	al, al
	je	.L79
	mov	eax, 0
	call	onkey
	mov	eax, 0
	call	rand
	mov	eax, 0
	call	draw
	nop
.L80:
	mov	eax, 0
	call	getkey@PLT
	test	eax, eax
	jne	.L80
.L79:
	movzx	eax, BYTE PTR end[rip]
	cmp	al, 1
	jne	.L82
	mov	esi, 5
	mov	edi, 0
	mov	eax, 0
	call	gotoxy@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	BYTE PTR end[rip], 0
	mov	eax, 0
	call	init
	jmp	.L82
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"184888.c"
	.text
	.comm	arr,64,4
	.comm	i,4,4
	.comm	ii,4,4
	.comm	j,4,4
	.comm	score,4,4
	.comm	key,1,1
	.comm	r,1,1
	.comm	ok,1,1
	.comm	end,1,1
	.comm	newn,1,1
	.align	2
	.global	init
	.syntax unified
	.arm
	.fpu softvfp
	.type	init, %function
init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L4
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L4
	ldr	r3, [r3]
	ldr	r2, .L4+4
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L4
	str	r3, [r2]
.L2:
	ldr	r3, .L4
	ldr	r3, [r3]
	cmp	r3, #15
	ble	.L3
	ldr	r3, .L4+8
	mov	r2, #0
	str	r2, [r3]
	mov	r1, #3
	mov	r0, #3
	bl	gotoxy
	mov	r0, #10
	bl	putchar
	nop
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	i
	.word	arr
	.word	score
	.size	init, .-init
	.align	2
	.global	shiftLeft
	.syntax unified
	.arm
	.fpu softvfp
	.type	shiftLeft, %function
shiftLeft:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L20
	mov	r2, #0
	str	r2, [r3]
	b	.L7
.L11:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r2, .L20+4
	str	r3, [r2]
	b	.L8
.L10:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, .L20+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r1, .L20+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L20+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L9:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+4
	str	r3, [r2]
.L8:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r2, r3, #2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L10
	ldr	r3, .L20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20
	str	r3, [r2]
.L7:
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L11
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r2, .L20+4
	str	r3, [r2]
	b	.L12
.L14:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, .L20+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r1, .L20+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L13
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, .L20+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	lsl	r2, r2, #1
	ldr	r1, .L20+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, .L20+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L20+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L20+12
	str	r3, [r2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L13:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+4
	str	r3, [r2]
.L12:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r2, r3, #2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L14
	ldr	r3, .L20
	mov	r2, #0
	str	r2, [r3]
	b	.L15
.L19:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	ldr	r2, .L20+4
	str	r3, [r2]
	b	.L16
.L18:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r2, .L20+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L17
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, .L20+4
	ldr	r3, [r3]
	ldr	r1, .L20+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L20+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L17:
	ldr	r3, .L20+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20+4
	str	r3, [r2]
.L16:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r2, r3, #2
	ldr	r3, .L20+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L18
	ldr	r3, .L20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L20
	str	r3, [r2]
.L15:
	ldr	r3, .L20
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L19
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L21:
	.align	2
.L20:
	.word	ii
	.word	i
	.word	arr
	.word	score
	.size	shiftLeft, .-shiftLeft
	.align	2
	.global	shiftRight
	.syntax unified
	.arm
	.fpu softvfp
	.type	shiftRight, %function
shiftRight:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L36
	mov	r2, #0
	str	r2, [r3]
	b	.L23
.L27:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldr	r2, .L36+4
	str	r3, [r2]
	b	.L24
.L26:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r1, .L36+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L36+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L25:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+4
	str	r3, [r2]
.L24:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r2, r3, #2
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L26
	ldr	r3, .L36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36
	str	r3, [r2]
.L23:
	ldr	r3, .L36
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L27
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldr	r2, .L36+4
	str	r3, [r2]
	b	.L28
.L30:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r1, .L36+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L29
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	lsl	r2, r2, #1
	ldr	r1, .L36+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L36+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L36+12
	str	r3, [r2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L29:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+4
	str	r3, [r2]
.L28:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r2, r3, #2
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L30
	ldr	r3, .L36
	mov	r2, #0
	str	r2, [r3]
	b	.L31
.L35:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #2
	add	r3, r3, #3
	ldr	r2, .L36+4
	str	r3, [r2]
	b	.L32
.L34:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r2, .L36+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L36+4
	ldr	r3, [r3]
	ldr	r1, .L36+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L36+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L33:
	ldr	r3, .L36+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L36+4
	str	r3, [r2]
.L32:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r2, r3, #2
	ldr	r3, .L36+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L34
	ldr	r3, .L36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L36
	str	r3, [r2]
.L31:
	ldr	r3, .L36
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L35
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	ii
	.word	i
	.word	arr
	.word	score
	.size	shiftRight, .-shiftRight
	.align	2
	.global	shiftUp
	.syntax unified
	.arm
	.fpu softvfp
	.type	shiftUp, %function
shiftUp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L52
	mov	r2, #0
	str	r2, [r3]
	b	.L39
.L43:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L52+4
	str	r3, [r2]
	b	.L40
.L42:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r2, .L52+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r1, .L52+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L52+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L52+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L41:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L52+4
	str	r3, [r2]
.L40:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r2, r3, #11
	ldr	r3, .L52+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L42
	ldr	r3, .L52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52
	str	r3, [r2]
.L39:
	ldr	r3, .L52
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L43
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L52+4
	str	r3, [r2]
	b	.L44
.L46:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r2, .L52+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r1, .L52+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L45
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r2, .L52+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	lsl	r2, r2, #1
	ldr	r1, .L52+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r2, .L52+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L52+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L52+12
	str	r3, [r2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L52+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L45:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L52+4
	str	r3, [r2]
.L44:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r2, r3, #11
	ldr	r3, .L52+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L46
	ldr	r3, .L52
	mov	r2, #0
	str	r2, [r3]
	b	.L47
.L51:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	ldr	r2, .L52+4
	str	r3, [r2]
	b	.L48
.L50:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r2, .L52+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L49
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r3, .L52+4
	ldr	r3, [r3]
	ldr	r1, .L52+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L52+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L52+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L49:
	ldr	r3, .L52+4
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, .L52+4
	str	r3, [r2]
.L48:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r2, r3, #11
	ldr	r3, .L52+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L50
	ldr	r3, .L52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52
	str	r3, [r2]
.L47:
	ldr	r3, .L52
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L51
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L53:
	.align	2
.L52:
	.word	ii
	.word	i
	.word	arr
	.word	score
	.size	shiftUp, .-shiftUp
	.align	2
	.global	shiftDown
	.syntax unified
	.arm
	.fpu softvfp
	.type	shiftDown, %function
shiftDown:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldr	r3, .L68
	mov	r2, #0
	str	r2, [r3]
	b	.L55
.L59:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #12
	ldr	r2, .L68+4
	str	r3, [r2]
	b	.L56
.L58:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r2, .L68+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L57
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r2, r3, #4
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r1, .L68+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L68+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L57:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+4
	str	r3, [r2]
.L56:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldr	r3, .L68+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L58
	ldr	r3, .L68
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L68
	str	r3, [r2]
.L55:
	ldr	r3, .L68
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L59
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #12
	ldr	r2, .L68+4
	str	r3, [r2]
	b	.L60
.L62:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r2, .L68+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r1, .L68+8
	ldr	r3, [r1, r3, lsl #2]
	cmp	r2, r3
	bne	.L61
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	lsl	r2, r2, #1
	ldr	r1, .L68+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+8
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L68+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L68+12
	str	r3, [r2]
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r2, .L68+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L61:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+4
	str	r3, [r2]
.L60:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldr	r3, .L68+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L62
	ldr	r3, .L68
	mov	r2, #0
	str	r2, [r3]
	b	.L63
.L67:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	add	r3, r3, #12
	ldr	r2, .L68+4
	str	r3, [r2]
	b	.L64
.L66:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r2, .L68+8
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L65
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r2, r3, #4
	ldr	r3, .L68+4
	ldr	r3, [r3]
	ldr	r1, .L68+8
	ldr	r2, [r1, r2, lsl #2]
	ldr	r1, .L68+8
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L65:
	ldr	r3, .L68+4
	ldr	r3, [r3]
	sub	r3, r3, #4
	ldr	r2, .L68+4
	str	r3, [r2]
.L64:
	ldrb	r2, [fp, #-5]	@ zero_extendqisi2
	ldr	r3, .L68+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L66
	ldr	r3, .L68
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L68
	str	r3, [r2]
.L63:
	ldr	r3, .L68
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L67
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L69:
	.align	2
.L68:
	.word	ii
	.word	i
	.word	arr
	.word	score
	.size	shiftDown, .-shiftDown
	.section	.rodata
	.align	2
.LC0:
	.ascii	"score %d\000"
	.align	2
.LC1:
	.ascii	"\012\000"
	.align	2
.LC2:
	.ascii	"%d\011\000"
	.text
	.align	2
	.global	draw
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw, %function
draw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #3
	mov	r0, #3
	bl	gotoxy
	ldr	r3, .L75
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L75+4
	bl	printf
	mov	r1, #5
	mov	r0, #0
	bl	gotoxy
	ldr	r3, .L75+8
	mov	r2, #0
	str	r2, [r3]
	b	.L71
.L74:
	ldr	r0, .L75+12
	bl	puts
	ldr	r3, .L75+16
	mov	r2, #0
	str	r2, [r3]
	b	.L72
.L73:
	ldr	r3, .L75+8
	ldr	r3, [r3]
	lsl	r2, r3, #2
	ldr	r3, .L75+16
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L75+20
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	ldr	r0, .L75+24
	bl	printf
	ldr	r3, .L75+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L75+16
	str	r3, [r2]
.L72:
	ldr	r3, .L75+16
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L73
	ldr	r3, .L75+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L75+8
	str	r3, [r2]
.L71:
	ldr	r3, .L75+8
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L74
	nop
	nop
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	score
	.word	.LC0
	.word	j
	.word	.LC1
	.word	i
	.word	arr
	.word	.LC2
	.size	draw, .-draw
	.align	2
	.global	onkey
	.syntax unified
	.arm
	.fpu softvfp
	.type	onkey, %function
onkey:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L86
	mov	r2, #0
	str	r2, [r3]
	b	.L78
.L85:
	ldr	r3, .L86+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #1
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L79
.L81:
	.word	.L84
	.word	.L83
	.word	.L79
	.word	.L82
	.word	.L79
	.word	.L79
	.word	.L79
	.word	.L80
.L84:
	ldr	r3, .L86
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	shiftUp
	b	.L79
.L83:
	ldr	r3, .L86
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	shiftDown
	b	.L79
.L82:
	ldr	r3, .L86
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	shiftLeft
	b	.L79
.L80:
	ldr	r3, .L86
	ldr	r3, [r3]
	and	r3, r3, #255
	mov	r0, r3
	bl	shiftRight
	nop
.L79:
	ldr	r3, .L86
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L86
	str	r3, [r2]
.L78:
	ldr	r3, .L86
	ldr	r3, [r3]
	cmp	r3, #3
	ble	.L85
	nop
	nop
	pop	{fp, pc}
.L87:
	.align	2
.L86:
	.word	j
	.word	key
	.size	onkey, .-onkey
	.align	2
	.global	rand
	.syntax unified
	.arm
	.fpu softvfp
	.type	rand, %function
rand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L93
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L93+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L93+8
	mov	r2, #2
	strb	r2, [r3]
	mov	r0, #10
	bl	random
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L93+12
	strb	r2, [r3]
	ldr	r3, .L93+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L90
	ldr	r3, .L93+8
	mov	r2, #4
	strb	r2, [r3]
	b	.L90
.L92:
	mov	r0, #16
	bl	random
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L93+12
	strb	r2, [r3]
	ldr	r3, .L93+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L93+4
	str	r3, [r2]
	ldr	r3, .L93+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L93+16
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L91
	ldr	r3, .L93+8
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, .L93+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L93+16
	str	r1, [r3, r2, lsl #2]
	ldr	r3, .L93
	mov	r2, #0
	strb	r2, [r3]
.L91:
	ldr	r3, .L93+4
	ldr	r3, [r3]
	cmp	r3, #1000
	ble	.L90
	ldr	r3, .L93
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L93+20
	mov	r2, #1
	strb	r2, [r3]
.L90:
	ldr	r3, .L93
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L92
	nop
	nop
	pop	{fp, pc}
.L94:
	.align	2
.L93:
	.word	ok
	.word	j
	.word	newn
	.word	r
	.word	arr
	.word	end
	.size	rand, .-rand
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012 game over \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L100
	mov	r2, #0
	strb	r2, [r3]
	bl	init
	bl	rand
	bl	draw
.L99:
	bl	getkey
	mov	r3, r0
	and	r2, r3, #255
	ldr	r3, .L100+4
	strb	r2, [r3]
	ldr	r3, .L100+4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L96
	bl	onkey
	bl	rand
	bl	draw
	nop
.L97:
	bl	getkey
	mov	r3, r0
	cmp	r3, #0
	bne	.L97
.L96:
	ldr	r3, .L100
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L99
	mov	r1, #5
	mov	r0, #0
	bl	gotoxy
	ldr	r0, .L100+8
	bl	puts
	ldr	r3, .L100
	mov	r2, #0
	strb	r2, [r3]
	bl	init
	b	.L99
.L101:
	.align	2
.L100:
	.word	end
	.word	key
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
