#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 *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  int mapa[6][6] = {{0, 0, 0, 0, 0, 0}, {0, 0, 1, 1, 0, 1}, {0, 1, 1, 1, 1, 0},
                    {0, 1, 0, 0, 0, 1}, {0, 0, 0, 1, 1, 0}, {0, 1, 0, 1, 0, 1}};
  int i, j;
  char controle[6][6];
  int continuar = 1;
  int score = 0;
  char nome[100];
  printf("Olá! Digite seu nome:");
  scanf("%s", nome);
  for (i = 1; i < 6; i++) {
    for (j = 1; j < 6; j++) {
      controle[i][j] = '.';
      printf("%c  ", controle[i][j]);
    }
    printf("\n");
  }
  printf("\nEntre com a linha:  ");
  scanf("%d", &i);
  printf("\nEntre com a Coluna:  ");
  scanf("%d", &j);
  if (mapa[i][j] == 1) {
    controle[i][j] = 'X';
    score++;
    printf("Bomba!!\n");
    printf("Seu score atual é de %d ponto(s)\n", score);
    printf("Deseja Continuar? 1 = Sim / 0= Não:");
    scanf("%d", &continuar);
  } else {
    controle[i][j] = 'O';
    printf("Agua!!, que pena\n");
    printf("Seu score atual é de %d ponto(s)\n", score);
    printf("Deseja Continuar? 1 = Sim / 0= Não:");
    scanf("%d", &continuar);
  }
  for (i = 1; i < 6; i++) {
    for (j = 1; j < 6; j++) {
      printf("%c  ", controle[i][j]);
    }
    printf("\n");
  }
  while (continuar == 1) {
    printf("\nEntre com a linha:  ");
    scanf("%d", &i);
    printf("\nEntre com a Coluna:  ");
    scanf("%d", &j);
    if (mapa[i][j] == 1) {
      controle[i][j] = 'X';
      score++;
      printf("Bomba!!\n");
      printf("Seu score atual é de %d ponto(s)\n", score);
      printf("Deseja Continuar? 1 = Sim / 0= Não:");
      scanf("%d", &continuar);
    } else {
      controle[i][j] = 'O';
      printf("Agua!!, que pena\n");
      printf("Seu score atual é de %d ponto(s)\n", score);
      printf("Deseja Continuar? 1 = Sim / 0= Não:");
      scanf("%d", &continuar);
    }
    for (i = 1; i < 6; i++) {
      for (j = 1; j < 6; j++) {
        printf("%c  ", controle[i][j]);
      }
      printf("\n");
    }
  }
  printf("Essas foram suas jogadas!\n\n");
  printf("%s, você fez %d ponto(s)!!!\n\nObrigado por Jogar\n\n", nome, score);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x140,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0xa0(%rbp),%rdi
lea    0xeb0(%rip),%rsi
mov    $0x90,%edx
call   1040 <memcpy@plt>
movl   $0x1,-0xd4(%rbp)
movl   $0x0,-0xd8(%rbp)
lea    0xf1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x140(%rbp),%rsi
lea    0xf1d(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
movl   $0x1,-0xa4(%rbp)
cmpl   $0x6,-0xa4(%rbp)
jge    1243 <main+0x113>
movl   $0x1,-0xa8(%rbp)
cmpl   $0x6,-0xa8(%rbp)
jge    1221 <main+0xf1>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movb   $0x2e,(%rax,%rcx,1)
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
lea    0xea4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
jmp    11b2 <main+0x82>
lea    0xf34(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa4(%rbp)
jmp    119b <main+0x6b>
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe6d(%rip),%rdi
lea    -0xa4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xe5b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe4a(%rip),%rdi
lea    -0xa8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movslq -0xa4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
jne    1328 <main+0x1f8>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movb   $0x58,(%rax,%rcx,1)
mov    -0xd8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd8(%rbp)
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xd8(%rbp),%esi
lea    0xdef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdb0(%rip),%rdi
lea    -0xd4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
jmp    138d <main+0x25d>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movb   $0x4f,(%rax,%rcx,1)
lea    0xde1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xd8(%rbp),%esi
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd46(%rip),%rdi
lea    -0xd4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movl   $0x1,-0xa4(%rbp)
cmpl   $0x6,-0xa4(%rbp)
jge    141f <main+0x2ef>
movl   $0x1,-0xa8(%rbp)
cmpl   $0x6,-0xa8(%rbp)
jge    13fd <main+0x2cd>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
lea    0xcc8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
jmp    13ae <main+0x27e>
lea    0xd58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa4(%rbp)
jmp    1397 <main+0x267>
jmp    1424 <main+0x2f4>
cmpl   $0x1,-0xd4(%rbp)
jne    1612 <main+0x4e2>
lea    0xc77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc7f(%rip),%rdi
lea    -0xa4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
lea    0xc6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc5c(%rip),%rdi
lea    -0xa8(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movslq -0xa4(%rbp),%rcx
lea    -0xa0(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
cmpl   $0x1,(%rax,%rcx,4)
jne    1516 <main+0x3e6>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movb   $0x58,(%rax,%rcx,1)
mov    -0xd8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xd8(%rbp)
lea    0xc0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xd8(%rbp),%esi
lea    0xc01(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc16(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbc2(%rip),%rdi
lea    -0xd4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
jmp    157b <main+0x44b>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movb   $0x4f,(%rax,%rcx,1)
lea    0xbf3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xd8(%rbp),%esi
lea    0xb97(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xbac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb58(%rip),%rdi
lea    -0xd4(%rbp),%rsi
mov    $0x0,%al
call   1050 <scanf@plt>
movl   $0x1,-0xa4(%rbp)
cmpl   $0x6,-0xa4(%rbp)
jge    160d <main+0x4dd>
movl   $0x1,-0xa8(%rbp)
cmpl   $0x6,-0xa8(%rbp)
jge    15eb <main+0x4bb>
movslq -0xa4(%rbp),%rcx
lea    -0xd0(%rbp),%rax
imul   $0x6,%rcx,%rcx
add    %rcx,%rax
movslq -0xa8(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
lea    0xada(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
jmp    159c <main+0x46c>
lea    0xb6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa4(%rbp)
jmp    1585 <main+0x455>
jmp    1424 <main+0x2f4>
lea    0xb29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x140(%rbp),%rsi
mov    -0xd8(%rbp),%edx
lea    0xb2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x140,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
movl   $0x1,0xc(%rsp)
lea    0xf30(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf39(%rip),%rdi
lea    0x40(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0x1b(%rsp),%rbp
lea    0xf24(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
movb   $0x2e,-0x4(%rbp)
mov    %r14,%rdi
mov    $0x2e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movl   $0x2,0x4(%rsp)
movb   $0x2e,-0x3(%rbp)
mov    %r14,%rdi
mov    $0x2e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movl   $0x3,0x4(%rsp)
movb   $0x2e,-0x2(%rbp)
mov    %r14,%rdi
mov    $0x2e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movl   $0x4,0x4(%rsp)
movb   $0x2e,-0x1(%rbp)
mov    %r14,%rdi
mov    $0x2e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movl   $0x5,0x4(%rsp)
movb   $0x2e,0x0(%rbp)
mov    %r14,%rdi
mov    $0x2e,%esi
xor    %eax,%eax
call   1050 <printf@plt>
movl   $0x6,0x4(%rsp)
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x2(%rbx),%eax
mov    %eax,0x8(%rsp)
add    $0x1,%ebx
add    $0x6,%rbp
cmp    $0x5,%ebx
jb     1190 <main+0x50>
lea    0xe70(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe78(%rip),%r14
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xe65(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rsp),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
movslq 0x8(%rsp),%rax
movslq 0x4(%rsp),%r15
lea    0xd76(%rip),%rcx
lea    (%rax,%rax,2),%rbp
lea    (%rcx,%rbp,8),%rax
xor    %ebx,%ebx
cmpl   $0x1,(%rax,%r15,4)
sete   %bl
lea    0xee3(%rip),%rax
lea    0xecb(%rip),%rdi
cmove  %rax,%rdi
lea    (%rbx,%rbx,8),%r12d
add    $0x4f,%r12d
call   1040 <puts@plt>
lea    0xe1d(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe30(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    (%rsp,%rbp,2),%rax
add    $0x10,%rax
mov    %r12b,(%r15,%rax,1)
movl   $0x1,0x8(%rsp)
mov    $0x1,%eax
lea    0xda2(%rip),%rbp
jmp    132a <main+0x1ea>
nopw   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x8(%rsp)
cmp    $0x5,%ecx
jge    1396 <main+0x256>
movl   $0x1,0x4(%rsp)
cltq
lea    (%rax,%rax,2),%rax
movsbl 0x11(%rsp,%rax,2),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x4(%rsp)
cmp    $0x4,%ecx
jg     1310 <main+0x1d0>
nopw   0x0(%rax,%rax,1)
movslq 0x8(%rsp),%rcx
cltq
lea    (%rcx,%rcx,2),%rcx
lea    (%rsp,%rcx,2),%rcx
add    $0x10,%rcx
movsbl (%rax,%rcx,1),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x4(%rsp)
cmp    $0x5,%ecx
jl     1360 <main+0x220>
jmp    1310 <main+0x1d0>
cmpl   $0x1,0xc(%rsp)
jne    1526 <main+0x3e6>
lea    0xd1d(%rip),%r15
lea    0xcfb(%rip),%rbp
jmp    13cb <main+0x28b>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
cmpl   $0x1,0xc(%rsp)
jne    1526 <main+0x3e6>
lea    0xcdd(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xcd9(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
lea    0x4(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
movslq 0x8(%rsp),%rax
movslq 0x4(%rsp),%r14
lea    (%rax,%rax,2),%r12
lea    0xbe6(%rip),%rax
lea    (%rax,%r12,8),%rax
xor    %ecx,%ecx
cmpl   $0x1,(%rax,%r14,4)
sete   %cl
lea    0xd46(%rip),%rdi
lea    0xd50(%rip),%rax
cmove  %rax,%rdi
add    %ecx,%ebx
lea    (%rcx,%rcx,8),%r13d
add    $0x4f,%r13d
call   1040 <puts@plt>
lea    0xc8f(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xca2(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r15,%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    (%rsp,%r12,2),%rax
add    $0x10,%rax
mov    %r13b,(%r14,%rax,1)
movl   $0x1,0x8(%rsp)
mov    $0x1,%eax
jmp    14be <main+0x37e>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x8(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x8(%rsp)
cmp    $0x5,%ecx
jge    13c0 <main+0x280>
movl   $0x1,0x4(%rsp)
cltq
lea    (%rax,%rax,2),%rax
movsbl 0x11(%rsp,%rax,2),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x4(%rsp)
cmp    $0x4,%ecx
jg     14a0 <main+0x360>
nopl   0x0(%rax,%rax,1)
movslq 0x8(%rsp),%rcx
cltq
lea    (%rcx,%rcx,2),%rcx
lea    (%rsp,%rcx,2),%rcx
add    $0x10,%rcx
movsbl (%rax,%rcx,1),%esi
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%ecx
lea    0x1(%rcx),%eax
mov    %eax,0x4(%rsp)
cmp    $0x5,%ecx
jl     14f0 <main+0x3b0>
jmp    14a0 <main+0x360>
lea    0xc2d(%rip),%rdi
call   1040 <puts@plt>
lea    0xbee(%rip),%rdi
lea    0x40(%rsp),%rsi
mov    %ebx,%edx
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.mapa = [6 x [6 x i32]] [[6 x i32] zeroinitializer, [6 x i32] [i32 0, i32 0, i32 1, i32 1, i32 0, i32 1], [6 x i32] [i32 0, i32 1, i32 1, i32 1, i32 1, i32 0], [6 x i32] [i32 0, i32 1, i32 0, i32 0, i32 0, i32 1], [6 x i32] [i32 0, i32 0, i32 0, i32 1, i32 1, i32 0], [6 x i32] [i32 0, i32 1, i32 0, i32 1, i32 0, i32 1]]
@.str = [23 x i8] c"Ol\C3\A1! Digite seu nome:\00"
@.str.1 = [3 x i8] c"%s\00"
@.str.2 = [5 x i8] c"%c \00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [22 x i8] c"\0AEntre com a linha: \00"
@.str.5 = [3 x i8] c"%d\00"
@.str.6 = [23 x i8] c"\0AEntre com a Coluna: \00"
@.str.7 = [9 x i8] c"Bomba!!\0A\00"
@.str.8 = [35 x i8] c"Seu score atual \C3\A9 de %d ponto(s)\0A\00"
@.str.9 = [37 x i8] c"Deseja Continuar? 1 = Sim / 0= N\C3\A3o:\00"
@.str.10 = [18 x i8] c"Agua!!, que pena\0A\00"
@.str.11 = [28 x i8] c"Essas foram suas jogadas!\0A\0A\00"
@.str.12 = [51 x i8] c"%s, voc\C3\AA fez %d ponto(s)!!!\0A\0AObrigado por Jogar\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [6 x [6 x i32]]
%3 = alloca i32
%4 = alloca i32
%5 = alloca [6 x [6 x i8]]
%6 = alloca i32
%7 = alloca i32
%8 = alloca [100 x i8]
store i32 0, i32* %1
%9 = bitcast [6 x [6 x i32]]* %2 to i8*
store i32 1, i32* %6
store i32 0, i32* %7
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%11 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %11)
store i32 1, i32* %3
br label %13
13: ; preds = %41, %0
%14 = load i32, i32* %3
%15 = icmp slt i32 %14, 6
br i1 %15, label %16, label %44
16: ; preds = %13
store i32 1, i32* %4
br label %17
17: ; preds = %36, %16
%18 = load i32, i32* %4
%19 = icmp slt i32 %18, 6
br i1 %19, label %20, label %39
20: ; preds = %17
%21 = load i32, i32* %3
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %22
%24 = load i32, i32* %4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [6 x i8], [6 x i8]* %23, i64 0, i64 %25
store i8 46, i8* %26
%27 = load i32, i32* %3
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %28
%30 = load i32, i32* %4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [6 x i8], [6 x i8]* %29, i64 0, i64 %31
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %34)
br label %36
36: ; preds = %20
%37 = load i32, i32* %4
%38 = add nsw i32 %37, 1
store i32 %38, i32* %4
br label %17
39: ; preds = %17
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %41
41: ; preds = %39
%42 = load i32, i32* %3
%43 = add nsw i32 %42, 1
store i32 %43, i32* %3
br label %13
44: ; preds = %13
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%46 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %3)
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%48 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %4)
%49 = load i32, i32* %3
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [6 x [6 x i32]], [6 x [6 x i32]]* %2, i64 0, i64 %50
%52 = load i32, i32* %4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [6 x i32], [6 x i32]* %51, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = icmp eq i32 %55, 1
br i1 %56, label %57, label %71
57: ; preds = %44
%58 = load i32, i32* %3
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %59
%61 = load i32, i32* %4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [6 x i8], [6 x i8]* %60, i64 0, i64 %62
store i8 88, i8* %63
%64 = load i32, i32* %7
%65 = add nsw i32 %64, 1
store i32 %65, i32* %7
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%67 = load i32, i32* %7
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %67)
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%70 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %6)
br label %83
71: ; preds = %44
%72 = load i32, i32* %3
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %73
%75 = load i32, i32* %4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [6 x i8], [6 x i8]* %74, i64 0, i64 %76
store i8 79, i8* %77
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%79 = load i32, i32* %7
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %79)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%82 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %6)
br label %83
83: ; preds = %71, %57
store i32 1, i32* %3
br label %84
84: ; preds = %106, %83
%85 = load i32, i32* %3
%86 = icmp slt i32 %85, 6
br i1 %86, label %87, label %109
87: ; preds = %84
store i32 1, i32* %4
br label %88
88: ; preds = %101, %87
%89 = load i32, i32* %4
%90 = icmp slt i32 %89, 6
br i1 %90, label %91, label %104
91: ; preds = %88
%92 = load i32, i32* %3
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %93
%95 = load i32, i32* %4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [6 x i8], [6 x i8]* %94, i64 0, i64 %96
%98 = load i8, i8* %97
%99 = sext i8 %98 to i32
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %99)
br label %101
101: ; preds = %91
%102 = load i32, i32* %4
%103 = add nsw i32 %102, 1
store i32 %103, i32* %4
br label %88
104: ; preds = %88
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %106
106: ; preds = %104
%107 = load i32, i32* %3
%108 = add nsw i32 %107, 1
store i32 %108, i32* %3
br label %84
109: ; preds = %84
br label %110
110: ; preds = %178, %109
%111 = load i32, i32* %6
%112 = icmp eq i32 %111, 1
br i1 %112, label %113, label %179
113: ; preds = %110
%114 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%115 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %3)
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%117 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %4)
%118 = load i32, i32* %3
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [6 x [6 x i32]], [6 x [6 x i32]]* %2, i64 0, i64 %119
%121 = load i32, i32* %4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [6 x i32], [6 x i32]* %120, i64 0, i64 %122
%124 = load i32, i32* %123
%125 = icmp eq i32 %124, 1
br i1 %125, label %126, label %140
126: ; preds = %113
%127 = load i32, i32* %3
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %128
%130 = load i32, i32* %4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [6 x i8], [6 x i8]* %129, i64 0, i64 %131
store i8 88, i8* %132
%133 = load i32, i32* %7
%134 = add nsw i32 %133, 1
store i32 %134, i32* %7
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%136 = load i32, i32* %7
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %136)
%138 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%139 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %6)
br label %152
140: ; preds = %113
%141 = load i32, i32* %3
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %142
%144 = load i32, i32* %4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [6 x i8], [6 x i8]* %143, i64 0, i64 %145
store i8 79, i8* %146
%147 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.10, i64 0, i64 0))
%148 = load i32, i32* %7
%149 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %148)
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%151 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %6)
br label %152
152: ; preds = %140, %126
store i32 1, i32* %3
br label %153
153: ; preds = %175, %152
%154 = load i32, i32* %3
%155 = icmp slt i32 %154, 6
br i1 %155, label %156, label %178
156: ; preds = %153
store i32 1, i32* %4
br label %157
157: ; preds = %170, %156
%158 = load i32, i32* %4
%159 = icmp slt i32 %158, 6
br i1 %159, label %160, label %173
160: ; preds = %157
%161 = load i32, i32* %3
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %5, i64 0, i64 %162
%164 = load i32, i32* %4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [6 x i8], [6 x i8]* %163, i64 0, i64 %165
%167 = load i8, i8* %166
%168 = sext i8 %167 to i32
%169 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %168)
br label %170
170: ; preds = %160
%171 = load i32, i32* %4
%172 = add nsw i32 %171, 1
store i32 %172, i32* %4
br label %157
173: ; preds = %157
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %175
175: ; preds = %173
%176 = load i32, i32* %3
%177 = add nsw i32 %176, 1
store i32 %177, i32* %3
br label %153
178: ; preds = %153
br label %110
179: ; preds = %110
%180 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
%181 = getelementptr inbounds [100 x i8], [100 x i8]* %8, i64 0, i64 0
%182 = load i32, i32* %7
%183 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0), i8* %181, i32 %182)
ret i32 0
}

LLVM IR (-O2):
@__const.main.mapa = [6 x [6 x i32]] [[6 x i32] zeroinitializer, [6 x i32] [i32 0, i32 0, i32 1, i32 1, i32 0, i32 1], [6 x i32] [i32 0, i32 1, i32 1, i32 1, i32 1, i32 0], [6 x i32] [i32 0, i32 1, i32 0, i32 0, i32 0, i32 1], [6 x i32] [i32 0, i32 0, i32 0, i32 1, i32 1, i32 0], [6 x i32] [i32 0, i32 1, i32 0, i32 1, i32 0, i32 1]]
@.str = [23 x i8] c"Ol\C3\A1! Digite seu nome:\00"
@.str.1 = [3 x i8] c"%s\00"
@.str.2 = [5 x i8] c"%c \00"
@.str.4 = [22 x i8] c"\0AEntre com a linha: \00"
@.str.5 = [3 x i8] c"%d\00"
@.str.6 = [23 x i8] c"\0AEntre com a Coluna: \00"
@.str.8 = [35 x i8] c"Seu score atual \C3\A9 de %d ponto(s)\0A\00"
@.str.9 = [37 x i8] c"Deseja Continuar? 1 = Sim / 0= N\C3\A3o:\00"
@.str.12 = [51 x i8] c"%s, voc\C3\AA fez %d ponto(s)!!!\0A\0AObrigado por Jogar\0A\0A\00"
@str.13 = [27 x i8] c"Essas foram suas jogadas!\0A\00"
@str.14 = [17 x i8] c"Agua!!, que pena\00"
@str.16 = [8 x i8] c"Bomba!!\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [6 x [6 x i8]]
%4 = alloca i32
%5 = alloca [100 x i8]
%6 = bitcast i32* %1 to i8*
%7 = bitcast i32* %2 to i8*
%8 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 0, i64 0
%9 = bitcast i32* %4 to i8*
store i32 1, i32* %4
%10 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8* %10)
br label %13
13: ; preds = %0, %13
%14 = phi i32 [ 1, %0 ], [ %27, %13 ]
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %15, i64 1
store i8 46, i8* %16
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 46)
store i32 2, i32* %2
%18 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %15, i64 2
store i8 46, i8* %18
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 46)
store i32 3, i32* %2
%20 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %15, i64 3
store i8 46, i8* %20
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 46)
store i32 4, i32* %2
%22 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %15, i64 4
store i8 46, i8* %22
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 46)
store i32 5, i32* %2
%24 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %15, i64 5
store i8 46, i8* %24
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 46)
store i32 6, i32* %2
%26 = call i32 @putchar(i32 10)
%27 = add nuw nsw i32 %14, 1
store i32 %27, i32* %1
%28 = icmp ult i32 %14, 5
br i1 %28, label %13, label %29
29: ; preds = %13
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%31 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %1)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%33 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %2)
%34 = load i32, i32* %1
%35 = sext i32 %34 to i64
%36 = load i32, i32* %2
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [6 x [6 x i32]], [6 x [6 x i32]]* @__const.main.mapa, i64 0, i64 %35, i64 %37
%39 = load i32, i32* %38
%40 = icmp eq i32 %39, 1
%41 = select i1 %40, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @str.16, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @str.14, i64 0, i64 0)
%42 = zext i1 %40 to i32
%43 = select i1 %40, i8 88, i8 79
%44 = call i32 @puts(i8* dereferenceable(1) %41)
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %42)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%47 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %4)
%48 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %35, i64 %37
store i8 %43, i8* %48
store i32 1, i32* %1
br label %49
49: ; preds = %29, %74
%50 = phi i32 [ 1, %29 ], [ %77, %74 ]
store i32 1, i32* %2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %51, i64 1
%53 = load i8, i8* %52
%54 = sext i8 %53 to i32
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %54)
%56 = load i32, i32* %2
%57 = add nsw i32 %56, 1
store i32 %57, i32* %2
%58 = icmp slt i32 %56, 5
br i1 %58, label %62, label %74
59: ; preds = %74
%60 = load i32, i32* %4
%61 = icmp eq i32 %60, 1
br i1 %61, label %82, label %131
62: ; preds = %49, %62
%63 = phi i32 [ %72, %62 ], [ %57, %49 ]
%64 = load i32, i32* %1
%65 = sext i32 %64 to i64
%66 = sext i32 %63 to i64
%67 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %65, i64 %66
%68 = load i8, i8* %67
%69 = sext i8 %68 to i32
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %69)
%71 = load i32, i32* %2
%72 = add nsw i32 %71, 1
store i32 %72, i32* %2
%73 = icmp slt i32 %71, 5
br i1 %73, label %62, label %74
74: ; preds = %62, %49
%75 = call i32 @putchar(i32 10)
%76 = load i32, i32* %1
%77 = add nsw i32 %76, 1
store i32 %77, i32* %1
%78 = icmp slt i32 %76, 5
br i1 %78, label %49, label %59
79: ; preds = %126
%80 = load i32, i32* %4
%81 = icmp eq i32 %80, 1
br i1 %81, label %82, label %131
82: ; preds = %59, %79
%83 = phi i32 [ %97, %79 ], [ %42, %59 ]
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0))
%85 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %1)
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%87 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %2)
%88 = load i32, i32* %1
%89 = sext i32 %88 to i64
%90 = load i32, i32* %2
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [6 x [6 x i32]], [6 x [6 x i32]]* @__const.main.mapa, i64 0, i64 %89, i64 %91
%93 = load i32, i32* %92
%94 = icmp eq i32 %93, 1
%95 = select i1 %94, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @str.16, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @str.14, i64 0, i64 0)
%96 = zext i1 %94 to i32
%97 = add nuw nsw i32 %83, %96
%98 = select i1 %94, i8 88, i8 79
%99 = call i32 @puts(i8* dereferenceable(1) %95)
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0), i32 %97)
%101 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @.str.9, i64 0, i64 0))
%102 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0), i32* %4)
%103 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %89, i64 %91
store i8 %98, i8* %103
store i32 1, i32* %1
br label %104
104: ; preds = %82, %126
%105 = phi i32 [ 1, %82 ], [ %129, %126 ]
store i32 1, i32* %2
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %106, i64 1
%108 = load i8, i8* %107
%109 = sext i8 %108 to i32
%110 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %109)
%111 = load i32, i32* %2
%112 = add nsw i32 %111, 1
store i32 %112, i32* %2
%113 = icmp slt i32 %111, 5
br i1 %113, label %114, label %126
114: ; preds = %104, %114
%115 = phi i32 [ %124, %114 ], [ %112, %104 ]
%116 = load i32, i32* %1
%117 = sext i32 %116 to i64
%118 = sext i32 %115 to i64
%119 = getelementptr inbounds [6 x [6 x i8]], [6 x [6 x i8]]* %3, i64 0, i64 %117, i64 %118
%120 = load i8, i8* %119
%121 = sext i8 %120 to i32
%122 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 %121)
%123 = load i32, i32* %2
%124 = add nsw i32 %123, 1
store i32 %124, i32* %2
%125 = icmp slt i32 %123, 5
br i1 %125, label %114, label %126
126: ; preds = %114, %104
%127 = call i32 @putchar(i32 10)
%128 = load i32, i32* %1
%129 = add nsw i32 %128, 1
store i32 %129, i32* %1
%130 = icmp slt i32 %128, 5
br i1 %130, label %104, label %79
131: ; preds = %79, %59
%132 = phi i32 [ %42, %59 ], [ %97, %79 ]
%133 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.13, i64 0, i64 0))
%134 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0), i8* %10, i32 %132)
ret i32 0
}