	.file	"36074307.c"
	.intel_syntax noprefix
	.text
	.globl	i
	.bss
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	j
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.section	.rodata
.LC0:
	.string	"Portuguese"
.LC1:
	.string	"color f0"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rsi, .LC0[rip]
	mov	edi, 6
	call	setlocale@PLT
	lea	rdi, .LC1[rip]
	call	system@PLT
	mov	eax, 0
	call	game_run
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	initialize
	.type	initialize, @function
initialize:
.LFB7:
	.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	esi, 8
	mov	edi, 8
	call	calloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	DWORD PTR i[rip], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	lea	rbx, [rdx+rax]
	mov	esi, 1
	mov	edi, 8
	call	calloc@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L4:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 7
	jle	.L5
	mov	DWORD PTR i[rip], 0
	jmp	.L6
.L9:
	mov	DWORD PTR j[rip], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L7:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L8
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L6:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 7
	jle	.L9
	mov	DWORD PTR i[rip], 0
	jmp	.L10
.L13:
	mov	DWORD PTR j[rip], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 80
	mov	eax, DWORD PTR j[rip]
	add	eax, 2
	mov	DWORD PTR j[rip], eax
.L11:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L12
	mov	eax, DWORD PTR i[rip]
	add	eax, 2
	mov	DWORD PTR i[rip], eax
.L10:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 2
	jle	.L13
	mov	DWORD PTR j[rip], 1
	jmp	.L14
.L15:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 80
	mov	eax, DWORD PTR j[rip]
	add	eax, 2
	mov	DWORD PTR j[rip], eax
.L14:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L15
	mov	DWORD PTR i[rip], 5
	jmp	.L16
.L19:
	mov	DWORD PTR j[rip], 1
	jmp	.L17
.L18:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 66
	mov	eax, DWORD PTR j[rip]
	add	eax, 2
	mov	DWORD PTR j[rip], eax
.L17:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L18
	mov	eax, DWORD PTR i[rip]
	add	eax, 2
	mov	DWORD PTR i[rip], eax
.L16:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 7
	jle	.L19
	mov	DWORD PTR j[rip], 0
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 48
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 66
	mov	eax, DWORD PTR j[rip]
	add	eax, 2
	mov	DWORD PTR j[rip], eax
.L20:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L21
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	initialize, .-initialize
	.section	.rodata
	.align 8
.LC2:
	.string	"\n\n\t\t\n                0    1    2   3    4     5    6    7    \n\n"
.LC3:
	.string	"\t%d     "
.LC4:
	.string	"  %c  "
.LC5:
	.string	"\n"
	.text
	.globl	print
	.type	print, @function
print:
.LFB8:
	.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	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR i[rip], 0
	jmp	.L24
.L28:
	mov	eax, DWORD PTR i[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR j[rip], 0
	jmp	.L25
.L27:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jne	.L26
	lea	rdi, .LC5[rip]
	call	puts@PLT
.L26:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L25:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L27
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L24:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 7
	jle	.L28
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print, .-print
	.globl	step
	.type	step, @function
step:
.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, 64
	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	esi, r9d
	mov	ecx, DWORD PTR 16[rbp]
	mov	edx, DWORD PTR 24[rbp]
	mov	eax, DWORD PTR 32[rbp]
	mov	BYTE PTR -44[rbp], sil
	mov	BYTE PTR -48[rbp], cl
	mov	BYTE PTR -52[rbp], dl
	mov	BYTE PTR -56[rbp], al
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -28[rbp]
	test	eax, eax
	jns	.L30
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, DWORD PTR -32[rbp]
	jmp	.L31
.L30:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -28[rbp]
.L31:
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -52[rbp], al
	jne	.L32
	cmp	DWORD PTR -36[rbp], 7
	je	.L33
	cmp	DWORD PTR -36[rbp], 0
	jne	.L34
.L33:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -48[rbp], al
	je	.L35
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -56[rbp], al
	jne	.L34
.L35:
	mov	eax, -1
	jmp	.L36
.L34:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L32
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -48[rbp], al
	je	.L37
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -56[rbp], al
	jne	.L38
.L37:
	mov	eax, DWORD PTR -40[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L39
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L40
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L40
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -52[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L40:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L59
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L59
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -52[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L39:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L42
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L42
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -52[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L42:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L59
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	ecx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, ecx
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jne	.L59
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -52[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L38:
	movsx	edi, BYTE PTR -52[rbp]
	movsx	r9d, BYTE PTR -48[rbp]
	mov	r8d, DWORD PTR -40[rbp]
	mov	ecx, DWORD PTR -36[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	rdi
	mov	rdi, rax
	call	restricaodama
	add	rsp, 16
	cmp	eax, 2
	jne	.L43
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rdx, rax
	movzx	eax, BYTE PTR -52[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L43:
	mov	eax, -1
	jmp	.L36
.L59:
	nop
.L32:
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -40[rbp]
	add	eax, edx
	and	eax, 1
	test	eax, eax
	jne	.L44
	cmp	DWORD PTR -36[rbp], 7
	je	.L45
	cmp	DWORD PTR -36[rbp], 0
	jne	.L46
.L45:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -48[rbp], al
	je	.L47
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -56[rbp], al
	jne	.L46
.L47:
	mov	eax, -1
	jmp	.L36
.L46:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -44[rbp], al
	jne	.L48
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -44[rbp], al
	jne	.L48
	mov	eax, -1
	jmp	.L36
.L48:
	cmp	BYTE PTR -44[rbp], 66
	jne	.L49
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jg	.L50
.L49:
	cmp	BYTE PTR -44[rbp], 80
	jne	.L51
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jge	.L51
.L50:
	mov	eax, -1
	jmp	.L36
.L51:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -44[rbp], al
	jne	.L52
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	je	.L53
.L52:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -44[rbp], al
	jne	.L44
	mov	eax, DWORD PTR -36[rbp]
	add	eax, 1
	cmp	DWORD PTR -28[rbp], eax
	jne	.L44
.L53:
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	je	.L54
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jne	.L55
.L54:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L55
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rdx, rax
	movzx	eax, BYTE PTR -44[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L55:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -48[rbp], al
	jne	.L44
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L56
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jne	.L56
	cmp	BYTE PTR -44[rbp], 66
	jne	.L56
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -44[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L56:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L57
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jne	.L57
	cmp	BYTE PTR -44[rbp], 66
	jne	.L57
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -44[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L57:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L58
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jne	.L58
	cmp	BYTE PTR -44[rbp], 80
	jne	.L58
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -44[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L58:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L44
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 1
	cmp	DWORD PTR -40[rbp], eax
	jne	.L44
	cmp	BYTE PTR -44[rbp], 80
	jne	.L44
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sub	rax, 1
	add	rdx, rax
	movzx	eax, BYTE PTR -44[rbp]
	mov	BYTE PTR [rdx], al
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 45
	mov	eax, 1
	jmp	.L36
.L44:
	mov	eax, -1
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	step, .-step
	.section	.rodata
	.align 8
.LC6:
	.string	"\n\n\t Jogador %c Digite qual pe\303\247a deseja mover!"
.LC7:
	.string	"\n\n\t Linha da pe\303\247a: "
.LC8:
	.string	"%d"
.LC9:
	.string	"\t Coluna da pe\303\247a: "
.LC10:
	.string	"cls"
	.align 8
.LC11:
	.string	"\n\t N\303\272meros inv\303\241lidos, tente novamente\n\t"
	.align 8
.LC12:
	.string	"\n\n\t Jogador %c Digite para qual casa a pe\303\247a vai!"
	.align 8
.LC13:
	.string	"\n\t N\303\272meros inv\303\241lidos, tente novamentez\n\t"
	.align 8
.LC14:
	.string	"\tMovimento Inv\303\241lido, Tente novamente!!"
.LC15:
	.string	"color 40"
	.align 8
.LC16:
	.string	"\n\n\n\n\t\t O jogador --> P <-- VENCEU!!!!!!!!!!\n\n\n\n\t\t"
.LC17:
	.string	"color 27"
	.align 8
.LC18:
	.string	"\n\n\n\n\t\t O jogador --> B <-- VENCEU!!!!!!!!!!\n\n\n\n\t\t"
	.text
	.globl	game_run
	.type	game_run, @function
game_run:
.LFB10:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	BYTE PTR -40[rbp], 66
	mov	BYTE PTR -39[rbp], 80
	mov	BYTE PTR -38[rbp], 18
	mov	BYTE PTR -37[rbp], 29
	mov	DWORD PTR -20[rbp], -1
	mov	eax, 0
	call	initialize
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
	jmp	.L61
.L69:
	movsx	eax, BYTE PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L62
.L63:
	lea	rdi, .LC10[rip]
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	eax, BYTE PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -36[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L62:
	mov	eax, DWORD PTR -36[rbp]
	test	eax, eax
	js	.L63
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, 7
	jg	.L63
	mov	eax, DWORD PTR -32[rbp]
	test	eax, eax
	js	.L63
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, 7
	jg	.L63
	lea	rdi, .LC10[rip]
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
	movsx	eax, BYTE PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L64
.L65:
	lea	rdi, .LC10[rip]
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	movsx	eax, BYTE PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
.L64:
	mov	eax, DWORD PTR -28[rbp]
	test	eax, eax
	js	.L65
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, 7
	jg	.L65
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	js	.L65
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 7
	jg	.L65
	movsx	r9d, BYTE PTR -37[rbp]
	movsx	r8d, BYTE PTR -38[rbp]
	movsx	edi, BYTE PTR -39[rbp]
	movsx	r11d, BYTE PTR -40[rbp]
	mov	r10d, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	sub	rsp, 8
	push	r9
	push	r8
	push	rdi
	mov	r9d, r11d
	mov	r8d, r10d
	mov	rdi, rax
	call	step
	add	rsp, 32
	cmp	eax, -1
	jne	.L66
	lea	rdi, .LC10[rip]
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L61
.L66:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	mdama
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	status
	mov	DWORD PTR -20[rbp], eax
	cmp	BYTE PTR -40[rbp], 66
	jne	.L67
	mov	BYTE PTR -40[rbp], 80
	mov	BYTE PTR -39[rbp], 66
	mov	BYTE PTR -38[rbp], 29
	mov	BYTE PTR -37[rbp], 18
	jmp	.L68
.L67:
	mov	BYTE PTR -40[rbp], 66
	mov	BYTE PTR -39[rbp], 80
	mov	BYTE PTR -38[rbp], 18
	mov	BYTE PTR -37[rbp], 29
.L68:
	lea	rdi, .LC10[rip]
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print
.L61:
	cmp	DWORD PTR -20[rbp], -1
	je	.L69
	cmp	DWORD PTR -20[rbp], 1
	je	.L70
	cmp	DWORD PTR -20[rbp], 2
	je	.L71
	jmp	.L72
.L70:
	lea	rdi, .LC15[rip]
	call	system@PLT
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L72
.L71:
	lea	rdi, .LC17[rip]
	call	system@PLT
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L72:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	game_run, .-game_run
	.globl	status
	.type	status, @function
status:
.LFB11:
	.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], 12
	mov	DWORD PTR -4[rbp], 12
	mov	DWORD PTR i[rip], 0
	jmp	.L75
.L82:
	mov	DWORD PTR j[rip], 0
	jmp	.L76
.L81:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 66
	je	.L77
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 18
	jne	.L78
.L77:
	sub	DWORD PTR -8[rbp], 1
.L78:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 80
	je	.L79
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 29
	jne	.L80
.L79:
	sub	DWORD PTR -4[rbp], 1
.L80:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L76:
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L81
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L75:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 7
	jle	.L82
	cmp	DWORD PTR -8[rbp], 12
	jne	.L83
	mov	eax, 1
	jmp	.L84
.L83:
	cmp	DWORD PTR -4[rbp], 12
	jne	.L85
	mov	eax, 2
	jmp	.L84
.L85:
	mov	eax, -1
.L84:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	status, .-status
	.globl	mdama
	.type	mdama, @function
mdama:
.LFB12:
	.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 -8[rbp], rdi
	mov	DWORD PTR i[rip], 0
	jmp	.L87
.L90:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 66
	jne	.L88
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 18
.L88:
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 56
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 80
	jne	.L89
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 56
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 29
.L89:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L87:
	mov	eax, DWORD PTR i[rip]
	cmp	eax, 7
	jle	.L90
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	mdama, .-mdama
	.globl	restricaodama
	.type	restricaodama, @function
restricaodama:
.LFB13:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	mov	DWORD PTR -20[rbp], ecx
	mov	DWORD PTR -24[rbp], r8d
	mov	edx, r9d
	mov	eax, DWORD PTR 16[rbp]
	mov	BYTE PTR -28[rbp], dl
	mov	BYTE PTR -32[rbp], al
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L92
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L93
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jle	.L93
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L94
.L98:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -28[rbp], al
	je	.L95
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -32[rbp], al
	jne	.L96
.L95:
	mov	eax, -1
	jmp	.L97
.L96:
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L94:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L98
.L93:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jne	.L99
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L99
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L100
.L103:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR i[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -28[rbp], al
	je	.L101
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -32[rbp], al
	jne	.L102
.L101:
	mov	eax, -1
	jmp	.L97
.L102:
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
.L100:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L103
.L99:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jle	.L104
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L105
.L110:
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR j[rip], eax
	jmp	.L106
.L109:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -28[rbp], al
	je	.L107
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -32[rbp], al
	jne	.L108
.L107:
	mov	eax, -1
	jmp	.L97
.L108:
	mov	eax, DWORD PTR j[rip]
	add	eax, 1
	mov	DWORD PTR j[rip], eax
.L106:
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], eax
	jg	.L109
	mov	eax, DWORD PTR i[rip]
	sub	eax, 1
	mov	DWORD PTR i[rip], eax
.L105:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L110
.L104:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -20[rbp]
	jge	.L92
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR i[rip], eax
	jmp	.L111
.L116:
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR j[rip], eax
	jmp	.L112
.L115:
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -28[rbp], al
	je	.L113
	mov	eax, DWORD PTR i[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR j[rip]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	BYTE PTR -32[rbp], al
	jne	.L114
.L113:
	mov	eax, -1
	jmp	.L97
.L114:
	mov	eax, DWORD PTR j[rip]
	sub	eax, 1
	mov	DWORD PTR j[rip], eax
.L112:
	mov	eax, DWORD PTR j[rip]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L115
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L111:
	mov	eax, DWORD PTR i[rip]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L116
.L92:
	mov	eax, 2
.L97:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	restricaodama, .-restricaodama
	.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	"36074307.c"
	.text
	.comm	i,4,4
	.comm	j,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Portuguese\000"
	.align	2
.LC1:
	.ascii	"color f0\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	r1, .L3
	mov	r0, #6
	bl	setlocale
	ldr	r0, .L3+4
	bl	system
	bl	game_run
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.align	2
	.global	initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialize, %function
initialize:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	mov	r1, #4
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L25
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L7:
	ldr	r3, .L25
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r1, #1
	mov	r0, #8
	bl	calloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
.L6:
	ldr	r3, .L25
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L7
	ldr	r3, .L25
	mov	r2, #0
	str	r2, [r3]
	b	.L8
.L11:
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L9
.L10:
	ldr	r3, .L25
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25+4
	str	r3, [r2]
.L9:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L10
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L25
	str	r3, [r2]
.L8:
	ldr	r3, .L25
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L11
	ldr	r3, .L25
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L15:
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L13
.L14:
	ldr	r3, .L25
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #80
	strb	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L25+4
	str	r3, [r2]
.L13:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L14
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L25
	str	r3, [r2]
.L12:
	ldr	r3, .L25
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L15
	ldr	r3, .L25+4
	mov	r2, #1
	str	r2, [r3]
	b	.L16
.L17:
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #80
	strb	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L25+4
	str	r3, [r2]
.L16:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L17
	ldr	r3, .L25
	mov	r2, #5
	str	r2, [r3]
	b	.L18
.L21:
	ldr	r3, .L25+4
	mov	r2, #1
	str	r2, [r3]
	b	.L19
.L20:
	ldr	r3, .L25
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #66
	strb	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L25+4
	str	r3, [r2]
.L19:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L20
	ldr	r3, .L25
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L25
	str	r3, [r2]
.L18:
	ldr	r3, .L25
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L21
	ldr	r3, .L25+4
	mov	r2, #0
	str	r2, [r3]
	b	.L22
.L23:
	ldr	r3, [fp, #-16]
	add	r3, r3, #24
	ldr	r3, [r3]
	ldr	r2, .L25+4
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #66
	strb	r2, [r3]
	ldr	r3, .L25+4
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L25+4
	str	r3, [r2]
.L22:
	ldr	r3, .L25+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L23
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	i
	.word	j
	.size	initialize, .-initialize
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012\012\011\011\012                0    1    2   3"
	.ascii	"    4     5    6    7    \012\012\000"
	.align	2
.LC3:
	.ascii	"\011%d     \000"
	.align	2
.LC4:
	.ascii	"  %c  \000"
	.align	2
.LC5:
	.ascii	"\012\000"
	.text
	.align	2
	.global	print
	.syntax unified
	.arm
	.fpu softvfp
	.type	print, %function
print:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, .L33
	bl	puts
	ldr	r3, .L33+4
	mov	r2, #0
	str	r2, [r3]
	b	.L28
.L32:
	ldr	r3, .L33+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L33+8
	bl	printf
	ldr	r3, .L33+12
	mov	r2, #0
	str	r2, [r3]
	b	.L29
.L31:
	ldr	r3, .L33+4
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L33+12
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L33+16
	bl	printf
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #7
	bne	.L30
	ldr	r0, .L33+20
	bl	puts
.L30:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+12
	str	r3, [r2]
.L29:
	ldr	r3, .L33+12
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L31
	ldr	r3, .L33+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L33+4
	str	r3, [r2]
.L28:
	ldr	r3, .L33+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L32
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC2
	.word	i
	.word	.LC3
	.word	j
	.word	.LC4
	.word	.LC5
	.size	print, .-print
	.align	2
	.global	step
	.syntax unified
	.arm
	.fpu softvfp
	.type	step, %function
step:
	@ args = 20, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
	cmp	r3, #0
	bge	.L36
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	b	.L37
.L36:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	sub	r3, r2, r3
.L37:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #16]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L38
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	beq	.L39
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L40
.L39:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L41
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #20]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L40
.L41:
	mvn	r3, #0
	b	.L42
.L40:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L43
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #20]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L44
.L43:
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L45
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L46
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #4]
	ldr	r2, [fp, #-8]
	sub	r2, r1, r2
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L46
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L46:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L65
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #4]
	ldr	r2, [fp, #-8]
	sub	r2, r1, r2
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L65
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L45:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L48
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #4]
	ldr	r2, [fp, #-8]
	sub	r2, r1, r2
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L48
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L48:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L65
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, [fp, #4]
	ldr	r2, [fp, #-8]
	add	r2, r1, r2
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L65
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L44:
	ldrb	r3, [fp, #16]	@ zero_extendqisi2
	str	r3, [sp, #8]
	ldrb	r3, [fp, #12]	@ zero_extendqisi2
	str	r3, [sp, #4]
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	restricaodama
	mov	r3, r0
	cmp	r3, #2
	bne	.L49
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r2, [fp, #16]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L49:
	mvn	r3, #0
	b	.L42
.L65:
	nop
.L38:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	beq	.L51
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L52
.L51:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L53
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #20]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L52
.L53:
	mvn	r3, #0
	b	.L42
.L52:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L54
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L54
	mvn	r3, #0
	b	.L42
.L54:
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L55
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bgt	.L56
.L55:
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L57
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L57
.L56:
	mvn	r3, #0
	b	.L42
.L57:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L58
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L59
.L58:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L50
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bne	.L50
.L59:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #4]
	cmp	r2, r3
	beq	.L60
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #4]
	cmp	r2, r3
	bne	.L61
.L60:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L61
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r2, [fp, #8]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L61:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L50
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L62
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #4]
	cmp	r2, r3
	bne	.L62
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L62
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #8]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L62:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L63
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #4]
	cmp	r2, r3
	bne	.L63
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L63
	ldr	r3, [fp, #-28]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #8]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L63:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L64
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #4]
	cmp	r2, r3
	bne	.L64
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L64
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #8]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L64:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L50
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	ldr	r2, [fp, #4]
	cmp	r2, r3
	bne	.L50
	ldrb	r3, [fp, #8]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L50
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r2, [fp, #8]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	mov	r2, #45
	strb	r2, [r3]
	mov	r3, #1
	b	.L42
.L50:
	mvn	r3, #0
.L42:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	step, .-step
	.section	.rodata
	.align	2
.LC6:
	.ascii	"\012\012\011 Jogador %c Digite qual pe\303\247a des"
	.ascii	"eja mover!\000"
	.align	2
.LC7:
	.ascii	"\012\012\011 Linha da pe\303\247a: \000"
	.align	2
.LC8:
	.ascii	"%d\000"
	.align	2
.LC9:
	.ascii	"\011 Coluna da pe\303\247a: \000"
	.align	2
.LC10:
	.ascii	"cls\000"
	.align	2
.LC11:
	.ascii	"\012\011 N\303\272meros inv\303\241lidos, tente nov"
	.ascii	"amente\012\011\000"
	.align	2
.LC12:
	.ascii	"\012\012\011 Jogador %c Digite para qual casa a pe\303"
	.ascii	"\247a vai!\000"
	.align	2
.LC13:
	.ascii	"\012\011 N\303\272meros inv\303\241lidos, tente nov"
	.ascii	"amentez\012\011\000"
	.align	2
.LC14:
	.ascii	"\011Movimento Inv\303\241lido, Tente novamente!!\000"
	.align	2
.LC15:
	.ascii	"color 40\000"
	.align	2
.LC16:
	.ascii	"\012\012\012\012\011\011 O jogador --> P <-- VENCEU"
	.ascii	"!!!!!!!!!!\012\012\012\012\011\011\000"
	.align	2
.LC17:
	.ascii	"color 27\000"
	.align	2
.LC18:
	.ascii	"\012\012\012\012\011\011 O jogador --> B <-- VENCEU"
	.ascii	"!!!!!!!!!!\012\012\012\012\011\011\000"
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	game_run
	.syntax unified
	.arm
	.fpu softvfp
	.type	game_run, %function
game_run:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #66
	strb	r3, [fp, #-36]
	mov	r3, #80
	strb	r3, [fp, #-35]
	mov	r3, #18
	strb	r3, [fp, #-34]
	mov	r3, #29
	strb	r3, [fp, #-33]
	mvn	r3, #0
	str	r3, [fp, #-16]
	bl	initialize
	str	r0, [fp, #-12]
	ldr	r0, [fp, #-12]
	bl	print
	b	.L67
.L75:
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L80+4
	bl	printf
	ldr	r0, .L80+8
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
	ldr	r0, .L80+16
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
	b	.L68
.L69:
	ldr	r0, .L80+20
	bl	system
	ldr	r0, [fp, #-12]
	bl	print
	ldr	r0, .L80+24
	bl	printf
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L80+4
	bl	printf
	ldr	r0, .L80+8
	bl	printf
	sub	r3, fp, #32
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
	ldr	r0, .L80+16
	bl	printf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
.L68:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L69
	ldr	r3, [fp, #-32]
	cmp	r3, #7
	bgt	.L69
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	blt	.L69
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	bgt	.L69
	ldr	r0, .L80+20
	bl	system
	ldr	r0, [fp, #-12]
	bl	print
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L80+28
	bl	printf
	ldr	r0, .L80+8
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
	ldr	r0, .L80+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
	b	.L70
.L71:
	ldr	r0, .L80+20
	bl	system
	ldr	r0, [fp, #-12]
	bl	print
	ldr	r0, .L80+32
	bl	printf
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L80+4
	bl	printf
	ldr	r0, .L80+8
	bl	printf
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
	ldr	r0, .L80+16
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L80+12
	bl	__isoc99_scanf
.L70:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	blt	.L71
	ldr	r3, [fp, #-24]
	cmp	r3, #7
	bgt	.L71
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	blt	.L71
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	bgt	.L71
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-28]
	ldr	ip, [fp, #-24]
	ldr	r3, [fp, #-20]
	ldrb	r2, [fp, #-33]	@ zero_extendqisi2
	str	r2, [sp, #16]
	ldrb	r2, [fp, #-34]	@ zero_extendqisi2
	str	r2, [sp, #12]
	ldrb	r2, [fp, #-35]	@ zero_extendqisi2
	str	r2, [sp, #8]
	ldrb	r2, [fp, #-36]	@ zero_extendqisi2
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, [fp, #-12]
	bl	step
	mov	r3, r0
	cmn	r3, #1
	bne	.L72
	ldr	r0, .L80+20
	bl	system
	ldr	r0, [fp, #-12]
	bl	print
	ldr	r0, .L80+36
	bl	puts
	b	.L67
.L72:
	ldr	r0, [fp, #-12]
	bl	mdama
	ldr	r0, [fp, #-12]
	bl	print
	ldr	r0, [fp, #-12]
	bl	status
	str	r0, [fp, #-16]
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L73
	mov	r3, #80
	strb	r3, [fp, #-36]
	mov	r3, #66
	strb	r3, [fp, #-35]
	mov	r3, #29
	strb	r3, [fp, #-34]
	mov	r3, #18
	strb	r3, [fp, #-33]
	b	.L74
.L73:
	mov	r3, #66
	strb	r3, [fp, #-36]
	mov	r3, #80
	strb	r3, [fp, #-35]
	mov	r3, #18
	strb	r3, [fp, #-34]
	mov	r3, #29
	strb	r3, [fp, #-33]
.L74:
	ldr	r0, .L80+20
	bl	system
	ldr	r0, [fp, #-12]
	bl	print
.L67:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L75
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L76
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L77
	b	.L78
.L76:
	ldr	r0, .L80+40
	bl	system
	ldr	r0, .L80+44
	bl	printf
	b	.L78
.L77:
	ldr	r0, .L80+48
	bl	system
	ldr	r0, .L80+52
	bl	printf
	nop
.L78:
	ldr	r0, [fp, #-12]
	bl	free
	nop
	ldr	r3, .L80
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	.LC19
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.size	game_run, .-game_run
	.align	2
	.global	status
	.syntax unified
	.arm
	.fpu softvfp
	.type	status, %function
status:
	@ 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, #12
	str	r3, [fp, #-12]
	mov	r3, #12
	str	r3, [fp, #-8]
	ldr	r3, .L94
	mov	r2, #0
	str	r2, [r3]
	b	.L83
.L90:
	ldr	r3, .L94+4
	mov	r2, #0
	str	r2, [r3]
	b	.L84
.L89:
	ldr	r3, .L94
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L94+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #66
	beq	.L85
	ldr	r3, .L94
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L94+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #18
	bne	.L86
.L85:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L86:
	ldr	r3, .L94
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L94+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #80
	beq	.L87
	ldr	r3, .L94
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L94+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #29
	bne	.L88
.L87:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L88:
	ldr	r3, .L94+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L94+4
	str	r3, [r2]
.L84:
	ldr	r3, .L94+4
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L89
	ldr	r3, .L94
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L94
	str	r3, [r2]
.L83:
	ldr	r3, .L94
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L90
	ldr	r3, [fp, #-12]
	cmp	r3, #12
	bne	.L91
	mov	r3, #1
	b	.L92
.L91:
	ldr	r3, [fp, #-8]
	cmp	r3, #12
	bne	.L93
	mov	r3, #2
	b	.L92
.L93:
	mvn	r3, #0
.L92:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L95:
	.align	2
.L94:
	.word	i
	.word	j
	.size	status, .-status
	.align	2
	.global	mdama
	.syntax unified
	.arm
	.fpu softvfp
	.type	mdama, %function
mdama:
	@ 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
	str	r0, [fp, #-8]
	ldr	r3, .L101
	mov	r2, #0
	str	r2, [r3]
	b	.L97
.L100:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L101
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #66
	bne	.L98
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, .L101
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #18
	strb	r2, [r3]
.L98:
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	ldr	r3, [r3]
	ldr	r2, .L101
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L99
	ldr	r3, [fp, #-8]
	add	r3, r3, #28
	ldr	r3, [r3]
	ldr	r2, .L101
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #29
	strb	r2, [r3]
.L99:
	ldr	r3, .L101
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L101
	str	r3, [r2]
.L97:
	ldr	r3, .L101
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L100
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L102:
	.align	2
.L101:
	.word	i
	.size	mdama, .-mdama
	.align	2
	.global	restricaodama
	.syntax unified
	.arm
	.fpu softvfp
	.type	restricaodama, %function
restricaodama:
	@ args = 12, 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #4]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L104
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	bne	.L105
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	ble	.L105
	ldr	r2, .L129
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L106
.L110:
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L107
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L108
.L107:
	mvn	r3, #0
	b	.L109
.L108:
	ldr	r3, .L129
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129
	str	r3, [r2]
.L106:
	ldr	r3, .L129
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L110
.L105:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	bne	.L111
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bge	.L111
	ldr	r2, .L129
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L112
.L115:
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L113
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L114
.L113:
	mvn	r3, #0
	b	.L109
.L114:
	ldr	r3, .L129
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L129
	str	r3, [r2]
.L112:
	ldr	r3, .L129
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L115
.L111:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L116
	ldr	r2, .L129
	ldr	r3, [fp, #-20]
	str	r3, [r2]
	b	.L117
.L122:
	ldr	r2, .L129+4
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L118
.L121:
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L119
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L120
.L119:
	mvn	r3, #0
	b	.L109
.L120:
	ldr	r3, .L129+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129+4
	str	r3, [r2]
.L118:
	ldr	r3, .L129+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	cmp	r2, r3
	bgt	.L121
	ldr	r3, .L129
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L129
	str	r3, [r2]
.L117:
	ldr	r3, .L129
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L122
.L116:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L104
	ldr	r2, .L129
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	b	.L123
.L128:
	ldr	r2, .L129+4
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	b	.L124
.L127:
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #8]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L125
	ldr	r3, .L129
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L129+4
	ldr	r2, [r2]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldrb	r2, [fp, #12]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L126
.L125:
	mvn	r3, #0
	b	.L109
.L126:
	ldr	r3, .L129+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L129+4
	str	r3, [r2]
.L124:
	ldr	r3, .L129+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	cmp	r2, r3
	blt	.L127
	ldr	r3, .L129
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L129
	str	r3, [r2]
.L123:
	ldr	r3, .L129
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	bgt	.L128
.L104:
	mov	r3, #2
.L109:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L130:
	.align	2
.L129:
	.word	i
	.word	j
	.size	restricaodama, .-restricaodama
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
