#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
void Tela(int P1Tela[6][8], int P2Tela[6][8], int P1Ponto, int P2Ponto) {
  int i, j;
  printf("        JOGADOR 1         JOGADOR 2\n     ");
  printf("   PONTO = %d         PONTO = %d\n     ", P1Ponto, P2Ponto);
  for (j = 0; j < 8; j++) {
    printf("%d ", j + 1);
  }
  printf("  ");
  for (j = 0; j < 8; j++) {
    printf("%d ", j + 1);
  }
  printf("\n");
  printf("   O-----------------O-----------------O\n");
  for (i = 0; i < 6; i++) {
    printf("   |\t\t     |\t\t       |\n");
    printf("  %d| ", i + 1);
    for (j = 0; j < 8; j++) {
      if (P1Tela[i][j] == 3) {
        printf("X ");
      } else {
        printf("%d ", P1Tela[i][j]);
      }
    }
    printf("| ", i + 1);
    for (j = 0; j < 8; j++) {
      if (P2Tela[i][j] == 3) {
        printf("X ");
      } else {
        printf("%d ", P2Tela[i][j]);
      }
    }
    printf("|%d", i + 1);
    if (i == 0) {
      printf("       INDICE");
    }
    if (i == 1) {
      printf("   0=Nao Descorberto");
    }
    if (i == 2) {
      printf("   2=Submarino");
    }
    if (i == 3) {
      printf("   4=Encouracado");
    }
    if (i == 4) {
      printf("   X=Agua");
    }
    if (i == 5) {
      printf("   10 Pontos para ganhar");
    }
    printf("\n");
  }
  printf("   |\t\t     |\t\t       |\n");
  printf("   O-----------------O-----------------O");
  printf("\n     ");
  for (j = 0; j < 8; j++) {
    printf("%d ", j + 1);
  }
  printf("  ");
  for (j = 0; j < 8; j++) {
    printf("%d ", j + 1);
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<Tela>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
mov    -0x18(%rbp),%edx
lea    0xee9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    117b <Tela+0x6b>
mov    -0x20(%rbp),%esi
add    $0x1,%esi
lea    0xeeb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    114f <Tela+0x3f>
lea    0xea5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    11bc <Tela+0xac>
mov    -0x20(%rbp),%esi
add    $0x1,%esi
lea    0xeaa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1190 <Tela+0x80>
lea    0xeba(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x6,-0x1c(%rbp)
jge    13cf <Tela+0x2bf>
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
add    $0x1,%esi
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    1283 <Tela+0x173>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
cmpl   $0x3,(%rax,%rcx,4)
jne    124c <Tela+0x13c>
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1270 <Tela+0x160>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xde8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1275 <Tela+0x165>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1212 <Tela+0x102>
mov    -0x1c(%rbp),%esi
add    $0x1,%esi
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    130f <Tela+0x1ff>
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
cmpl   $0x3,(%rax,%rcx,4)
jne    12d8 <Tela+0x1c8>
lea    0xdd2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12fc <Tela+0x1ec>
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1301 <Tela+0x1f1>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    129e <Tela+0x18e>
mov    -0x1c(%rbp),%esi
add    $0x1,%esi
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x1c(%rbp)
jne    133b <Tela+0x22b>
lea    0xd71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x1,-0x1c(%rbp)
jne    1353 <Tela+0x243>
lea    0xd67(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x2,-0x1c(%rbp)
jne    136b <Tela+0x25b>
lea    0xd64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x3,-0x1c(%rbp)
jne    1383 <Tela+0x273>
lea    0xd5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x4,-0x1c(%rbp)
jne    139b <Tela+0x28b>
lea    0xd54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x5,-0x1c(%rbp)
jne    13b3 <Tela+0x2a3>
lea    0xd46(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcc3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11df <Tela+0xcf>
lea    0xca9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    142c <Tela+0x31c>
mov    -0x20(%rbp),%esi
add    $0x1,%esi
lea    0xc3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1400 <Tela+0x2f0>
lea    0xbf4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
cmpl   $0x8,-0x20(%rbp)
jge    146d <Tela+0x35d>
mov    -0x20(%rbp),%esi
add    $0x1,%esi
lea    0xbf9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1441 <Tela+0x331>
lea    0xc09(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Tela>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %ecx,%r15d
mov    %edx,%ebp
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xeb3(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xecf(%rip),%rdi
mov    %ebp,%esi
mov    %r15d,%edx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xee3(%rip),%rbp
mov    %rbp,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe3a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe4c(%rip),%rdi
call   1040 <puts@plt>
lea    0xdd3(%rip),%rbp
xor    %r13d,%r13d
xor    %r15d,%r15d
jmp    12bb <Tela+0x18b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x4,%r13
mov    %r12,%r15
cmp    $0x6,%r12
je     1624 <Tela+0x4f4>
lea    0xe30(%rip),%rdi
call   1040 <puts@plt>
lea    0x1(%r15),%r12
lea    0xd83(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    1300 <Tela+0x1d0>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    130e <Tela+0x1de>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    0xd4a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    1330 <Tela+0x200>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    133e <Tela+0x20e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xd1a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    1360 <Tela+0x230>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    136e <Tela+0x23e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xcea(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    1390 <Tela+0x260>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    139e <Tela+0x26e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xcba(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    13c0 <Tela+0x290>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    13ce <Tela+0x29e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xc8a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    13f0 <Tela+0x2c0>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    13fe <Tela+0x2ce>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xc5a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    1420 <Tela+0x2f0>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    142e <Tela+0x2fe>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xc2a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%rbx,%r13,8),%esi
cmp    $0x3,%esi
jne    1450 <Tela+0x320>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    145e <Tela+0x32e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xbfa(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xbf4(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    1490 <Tela+0x360>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    149e <Tela+0x36e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xbba(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    14c0 <Tela+0x390>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    14ce <Tela+0x39e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xb8a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    14f0 <Tela+0x3c0>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    14fe <Tela+0x3ce>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xb5a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    1520 <Tela+0x3f0>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    152e <Tela+0x3fe>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xb2a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    1550 <Tela+0x420>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    155e <Tela+0x42e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xafa(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x14(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    1580 <Tela+0x450>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    158e <Tela+0x45e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xaca(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x18(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    15b0 <Tela+0x480>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    15be <Tela+0x48e>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xa9a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x1c(%r14,%r13,8),%esi
cmp    $0x3,%esi
jne    15e0 <Tela+0x4b0>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    15ee <Tela+0x4be>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xa6a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa6a(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x5,%r15d
ja     12a0 <Tela+0x170>
lea    0xafc(%rip),%rax
movslq 0x0(%r13,%rax,1),%rdi
add    %rax,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
jmp    12a0 <Tela+0x170>
lea    0xac7(%rip),%rdi
call   1040 <puts@plt>
lea    0xa92(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x9de(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x9fe(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x955(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [42 x i8] c" JOGADOR 1 JOGADOR 2\0A \00"
@.str.1 = [39 x i8] c" PONTO = %d PONTO = %d\0A \00"
@.str.2 = [4 x i8] c"%d \00"
@.str.3 = [3 x i8] c" \00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [42 x i8] c" O-----------------O-----------------O\0A\00"
@.str.6 = [24 x i8] c" |\09\09 |\09\09 |\0A\00"
@.str.7 = [7 x i8] c" %d| \00"
@.str.8 = [3 x i8] c"X \00"
@.str.9 = [3 x i8] c"| \00"
@.str.10 = [4 x i8] c"|%d\00"
@.str.11 = [14 x i8] c" INDICE\00"
@.str.12 = [21 x i8] c" 0=Nao Descorberto\00"
@.str.13 = [15 x i8] c" 2=Submarino\00"
@.str.14 = [17 x i8] c" 4=Encouracado\00"
@.str.15 = [10 x i8] c" X=Agua\00"
@.str.16 = [25 x i8] c" 10 Pontos para ganhar\00"
@.str.17 = [41 x i8] c" O-----------------O-----------------O\00"
@.str.18 = [7 x i8] c"\0A \00"
define void @Tela([8 x i32]* %0, [8 x i32]* %1, i32 %2, i32 %3) {
%5 = alloca [8 x i32]*
%6 = alloca [8 x i32]*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store [8 x i32]* %0, [8 x i32]** %5
store [8 x i32]* %1, [8 x i32]** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%12 = load i32, i32* %7
%13 = load i32, i32* %8
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i32 %12, i32 %13)
store i32 0, i32* %10
br label %15
15: ; preds = %22, %4
%16 = load i32, i32* %10
%17 = icmp slt i32 %16, 8
br i1 %17, label %18, label %25
18: ; preds = %15
%19 = load i32, i32* %10
%20 = add nsw i32 %19, 1
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %20)
br label %22
22: ; preds = %18
%23 = load i32, i32* %10
%24 = add nsw i32 %23, 1
store i32 %24, i32* %10
br label %15
25: ; preds = %15
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %10
br label %27
27: ; preds = %34, %25
%28 = load i32, i32* %10
%29 = icmp slt i32 %28, 8
br i1 %29, label %30, label %37
30: ; preds = %27
%31 = load i32, i32* %10
%32 = add nsw i32 %31, 1
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %32)
br label %34
34: ; preds = %30
%35 = load i32, i32* %10
%36 = add nsw i32 %35, 1
store i32 %36, i32* %10
br label %27
37: ; preds = %27
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %9
br label %40
40: ; preds = %145, %37
%41 = load i32, i32* %9
%42 = icmp slt i32 %41, 6
br i1 %42, label %43, label %148
43: ; preds = %40
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%45 = load i32, i32* %9
%46 = add nsw i32 %45, 1
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 %46)
store i32 0, i32* %10
br label %48
48: ; preds = %74, %43
%49 = load i32, i32* %10
%50 = icmp slt i32 %49, 8
br i1 %50, label %51, label %77
51: ; preds = %48
%52 = load [8 x i32]*, [8 x i32]** %5
%53 = load i32, i32* %9
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [8 x i32], [8 x i32]* %52, i64 %54
%56 = load i32, i32* %10
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [8 x i32], [8 x i32]* %55, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = icmp eq i32 %59, 3
br i1 %60, label %61, label %63
61: ; preds = %51
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %73
63: ; preds = %51
%64 = load [8 x i32]*, [8 x i32]** %5
%65 = load i32, i32* %9
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [8 x i32], [8 x i32]* %64, i64 %66
%68 = load i32, i32* %10
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [8 x i32], [8 x i32]* %67, i64 0, i64 %69
%71 = load i32, i32* %70
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %71)
br label %73
73: ; preds = %63, %61
br label %74
74: ; preds = %73
%75 = load i32, i32* %10
%76 = add nsw i32 %75, 1
store i32 %76, i32* %10
br label %48
77: ; preds = %48
%78 = load i32, i32* %9
%79 = add nsw i32 %78, 1
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i32 %79)
store i32 0, i32* %10
br label %81
81: ; preds = %107, %77
%82 = load i32, i32* %10
%83 = icmp slt i32 %82, 8
br i1 %83, label %84, label %110
84: ; preds = %81
%85 = load [8 x i32]*, [8 x i32]** %6
%86 = load i32, i32* %9
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [8 x i32], [8 x i32]* %85, i64 %87
%89 = load i32, i32* %10
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [8 x i32], [8 x i32]* %88, i64 0, i64 %90
%92 = load i32, i32* %91
%93 = icmp eq i32 %92, 3
br i1 %93, label %94, label %96
94: ; preds = %84
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %106
96: ; preds = %84
%97 = load [8 x i32]*, [8 x i32]** %6
%98 = load i32, i32* %9
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [8 x i32], [8 x i32]* %97, i64 %99
%101 = load i32, i32* %10
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [8 x i32], [8 x i32]* %100, i64 0, i64 %102
%104 = load i32, i32* %103
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %104)
br label %106
106: ; preds = %96, %94
br label %107
107: ; preds = %106
%108 = load i32, i32* %10
%109 = add nsw i32 %108, 1
store i32 %109, i32* %10
br label %81
110: ; preds = %81
%111 = load i32, i32* %9
%112 = add nsw i32 %111, 1
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %112)
%114 = load i32, i32* %9
%115 = icmp eq i32 %114, 0
br i1 %115, label %116, label %118
116: ; preds = %110
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
br label %118
118: ; preds = %116, %110
%119 = load i32, i32* %9
%120 = icmp eq i32 %119, 1
br i1 %120, label %121, label %123
121: ; preds = %118
%122 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.12, i64 0, i64 0))
br label %123
123: ; preds = %121, %118
%124 = load i32, i32* %9
%125 = icmp eq i32 %124, 2
br i1 %125, label %126, label %128
126: ; preds = %123
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.13, i64 0, i64 0))
br label %128
128: ; preds = %126, %123
%129 = load i32, i32* %9
%130 = icmp eq i32 %129, 3
br i1 %130, label %131, label %133
131: ; preds = %128
%132 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.14, i64 0, i64 0))
br label %133
133: ; preds = %131, %128
%134 = load i32, i32* %9
%135 = icmp eq i32 %134, 4
br i1 %135, label %136, label %138
136: ; preds = %133
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.15, i64 0, i64 0))
br label %138
138: ; preds = %136, %133
%139 = load i32, i32* %9
%140 = icmp eq i32 %139, 5
br i1 %140, label %141, label %143
141: ; preds = %138
%142 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.16, i64 0, i64 0))
br label %143
143: ; preds = %141, %138
%144 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %145
145: ; preds = %143
%146 = load i32, i32* %9
%147 = add nsw i32 %146, 1
store i32 %147, i32* %9
br label %40
148: ; preds = %40
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.17, i64 0, i64 0))
%151 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
store i32 0, i32* %10
br label %152
152: ; preds = %159, %148
%153 = load i32, i32* %10
%154 = icmp slt i32 %153, 8
br i1 %154, label %155, label %162
155: ; preds = %152
%156 = load i32, i32* %10
%157 = add nsw i32 %156, 1
%158 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %157)
br label %159
159: ; preds = %155
%160 = load i32, i32* %10
%161 = add nsw i32 %160, 1
store i32 %161, i32* %10
br label %152
162: ; preds = %152
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %10
br label %164
164: ; preds = %171, %162
%165 = load i32, i32* %10
%166 = icmp slt i32 %165, 8
br i1 %166, label %167, label %174
167: ; preds = %164
%168 = load i32, i32* %10
%169 = add nsw i32 %168, 1
%170 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %169)
br label %171
171: ; preds = %167
%172 = load i32, i32* %10
%173 = add nsw i32 %172, 1
store i32 %173, i32* %10
br label %164
174: ; preds = %164
%175 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [42 x i8] c" JOGADOR 1 JOGADOR 2\0A \00"
@.str.1 = [39 x i8] c" PONTO = %d PONTO = %d\0A \00"
@.str.2 = [4 x i8] c"%d \00"
@.str.3 = [3 x i8] c" \00"
@.str.7 = [7 x i8] c" %d| \00"
@.str.8 = [3 x i8] c"X \00"
@.str.9 = [3 x i8] c"| \00"
@.str.10 = [4 x i8] c"|%d\00"
@.str.11 = [14 x i8] c" INDICE\00"
@.str.12 = [21 x i8] c" 0=Nao Descorberto\00"
@.str.13 = [15 x i8] c" 2=Submarino\00"
@.str.14 = [17 x i8] c" 4=Encouracado\00"
@.str.15 = [10 x i8] c" X=Agua\00"
@.str.16 = [25 x i8] c" 10 Pontos para ganhar\00"
@.str.18 = [7 x i8] c"\0A \00"
@str = [41 x i8] c" O-----------------O-----------------O\00"
@str.20 = [23 x i8] c" |\09\09 |\09\09 |\00"
@reltable.Tela = [6 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.11 to i64), i64 ptrtoint ([6 x i32]* @reltable.Tela to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.12 to i64), i64 ptrtoint ([6 x i32]* @reltable.Tela to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.13 to i64), i64 ptrtoint ([6 x i32]* @reltable.Tela to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.14 to i64), i64 ptrtoint ([6 x i32]* @reltable.Tela to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.15 to i64), i64 ptrtoint ([6 x i32]* @reltable.Tela to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.16 to i64), i64 ptrtoint ([6 x i32]* @reltable.Tela to i64)) to i32)]
define void @Tela([8 x i32]* nocapture %0, [8 x i32]* nocapture %1, i32 %2, i32 %3) {
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i32 %2, i32 %3)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 1)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 2)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 3)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 4)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 5)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 6)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 7)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 8)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 1)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 2)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 3)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 4)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 5)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 6)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 7)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 8)
%24 = tail call i32 @putchar(i32 10)
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str, i64 0, i64 0))
br label %26
26: ; preds = %4, %170
%27 = phi i64 [ 0, %4 ], [ %29, %170 ]
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.20, i64 0, i64 0))
%29 = add nuw nsw i64 %27, 1
%30 = trunc i64 %29 to i32
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 %30)
%32 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 0
%33 = load i32, i32* %32
%34 = icmp eq i32 %33, 3
br i1 %34, label %35, label %37
35: ; preds = %26
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %39
37: ; preds = %26
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %33)
br label %39
39: ; preds = %35, %37
%40 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 1
%41 = load i32, i32* %40
%42 = icmp eq i32 %41, 3
br i1 %42, label %45, label %43
43: ; preds = %39
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %41)
br label %47
45: ; preds = %39
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %47
47: ; preds = %45, %43
%48 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 2
%49 = load i32, i32* %48
%50 = icmp eq i32 %49, 3
br i1 %50, label %53, label %51
51: ; preds = %47
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %49)
br label %55
53: ; preds = %47
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %55
55: ; preds = %53, %51
%56 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 3
%57 = load i32, i32* %56
%58 = icmp eq i32 %57, 3
br i1 %58, label %61, label %59
59: ; preds = %55
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %57)
br label %63
61: ; preds = %55
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %63
63: ; preds = %61, %59
%64 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 4
%65 = load i32, i32* %64
%66 = icmp eq i32 %65, 3
br i1 %66, label %69, label %67
67: ; preds = %63
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %65)
br label %71
69: ; preds = %63
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %71
71: ; preds = %69, %67
%72 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 5
%73 = load i32, i32* %72
%74 = icmp eq i32 %73, 3
br i1 %74, label %77, label %75
75: ; preds = %71
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %73)
br label %79
77: ; preds = %71
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %79
79: ; preds = %77, %75
%80 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 6
%81 = load i32, i32* %80
%82 = icmp eq i32 %81, 3
br i1 %82, label %85, label %83
83: ; preds = %79
%84 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %81)
br label %87
85: ; preds = %79
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %87
87: ; preds = %85, %83
%88 = getelementptr inbounds [8 x i32], [8 x i32]* %0, i64 %27, i64 7
%89 = load i32, i32* %88
%90 = icmp eq i32 %89, 3
br i1 %90, label %93, label %91
91: ; preds = %87
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %89)
br label %95
93: ; preds = %87
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %95
95: ; preds = %93, %91
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0), i32 %30)
%97 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 0
%98 = load i32, i32* %97
%99 = icmp eq i32 %98, 3
br i1 %99, label %100, label %102
100: ; preds = %95
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %104
102: ; preds = %95
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %98)
br label %104
104: ; preds = %100, %102
%105 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 1
%106 = load i32, i32* %105
%107 = icmp eq i32 %106, 3
br i1 %107, label %110, label %108
108: ; preds = %104
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %106)
br label %112
110: ; preds = %104
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %112
112: ; preds = %110, %108
%113 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 2
%114 = load i32, i32* %113
%115 = icmp eq i32 %114, 3
br i1 %115, label %118, label %116
116: ; preds = %112
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %114)
br label %120
118: ; preds = %112
%119 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %120
120: ; preds = %118, %116
%121 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 3
%122 = load i32, i32* %121
%123 = icmp eq i32 %122, 3
br i1 %123, label %126, label %124
124: ; preds = %120
%125 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %122)
br label %128
126: ; preds = %120
%127 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %128
128: ; preds = %126, %124
%129 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 4
%130 = load i32, i32* %129
%131 = icmp eq i32 %130, 3
br i1 %131, label %134, label %132
132: ; preds = %128
%133 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %130)
br label %136
134: ; preds = %128
%135 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %136
136: ; preds = %134, %132
%137 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 5
%138 = load i32, i32* %137
%139 = icmp eq i32 %138, 3
br i1 %139, label %142, label %140
140: ; preds = %136
%141 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %138)
br label %144
142: ; preds = %136
%143 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %144
144: ; preds = %142, %140
%145 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 6
%146 = load i32, i32* %145
%147 = icmp eq i32 %146, 3
br i1 %147, label %150, label %148
148: ; preds = %144
%149 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %146)
br label %152
150: ; preds = %144
%151 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %152
152: ; preds = %150, %148
%153 = getelementptr inbounds [8 x i32], [8 x i32]* %1, i64 %27, i64 7
%154 = load i32, i32* %153
%155 = icmp eq i32 %154, 3
br i1 %155, label %158, label %156
156: ; preds = %152
%157 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 %154)
br label %160
158: ; preds = %152
%159 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %160
160: ; preds = %158, %156
%161 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0), i32 %30)
%162 = trunc i64 %27 to i32
%163 = icmp ult i32 %162, 6
br i1 %163, label %164, label %170
164: ; preds = %160
%165 = shl i64 %27, 32
%166 = ashr exact i64 %165, 32
%167 = shl i64 %166, 2
%168 = call i8* @llvm.load.relative.i64(i8* bitcast ([6 x i32]* @reltable.Tela to i8*), i64 %167)
%169 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %168)
br label %170
170: ; preds = %160, %164
%171 = tail call i32 @putchar(i32 10)
%172 = icmp eq i64 %29, 6
br i1 %172, label %173, label %26
173: ; preds = %170
%174 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.20, i64 0, i64 0))
%175 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str, i64 0, i64 0))
%176 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.18, i64 0, i64 0))
%177 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 1)
%178 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 2)
%179 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 3)
%180 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 4)
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 5)
%182 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 6)
%183 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 7)
%184 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 8)
%185 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 1)
%187 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 2)
%188 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 3)
%189 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 4)
%190 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 5)
%191 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 6)
%192 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 7)
%193 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i32 8)
%194 = tail call i32 @putchar(i32 10)
ret void
}