	.file	"992329.c"
	.intel_syntax noprefix
	.text
	.globl	barcos1
	.bss
	.align 32
	.type	barcos1, @object
	.size	barcos1, 100
barcos1:
	.zero	100
	.globl	barcos2
	.align 32
	.type	barcos2, @object
	.size	barcos2, 100
barcos2:
	.zero	100
	.globl	tab1
	.align 32
	.type	tab1, @object
	.size	tab1, 100
tab1:
	.zero	100
	.globl	tab2
	.align 32
	.type	tab2, @object
	.size	tab2, 100
tab2:
	.zero	100
	.globl	nome_j1
	.align 16
	.type	nome_j1, @object
	.size	nome_j1, 20
nome_j1:
	.zero	20
	.globl	nome_j2
	.align 16
	.type	nome_j2, @object
	.size	nome_j2, 20
nome_j2:
	.zero	20
	.globl	x
	.align 4
	.type	x, @object
	.size	x, 4
x:
	.zero	4
	.globl	y
	.align 4
	.type	y, @object
	.size	y, 4
y:
	.zero	4
	.globl	pontos_j1
	.align 4
	.type	pontos_j1, @object
	.size	pontos_j1, 4
pontos_j1:
	.zero	4
	.globl	pontos_j2
	.align 4
	.type	pontos_j2, @object
	.size	pontos_j2, 4
pontos_j2:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"\n==============================================================================="
	.align 8
.LC1:
	.string	"\n\t\t\tBem vindo a Batalha Naval!!!"
.LC2:
	.string	"\t\t\tJOGADOR 1 vs JOGADOR 2"
	.align 8
.LC3:
	.string	"==============================================================================="
.LC4:
	.string	"Nome do jogador 1: "
.LC5:
	.string	" %[^\n]s"
.LC6:
	.string	"Nome do jogador 2: "
	.text
	.globl	boas_vindas
	.type	boas_vindas, @function
boas_vindas:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, nome_j1[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, nome_j2[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	edi, 10
	call	putchar@PLT
	call	getchar@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	boas_vindas, .-boas_vindas
	.section	.rodata
.LC7:
	.string	"\tJOGADOR 1"
.LC8:
	.string	"\t\t\t\tJOGADOR 2\n"
.LC9:
	.string	" %i "
.LC10:
	.string	"\t\t"
.LC11:
	.string	"%i"
.LC12:
	.string	" %c "
.LC13:
	.string	"\n\t%s: %i pontos"
.LC14:
	.string	"\t\t\t\t%s: %i pontos\n\n"
	.text
	.globl	mostra_tab
	.type	mostra_tab, @function
mostra_tab:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 9
	call	putchar@PLT
	mov	edi, 32
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L3:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L4
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 32
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -8[rbp], 1
.L5:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L6
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L7
.L12:
	mov	edi, 9
	call	putchar@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab1[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L9
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab2[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L10:
	cmp	DWORD PTR -4[rbp], 9
	jle	.L11
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -8[rbp], 1
.L7:
	cmp	DWORD PTR -8[rbp], 9
	jle	.L12
	mov	eax, DWORD PTR pontos_j1[rip]
	mov	edx, eax
	lea	rsi, nome_j1[rip]
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR pontos_j2[rip]
	mov	edx, eax
	lea	rsi, nome_j2[rip]
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	mostra_tab, .-mostra_tab
	.section	.rodata
	.align 8
.LC15:
	.string	"Digite as coordenadas do alvo(x,y): "
.LC16:
	.string	"%d %d"
	.align 8
.LC17:
	.string	"\n\n==============================================================================="
	.text
	.globl	pede_coordenadas
	.type	pede_coordenadas, @function
pede_coordenadas:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, y[rip]
	lea	rsi, x[rip]
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC17[rip]
	call	puts@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	pede_coordenadas, .-pede_coordenadas
	.globl	posiciona_barcos
	.type	posiciona_barcos, @function
posiciona_barcos:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
.L21:
	mov	eax, 0
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -8[rbp], edx
	cmp	DWORD PTR -8[rbp], 5
	jle	.L15
	mov	eax, 0
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 715827883
	shr	rax, 32
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, 30[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, 40[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 88
	add	DWORD PTR -16[rbp], 1
.L17:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 4
	cmp	DWORD PTR -16[rbp], eax
	jle	.L18
	add	DWORD PTR -12[rbp], 1
	jmp	.L16
.L15:
	cmp	DWORD PTR -8[rbp], 5
	jg	.L16
	mov	eax, 0
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 2
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 3
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 4
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L16
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 88
	add	DWORD PTR -20[rbp], 1
.L19:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 4
	cmp	DWORD PTR -20[rbp], eax
	jle	.L20
	add	DWORD PTR -12[rbp], 1
.L16:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L21
	mov	DWORD PTR -12[rbp], 0
.L28:
	mov	eax, 0
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
	mov	ecx, DWORD PTR -8[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -8[rbp], edx
	cmp	DWORD PTR -8[rbp], 7
	jle	.L22
	mov	eax, 0
	call	rand@PLT
	cdq
	shr	edx, 29
	add	eax, edx
	and	eax, 7
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L23
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L23
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, 20[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L23
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 88
	add	DWORD PTR -16[rbp], 1
.L24:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cmp	DWORD PTR -16[rbp], eax
	jle	.L25
	add	DWORD PTR -12[rbp], 1
	jmp	.L23
.L22:
	cmp	DWORD PTR -8[rbp], 7
	jg	.L23
	mov	eax, 0
	call	rand@PLT
	mov	edx, eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	mov	ecx, DWORD PTR -4[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	sub	edx, eax
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L23
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L23
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 2
	cdqe
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 88
	je	.L23
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L26
.L27:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	BYTE PTR [rdx+rax], 88
	add	DWORD PTR -20[rbp], 1
.L26:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jle	.L27
	add	DWORD PTR -12[rbp], 1
.L23:
	cmp	DWORD PTR -12[rbp], 3
	jle	.L28
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	posiciona_barcos, .-posiciona_barcos
	.section	.rodata
	.align 8
.LC18:
	.string	"\t%s, VOC\303\212 J\303\201 ACERTOU ESSA COORDENADA! ESCOLHA OUTRA!!\n"
.LC19:
	.string	"\t\t\t%s - TIRO NA AGUA!\n"
.LC20:
	.string	"\t\t\t%s - ACERTOU!!! \n"
	.text
	.globl	verifica
	.type	verifica, @function
verifica:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	call	pede_coordenadas
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L30
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab2[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L31
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab2[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	jne	.L32
.L31:
	lea	rsi, nome_j1[rip]
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	verifica
	jmp	.L35
.L32:
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, barcos2[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 126
	jne	.L34
	lea	rsi, nome_j1[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab2[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 42
	jmp	.L39
.L34:
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, barcos2[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	jne	.L39
	lea	rsi, nome_j1[rip]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab2[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 88
	mov	eax, DWORD PTR pontos_j1[rip]
	add	eax, 5
	mov	DWORD PTR pontos_j1[rip], eax
	jmp	.L39
.L30:
	mov	eax, DWORD PTR -4[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L39
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab1[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 42
	je	.L36
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab1[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	jne	.L37
.L36:
	lea	rsi, nome_j2[rip]
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	verifica
	jmp	.L35
.L37:
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, barcos1[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 126
	jne	.L38
	lea	rsi, nome_j2[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab1[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 42
	jmp	.L39
.L38:
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, barcos1[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 88
	jne	.L39
	lea	rsi, nome_j2[rip]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR x[rip]
	mov	edx, DWORD PTR y[rip]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	lea	rax, tab1[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 88
	mov	eax, DWORD PTR pontos_j2[rip]
	add	eax, 5
	mov	DWORD PTR pontos_j2[rip], eax
	jmp	.L39
.L35:
.L39:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	verifica, .-verifica
	.section	.rodata
.LC21:
	.string	"\t\t\t\tVez de %s!\n\n\n"
.LC22:
	.string	"O jogador 1 ganhou o jogo!!!"
.LC23:
	.string	"O jogador 2 ganhou o jogo!!!"
.LC24:
	.string	"O jogo empatou!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edx, 100
	mov	esi, 126
	lea	rdi, tab1[rip]
	call	memset@PLT
	mov	edx, 100
	mov	esi, 126
	lea	rdi, tab2[rip]
	call	memset@PLT
	mov	edx, 100
	mov	esi, 126
	lea	rdi, barcos1[rip]
	call	memset@PLT
	mov	edx, 100
	mov	esi, 126
	lea	rdi, barcos2[rip]
	call	memset@PLT
	mov	edi, 0
	call	time@PLT
	mov	rdi, rax
	mov	eax, 0
	call	srand@PLT
	mov	DWORD PTR -4[rbp], 0
	call	boas_vindas
	lea	rdi, barcos1[rip]
	call	posiciona_barcos
	lea	rdi, barcos2[rip]
	call	posiciona_barcos
.L42:
	call	mostra_tab
	lea	rsi, nome_j1[rip]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	verifica
	add	DWORD PTR -4[rbp], 1
	call	mostra_tab
	lea	rsi, nome_j2[rip]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	verifica
	add	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR pontos_j1[rip]
	cmp	eax, 114
	jg	.L41
	mov	eax, DWORD PTR pontos_j2[rip]
	cmp	eax, 114
	jle	.L42
.L41:
	mov	edx, DWORD PTR pontos_j1[rip]
	mov	eax, DWORD PTR pontos_j2[rip]
	cmp	edx, eax
	jle	.L43
	lea	rdi, .LC22[rip]
	call	puts@PLT
	jmp	.L44
.L43:
	mov	edx, DWORD PTR pontos_j2[rip]
	mov	eax, DWORD PTR pontos_j1[rip]
	cmp	edx, eax
	jle	.L45
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L44
.L45:
	lea	rdi, .LC24[rip]
	call	puts@PLT
.L44:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"992329.c"
	.text
	.comm	barcos1,100,4
	.comm	barcos2,100,4
	.comm	tab1,100,4
	.comm	tab2,100,4
	.comm	nome_j1,20,4
	.comm	nome_j2,20,4
	.comm	x,4,4
	.comm	y,4,4
	.global	pontos_j1
	.bss
	.align	2
	.type	pontos_j1, %object
	.size	pontos_j1, 4
pontos_j1:
	.space	4
	.global	pontos_j2
	.align	2
	.type	pontos_j2, %object
	.size	pontos_j2, 4
pontos_j2:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012==============================================="
	.ascii	"================================\000"
	.align	2
.LC1:
	.ascii	"\012\011\011\011Bem vindo a Batalha Naval!!!\000"
	.align	2
.LC2:
	.ascii	"\011\011\011JOGADOR 1 vs JOGADOR 2\000"
	.align	2
.LC3:
	.ascii	"==================================================="
	.ascii	"============================\000"
	.align	2
.LC4:
	.ascii	"Nome do jogador 1: \000"
	.align	2
.LC5:
	.ascii	" %[^\012]s\000"
	.align	2
.LC6:
	.ascii	"Nome do jogador 2: \000"
	.text
	.align	2
	.global	boas_vindas
	.syntax unified
	.arm
	.fpu softvfp
	.type	boas_vindas, %function
boas_vindas:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	ldr	r0, .L2+4
	bl	puts
	ldr	r0, .L2+8
	bl	puts
	ldr	r0, .L2+12
	bl	puts
	ldr	r0, .L2+16
	bl	printf
	ldr	r1, .L2+20
	ldr	r0, .L2+24
	bl	__isoc99_scanf
	ldr	r0, .L2+28
	bl	printf
	ldr	r1, .L2+32
	ldr	r0, .L2+24
	bl	__isoc99_scanf
	mov	r0, #10
	bl	putchar
	bl	getchar
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	nome_j1
	.word	.LC5
	.word	.LC6
	.word	nome_j2
	.size	boas_vindas, .-boas_vindas
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\011JOGADOR 1\000"
	.align	2
.LC8:
	.ascii	"\011\011\011\011JOGADOR 2\012\000"
	.align	2
.LC9:
	.ascii	" %i \000"
	.align	2
.LC10:
	.ascii	"\011\011\000"
	.align	2
.LC11:
	.ascii	"%i\000"
	.align	2
.LC12:
	.ascii	" %c \000"
	.align	2
.LC13:
	.ascii	"\012\011%s: %i pontos\000"
	.align	2
.LC14:
	.ascii	"\011\011\011\011%s: %i pontos\012\012\000"
	.text
	.align	2
	.global	mostra_tab
	.syntax unified
	.arm
	.fpu softvfp
	.type	mostra_tab, %function
mostra_tab:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L15
	bl	printf
	ldr	r0, .L15+4
	bl	puts
	mov	r0, #9
	bl	putchar
	mov	r0, #32
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L6:
	ldr	r1, [fp, #-12]
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L5:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L6
	ldr	r0, .L15+12
	bl	printf
	mov	r0, #32
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r1, [fp, #-12]
	ldr	r0, .L15+8
	bl	printf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L8
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L9
.L14:
	mov	r0, #9
	bl	putchar
	ldr	r1, [fp, #-12]
	ldr	r0, .L15+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L10
.L11:
	ldr	r1, .L15+20
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L15+24
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L10:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L11
	ldr	r0, .L15+12
	bl	printf
	ldr	r1, [fp, #-12]
	ldr	r0, .L15+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r1, .L15+28
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L15+24
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	ble	.L13
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L9:
	ldr	r3, [fp, #-12]
	cmp	r3, #9
	ble	.L14
	ldr	r3, .L15+32
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L15+36
	ldr	r0, .L15+40
	bl	printf
	ldr	r3, .L15+44
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L15+48
	ldr	r0, .L15+52
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	tab1
	.word	.LC12
	.word	tab2
	.word	pontos_j1
	.word	nome_j1
	.word	.LC13
	.word	pontos_j2
	.word	nome_j2
	.word	.LC14
	.size	mostra_tab, .-mostra_tab
	.section	.rodata
	.align	2
.LC15:
	.ascii	"Digite as coordenadas do alvo(x,y): \000"
	.align	2
.LC16:
	.ascii	"%d %d\000"
	.align	2
.LC17:
	.ascii	"\012\012==========================================="
	.ascii	"====================================\000"
	.text
	.align	2
	.global	pede_coordenadas
	.syntax unified
	.arm
	.fpu softvfp
	.type	pede_coordenadas, %function
pede_coordenadas:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L18
	bl	printf
	ldr	r2, .L18+4
	ldr	r1, .L18+8
	ldr	r0, .L18+12
	bl	__isoc99_scanf
	ldr	r0, .L18+16
	bl	puts
	nop
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC15
	.word	y
	.word	x
	.word	.LC16
	.word	.LC17
	.size	pede_coordenadas, .-pede_coordenadas
	.align	2
	.global	posiciona_barcos
	.syntax unified
	.arm
	.fpu softvfp
	.type	posiciona_barcos, %function
posiciona_barcos:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
.L27:
	bl	rand
	mov	r2, r0
	ldr	r3, .L35
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	ble	.L21
	bl	rand
	mov	r2, r0
	ldr	r3, .L35+4
	smull	r0, r1, r3, r2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #20
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #30
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #40
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	b	.L23
.L24:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L23:
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L24
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L22
.L21:
	ldr	r3, [fp, #-12]
	cmp	r3, #5
	bgt	.L22
	bl	rand
	mov	r2, r0
	ldr	r3, .L35
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r3, #3
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L22
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-24]
	b	.L25
.L26:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L25:
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L26
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L22:
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	ble	.L27
	mov	r3, #0
	str	r3, [fp, #-16]
.L34:
	bl	rand
	mov	r2, r0
	ldr	r3, .L35
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	ble	.L28
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	and	r3, r3, #7
	and	r2, r2, #7
	rsbpl	r3, r2, #0
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L29
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L29
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #20
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L29
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-20]
	b	.L30
.L31:
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L30:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	ble	.L31
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L29
.L28:
	ldr	r3, [fp, #-12]
	cmp	r3, #7
	bgt	.L29
	bl	rand
	mov	r2, r0
	ldr	r3, .L35
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L29
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L29
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-12]
	add	r3, r3, #2
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #88
	beq	.L29
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-24]
	b	.L32
.L33:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L32:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L33
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L29:
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	ble	.L34
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	1717986919
	.word	715827883
	.size	posiciona_barcos, .-posiciona_barcos
	.section	.rodata
	.align	2
.LC18:
	.ascii	"\011%s, VOC\303\212 J\303\201 ACERTOU ESSA COORDENA"
	.ascii	"DA! ESCOLHA OUTRA!!\012\000"
	.align	2
.LC19:
	.ascii	"\011\011\011%s - TIRO NA AGUA!\012\000"
	.align	2
.LC20:
	.ascii	"\011\011\011%s - ACERTOU!!! \012\000"
	.text
	.align	2
	.global	verifica
	.syntax unified
	.arm
	.fpu softvfp
	.type	verifica, %function
verifica:
	@ 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]
	bl	pede_coordenadas
	ldr	r3, [fp, #-8]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L39
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L40
.L39:
	ldr	r1, .L48+12
	ldr	r0, .L48+16
	bl	printf
	ldr	r0, .L48+20
	bl	puts
	ldr	r0, [fp, #-8]
	bl	verifica
	b	.L43
.L40:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+24
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L42
	ldr	r1, .L48+12
	ldr	r0, .L48+28
	bl	printf
	ldr	r0, .L48+20
	bl	puts
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, #42
	strb	r2, [r3]
	b	.L47
.L42:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+24
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L47
	ldr	r1, .L48+12
	ldr	r0, .L48+32
	bl	printf
	ldr	r0, .L48+20
	bl	puts
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, .L48+36
	ldr	r3, [r3]
	add	r3, r3, #5
	ldr	r2, .L48+36
	str	r3, [r2]
	b	.L47
.L38:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L47
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+40
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L44
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+40
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L45
.L44:
	ldr	r1, .L48+44
	ldr	r0, .L48+16
	bl	printf
	ldr	r0, .L48+20
	bl	puts
	ldr	r0, [fp, #-8]
	bl	verifica
	b	.L43
.L45:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+48
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L46
	ldr	r1, .L48+44
	ldr	r0, .L48+28
	bl	printf
	ldr	r0, .L48+20
	bl	puts
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+40
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, #42
	strb	r2, [r3]
	b	.L47
.L46:
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+48
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #88
	bne	.L47
	ldr	r1, .L48+44
	ldr	r0, .L48+32
	bl	printf
	ldr	r0, .L48+20
	bl	puts
	ldr	r3, .L48
	ldr	r2, [r3]
	ldr	r3, .L48+4
	ldr	r1, [r3]
	ldr	r0, .L48+40
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r0, r3
	add	r3, r3, r1
	mov	r2, #88
	strb	r2, [r3]
	ldr	r3, .L48+52
	ldr	r3, [r3]
	add	r3, r3, #5
	ldr	r2, .L48+52
	str	r3, [r2]
	b	.L47
.L43:
.L47:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	x
	.word	y
	.word	tab2
	.word	nome_j1
	.word	.LC18
	.word	.LC3
	.word	barcos2
	.word	.LC19
	.word	.LC20
	.word	pontos_j1
	.word	tab1
	.word	nome_j2
	.word	barcos1
	.word	pontos_j2
	.size	verifica, .-verifica
	.section	.rodata
	.align	2
.LC21:
	.ascii	"\011\011\011\011Vez de %s!\012\012\012\000"
	.align	2
.LC22:
	.ascii	"O jogador 1 ganhou o jogo!!!\000"
	.align	2
.LC23:
	.ascii	"O jogador 2 ganhou o jogo!!!\000"
	.align	2
.LC24:
	.ascii	"O jogo empatou!\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r2, #100
	mov	r1, #126
	ldr	r0, .L57
	bl	memset
	mov	r2, #100
	mov	r1, #126
	ldr	r0, .L57+4
	bl	memset
	mov	r2, #100
	mov	r1, #126
	ldr	r0, .L57+8
	bl	memset
	mov	r2, #100
	mov	r1, #126
	ldr	r0, .L57+12
	bl	memset
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	mov	r3, #0
	str	r3, [fp, #-8]
	bl	boas_vindas
	ldr	r0, .L57+8
	bl	posiciona_barcos
	ldr	r0, .L57+12
	bl	posiciona_barcos
.L52:
	bl	mostra_tab
	ldr	r1, .L57+16
	ldr	r0, .L57+20
	bl	printf
	ldr	r0, [fp, #-8]
	bl	verifica
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	bl	mostra_tab
	ldr	r1, .L57+24
	ldr	r0, .L57+20
	bl	printf
	ldr	r0, [fp, #-8]
	bl	verifica
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L57+28
	ldr	r3, [r3]
	cmp	r3, #114
	bgt	.L51
	ldr	r3, .L57+32
	ldr	r3, [r3]
	cmp	r3, #114
	ble	.L52
.L51:
	ldr	r3, .L57+28
	ldr	r2, [r3]
	ldr	r3, .L57+32
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L53
	ldr	r0, .L57+36
	bl	puts
	b	.L54
.L53:
	ldr	r3, .L57+32
	ldr	r2, [r3]
	ldr	r3, .L57+28
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L55
	ldr	r0, .L57+40
	bl	puts
	b	.L54
.L55:
	ldr	r0, .L57+44
	bl	puts
.L54:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	tab1
	.word	tab2
	.word	barcos1
	.word	barcos2
	.word	nome_j1
	.word	.LC21
	.word	nome_j2
	.word	pontos_j1
	.word	pontos_j2
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
