#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 rand();
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ system(char *);
int /*<<< orphan*/ time(int /*<<< orphan*/);
int main(int argc, char *argv[]) {
  int mat[10][10], x, y, fil, col, cont, par = 0, positivo = 0, negativo = 0,
                                         mayor = -99999, menor = 9999;
  srand(time(0));
  for (x = 0; x < 10; x++) {
    for (y = 0; y < 10; y++) {
      mat[x][y] = rand() % 100 + 100;
    }
  }
  for (x = 0; x < 10; x++) {
    printf("\n");
    for (y = 0; y < 10; y++) {
      printf(" %d ", mat[x][y]);
    }
  }
  for (x = 0; x < 10; x++) {
    for (y = 0; y < 10; y++) {
      if (mat[x][y] % 2 == 0) {
        par++;
      }
      if (mat[x][y] > 0) {
        positivo++;
      }
      if (mat[x][y] < 0) {
        negativo++;
      }
      if (mat[x][y] > mayor) {
        mayor = mat[x][y];
      }
      if (mat[x][y] < menor) {
        menor = mat[x][y];
      }
    }
  }
  printf("\n\nPar: %i", par);
  printf("\n\nPositivos: %i", positivo);
  printf("\n\nnegativos: %i", negativo);
  printf("\n\nmayor: %i", mayor);
  printf("\n\nmenor: %i", menor);
  printf("\n\n\t");
  system("PAUSE");
  system("pause");
  do {
    printf("\n Numero de filas [3 - %d]: ", 10);
    scanf("%d", &fil);
  } while (fil < 3 || fil > 10);
  do {
    printf("\n Numero de columnas [3 - %d]: ", 10);
    scanf("%d", &col);
  } while (col < 3 || col > 10);
  cont = 100;
  for (x = 0; x < fil; x++) {
    for (y = 0; y < col; y++) {
      mat[x][y] = cont;
      cont++;
    }
  }
  for (x = 0; x < fil; x++) {
    printf("\n");
    for (y = 0; y < col; y++) {
      printf(" %d ", mat[x][y]);
    }
  }
  printf("\n\n\t");
  system("pause");
  system("PAUSE");
  do {
    printf("\n Numero de filas [3 - %d]: ", 10);
    scanf("%d", &fil);
  } while (fil < 3 || fil > 10);
  do {
    printf("\n Numero de columnas [3 - %d]: ", 10);
    scanf("%d", &col);
  } while (col < 3 || col > 10);
  cont = 100;
  for (x = 0; x < col; x++) {
    for (y = 0; y < fil; y++) {
      mat[y][x] = cont;
      cont++;
    }
  }
  for (x = 0; x < fil; x++) {
    printf("\n");
    for (y = 0; y < col; y++) {
      printf(" %d ", mat[x][y]);
    }
  }
  printf("\n\n\t");
  system("PAUSE");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1d0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1b8(%rbp)
movl   $0x0,-0x1bc(%rbp)
movl   $0x0,-0x1c0(%rbp)
movl   $0xfffe7961,-0x1c4(%rbp)
79 fe ff
movl   $0x270f,-0x1c8(%rbp)
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    1245 <main+0xe5>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    122c <main+0xcc>
mov    $0x0,%al
call   1080 <rand@plt>
mov    $0x64,%ecx
cltd
idiv   %ecx
add    $0x64,%edx
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    11da <main+0x7a>
jmp    1231 <main+0xd1>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    11c3 <main+0x63>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    12db <main+0x17b>
lea    0xd9d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    12c2 <main+0x162>
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd5b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    1274 <main+0x114>
jmp    12c7 <main+0x167>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    124f <main+0xef>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    1484 <main+0x324>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    146b <main+0x30b>
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    1348 <main+0x1e8>
mov    -0x1b8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b8(%rbp)
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jle    137d <main+0x21d>
mov    -0x1bc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1bc(%rbp)
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jge    13b2 <main+0x252>
mov    -0x1c0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c0(%rbp)
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x1c4(%rbp),%eax
jle    1402 <main+0x2a2>
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x1c4(%rbp)
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x1c8(%rbp),%eax
jge    1452 <main+0x2f2>
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x1c8(%rbp)
jmp    1457 <main+0x2f7>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    12fc <main+0x19c>
jmp    1470 <main+0x310>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    12e5 <main+0x185>
mov    -0x1b8(%rbp),%esi
lea    0xb76(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1bc(%rbp),%esi
lea    0xb6c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c0(%rbp),%esi
lea    0xb68(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c4(%rbp),%esi
lea    0xb64(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c8(%rbp),%esi
lea    0xb5c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb5a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb50(%rip),%rdi
call   1030 <system@plt>
lea    0xb4a(%rip),%rdi
call   1030 <system@plt>
lea    0xb44(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb4e(%rip),%rdi
lea    -0x1ac(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1ac(%rbp)
mov    %al,-0x1c9(%rbp)
jl     1559 <main+0x3f9>
cmpl   $0xa,-0x1ac(%rbp)
setg   %al
mov    %al,-0x1c9(%rbp)
mov    -0x1c9(%rbp),%al
test   $0x1,%al
jne    150e <main+0x3ae>
jmp    156c <main+0x40c>
lea    0xb06(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xaf0(%rip),%rdi
lea    -0x1b0(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1b0(%rbp)
mov    %al,-0x1ca(%rbp)
jl     15b7 <main+0x457>
cmpl   $0xa,-0x1b0(%rbp)
setg   %al
mov    %al,-0x1ca(%rbp)
mov    -0x1ca(%rbp),%al
test   $0x1,%al
jne    156c <main+0x40c>
movl   $0x64,-0x1b4(%rbp)
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    1668 <main+0x508>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    164f <main+0x4ef>
mov    -0x1b4(%rbp),%edx
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1b4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b4(%rbp)
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    15f5 <main+0x495>
jmp    1654 <main+0x4f4>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    15d9 <main+0x479>
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    1708 <main+0x5a8>
lea    0x975(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    16ef <main+0x58f>
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0x92e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    169c <main+0x53c>
jmp    16f4 <main+0x594>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1672 <main+0x512>
lea    0x93a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x936(%rip),%rdi
call   1030 <system@plt>
lea    0x924(%rip),%rdi
call   1030 <system@plt>
lea    0x924(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x92e(%rip),%rdi
lea    -0x1ac(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1ac(%rbp)
mov    %al,-0x1cb(%rbp)
jl     1779 <main+0x619>
cmpl   $0xa,-0x1ac(%rbp)
setg   %al
mov    %al,-0x1cb(%rbp)
mov    -0x1cb(%rbp),%al
test   $0x1,%al
jne    172e <main+0x5ce>
jmp    178c <main+0x62c>
lea    0x8e6(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x8d0(%rip),%rdi
lea    -0x1b0(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1b0(%rbp)
mov    %al,-0x1cc(%rbp)
jl     17d7 <main+0x677>
cmpl   $0xa,-0x1b0(%rbp)
setg   %al
mov    %al,-0x1cc(%rbp)
mov    -0x1cc(%rbp),%al
test   $0x1,%al
jne    178c <main+0x62c>
movl   $0x64,-0x1b4(%rbp)
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    1888 <main+0x728>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    186f <main+0x70f>
mov    -0x1b4(%rbp),%edx
movslq -0x1a8(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a4(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1b4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1b4(%rbp)
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    1815 <main+0x6b5>
jmp    1874 <main+0x714>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    17f9 <main+0x699>
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    1928 <main+0x7c8>
lea    0x755(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    190f <main+0x7af>
movslq -0x1a4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1a8(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0x70e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    18bc <main+0x75c>
jmp    1914 <main+0x7b4>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1892 <main+0x732>
lea    0x71a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x710(%rip),%rdi
call   1030 <system@plt>
xor    %eax,%eax
add    $0x1d0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1a8,%rsp
xor    %edi,%edi
call   1070 <time@plt>
mov    %eax,%edi
call   1060 <srand@plt>
mov    $0x24,%r15d
cs nopw 0x0(%rax,%rax,1)
nop
xor    %eax,%eax
call   1090 <rand@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1090 <rand@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1090 <rand@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1090 <rand@plt>
movd   %r14d,%xmm0
movd   %ebp,%xmm1
punpckldq %xmm1,%xmm0
movd   %ebx,%xmm1
movd   %eax,%xmm2
punpckldq %xmm2,%xmm1
punpcklqdq %xmm1,%xmm0
movdqa %xmm0,%xmm1
movdqa 0xe14(%rip),%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xed,%xmm1,%xmm1
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm3,%xmm2
pshufd $0xed,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
pxor   %xmm2,%xmm2
pcmpgtd %xmm0,%xmm2
pand   %xmm3,%xmm2
psubd  %xmm2,%xmm1
movdqa %xmm1,%xmm2
psrld  $0x1f,%xmm2
psrad  $0x5,%xmm1
paddd  %xmm2,%xmm1
pshufd $0xf5,%xmm1,%xmm2
movdqa 0xdda(%rip),%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
psubd  %xmm1,%xmm0
paddd  %xmm3,%xmm0
movdqu %xmm0,-0x14(%rsp,%r15,1)
xor    %eax,%eax
call   1090 <rand@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1090 <rand@plt>
mov    %eax,%ebp
xor    %eax,%eax
call   1090 <rand@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1090 <rand@plt>
movd   %r14d,%xmm0
movd   %ebp,%xmm1
punpckldq %xmm1,%xmm0
movd   %ebx,%xmm1
movd   %eax,%xmm2
punpckldq %xmm2,%xmm1
punpcklqdq %xmm1,%xmm0
movdqa %xmm0,%xmm1
movdqa 0xd59(%rip),%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xed,%xmm1,%xmm1
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm3,%xmm2
pshufd $0xed,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
pxor   %xmm2,%xmm2
pcmpgtd %xmm0,%xmm2
pand   %xmm3,%xmm2
psubd  %xmm2,%xmm1
movdqa %xmm1,%xmm2
psrld  $0x1f,%xmm2
psrad  $0x5,%xmm1
paddd  %xmm2,%xmm1
pshufd $0xf5,%xmm1,%xmm2
movdqa 0xd1f(%rip),%xmm3
pmuludq %xmm3,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
psubd  %xmm1,%xmm0
paddd  %xmm3,%xmm0
movdqu %xmm0,-0x4(%rsp,%r15,1)
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
neg    %ecx
add    %ecx,%eax
add    $0x64,%eax
mov    %eax,0xc(%rsp,%r15,1)
xor    %eax,%eax
call   1090 <rand@plt>
cltq
imul   $0x51eb851f,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
sar    $0x25,%rcx
add    %edx,%ecx
imul   $0x64,%ecx,%ecx
neg    %ecx
add    %ecx,%eax
add    $0x64,%eax
mov    %eax,0x10(%rsp,%r15,1)
add    $0x28,%r15
cmp    $0x1b4,%r15
jne    11a0 <main+0x30>
mov    $0x24,%ebp
lea    0xd45(%rip),%rbx
nopl   0x0(%rax,%rax,1)
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x14(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x10(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0xc(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x8(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x4(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp,%rbp,1),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x28,%rbp
cmp    $0x1b4,%rbp
jne    1390 <main+0x220>
xor    %ebx,%ebx
mov    $0xfffe7961,%r13d
mov    $0x270f,%r12d
mov    $0x8,%r9d
movdqa 0xbcd(%rip),%xmm8
pxor   %xmm1,%xmm1
movdqa 0xbd0(%rip),%xmm9
xor    %r15d,%r15d
xor    %esi,%esi
jmp    148c <main+0x31c>
nopw   0x0(%rax,%rax,1)
add    %ecx,%esi
add    %ebx,%r15d
mov    0xc(%rsp),%ebx
add    %ebp,%ebx
add    $0x28,%r9
cmp    $0x198,%r9
je     166b <main+0x4fb>
mov    0x8(%rsp,%r9,1),%rcx
mov    %ecx,%edx
cmp    %r13d,%ecx
jg     149b <main+0x32b>
mov    %r13d,%edx
mov    %rcx,%rax
shr    $0x20,%rax
mov    %ecx,%ebp
cmp    %r12d,%ecx
jl     14ac <main+0x33c>
mov    %r12d,%ebp
mov    %eax,%edi
cmp    %edx,%eax
jg     14b4 <main+0x344>
mov    %edx,%edi
cmp    %ebp,%eax
jl     14ba <main+0x34a>
mov    %ebp,%eax
movdqu 0x10(%rsp,%r9,1),%xmm2
movd   %xmm2,%edx
mov    %edx,%ebp
cmp    %edi,%edx
jg     14cd <main+0x35d>
mov    %edi,%ebp
mov    %ebx,0xc(%rsp)
cmp    %eax,%edx
jl     14d7 <main+0x367>
mov    %eax,%edx
pshufd $0x55,%xmm2,%xmm4
movd   %xmm4,%edi
mov    %edi,%ebx
cmp    %ebp,%edi
jg     14e8 <main+0x378>
mov    %ebp,%ebx
cmp    %edx,%edi
jl     14ee <main+0x37e>
mov    %edx,%edi
pshufd $0xee,%xmm2,%xmm4
movd   %xmm4,%eax
mov    %eax,%edx
cmp    %ebx,%eax
jg     14ff <main+0x38f>
mov    %ebx,%edx
cmp    %edi,%eax
jl     1505 <main+0x395>
mov    %edi,%eax
movdqu 0x20(%rsp,%r9,1),%xmm0
pshufd $0xff,%xmm2,%xmm5
movd   %xmm5,%edi
mov    %edi,%ebp
cmp    %edx,%edi
jg     151d <main+0x3ad>
mov    %edx,%ebp
cmp    %eax,%edi
jl     1523 <main+0x3b3>
mov    %eax,%edi
movd   %xmm0,%edx
mov    %edx,%ebx
cmp    %ebp,%edx
jg     152f <main+0x3bf>
mov    %ebp,%ebx
cmp    %edi,%edx
jl     1535 <main+0x3c5>
mov    %edi,%edx
pshufd $0x55,%xmm0,%xmm5
movd   %xmm5,%eax
mov    %eax,%edi
cmp    %ebx,%eax
jg     1546 <main+0x3d6>
mov    %ebx,%edi
cmp    %edx,%eax
jl     154c <main+0x3dc>
mov    %edx,%eax
pshufd $0xee,%xmm0,%xmm5
movd   %xmm5,%edx
mov    %edx,%r8d
cmp    %edi,%edx
jg     155f <main+0x3ef>
mov    %edi,%r8d
mov    %rcx,%r11
shr    $0x3f,%r11
pshufd $0xaf,%xmm0,%xmm5
pcmpgtd %xmm1,%xmm5
movmskpd %xmm5,%edi
mov    %edi,%ebx
shr    %bl
cmp    %eax,%edx
jl     157d <main+0x40d>
mov    %eax,%edx
mov    %ecx,%r14d
shr    $0x1f,%r14d
movq   %rcx,%xmm6
movdqa %xmm6,%xmm5
pandn  %xmm8,%xmm5
punpcklqdq %xmm2,%xmm6
movdqa %xmm2,%xmm7
shufps $0x4e,%xmm0,%xmm7
movdqa %xmm0,%xmm4
pandn  %xmm9,%xmm4
movdqa %xmm2,%xmm3
pandn  %xmm9,%xmm3
paddd  %xmm4,%xmm3
pshufd $0xff,%xmm0,%xmm4
psrld  $0x1f,%xmm0
psrld  $0x1f,%xmm2
paddd  %xmm0,%xmm2
movd   %xmm4,%r12d
movzbl %bl,%r10d
pshufd $0xee,%xmm3,%xmm0
paddd  %xmm3,%xmm0
pshufd $0x55,%xmm0,%xmm3
paddd  %xmm0,%xmm3
movd   %xmm3,%ebx
pshufd $0x55,%xmm5,%xmm0
movd   %xmm0,%ecx
add    %ebx,%ecx
and    $0x1,%edi
pcmpgtd %xmm1,%xmm7
pcmpgtd %xmm1,%xmm6
packssdw %xmm7,%xmm6
packsswb %xmm6,%xmm6
pmovmskb %xmm6,%ebx
mov    %ebx,%eax
shr    %al
and    $0x55,%al
sub    %al,%bl
mov    %ebx,%eax
and    $0x33,%al
shr    $0x2,%bl
and    $0x33,%bl
add    %al,%bl
mov    %ebx,%eax
shr    $0x4,%al
add    %bl,%al
and    $0xf,%al
movzbl %al,%ebx
add    %r10d,%ebx
pshufd $0xee,%xmm2,%xmm0
paddd  %xmm2,%xmm0
pshufd $0x55,%xmm0,%xmm2
paddd  %xmm0,%xmm2
movd   %xmm2,%ebp
add    %r11d,%ebp
mov    %r12d,%r13d
cmp    %r8d,%r12d
jg     164f <main+0x4df>
mov    %r8d,%r13d
movd   %xmm5,%eax
add    %eax,%ecx
add    %edi,%ebx
add    %r14d,%ebp
cmp    %edx,%r12d
jl     1470 <main+0x300>
mov    %edx,%r12d
jmp    1470 <main+0x300>
lea    0xa63(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa5f(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa5e(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa5e(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa59(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa54(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xa4a(%rip),%rdi
call   1040 <system@plt>
lea    0xa44(%rip),%rdi
call   1040 <system@plt>
lea    0xa3e(%rip),%r14
lea    0xa54(%rip),%rbp
lea    0x8(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1080 <scanf@plt>
mov    0x8(%rsp),%eax
add    $0xfffffff5,%eax
cmp    $0xfffffff8,%eax
jb     1700 <main+0x590>
lea    0xa1a(%rip),%r14
lea    0xa10(%rip),%rbp
lea    0x4(%rsp),%rbx
nopl   0x0(%rax)
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1080 <scanf@plt>
mov    0x4(%rsp),%eax
lea    -0xb(%rax),%ecx
cmp    $0xfffffff8,%ecx
jb     1740 <main+0x5d0>
mov    0x8(%rsp),%r11d
test   %r11d,%r11d
jle    199e <main+0x82e>
mov    %eax,%r14d
and    $0xfffffff8,%r14d
lea    -0x8(%r14),%r9
mov    %r9,%r8
shr    $0x3,%r8
add    $0x1,%r8
mov    %r8d,%r10d
and    $0x3,%r10d
and    $0xfffffffffffffffc,%r8
lea    0x80(%rsp),%rbx
mov    %r10,%rdi
shl    $0x5,%rdi
mov    $0x64,%esi
lea    0x10(%rsp),%rbp
xor    %r15d,%r15d
movdqa 0x886(%rip),%xmm8
movdqa 0x88e(%rip),%xmm1
movdqa 0x896(%rip),%xmm2
movdqa 0x89d(%rip),%xmm9
movdqa 0x8a4(%rip),%xmm10
movdqa 0x8ab(%rip),%xmm11
movdqa 0x8b3(%rip),%xmm6
movdqa 0x8bb(%rip),%xmm7
movdqa 0x8c3(%rip),%xmm0
jmp    1815 <main+0x6a5>
nop
add    $0x1,%r15
add    $0x28,%rbx
add    $0x28,%rbp
cmp    %r11,%r15
je     1935 <main+0x7c5>
cmp    $0x8,%eax
jae    1830 <main+0x6c0>
xor    %ecx,%ecx
jmp    1920 <main+0x7b0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movd   %esi,%xmm3
pshufd $0x0,%xmm3,%xmm3
paddd  %xmm8,%xmm3
cmp    $0x18,%r9
jae    1850 <main+0x6e0>
xor    %edx,%edx
jmp    18d8 <main+0x768>
nopl   0x0(%rax,%rax,1)
mov    %r8,%rcx
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nop
movdqa %xmm3,%xmm4
paddd  %xmm1,%xmm4
movdqu %xmm3,-0x70(%rbx,%rdx,4)
movdqu %xmm4,-0x60(%rbx,%rdx,4)
movdqa %xmm3,%xmm4
paddd  %xmm2,%xmm4
movdqa %xmm3,%xmm5
paddd  %xmm9,%xmm5
movdqu %xmm4,-0x50(%rbx,%rdx,4)
movdqu %xmm5,-0x40(%rbx,%rdx,4)
movdqa %xmm3,%xmm4
paddd  %xmm10,%xmm4
movdqa %xmm3,%xmm5
paddd  %xmm11,%xmm5
movdqu %xmm4,-0x30(%rbx,%rdx,4)
movdqu %xmm5,-0x20(%rbx,%rdx,4)
movdqa %xmm3,%xmm4
paddd  %xmm6,%xmm4
movdqa %xmm3,%xmm5
paddd  %xmm7,%xmm5
movdqu %xmm4,-0x10(%rbx,%rdx,4)
movdqu %xmm5,(%rbx,%rdx,4)
add    $0x20,%rdx
paddd  %xmm0,%xmm3
add    $0xfffffffffffffffc,%rcx
jne    1860 <main+0x6f0>
test   %r10,%r10
je     1910 <main+0x7a0>
lea    0x0(,%rdx,4),%rcx
add    %rbp,%rcx
xor    %edx,%edx
nopw   0x0(%rax,%rax,1)
movdqa %xmm3,%xmm4
paddd  %xmm1,%xmm4
movdqu %xmm3,(%rcx,%rdx,1)
movdqu %xmm4,0x10(%rcx,%rdx,1)
paddd  %xmm2,%xmm3
add    $0x20,%rdx
cmp    %rdx,%rdi
jne    18f0 <main+0x780>
add    %r14d,%esi
mov    %r14,%rcx
cmp    %rax,%r14
je     1800 <main+0x690>
nop
mov    %esi,0x0(%rbp,%rcx,4)
add    $0x1,%esi
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1920 <main+0x7b0>
jmp    1800 <main+0x690>
test   %r11d,%r11d
jle    199e <main+0x82e>
lea    0x10(%rsp),%rbp
lea    0x78a(%rip),%r15
xor    %r14d,%r14d
jmp    1962 <main+0x7f2>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
movslq 0x8(%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    199e <main+0x82e>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x4(%rsp)
jle    1950 <main+0x7e0>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x0(%rbp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x4(%rsp),%rax
cmp    %rax,%rbx
jl     1980 <main+0x810>
jmp    1950 <main+0x7e0>
lea    0x772(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x76e(%rip),%rdi
call   1040 <system@plt>
lea    0x75c(%rip),%rdi
call   1040 <system@plt>
lea    0x75c(%rip),%r14
lea    0x772(%rip),%rbp
lea    0x8(%rsp),%rbx
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1080 <scanf@plt>
mov    0x8(%rsp),%eax
add    $0xfffffff5,%eax
cmp    $0xfffffff8,%eax
jb     19e0 <main+0x870>
lea    0x73a(%rip),%r14
lea    0x730(%rip),%rbp
lea    0x4(%rsp),%rbx
nopl   0x0(%rax)
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1080 <scanf@plt>
mov    0x4(%rsp),%r11d
lea    -0xb(%r11),%eax
cmp    $0xfffffff8,%eax
jb     1a20 <main+0x8b0>
mov    0x8(%rsp),%r10d
mov    %r10,%r8
add    $0xffffffffffffffff,%r8
mov    %r10d,%r9d
and    $0x3,%r9d
mov    %r10d,%edi
and    $0xfffffffc,%edi
lea    0x0(,%r9,8),%rax
lea    (%rax,%rax,4),%rbp
mov    $0x64,%ebx
lea    0x10(%rsp),%r14
xor    %r15d,%r15d
jmp    1a91 <main+0x921>
nopl   0x0(%rax)
add    $0x1,%r15
add    $0x4,%r14
cmp    %r11,%r15
je     1b14 <main+0x9a4>
test   %r10d,%r10d
jle    1a80 <main+0x910>
cmp    $0x3,%r8
jae    1ab0 <main+0x940>
xor    %ecx,%ecx
test   %r9,%r9
jne    1af5 <main+0x985>
jmp    1a80 <main+0x910>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %ebx,%eax
mov    %r14,%rdx
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
lea    (%rax,%rcx,1),%esi
mov    %esi,(%rdx)
lea    (%rax,%rcx,1),%esi
add    $0x1,%esi
mov    %esi,0x28(%rdx)
lea    0x2(%rax,%rcx,1),%esi
mov    %esi,0x50(%rdx)
lea    (%rax,%rcx,1),%esi
add    $0x3,%esi
mov    %esi,0x78(%rdx)
add    $0x4,%rcx
add    $0xa0,%rdx
cmp    %rcx,%rdi
jne    1ac0 <main+0x950>
add    %ecx,%ebx
test   %r9,%r9
je     1a80 <main+0x910>
lea    (%rcx,%rcx,4),%rax
lea    (%r14,%rax,8),%rax
xor    %ecx,%ecx
nop
mov    %ebx,(%rax,%rcx,1)
add    $0x1,%ebx
add    $0x28,%rcx
cmp    %rcx,%rbp
jne    1b00 <main+0x990>
jmp    1a80 <main+0x910>
test   %r10d,%r10d
jle    1b7e <main+0xa0e>
lea    0x10(%rsp),%rbp
lea    0x5ab(%rip),%r15
xor    %r14d,%r14d
jmp    1b42 <main+0x9d2>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r14
movslq 0x8(%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    1b7e <main+0xa0e>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x4(%rsp)
jle    1b30 <main+0x9c0>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x0(%rbp,%rbx,4),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
movslq 0x4(%rsp),%rax
cmp    %rax,%rbx
jl     1b60 <main+0x9f0>
jmp    1b30 <main+0x9c0>
lea    0x592(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x588(%rip),%rdi
call   1040 <system@plt>
xor    %eax,%eax
add    $0x1a8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [5 x i8] c" %d \00"
@.str.2 = [10 x i8] c"\0A\0APar: %i\00"
@.str.3 = [16 x i8] c"\0A\0APositivos: %i\00"
@.str.4 = [16 x i8] c"\0A\0Anegativos: %i\00"
@.str.5 = [12 x i8] c"\0A\0Amayor: %i\00"
@.str.6 = [12 x i8] c"\0A\0Amenor: %i\00"
@.str.7 = [4 x i8] c"\0A\0A\09\00"
@.str.8 = [6 x i8] c"PAUSE\00"
@.str.9 = [6 x i8] c"pause\00"
@.str.10 = [29 x i8] c"\0A Numero de filas [3 - %d]: \00"
@.str.11 = [3 x i8] c"%d\00"
@.str.12 = [32 x i8] c"\0A Numero de columnas [3 - %d]: \00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [10 x [10 x i32]]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
store i32 -99999, i32* %15
store i32 9999, i32* %16
%17 = call i32 @time(i32 0)
%18 = call i32 @srand(i32 %17)
store i32 0, i32* %7
br label %19
19: ; preds = %40, %2
%20 = load i32, i32* %7
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %43
22: ; preds = %19
store i32 0, i32* %8
br label %23
23: ; preds = %36, %22
%24 = load i32, i32* %8
%25 = icmp slt i32 %24, 10
br i1 %25, label %26, label %39
26: ; preds = %23
%27 = call i32 (...) @rand()
%28 = srem i32 %27, 100
%29 = add nsw i32 %28, 100
%30 = load i32, i32* %7
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %31
%33 = load i32, i32* %8
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [10 x i32], [10 x i32]* %32, i64 0, i64 %34
store i32 %29, i32* %35
br label %36
36: ; preds = %26
%37 = load i32, i32* %8
%38 = add nsw i32 %37, 1
store i32 %38, i32* %8
br label %23
39: ; preds = %23
br label %40
40: ; preds = %39
%41 = load i32, i32* %7
%42 = add nsw i32 %41, 1
store i32 %42, i32* %7
br label %19
43: ; preds = %19
store i32 0, i32* %7
br label %44
44: ; preds = %65, %43
%45 = load i32, i32* %7
%46 = icmp slt i32 %45, 10
br i1 %46, label %47, label %68
47: ; preds = %44
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %8
br label %49
49: ; preds = %61, %47
%50 = load i32, i32* %8
%51 = icmp slt i32 %50, 10
br i1 %51, label %52, label %64
52: ; preds = %49
%53 = load i32, i32* %7
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %54
%56 = load i32, i32* %8
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10 x i32], [10 x i32]* %55, i64 0, i64 %57
%59 = load i32, i32* %58
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %59)
br label %61
61: ; preds = %52
%62 = load i32, i32* %8
%63 = add nsw i32 %62, 1
store i32 %63, i32* %8
br label %49
64: ; preds = %49
br label %65
65: ; preds = %64
%66 = load i32, i32* %7
%67 = add nsw i32 %66, 1
store i32 %67, i32* %7
br label %44
68: ; preds = %44
store i32 0, i32* %7
br label %69
69: ; preds = %154, %68
%70 = load i32, i32* %7
%71 = icmp slt i32 %70, 10
br i1 %71, label %72, label %157
72: ; preds = %69
store i32 0, i32* %8
br label %73
73: ; preds = %150, %72
%74 = load i32, i32* %8
%75 = icmp slt i32 %74, 10
br i1 %75, label %76, label %153
76: ; preds = %73
%77 = load i32, i32* %7
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %78
%80 = load i32, i32* %8
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [10 x i32], [10 x i32]* %79, i64 0, i64 %81
%83 = load i32, i32* %82
%84 = srem i32 %83, 2
%85 = icmp eq i32 %84, 0
br i1 %85, label %86, label %89
86: ; preds = %76
%87 = load i32, i32* %12
%88 = add nsw i32 %87, 1
store i32 %88, i32* %12
br label %89
89: ; preds = %86, %76
%90 = load i32, i32* %7
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %91
%93 = load i32, i32* %8
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [10 x i32], [10 x i32]* %92, i64 0, i64 %94
%96 = load i32, i32* %95
%97 = icmp sgt i32 %96, 0
br i1 %97, label %98, label %101
98: ; preds = %89
%99 = load i32, i32* %13
%100 = add nsw i32 %99, 1
store i32 %100, i32* %13
br label %101
101: ; preds = %98, %89
%102 = load i32, i32* %7
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %103
%105 = load i32, i32* %8
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [10 x i32], [10 x i32]* %104, i64 0, i64 %106
%108 = load i32, i32* %107
%109 = icmp slt i32 %108, 0
br i1 %109, label %110, label %113
110: ; preds = %101
%111 = load i32, i32* %14
%112 = add nsw i32 %111, 1
store i32 %112, i32* %14
br label %113
113: ; preds = %110, %101
%114 = load i32, i32* %7
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %115
%117 = load i32, i32* %8
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [10 x i32], [10 x i32]* %116, i64 0, i64 %118
%120 = load i32, i32* %119
%121 = load i32, i32* %15
%122 = icmp sgt i32 %120, %121
br i1 %122, label %123, label %131
123: ; preds = %113
%124 = load i32, i32* %7
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %125
%127 = load i32, i32* %8
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [10 x i32], [10 x i32]* %126, i64 0, i64 %128
%130 = load i32, i32* %129
store i32 %130, i32* %15
br label %131
131: ; preds = %123, %113
%132 = load i32, i32* %7
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %133
%135 = load i32, i32* %8
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [10 x i32], [10 x i32]* %134, i64 0, i64 %136
%138 = load i32, i32* %137
%139 = load i32, i32* %16
%140 = icmp slt i32 %138, %139
br i1 %140, label %141, label %149
141: ; preds = %131
%142 = load i32, i32* %7
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %143
%145 = load i32, i32* %8
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [10 x i32], [10 x i32]* %144, i64 0, i64 %146
%148 = load i32, i32* %147
store i32 %148, i32* %16
br label %149
149: ; preds = %141, %131
br label %150
150: ; preds = %149
%151 = load i32, i32* %8
%152 = add nsw i32 %151, 1
store i32 %152, i32* %8
br label %73
153: ; preds = %73
br label %154
154: ; preds = %153
%155 = load i32, i32* %7
%156 = add nsw i32 %155, 1
store i32 %156, i32* %7
br label %69
157: ; preds = %69
%158 = load i32, i32* %12
%159 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %158)
%160 = load i32, i32* %13
%161 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %160)
%162 = load i32, i32* %14
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %162)
%164 = load i32, i32* %15
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %164)
%166 = load i32, i32* %16
%167 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %166)
%168 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%169 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%170 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %171
171: ; preds = %180, %157
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 10)
%173 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %9)
br label %174
174: ; preds = %171
%175 = load i32, i32* %9
%176 = icmp slt i32 %175, 3
br i1 %176, label %180, label %177
177: ; preds = %174
%178 = load i32, i32* %9
%179 = icmp sgt i32 %178, 10
br label %180
180: ; preds = %177, %174
%181 = phi i1 [ true, %174 ], [ %179, %177 ]
br i1 %181, label %171, label %182
182: ; preds = %180
br label %183
183: ; preds = %192, %182
%184 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i32 10)
%185 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %10)
br label %186
186: ; preds = %183
%187 = load i32, i32* %10
%188 = icmp slt i32 %187, 3
br i1 %188, label %192, label %189
189: ; preds = %186
%190 = load i32, i32* %10
%191 = icmp sgt i32 %190, 10
br label %192
192: ; preds = %189, %186
%193 = phi i1 [ true, %186 ], [ %191, %189 ]
br i1 %193, label %183, label %194
194: ; preds = %192
store i32 100, i32* %11
store i32 0, i32* %7
br label %195
195: ; preds = %218, %194
%196 = load i32, i32* %7
%197 = load i32, i32* %9
%198 = icmp slt i32 %196, %197
br i1 %198, label %199, label %221
199: ; preds = %195
store i32 0, i32* %8
br label %200
200: ; preds = %214, %199
%201 = load i32, i32* %8
%202 = load i32, i32* %10
%203 = icmp slt i32 %201, %202
br i1 %203, label %204, label %217
204: ; preds = %200
%205 = load i32, i32* %11
%206 = load i32, i32* %7
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %207
%209 = load i32, i32* %8
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [10 x i32], [10 x i32]* %208, i64 0, i64 %210
store i32 %205, i32* %211
%212 = load i32, i32* %11
%213 = add nsw i32 %212, 1
store i32 %213, i32* %11
br label %214
214: ; preds = %204
%215 = load i32, i32* %8
%216 = add nsw i32 %215, 1
store i32 %216, i32* %8
br label %200
217: ; preds = %200
br label %218
218: ; preds = %217
%219 = load i32, i32* %7
%220 = add nsw i32 %219, 1
store i32 %220, i32* %7
br label %195
221: ; preds = %195
store i32 0, i32* %7
br label %222
222: ; preds = %245, %221
%223 = load i32, i32* %7
%224 = load i32, i32* %9
%225 = icmp slt i32 %223, %224
br i1 %225, label %226, label %248
226: ; preds = %222
%227 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %8
br label %228
228: ; preds = %241, %226
%229 = load i32, i32* %8
%230 = load i32, i32* %10
%231 = icmp slt i32 %229, %230
br i1 %231, label %232, label %244
232: ; preds = %228
%233 = load i32, i32* %7
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %234
%236 = load i32, i32* %8
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [10 x i32], [10 x i32]* %235, i64 0, i64 %237
%239 = load i32, i32* %238
%240 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %239)
br label %241
241: ; preds = %232
%242 = load i32, i32* %8
%243 = add nsw i32 %242, 1
store i32 %243, i32* %8
br label %228
244: ; preds = %228
br label %245
245: ; preds = %244
%246 = load i32, i32* %7
%247 = add nsw i32 %246, 1
store i32 %247, i32* %7
br label %222
248: ; preds = %222
%249 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%250 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%251 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %252
252: ; preds = %261, %248
%253 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 10)
%254 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %9)
br label %255
255: ; preds = %252
%256 = load i32, i32* %9
%257 = icmp slt i32 %256, 3
br i1 %257, label %261, label %258
258: ; preds = %255
%259 = load i32, i32* %9
%260 = icmp sgt i32 %259, 10
br label %261
261: ; preds = %258, %255
%262 = phi i1 [ true, %255 ], [ %260, %258 ]
br i1 %262, label %252, label %263
263: ; preds = %261
br label %264
264: ; preds = %273, %263
%265 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i32 10)
%266 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %10)
br label %267
267: ; preds = %264
%268 = load i32, i32* %10
%269 = icmp slt i32 %268, 3
br i1 %269, label %273, label %270
270: ; preds = %267
%271 = load i32, i32* %10
%272 = icmp sgt i32 %271, 10
br label %273
273: ; preds = %270, %267
%274 = phi i1 [ true, %267 ], [ %272, %270 ]
br i1 %274, label %264, label %275
275: ; preds = %273
store i32 100, i32* %11
store i32 0, i32* %7
br label %276
276: ; preds = %299, %275
%277 = load i32, i32* %7
%278 = load i32, i32* %10
%279 = icmp slt i32 %277, %278
br i1 %279, label %280, label %302
280: ; preds = %276
store i32 0, i32* %8
br label %281
281: ; preds = %295, %280
%282 = load i32, i32* %8
%283 = load i32, i32* %9
%284 = icmp slt i32 %282, %283
br i1 %284, label %285, label %298
285: ; preds = %281
%286 = load i32, i32* %11
%287 = load i32, i32* %8
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %288
%290 = load i32, i32* %7
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds [10 x i32], [10 x i32]* %289, i64 0, i64 %291
store i32 %286, i32* %292
%293 = load i32, i32* %11
%294 = add nsw i32 %293, 1
store i32 %294, i32* %11
br label %295
295: ; preds = %285
%296 = load i32, i32* %8
%297 = add nsw i32 %296, 1
store i32 %297, i32* %8
br label %281
298: ; preds = %281
br label %299
299: ; preds = %298
%300 = load i32, i32* %7
%301 = add nsw i32 %300, 1
store i32 %301, i32* %7
br label %276
302: ; preds = %276
store i32 0, i32* %7
br label %303
303: ; preds = %326, %302
%304 = load i32, i32* %7
%305 = load i32, i32* %9
%306 = icmp slt i32 %304, %305
br i1 %306, label %307, label %329
307: ; preds = %303
%308 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %8
br label %309
309: ; preds = %322, %307
%310 = load i32, i32* %8
%311 = load i32, i32* %10
%312 = icmp slt i32 %310, %311
br i1 %312, label %313, label %325
313: ; preds = %309
%314 = load i32, i32* %7
%315 = sext i32 %314 to i64
%316 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %315
%317 = load i32, i32* %8
%318 = sext i32 %317 to i64
%319 = getelementptr inbounds [10 x i32], [10 x i32]* %316, i64 0, i64 %318
%320 = load i32, i32* %319
%321 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %320)
br label %322
322: ; preds = %313
%323 = load i32, i32* %8
%324 = add nsw i32 %323, 1
store i32 %324, i32* %8
br label %309
325: ; preds = %309
br label %326
326: ; preds = %325
%327 = load i32, i32* %7
%328 = add nsw i32 %327, 1
store i32 %328, i32* %7
br label %303
329: ; preds = %303
%330 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%331 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [5 x i8] c" %d \00"
@.str.2 = [10 x i8] c"\0A\0APar: %i\00"
@.str.3 = [16 x i8] c"\0A\0APositivos: %i\00"
@.str.4 = [16 x i8] c"\0A\0Anegativos: %i\00"
@.str.5 = [12 x i8] c"\0A\0Amayor: %i\00"
@.str.6 = [12 x i8] c"\0A\0Amenor: %i\00"
@.str.7 = [4 x i8] c"\0A\0A\09\00"
@.str.8 = [6 x i8] c"PAUSE\00"
@.str.9 = [6 x i8] c"pause\00"
@.str.10 = [29 x i8] c"\0A Numero de filas [3 - %d]: \00"
@.str.11 = [3 x i8] c"%d\00"
@.str.12 = [32 x i8] c"\0A Numero de columnas [3 - %d]: \00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [10 x [10 x i32]]
%4 = alloca i32
%5 = alloca i32
%6 = bitcast [10 x [10 x i32]]* %3 to i8*
%7 = bitcast i32* %4 to i8*
%8 = bitcast i32* %5 to i8*
%9 = tail call i32 @time(i32 0)
%10 = tail call i32 @srand(i32 %9)
br label %11
11: ; preds = %2, %11
%12 = phi i64 [ 0, %2 ], [ %45, %11 ]
%13 = tail call i32 (...) @rand()
%14 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %12, i64 0
%15 = tail call i32 (...) @rand()
%16 = tail call i32 (...) @rand()
%17 = tail call i32 (...) @rand()
%18 = insertelement <4 x i32> poison, i32 %13, i64 0
%19 = insertelement <4 x i32> %18, i32 %15, i64 1
%20 = insertelement <4 x i32> %19, i32 %16, i64 2
%21 = insertelement <4 x i32> %20, i32 %17, i64 3
%22 = srem <4 x i32> %21, <i32 100, i32 100, i32 100, i32 100>
%23 = add nsw <4 x i32> %22, <i32 100, i32 100, i32 100, i32 100>
%24 = bitcast i32* %14 to <4 x i32>*
store <4 x i32> %23, <4 x i32>* %24
%25 = tail call i32 (...) @rand()
%26 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %12, i64 4
%27 = tail call i32 (...) @rand()
%28 = tail call i32 (...) @rand()
%29 = tail call i32 (...) @rand()
%30 = insertelement <4 x i32> poison, i32 %25, i64 0
%31 = insertelement <4 x i32> %30, i32 %27, i64 1
%32 = insertelement <4 x i32> %31, i32 %28, i64 2
%33 = insertelement <4 x i32> %32, i32 %29, i64 3
%34 = srem <4 x i32> %33, <i32 100, i32 100, i32 100, i32 100>
%35 = add nsw <4 x i32> %34, <i32 100, i32 100, i32 100, i32 100>
%36 = bitcast i32* %26 to <4 x i32>*
store <4 x i32> %35, <4 x i32>* %36
%37 = tail call i32 (...) @rand()
%38 = srem i32 %37, 100
%39 = add nsw i32 %38, 100
%40 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %12, i64 8
store i32 %39, i32* %40
%41 = tail call i32 (...) @rand()
%42 = srem i32 %41, 100
%43 = add nsw i32 %42, 100
%44 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %12, i64 9
store i32 %43, i32* %44
%45 = add nuw nsw i64 %12, 1
%46 = icmp eq i64 %45, 10
br i1 %46, label %47, label %11
47: ; preds = %11, %47
%48 = phi i64 [ %80, %47 ], [ 0, %11 ]
%49 = tail call i32 @putchar(i32 10)
%50 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 0
%51 = load i32, i32* %50
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %51)
%53 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 1
%54 = load i32, i32* %53
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %54)
%56 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 2
%57 = load i32, i32* %56
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %57)
%59 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 3
%60 = load i32, i32* %59
%61 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %60)
%62 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 4
%63 = load i32, i32* %62
%64 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %63)
%65 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 5
%66 = load i32, i32* %65
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %66)
%68 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 6
%69 = load i32, i32* %68
%70 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %69)
%71 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 7
%72 = load i32, i32* %71
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %72)
%74 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 8
%75 = load i32, i32* %74
%76 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %75)
%77 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %48, i64 9
%78 = load i32, i32* %77
%79 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %78)
%80 = add nuw nsw i64 %48, 1
%81 = icmp eq i64 %80, 10
br i1 %81, label %82, label %47
82: ; preds = %47, %82
%83 = phi i64 [ %177, %82 ], [ 0, %47 ]
%84 = phi i32 [ %176, %82 ], [ 9999, %47 ]
%85 = phi i32 [ %174, %82 ], [ -99999, %47 ]
%86 = phi i32 [ %172, %82 ], [ 0, %47 ]
%87 = phi i32 [ %168, %82 ], [ 0, %47 ]
%88 = phi i32 [ %160, %82 ], [ 0, %47 ]
%89 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %83, i64 0
%90 = bitcast i32* %89 to <2 x i32>*
%91 = load <2 x i32>, <2 x i32>* %90
%92 = and <2 x i32> %91, <i32 1, i32 1>
%93 = xor <2 x i32> %92, <i32 1, i32 1>
%94 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %83, i64 2
%95 = bitcast i32* %94 to <8 x i32>*
%96 = load <8 x i32>, <8 x i32>* %95
%97 = extractelement <8 x i32> %96, i64 0
%98 = extractelement <8 x i32> %96, i64 1
%99 = extractelement <8 x i32> %96, i64 2
%100 = extractelement <8 x i32> %96, i64 3
%101 = extractelement <8 x i32> %96, i64 4
%102 = extractelement <8 x i32> %96, i64 5
%103 = extractelement <2 x i32> %91, i64 0
%104 = extractelement <2 x i32> %91, i64 1
%105 = shufflevector <2 x i32> %91, <2 x i32> undef, <8 x i32> <i32 0, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
%106 = shufflevector <8 x i32> %105, <8 x i32> %96, <8 x i32> <i32 0, i32 1, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13>
%107 = icmp sgt <8 x i32> %106, zeroinitializer
%108 = lshr i32 %103, 31
%109 = icmp sgt i32 %103, %85
%110 = select i1 %109, i32 %103, i32 %85
%111 = icmp slt i32 %103, %84
%112 = select i1 %111, i32 %103, i32 %84
%113 = lshr i32 %104, 31
%114 = icmp sgt i32 %104, %110
%115 = select i1 %114, i32 %104, i32 %110
%116 = icmp slt i32 %104, %112
%117 = select i1 %116, i32 %104, i32 %112
%118 = and <8 x i32> %96, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
%119 = xor <8 x i32> %118, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1>
%120 = lshr <8 x i32> %96, <i32 31, i32 31, i32 31, i32 31, i32 31, i32 31, i32 31, i32 31>
%121 = icmp sgt i32 %97, %115
%122 = select i1 %121, i32 %97, i32 %115
%123 = icmp slt i32 %97, %117
%124 = select i1 %123, i32 %97, i32 %117
%125 = icmp sgt i32 %98, %122
%126 = select i1 %125, i32 %98, i32 %122
%127 = icmp slt i32 %98, %124
%128 = select i1 %127, i32 %98, i32 %124
%129 = icmp sgt i32 %99, %126
%130 = select i1 %129, i32 %99, i32 %126
%131 = icmp slt i32 %99, %128
%132 = select i1 %131, i32 %99, i32 %128
%133 = icmp sgt i32 %100, %130
%134 = select i1 %133, i32 %100, i32 %130
%135 = icmp slt i32 %100, %132
%136 = select i1 %135, i32 %100, i32 %132
%137 = icmp sgt i32 %101, %134
%138 = select i1 %137, i32 %101, i32 %134
%139 = icmp slt i32 %101, %136
%140 = select i1 %139, i32 %101, i32 %136
%141 = icmp sgt i32 %102, %138
%142 = select i1 %141, i32 %102, i32 %138
%143 = icmp slt i32 %102, %140
%144 = select i1 %143, i32 %102, i32 %140
%145 = extractelement <8 x i32> %96, i64 6
%146 = extractelement <8 x i32> %96, i64 7
%147 = shufflevector <8 x i32> %96, <8 x i32> undef, <2 x i32> <i32 7, i32 6>
%148 = icmp sgt <2 x i32> %147, zeroinitializer
%149 = extractelement <2 x i1> %148, i64 1
%150 = zext i1 %149 to i32
%151 = icmp sgt i32 %145, %142
%152 = select i1 %151, i32 %145, i32 %142
%153 = icmp slt i32 %145, %144
%154 = select i1 %153, i32 %145, i32 %144
%155 = call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %119)
%156 = extractelement <2 x i32> %93, i64 1
%157 = add nsw i32 %155, %156
%158 = extractelement <2 x i32> %93, i64 0
%159 = add nsw i32 %157, %158
%160 = add nsw i32 %159, %88
%161 = extractelement <2 x i1> %148, i64 0
%162 = zext i1 %161 to i32
%163 = bitcast <8 x i1> %107 to i8
%164 = call i8 @llvm.ctpop.i8(i8 %163)
%165 = zext i8 %164 to i32
%166 = add nuw nsw i32 %165, %150
%167 = add nuw nsw i32 %166, %162
%168 = add nuw nsw i32 %167, %87
%169 = call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %120)
%170 = add nsw i32 %169, %113
%171 = add nsw i32 %170, %108
%172 = add nsw i32 %171, %86
%173 = icmp sgt i32 %146, %152
%174 = select i1 %173, i32 %146, i32 %152
%175 = icmp slt i32 %146, %154
%176 = select i1 %175, i32 %146, i32 %154
%177 = add nuw nsw i64 %83, 1
%178 = icmp eq i64 %177, 10
br i1 %178, label %179, label %82
179: ; preds = %82
%180 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i32 %160)
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.3, i64 0, i64 0), i32 %168)
%182 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0), i32 %172)
%183 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 %174)
%184 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i32 %176)
%185 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%186 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
%187 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
br label %188
188: ; preds = %188, %179
%189 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 10)
%190 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %4)
%191 = load i32, i32* %4
%192 = add i32 %191, -11
%193 = icmp ult i32 %192, -8
br i1 %193, label %188, label %194
194: ; preds = %188, %194
%195 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i32 10)
%196 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %5)
%197 = load i32, i32* %5
%198 = add i32 %197, -11
%199 = icmp ult i32 %198, -8
br i1 %199, label %194, label %200
200: ; preds = %194
%201 = load i32, i32* %4
%202 = icmp sgt i32 %201, 0
br i1 %202, label %203, label %311
203: ; preds = %200
%204 = zext i32 %201 to i64
%205 = zext i32 %197 to i64
%206 = and i64 %205, 4294967288
%207 = add nsw i64 %206, -8
%208 = lshr exact i64 %207, 3
%209 = add nuw nsw i64 %208, 1
%210 = icmp ult i32 %197, 8
%211 = and i64 %205, 4294967288
%212 = trunc i64 %211 to i32
%213 = and i64 %209, 3
%214 = icmp ult i64 %207, 24
%215 = and i64 %209, 4611686018427387900
%216 = icmp eq i64 %213, 0
%217 = icmp eq i64 %211, %205
br label %218
218: ; preds = %203, %288
%219 = phi i64 [ 0, %203 ], [ %290, %288 ]
%220 = phi i32 [ 100, %203 ], [ %289, %288 ]
br i1 %210, label %277, label %221
221: ; preds = %218
%222 = add i32 %220, %212
%223 = insertelement <4 x i32> poison, i32 %220, i64 0
%224 = shufflevector <4 x i32> %223, <4 x i32> poison, <4 x i32> zeroinitializer
%225 = add <4 x i32> %224, <i32 0, i32 1, i32 2, i32 3>
br i1 %214, label %260, label %226
226: ; preds = %221, %226
%227 = phi i64 [ %256, %226 ], [ 0, %221 ]
%228 = phi <4 x i32> [ %257, %226 ], [ %225, %221 ]
%229 = phi i64 [ %258, %226 ], [ 0, %221 ]
%230 = add <4 x i32> %228, <i32 4, i32 4, i32 4, i32 4>
%231 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %219, i64 %227
%232 = bitcast i32* %231 to <4 x i32>*
store <4 x i32> %228, <4 x i32>* %232
%233 = getelementptr inbounds i32, i32* %231, i64 4
%234 = bitcast i32* %233 to <4 x i32>*
store <4 x i32> %230, <4 x i32>* %234
%235 = or i64 %227, 8
%236 = add <4 x i32> %228, <i32 8, i32 8, i32 8, i32 8>
%237 = add <4 x i32> %228, <i32 12, i32 12, i32 12, i32 12>
%238 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %219, i64 %235
%239 = bitcast i32* %238 to <4 x i32>*
store <4 x i32> %236, <4 x i32>* %239
%240 = getelementptr inbounds i32, i32* %238, i64 4
%241 = bitcast i32* %240 to <4 x i32>*
store <4 x i32> %237, <4 x i32>* %241
%242 = or i64 %227, 16
%243 = add <4 x i32> %228, <i32 16, i32 16, i32 16, i32 16>
%244 = add <4 x i32> %228, <i32 20, i32 20, i32 20, i32 20>
%245 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %219, i64 %242
%246 = bitcast i32* %245 to <4 x i32>*
store <4 x i32> %243, <4 x i32>* %246
%247 = getelementptr inbounds i32, i32* %245, i64 4
%248 = bitcast i32* %247 to <4 x i32>*
store <4 x i32> %244, <4 x i32>* %248
%249 = or i64 %227, 24
%250 = add <4 x i32> %228, <i32 24, i32 24, i32 24, i32 24>
%251 = add <4 x i32> %228, <i32 28, i32 28, i32 28, i32 28>
%252 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %219, i64 %249
%253 = bitcast i32* %252 to <4 x i32>*
store <4 x i32> %250, <4 x i32>* %253
%254 = getelementptr inbounds i32, i32* %252, i64 4
%255 = bitcast i32* %254 to <4 x i32>*
store <4 x i32> %251, <4 x i32>* %255
%256 = add nuw i64 %227, 32
%257 = add <4 x i32> %228, <i32 32, i32 32, i32 32, i32 32>
%258 = add i64 %229, 4
%259 = icmp eq i64 %258, %215
br i1 %259, label %260, label %226
260: ; preds = %226, %221
%261 = phi i64 [ 0, %221 ], [ %256, %226 ]
%262 = phi <4 x i32> [ %225, %221 ], [ %257, %226 ]
br i1 %216, label %276, label %263
263: ; preds = %260, %263
%264 = phi i64 [ %272, %263 ], [ %261, %260 ]
%265 = phi <4 x i32> [ %273, %263 ], [ %262, %260 ]
%266 = phi i64 [ %274, %263 ], [ 0, %260 ]
%267 = add <4 x i32> %265, <i32 4, i32 4, i32 4, i32 4>
%268 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %219, i64 %264
%269 = bitcast i32* %268 to <4 x i32>*
store <4 x i32> %265, <4 x i32>* %269
%270 = getelementptr inbounds i32, i32* %268, i64 4
%271 = bitcast i32* %270 to <4 x i32>*
store <4 x i32> %267, <4 x i32>* %271
%272 = add nuw i64 %264, 8
%273 = add <4 x i32> %265, <i32 8, i32 8, i32 8, i32 8>
%274 = add i64 %266, 1
%275 = icmp eq i64 %274, %213
br i1 %275, label %276, label %263
276: ; preds = %263, %260
br i1 %217, label %288, label %277
277: ; preds = %218, %276
%278 = phi i64 [ 0, %218 ], [ %211, %276 ]
%279 = phi i32 [ %220, %218 ], [ %222, %276 ]
br label %281
280: ; preds = %288
br i1 %202, label %292, label %311
281: ; preds = %277, %281
%282 = phi i64 [ %286, %281 ], [ %278, %277 ]
%283 = phi i32 [ %285, %281 ], [ %279, %277 ]
%284 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %219, i64 %282
store i32 %283, i32* %284
%285 = add nsw i32 %283, 1
%286 = add nuw nsw i64 %282, 1
%287 = icmp eq i64 %286, %205
br i1 %287, label %288, label %281
288: ; preds = %281, %276
%289 = phi i32 [ %222, %276 ], [ %285, %281 ]
%290 = add nuw nsw i64 %219, 1
%291 = icmp eq i64 %290, %204
br i1 %291, label %280, label %218
292: ; preds = %280, %306
%293 = phi i64 [ %307, %306 ], [ 0, %280 ]
%294 = call i32 @putchar(i32 10)
%295 = load i32, i32* %5
%296 = icmp sgt i32 %295, 0
br i1 %296, label %297, label %306
297: ; preds = %292, %297
%298 = phi i64 [ %302, %297 ], [ 0, %292 ]
%299 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %293, i64 %298
%300 = load i32, i32* %299
%301 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %300)
%302 = add nuw nsw i64 %298, 1
%303 = load i32, i32* %5
%304 = sext i32 %303 to i64
%305 = icmp slt i64 %302, %304
br i1 %305, label %297, label %306
306: ; preds = %297, %292
%307 = add nuw nsw i64 %293, 1
%308 = load i32, i32* %4
%309 = sext i32 %308 to i64
%310 = icmp slt i64 %307, %309
br i1 %310, label %292, label %311
311: ; preds = %306, %200, %280
%312 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%313 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%314 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
br label %315
315: ; preds = %315, %311
%316 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.10, i64 0, i64 0), i32 10)
%317 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %4)
%318 = load i32, i32* %4
%319 = add i32 %318, -11
%320 = icmp ult i32 %319, -8
br i1 %320, label %315, label %321
321: ; preds = %315, %321
%322 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.12, i64 0, i64 0), i32 10)
%323 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i32* %5)
%324 = load i32, i32* %5
%325 = add i32 %324, -11
%326 = icmp ult i32 %325, -8
br i1 %326, label %321, label %327
327: ; preds = %321
%328 = load i32, i32* %4
%329 = icmp sgt i32 %328, 0
%330 = zext i32 %324 to i64
%331 = zext i32 %328 to i64
%332 = add nsw i64 %331, -1
%333 = and i64 %331, 3
%334 = icmp ult i64 %332, 3
%335 = and i64 %331, 4294967292
%336 = icmp eq i64 %333, 0
br label %337
337: ; preds = %327, %374
%338 = phi i64 [ 0, %327 ], [ %376, %374 ]
%339 = phi i32 [ 100, %327 ], [ %375, %374 ]
br i1 %329, label %340, label %374
340: ; preds = %337
br i1 %334, label %361, label %343
341: ; preds = %374
%342 = icmp sgt i32 %328, 0
br i1 %342, label %378, label %397
343: ; preds = %340, %343
%344 = phi i64 [ %358, %343 ], [ 0, %340 ]
%345 = phi i32 [ %357, %343 ], [ %339, %340 ]
%346 = phi i64 [ %359, %343 ], [ 0, %340 ]
%347 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %344, i64 %338
store i32 %345, i32* %347
%348 = add nsw i32 %345, 1
%349 = or i64 %344, 1
%350 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %349, i64 %338
store i32 %348, i32* %350
%351 = add nsw i32 %345, 2
%352 = or i64 %344, 2
%353 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %352, i64 %338
store i32 %351, i32* %353
%354 = add nsw i32 %345, 3
%355 = or i64 %344, 3
%356 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %355, i64 %338
store i32 %354, i32* %356
%357 = add nsw i32 %345, 4
%358 = add nuw nsw i64 %344, 4
%359 = add i64 %346, 4
%360 = icmp eq i64 %359, %335
br i1 %360, label %361, label %343
361: ; preds = %343, %340
%362 = phi i32 [ undef, %340 ], [ %357, %343 ]
%363 = phi i64 [ 0, %340 ], [ %358, %343 ]
%364 = phi i32 [ %339, %340 ], [ %357, %343 ]
br i1 %336, label %374, label %365
365: ; preds = %361, %365
%366 = phi i64 [ %371, %365 ], [ %363, %361 ]
%367 = phi i32 [ %370, %365 ], [ %364, %361 ]
%368 = phi i64 [ %372, %365 ], [ 0, %361 ]
%369 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %366, i64 %338
store i32 %367, i32* %369
%370 = add nsw i32 %367, 1
%371 = add nuw nsw i64 %366, 1
%372 = add i64 %368, 1
%373 = icmp eq i64 %372, %333
br i1 %373, label %374, label %365
374: ; preds = %361, %365, %337
%375 = phi i32 [ %339, %337 ], [ %362, %361 ], [ %370, %365 ]
%376 = add nuw nsw i64 %338, 1
%377 = icmp eq i64 %376, %330
br i1 %377, label %341, label %337
378: ; preds = %341, %392
%379 = phi i64 [ %393, %392 ], [ 0, %341 ]
%380 = call i32 @putchar(i32 10)
%381 = load i32, i32* %5
%382 = icmp sgt i32 %381, 0
br i1 %382, label %383, label %392
383: ; preds = %378, %383
%384 = phi i64 [ %388, %383 ], [ 0, %378 ]
%385 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %379, i64 %384
%386 = load i32, i32* %385
%387 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %386)
%388 = add nuw nsw i64 %384, 1
%389 = load i32, i32* %5
%390 = sext i32 %389 to i64
%391 = icmp slt i64 %388, %390
br i1 %391, label %383, label %392
392: ; preds = %383, %378
%393 = add nuw nsw i64 %379, 1
%394 = load i32, i32* %4
%395 = sext i32 %394 to i64
%396 = icmp slt i64 %393, %395
br i1 %396, label %378, label %397
397: ; preds = %392, %341
%398 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%399 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0))
ret i32 0
}