#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;
  int par, impar, pos, neg, mayor, menor;
  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]);
    }
  }
  par = 0;
  impar = 0;
  pos = 0;
  neg = 0;
  mayor = mat[0][0];
  menor = mat[0][0];
  for (x = 0; x < 10; x++) {
    for (y = 0; y < 10; y++) {
      if (mat[x][y] % 2 == 0) {
        par++;
      }
      if (mat[x][y] % 2 == 1) {
        impar++;
      }
      if (mat[x][y] > 0) {
        pos++;
      }
      if (mat[x][y] < 0) {
        neg++;
      }
      if (mat[x][y] > mayor) {
        mayor = mat[x][y];
      }
      if (mat[x][y] < menor) {
        menor = mat[x][y];
      }
    }
  }
  printf("\nLos numeros Pares son: %d\n", par);
  printf("\nLos numeros Impares son: %d\n", impar);
  printf("\nLos numeros Positivos son: %d\n", pos);
  printf("\nLos numeros Negativos son: %d\n", neg);
  printf("\nEl nuemro mayor es: %d\n", mayor);
  printf("\nel numero menor es: %d\n", menor);
  printf("\n\n\t");
  system("PAUSE");
  system("CLS");
  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("CLS");
  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)
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    1213 <main+0xb3>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    11fa <main+0x9a>
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    11a8 <main+0x48>
jmp    11ff <main+0x9f>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    1191 <main+0x31>
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    12a9 <main+0x149>
lea    0xdee(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    1290 <main+0x130>
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    0xd8b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    1242 <main+0xe2>
jmp    1295 <main+0x135>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    121d <main+0xbd>
movl   $0x0,-0x1b8(%rbp)
movl   $0x0,-0x1bc(%rbp)
movl   $0x0,-0x1c0(%rbp)
movl   $0x0,-0x1c4(%rbp)
mov    -0x1a0(%rbp),%eax
mov    %eax,-0x1c8(%rbp)
mov    -0x1a0(%rbp),%eax
mov    %eax,-0x1cc(%rbp)
movl   $0x0,-0x1a4(%rbp)
cmpl   $0xa,-0x1a4(%rbp)
jge    14d1 <main+0x371>
movl   $0x0,-0x1a8(%rbp)
cmpl   $0xa,-0x1a8(%rbp)
jge    14b8 <main+0x358>
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    1356 <main+0x1f6>
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
mov    (%rax,%rcx,4),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
cmp    $0x1,%edx
jne    1395 <main+0x235>
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)
jle    13ca <main+0x26a>
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
cmpl   $0x0,(%rax,%rcx,4)
jge    13ff <main+0x29f>
mov    -0x1c4(%rbp),%eax
add    $0x1,%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
jle    144f <main+0x2ef>
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)
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    -0x1cc(%rbp),%eax
jge    149f <main+0x33f>
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,-0x1cc(%rbp)
jmp    14a4 <main+0x344>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    130a <main+0x1aa>
jmp    14bd <main+0x35d>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    12f3 <main+0x193>
mov    -0x1b8(%rbp),%esi
lea    0xb27(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1bc(%rbp),%esi
lea    0xb2f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c0(%rbp),%esi
lea    0xb39(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c4(%rbp),%esi
lea    0xb45(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1c8(%rbp),%esi
lea    0xb51(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1cc(%rbp),%esi
lea    0xb56(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb61(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb57(%rip),%rdi
call   1030 <system@plt>
lea    0xb51(%rip),%rdi
call   1030 <system@plt>
lea    0xb49(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xb53(%rip),%rdi
lea    -0x1ac(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1ac(%rbp)
mov    %al,-0x1cd(%rbp)
jl     15ba <main+0x45a>
cmpl   $0xa,-0x1ac(%rbp)
setg   %al
mov    %al,-0x1cd(%rbp)
mov    -0x1cd(%rbp),%al
test   $0x1,%al
jne    156f <main+0x40f>
jmp    15cd <main+0x46d>
lea    0xb0b(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xaf5(%rip),%rdi
lea    -0x1b0(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1b0(%rbp)
mov    %al,-0x1ce(%rbp)
jl     1618 <main+0x4b8>
cmpl   $0xa,-0x1b0(%rbp)
setg   %al
mov    %al,-0x1ce(%rbp)
mov    -0x1ce(%rbp),%al
test   $0x1,%al
jne    15cd <main+0x46d>
movl   $0x64,-0x1b4(%rbp)
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    16c9 <main+0x569>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    16b0 <main+0x550>
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    1656 <main+0x4f6>
jmp    16b5 <main+0x555>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    163a <main+0x4da>
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    1769 <main+0x609>
lea    0x933(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    1750 <main+0x5f0>
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    0x8cb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    16fd <main+0x59d>
jmp    1755 <main+0x5f5>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    16d3 <main+0x573>
lea    0x941(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x937(%rip),%rdi
call   1030 <system@plt>
lea    0x931(%rip),%rdi
call   1030 <system@plt>
lea    0x929(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x933(%rip),%rdi
lea    -0x1ac(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1ac(%rbp)
mov    %al,-0x1cf(%rbp)
jl     17da <main+0x67a>
cmpl   $0xa,-0x1ac(%rbp)
setg   %al
mov    %al,-0x1cf(%rbp)
mov    -0x1cf(%rbp),%al
test   $0x1,%al
jne    178f <main+0x62f>
jmp    17ed <main+0x68d>
lea    0x8eb(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x8d5(%rip),%rdi
lea    -0x1b0(%rbp),%rsi
call   1070 <scanf@plt>
mov    $0x1,%al
cmpl   $0x3,-0x1b0(%rbp)
mov    %al,-0x1d0(%rbp)
jl     1838 <main+0x6d8>
cmpl   $0xa,-0x1b0(%rbp)
setg   %al
mov    %al,-0x1d0(%rbp)
mov    -0x1d0(%rbp),%al
test   $0x1,%al
jne    17ed <main+0x68d>
movl   $0x64,-0x1b4(%rbp)
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    18e9 <main+0x789>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    18d0 <main+0x770>
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    1876 <main+0x716>
jmp    18d5 <main+0x775>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    185a <main+0x6fa>
movl   $0x0,-0x1a4(%rbp)
mov    -0x1a4(%rbp),%eax
cmp    -0x1ac(%rbp),%eax
jge    1989 <main+0x829>
lea    0x713(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x1a8(%rbp)
mov    -0x1a8(%rbp),%eax
cmp    -0x1b0(%rbp),%eax
jge    1970 <main+0x810>
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    0x6ab(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x1a8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a8(%rbp)
jmp    191d <main+0x7bd>
jmp    1975 <main+0x815>
mov    -0x1a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1a4(%rbp)
jmp    18f3 <main+0x793>
lea    0x721(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0x717(%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    0xd25(%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    %r8d,%r8d
lea    0x10(%rsp),%r9
mov    0x10(%rsp),%r15d
mov    %r15d,%r13d
xor    %r14d,%r14d
xor    %r12d,%r12d
xor    %ebx,%ebx
xor    %esi,%esi
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    (%r9,%rdx,4),%edi
mov    %edi,%eax
not    %eax
and    $0x1,%eax
add    %eax,%esi
mov    %edi,%eax
shr    $0x1f,%eax
lea    (%rdi,%rax,1),%ecx
and    $0xfffffffe,%ecx
mov    %edi,%ebp
sub    %ecx,%ebp
xor    %ecx,%ecx
cmp    $0x1,%ebp
sete   %cl
add    %ecx,%ebx
xor    %ecx,%ecx
test   %edi,%edi
setg   %cl
add    %ecx,%r12d
add    %eax,%r14d
cmp    %r13d,%edi
cmovg  %edi,%r13d
cmp    %r15d,%edi
cmovl  %edi,%r15d
add    $0x1,%rdx
cmp    $0xa,%rdx
jne    1460 <main+0x2f0>
add    $0x1,%r8
add    $0x28,%r9
cmp    $0xa,%r8
jne    1450 <main+0x2e0>
lea    0xbf5(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc03(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc11(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc20(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc2f(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc37(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc3f(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc35(%rip),%rdi
call   1040 <system@plt>
lea    0xc2f(%rip),%rdi
call   1040 <system@plt>
lea    0xc27(%rip),%r14
lea    0xc3d(%rip),%rbp
lea    0xc(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbp,%rdi
mov    %rbx,%rsi
call   1080 <scanf@plt>
mov    0xc(%rsp),%eax
add    $0xfffffff5,%eax
cmp    $0xfffffff8,%eax
jb     1560 <main+0x3f0>
lea    0xc02(%rip),%r14
lea    0xbf8(%rip),%rbp
lea    0x8(%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    0x8(%rsp),%eax
lea    -0xb(%rax),%ecx
cmp    $0xfffffff8,%ecx
jb     15a0 <main+0x430>
mov    0xc(%rsp),%r11d
test   %r11d,%r11d
jle    17fe <main+0x68e>
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 0xa06(%rip),%xmm8
movdqa 0xa0e(%rip),%xmm1
movdqa 0xa16(%rip),%xmm2
movdqa 0xa1d(%rip),%xmm9
movdqa 0xa24(%rip),%xmm10
movdqa 0xa2b(%rip),%xmm11
movdqa 0xa33(%rip),%xmm6
movdqa 0xa3b(%rip),%xmm7
movdqa 0xa43(%rip),%xmm0
jmp    1675 <main+0x505>
nop
add    $0x1,%r15
add    $0x28,%rbx
add    $0x28,%rbp
cmp    %r11,%r15
je     1795 <main+0x625>
cmp    $0x8,%eax
jae    1690 <main+0x520>
xor    %ecx,%ecx
jmp    1780 <main+0x610>
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    16b0 <main+0x540>
xor    %edx,%edx
jmp    1738 <main+0x5c8>
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    16c0 <main+0x550>
test   %r10,%r10
je     1770 <main+0x600>
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    1750 <main+0x5e0>
add    %r14d,%esi
mov    %r14,%rcx
cmp    %rax,%r14
je     1660 <main+0x4f0>
nop
mov    %esi,0x0(%rbp,%rcx,4)
add    $0x1,%esi
add    $0x1,%rcx
cmp    %rcx,%rax
jne    1780 <main+0x610>
jmp    1660 <main+0x4f0>
test   %r11d,%r11d
jle    17fe <main+0x68e>
lea    0x10(%rsp),%rbp
lea    0x90a(%rip),%r15
xor    %r14d,%r14d
jmp    17c2 <main+0x652>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
movslq 0xc(%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    17fe <main+0x68e>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x8(%rsp)
jle    17b0 <main+0x640>
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 0x8(%rsp),%rax
cmp    %rax,%rbx
jl     17e0 <main+0x670>
jmp    17b0 <main+0x640>
lea    0x95c(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x952(%rip),%rdi
call   1040 <system@plt>
lea    0x94c(%rip),%rdi
call   1040 <system@plt>
lea    0x944(%rip),%r14
lea    0x95a(%rip),%rbp
lea    0xc(%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    0xc(%rsp),%eax
add    $0xfffffff5,%eax
cmp    $0xfffffff8,%eax
jb     1840 <main+0x6d0>
lea    0x922(%rip),%r14
lea    0x918(%rip),%rbp
lea    0x8(%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    0x8(%rsp),%r11d
lea    -0xb(%r11),%eax
cmp    $0xfffffff8,%eax
jb     1880 <main+0x710>
mov    0xc(%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    18f1 <main+0x781>
nopl   0x0(%rax)
add    $0x1,%r15
add    $0x4,%r14
cmp    %r11,%r15
je     1974 <main+0x804>
test   %r10d,%r10d
jle    18e0 <main+0x770>
cmp    $0x3,%r8
jae    1910 <main+0x7a0>
xor    %ecx,%ecx
test   %r9,%r9
jne    1955 <main+0x7e5>
jmp    18e0 <main+0x770>
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    1920 <main+0x7b0>
add    %ecx,%ebx
test   %r9,%r9
je     18e0 <main+0x770>
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    1960 <main+0x7f0>
jmp    18e0 <main+0x770>
test   %r10d,%r10d
jle    19de <main+0x86e>
lea    0x10(%rsp),%rbp
lea    0x72b(%rip),%r15
xor    %r14d,%r14d
jmp    19a2 <main+0x832>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r14
movslq 0xc(%rsp),%rax
add    $0x28,%rbp
cmp    %rax,%r14
jge    19de <main+0x86e>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x8(%rsp)
jle    1990 <main+0x820>
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 0x8(%rsp),%rax
cmp    %rax,%rbx
jl     19c0 <main+0x850>
jmp    1990 <main+0x820>
lea    0x77c(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x772(%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 = [28 x i8] c"\0ALos numeros Pares son: %d\0A\00"
@.str.3 = [30 x i8] c"\0ALos numeros Impares son: %d\0A\00"
@.str.4 = [32 x i8] c"\0ALos numeros Positivos son: %d\0A\00"
@.str.5 = [32 x i8] c"\0ALos numeros Negativos son: %d\0A\00"
@.str.6 = [25 x i8] c"\0AEl nuemro mayor es: %d\0A\00"
@.str.7 = [25 x i8] c"\0Ael numero menor es: %d\0A\00"
@.str.8 = [4 x i8] c"\0A\0A\09\00"
@.str.9 = [6 x i8] c"PAUSE\00"
@.str.10 = [4 x i8] c"CLS\00"
@.str.11 = [29 x i8] c"\0A Numero de filas [3 - %d]: \00"
@.str.12 = [3 x i8] c"%d\00"
@.str.13 = [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
%17 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%18 = call i32 @time(i32 0)
%19 = call i32 @srand(i32 %18)
store i32 0, i32* %7
br label %20
20: ; preds = %41, %2
%21 = load i32, i32* %7
%22 = icmp slt i32 %21, 10
br i1 %22, label %23, label %44
23: ; preds = %20
store i32 0, i32* %8
br label %24
24: ; preds = %37, %23
%25 = load i32, i32* %8
%26 = icmp slt i32 %25, 10
br i1 %26, label %27, label %40
27: ; preds = %24
%28 = call i32 (...) @rand()
%29 = srem i32 %28, 100
%30 = add nsw i32 %29, 100
%31 = load i32, i32* %7
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %32
%34 = load i32, i32* %8
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x i32], [10 x i32]* %33, i64 0, i64 %35
store i32 %30, i32* %36
br label %37
37: ; preds = %27
%38 = load i32, i32* %8
%39 = add nsw i32 %38, 1
store i32 %39, i32* %8
br label %24
40: ; preds = %24
br label %41
41: ; preds = %40
%42 = load i32, i32* %7
%43 = add nsw i32 %42, 1
store i32 %43, i32* %7
br label %20
44: ; preds = %20
store i32 0, i32* %7
br label %45
45: ; preds = %66, %44
%46 = load i32, i32* %7
%47 = icmp slt i32 %46, 10
br i1 %47, label %48, label %69
48: ; preds = %45
%49 = 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 %50
50: ; preds = %62, %48
%51 = load i32, i32* %8
%52 = icmp slt i32 %51, 10
br i1 %52, label %53, label %65
53: ; preds = %50
%54 = load i32, i32* %7
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %55
%57 = load i32, i32* %8
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i32], [10 x i32]* %56, i64 0, i64 %58
%60 = load i32, i32* %59
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %60)
br label %62
62: ; preds = %53
%63 = load i32, i32* %8
%64 = add nsw i32 %63, 1
store i32 %64, i32* %8
br label %50
65: ; preds = %50
br label %66
66: ; preds = %65
%67 = load i32, i32* %7
%68 = add nsw i32 %67, 1
store i32 %68, i32* %7
br label %45
69: ; preds = %45
store i32 0, i32* %12
store i32 0, i32* %13
store i32 0, i32* %14
store i32 0, i32* %15
%70 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 0
%71 = getelementptr inbounds [10 x i32], [10 x i32]* %70, i64 0, i64 0
%72 = load i32, i32* %71
store i32 %72, i32* %16
%73 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 0
%74 = getelementptr inbounds [10 x i32], [10 x i32]* %73, i64 0, i64 0
%75 = load i32, i32* %74
store i32 %75, i32* %17
store i32 0, i32* %7
br label %76
76: ; preds = %174, %69
%77 = load i32, i32* %7
%78 = icmp slt i32 %77, 10
br i1 %78, label %79, label %177
79: ; preds = %76
store i32 0, i32* %8
br label %80
80: ; preds = %170, %79
%81 = load i32, i32* %8
%82 = icmp slt i32 %81, 10
br i1 %82, label %83, label %173
83: ; preds = %80
%84 = load i32, i32* %7
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %85
%87 = load i32, i32* %8
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [10 x i32], [10 x i32]* %86, i64 0, i64 %88
%90 = load i32, i32* %89
%91 = srem i32 %90, 2
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %83
%94 = load i32, i32* %12
%95 = add nsw i32 %94, 1
store i32 %95, i32* %12
br label %96
96: ; preds = %93, %83
%97 = load i32, i32* %7
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %98
%100 = load i32, i32* %8
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [10 x i32], [10 x i32]* %99, i64 0, i64 %101
%103 = load i32, i32* %102
%104 = srem i32 %103, 2
%105 = icmp eq i32 %104, 1
br i1 %105, label %106, label %109
106: ; preds = %96
%107 = load i32, i32* %13
%108 = add nsw i32 %107, 1
store i32 %108, i32* %13
br label %109
109: ; preds = %106, %96
%110 = load i32, i32* %7
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %111
%113 = load i32, i32* %8
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [10 x i32], [10 x i32]* %112, i64 0, i64 %114
%116 = load i32, i32* %115
%117 = icmp sgt i32 %116, 0
br i1 %117, label %118, label %121
118: ; preds = %109
%119 = load i32, i32* %14
%120 = add nsw i32 %119, 1
store i32 %120, i32* %14
br label %121
121: ; preds = %118, %109
%122 = load i32, i32* %7
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %123
%125 = load i32, i32* %8
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [10 x i32], [10 x i32]* %124, i64 0, i64 %126
%128 = load i32, i32* %127
%129 = icmp slt i32 %128, 0
br i1 %129, label %130, label %133
130: ; preds = %121
%131 = load i32, i32* %15
%132 = add nsw i32 %131, 1
store i32 %132, i32* %15
br label %133
133: ; preds = %130, %121
%134 = load i32, i32* %7
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %135
%137 = load i32, i32* %8
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds [10 x i32], [10 x i32]* %136, i64 0, i64 %138
%140 = load i32, i32* %139
%141 = load i32, i32* %16
%142 = icmp sgt i32 %140, %141
br i1 %142, label %143, label %151
143: ; preds = %133
%144 = load i32, i32* %7
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %145
%147 = load i32, i32* %8
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [10 x i32], [10 x i32]* %146, i64 0, i64 %148
%150 = load i32, i32* %149
store i32 %150, i32* %16
br label %151
151: ; preds = %143, %133
%152 = load i32, i32* %7
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %153
%155 = load i32, i32* %8
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [10 x i32], [10 x i32]* %154, i64 0, i64 %156
%158 = load i32, i32* %157
%159 = load i32, i32* %17
%160 = icmp slt i32 %158, %159
br i1 %160, label %161, label %169
161: ; preds = %151
%162 = load i32, i32* %7
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %163
%165 = load i32, i32* %8
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [10 x i32], [10 x i32]* %164, i64 0, i64 %166
%168 = load i32, i32* %167
store i32 %168, i32* %17
br label %169
169: ; preds = %161, %151
br label %170
170: ; preds = %169
%171 = load i32, i32* %8
%172 = add nsw i32 %171, 1
store i32 %172, i32* %8
br label %80
173: ; preds = %80
br label %174
174: ; preds = %173
%175 = load i32, i32* %7
%176 = add nsw i32 %175, 1
store i32 %176, i32* %7
br label %76
177: ; preds = %76
%178 = load i32, i32* %12
%179 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i32 %178)
%180 = load i32, i32* %13
%181 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i32 %180)
%182 = load i32, i32* %14
%183 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i32 %182)
%184 = load i32, i32* %15
%185 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %184)
%186 = load i32, i32* %16
%187 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 %186)
%188 = load i32, i32* %17
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 %188)
%190 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%191 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%192 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %193
193: ; preds = %202, %177
%194 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i32 10)
%195 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %9)
br label %196
196: ; preds = %193
%197 = load i32, i32* %9
%198 = icmp slt i32 %197, 3
br i1 %198, label %202, label %199
199: ; preds = %196
%200 = load i32, i32* %9
%201 = icmp sgt i32 %200, 10
br label %202
202: ; preds = %199, %196
%203 = phi i1 [ true, %196 ], [ %201, %199 ]
br i1 %203, label %193, label %204
204: ; preds = %202
br label %205
205: ; preds = %214, %204
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0), i32 10)
%207 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %10)
br label %208
208: ; preds = %205
%209 = load i32, i32* %10
%210 = icmp slt i32 %209, 3
br i1 %210, label %214, label %211
211: ; preds = %208
%212 = load i32, i32* %10
%213 = icmp sgt i32 %212, 10
br label %214
214: ; preds = %211, %208
%215 = phi i1 [ true, %208 ], [ %213, %211 ]
br i1 %215, label %205, label %216
216: ; preds = %214
store i32 100, i32* %11
store i32 0, i32* %7
br label %217
217: ; preds = %240, %216
%218 = load i32, i32* %7
%219 = load i32, i32* %9
%220 = icmp slt i32 %218, %219
br i1 %220, label %221, label %243
221: ; preds = %217
store i32 0, i32* %8
br label %222
222: ; preds = %236, %221
%223 = load i32, i32* %8
%224 = load i32, i32* %10
%225 = icmp slt i32 %223, %224
br i1 %225, label %226, label %239
226: ; preds = %222
%227 = load i32, i32* %11
%228 = load i32, i32* %7
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %229
%231 = load i32, i32* %8
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds [10 x i32], [10 x i32]* %230, i64 0, i64 %232
store i32 %227, i32* %233
%234 = load i32, i32* %11
%235 = add nsw i32 %234, 1
store i32 %235, i32* %11
br label %236
236: ; preds = %226
%237 = load i32, i32* %8
%238 = add nsw i32 %237, 1
store i32 %238, i32* %8
br label %222
239: ; preds = %222
br label %240
240: ; preds = %239
%241 = load i32, i32* %7
%242 = add nsw i32 %241, 1
store i32 %242, i32* %7
br label %217
243: ; preds = %217
store i32 0, i32* %7
br label %244
244: ; preds = %267, %243
%245 = load i32, i32* %7
%246 = load i32, i32* %9
%247 = icmp slt i32 %245, %246
br i1 %247, label %248, label %270
248: ; preds = %244
%249 = 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 %250
250: ; preds = %263, %248
%251 = load i32, i32* %8
%252 = load i32, i32* %10
%253 = icmp slt i32 %251, %252
br i1 %253, label %254, label %266
254: ; preds = %250
%255 = load i32, i32* %7
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %256
%258 = load i32, i32* %8
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds [10 x i32], [10 x i32]* %257, i64 0, i64 %259
%261 = load i32, i32* %260
%262 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %261)
br label %263
263: ; preds = %254
%264 = load i32, i32* %8
%265 = add nsw i32 %264, 1
store i32 %265, i32* %8
br label %250
266: ; preds = %250
br label %267
267: ; preds = %266
%268 = load i32, i32* %7
%269 = add nsw i32 %268, 1
store i32 %269, i32* %7
br label %244
270: ; preds = %244
%271 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%272 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%273 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %274
274: ; preds = %283, %270
%275 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i32 10)
%276 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %9)
br label %277
277: ; preds = %274
%278 = load i32, i32* %9
%279 = icmp slt i32 %278, 3
br i1 %279, label %283, label %280
280: ; preds = %277
%281 = load i32, i32* %9
%282 = icmp sgt i32 %281, 10
br label %283
283: ; preds = %280, %277
%284 = phi i1 [ true, %277 ], [ %282, %280 ]
br i1 %284, label %274, label %285
285: ; preds = %283
br label %286
286: ; preds = %295, %285
%287 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0), i32 10)
%288 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %10)
br label %289
289: ; preds = %286
%290 = load i32, i32* %10
%291 = icmp slt i32 %290, 3
br i1 %291, label %295, label %292
292: ; preds = %289
%293 = load i32, i32* %10
%294 = icmp sgt i32 %293, 10
br label %295
295: ; preds = %292, %289
%296 = phi i1 [ true, %289 ], [ %294, %292 ]
br i1 %296, label %286, label %297
297: ; preds = %295
store i32 100, i32* %11
store i32 0, i32* %7
br label %298
298: ; preds = %321, %297
%299 = load i32, i32* %7
%300 = load i32, i32* %10
%301 = icmp slt i32 %299, %300
br i1 %301, label %302, label %324
302: ; preds = %298
store i32 0, i32* %8
br label %303
303: ; preds = %317, %302
%304 = load i32, i32* %8
%305 = load i32, i32* %9
%306 = icmp slt i32 %304, %305
br i1 %306, label %307, label %320
307: ; preds = %303
%308 = load i32, i32* %11
%309 = load i32, i32* %8
%310 = sext i32 %309 to i64
%311 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %310
%312 = load i32, i32* %7
%313 = sext i32 %312 to i64
%314 = getelementptr inbounds [10 x i32], [10 x i32]* %311, i64 0, i64 %313
store i32 %308, i32* %314
%315 = load i32, i32* %11
%316 = add nsw i32 %315, 1
store i32 %316, i32* %11
br label %317
317: ; preds = %307
%318 = load i32, i32* %8
%319 = add nsw i32 %318, 1
store i32 %319, i32* %8
br label %303
320: ; preds = %303
br label %321
321: ; preds = %320
%322 = load i32, i32* %7
%323 = add nsw i32 %322, 1
store i32 %323, i32* %7
br label %298
324: ; preds = %298
store i32 0, i32* %7
br label %325
325: ; preds = %348, %324
%326 = load i32, i32* %7
%327 = load i32, i32* %9
%328 = icmp slt i32 %326, %327
br i1 %328, label %329, label %351
329: ; preds = %325
%330 = 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 %331
331: ; preds = %344, %329
%332 = load i32, i32* %8
%333 = load i32, i32* %10
%334 = icmp slt i32 %332, %333
br i1 %334, label %335, label %347
335: ; preds = %331
%336 = load i32, i32* %7
%337 = sext i32 %336 to i64
%338 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %6, i64 0, i64 %337
%339 = load i32, i32* %8
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds [10 x i32], [10 x i32]* %338, i64 0, i64 %340
%342 = load i32, i32* %341
%343 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %342)
br label %344
344: ; preds = %335
%345 = load i32, i32* %8
%346 = add nsw i32 %345, 1
store i32 %346, i32* %8
br label %331
347: ; preds = %331
br label %348
348: ; preds = %347
%349 = load i32, i32* %7
%350 = add nsw i32 %349, 1
store i32 %350, i32* %7
br label %325
351: ; preds = %325
%352 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%353 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [5 x i8] c" %d \00"
@.str.2 = [28 x i8] c"\0ALos numeros Pares son: %d\0A\00"
@.str.3 = [30 x i8] c"\0ALos numeros Impares son: %d\0A\00"
@.str.4 = [32 x i8] c"\0ALos numeros Positivos son: %d\0A\00"
@.str.5 = [32 x i8] c"\0ALos numeros Negativos son: %d\0A\00"
@.str.6 = [25 x i8] c"\0AEl nuemro mayor es: %d\0A\00"
@.str.7 = [25 x i8] c"\0Ael numero menor es: %d\0A\00"
@.str.8 = [4 x i8] c"\0A\0A\09\00"
@.str.9 = [6 x i8] c"PAUSE\00"
@.str.10 = [4 x i8] c"CLS\00"
@.str.11 = [29 x i8] c"\0A Numero de filas [3 - %d]: \00"
@.str.12 = [3 x i8] c"%d\00"
@.str.13 = [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
%83 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 0, i64 0
%84 = load i32, i32* %83
br label %85
85: ; preds = %82, %121
%86 = phi i64 [ 0, %82 ], [ %122, %121 ]
%87 = phi i32 [ %84, %82 ], [ %118, %121 ]
%88 = phi i32 [ %84, %82 ], [ %116, %121 ]
%89 = phi i32 [ 0, %82 ], [ %114, %121 ]
%90 = phi i32 [ 0, %82 ], [ %112, %121 ]
%91 = phi i32 [ 0, %82 ], [ %109, %121 ]
%92 = phi i32 [ 0, %82 ], [ %105, %121 ]
br label %93
93: ; preds = %85, %93
%94 = phi i64 [ 0, %85 ], [ %119, %93 ]
%95 = phi i32 [ %87, %85 ], [ %118, %93 ]
%96 = phi i32 [ %88, %85 ], [ %116, %93 ]
%97 = phi i32 [ %89, %85 ], [ %114, %93 ]
%98 = phi i32 [ %90, %85 ], [ %112, %93 ]
%99 = phi i32 [ %91, %85 ], [ %109, %93 ]
%100 = phi i32 [ %92, %85 ], [ %105, %93 ]
%101 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %86, i64 %94
%102 = load i32, i32* %101
%103 = and i32 %102, 1
%104 = xor i32 %103, 1
%105 = add nsw i32 %104, %100
%106 = srem i32 %102, 2
%107 = icmp eq i32 %106, 1
%108 = zext i1 %107 to i32
%109 = add nsw i32 %99, %108
%110 = icmp sgt i32 %102, 0
%111 = zext i1 %110 to i32
%112 = add nsw i32 %98, %111
%113 = lshr i32 %102, 31
%114 = add nsw i32 %113, %97
%115 = icmp sgt i32 %102, %96
%116 = select i1 %115, i32 %102, i32 %96
%117 = icmp slt i32 %102, %95
%118 = select i1 %117, i32 %102, i32 %95
%119 = add nuw nsw i64 %94, 1
%120 = icmp eq i64 %119, 10
br i1 %120, label %121, label %93
121: ; preds = %93
%122 = add nuw nsw i64 %86, 1
%123 = icmp eq i64 %122, 10
br i1 %123, label %124, label %85
124: ; preds = %121
%125 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0), i32 %105)
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.3, i64 0, i64 0), i32 %109)
%127 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.4, i64 0, i64 0), i32 %112)
%128 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %114)
%129 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), i32 %116)
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.7, i64 0, i64 0), i32 %118)
%131 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%132 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%133 = tail call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %134
134: ; preds = %134, %124
%135 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i32 10)
%136 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %4)
%137 = load i32, i32* %4
%138 = add i32 %137, -11
%139 = icmp ult i32 %138, -8
br i1 %139, label %134, label %140
140: ; preds = %134, %140
%141 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0), i32 10)
%142 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %5)
%143 = load i32, i32* %5
%144 = add i32 %143, -11
%145 = icmp ult i32 %144, -8
br i1 %145, label %140, label %146
146: ; preds = %140
%147 = load i32, i32* %4
%148 = icmp sgt i32 %147, 0
br i1 %148, label %149, label %257
149: ; preds = %146
%150 = zext i32 %147 to i64
%151 = zext i32 %143 to i64
%152 = and i64 %151, 4294967288
%153 = add nsw i64 %152, -8
%154 = lshr exact i64 %153, 3
%155 = add nuw nsw i64 %154, 1
%156 = icmp ult i32 %143, 8
%157 = and i64 %151, 4294967288
%158 = trunc i64 %157 to i32
%159 = and i64 %155, 3
%160 = icmp ult i64 %153, 24
%161 = and i64 %155, 4611686018427387900
%162 = icmp eq i64 %159, 0
%163 = icmp eq i64 %157, %151
br label %164
164: ; preds = %149, %234
%165 = phi i64 [ 0, %149 ], [ %236, %234 ]
%166 = phi i32 [ 100, %149 ], [ %235, %234 ]
br i1 %156, label %223, label %167
167: ; preds = %164
%168 = add i32 %166, %158
%169 = insertelement <4 x i32> poison, i32 %166, i64 0
%170 = shufflevector <4 x i32> %169, <4 x i32> poison, <4 x i32> zeroinitializer
%171 = add <4 x i32> %170, <i32 0, i32 1, i32 2, i32 3>
br i1 %160, label %206, label %172
172: ; preds = %167, %172
%173 = phi i64 [ %202, %172 ], [ 0, %167 ]
%174 = phi <4 x i32> [ %203, %172 ], [ %171, %167 ]
%175 = phi i64 [ %204, %172 ], [ 0, %167 ]
%176 = add <4 x i32> %174, <i32 4, i32 4, i32 4, i32 4>
%177 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %165, i64 %173
%178 = bitcast i32* %177 to <4 x i32>*
store <4 x i32> %174, <4 x i32>* %178
%179 = getelementptr inbounds i32, i32* %177, i64 4
%180 = bitcast i32* %179 to <4 x i32>*
store <4 x i32> %176, <4 x i32>* %180
%181 = or i64 %173, 8
%182 = add <4 x i32> %174, <i32 8, i32 8, i32 8, i32 8>
%183 = add <4 x i32> %174, <i32 12, i32 12, i32 12, i32 12>
%184 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %165, i64 %181
%185 = bitcast i32* %184 to <4 x i32>*
store <4 x i32> %182, <4 x i32>* %185
%186 = getelementptr inbounds i32, i32* %184, i64 4
%187 = bitcast i32* %186 to <4 x i32>*
store <4 x i32> %183, <4 x i32>* %187
%188 = or i64 %173, 16
%189 = add <4 x i32> %174, <i32 16, i32 16, i32 16, i32 16>
%190 = add <4 x i32> %174, <i32 20, i32 20, i32 20, i32 20>
%191 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %165, i64 %188
%192 = bitcast i32* %191 to <4 x i32>*
store <4 x i32> %189, <4 x i32>* %192
%193 = getelementptr inbounds i32, i32* %191, i64 4
%194 = bitcast i32* %193 to <4 x i32>*
store <4 x i32> %190, <4 x i32>* %194
%195 = or i64 %173, 24
%196 = add <4 x i32> %174, <i32 24, i32 24, i32 24, i32 24>
%197 = add <4 x i32> %174, <i32 28, i32 28, i32 28, i32 28>
%198 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %165, i64 %195
%199 = bitcast i32* %198 to <4 x i32>*
store <4 x i32> %196, <4 x i32>* %199
%200 = getelementptr inbounds i32, i32* %198, i64 4
%201 = bitcast i32* %200 to <4 x i32>*
store <4 x i32> %197, <4 x i32>* %201
%202 = add nuw i64 %173, 32
%203 = add <4 x i32> %174, <i32 32, i32 32, i32 32, i32 32>
%204 = add i64 %175, 4
%205 = icmp eq i64 %204, %161
br i1 %205, label %206, label %172
206: ; preds = %172, %167
%207 = phi i64 [ 0, %167 ], [ %202, %172 ]
%208 = phi <4 x i32> [ %171, %167 ], [ %203, %172 ]
br i1 %162, label %222, label %209
209: ; preds = %206, %209
%210 = phi i64 [ %218, %209 ], [ %207, %206 ]
%211 = phi <4 x i32> [ %219, %209 ], [ %208, %206 ]
%212 = phi i64 [ %220, %209 ], [ 0, %206 ]
%213 = add <4 x i32> %211, <i32 4, i32 4, i32 4, i32 4>
%214 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %165, i64 %210
%215 = bitcast i32* %214 to <4 x i32>*
store <4 x i32> %211, <4 x i32>* %215
%216 = getelementptr inbounds i32, i32* %214, i64 4
%217 = bitcast i32* %216 to <4 x i32>*
store <4 x i32> %213, <4 x i32>* %217
%218 = add nuw i64 %210, 8
%219 = add <4 x i32> %211, <i32 8, i32 8, i32 8, i32 8>
%220 = add i64 %212, 1
%221 = icmp eq i64 %220, %159
br i1 %221, label %222, label %209
222: ; preds = %209, %206
br i1 %163, label %234, label %223
223: ; preds = %164, %222
%224 = phi i64 [ 0, %164 ], [ %157, %222 ]
%225 = phi i32 [ %166, %164 ], [ %168, %222 ]
br label %227
226: ; preds = %234
br i1 %148, label %238, label %257
227: ; preds = %223, %227
%228 = phi i64 [ %232, %227 ], [ %224, %223 ]
%229 = phi i32 [ %231, %227 ], [ %225, %223 ]
%230 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %165, i64 %228
store i32 %229, i32* %230
%231 = add nsw i32 %229, 1
%232 = add nuw nsw i64 %228, 1
%233 = icmp eq i64 %232, %151
br i1 %233, label %234, label %227
234: ; preds = %227, %222
%235 = phi i32 [ %168, %222 ], [ %231, %227 ]
%236 = add nuw nsw i64 %165, 1
%237 = icmp eq i64 %236, %150
br i1 %237, label %226, label %164
238: ; preds = %226, %252
%239 = phi i64 [ %253, %252 ], [ 0, %226 ]
%240 = call i32 @putchar(i32 10)
%241 = load i32, i32* %5
%242 = icmp sgt i32 %241, 0
br i1 %242, label %243, label %252
243: ; preds = %238, %243
%244 = phi i64 [ %248, %243 ], [ 0, %238 ]
%245 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %239, i64 %244
%246 = load i32, i32* %245
%247 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %246)
%248 = add nuw nsw i64 %244, 1
%249 = load i32, i32* %5
%250 = sext i32 %249 to i64
%251 = icmp slt i64 %248, %250
br i1 %251, label %243, label %252
252: ; preds = %243, %238
%253 = add nuw nsw i64 %239, 1
%254 = load i32, i32* %4
%255 = sext i32 %254 to i64
%256 = icmp slt i64 %253, %255
br i1 %256, label %238, label %257
257: ; preds = %252, %146, %226
%258 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%259 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%260 = call i32 @system(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.10, i64 0, i64 0))
br label %261
261: ; preds = %261, %257
%262 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i32 10)
%263 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %4)
%264 = load i32, i32* %4
%265 = add i32 %264, -11
%266 = icmp ult i32 %265, -8
br i1 %266, label %261, label %267
267: ; preds = %261, %267
%268 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0), i32 10)
%269 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i32* %5)
%270 = load i32, i32* %5
%271 = add i32 %270, -11
%272 = icmp ult i32 %271, -8
br i1 %272, label %267, label %273
273: ; preds = %267
%274 = load i32, i32* %4
%275 = icmp sgt i32 %274, 0
%276 = zext i32 %270 to i64
%277 = zext i32 %274 to i64
%278 = add nsw i64 %277, -1
%279 = and i64 %277, 3
%280 = icmp ult i64 %278, 3
%281 = and i64 %277, 4294967292
%282 = icmp eq i64 %279, 0
br label %283
283: ; preds = %273, %320
%284 = phi i64 [ 0, %273 ], [ %322, %320 ]
%285 = phi i32 [ 100, %273 ], [ %321, %320 ]
br i1 %275, label %286, label %320
286: ; preds = %283
br i1 %280, label %307, label %289
287: ; preds = %320
%288 = icmp sgt i32 %274, 0
br i1 %288, label %324, label %343
289: ; preds = %286, %289
%290 = phi i64 [ %304, %289 ], [ 0, %286 ]
%291 = phi i32 [ %303, %289 ], [ %285, %286 ]
%292 = phi i64 [ %305, %289 ], [ 0, %286 ]
%293 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %290, i64 %284
store i32 %291, i32* %293
%294 = add nsw i32 %291, 1
%295 = or i64 %290, 1
%296 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %295, i64 %284
store i32 %294, i32* %296
%297 = add nsw i32 %291, 2
%298 = or i64 %290, 2
%299 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %298, i64 %284
store i32 %297, i32* %299
%300 = add nsw i32 %291, 3
%301 = or i64 %290, 3
%302 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %301, i64 %284
store i32 %300, i32* %302
%303 = add nsw i32 %291, 4
%304 = add nuw nsw i64 %290, 4
%305 = add i64 %292, 4
%306 = icmp eq i64 %305, %281
br i1 %306, label %307, label %289
307: ; preds = %289, %286
%308 = phi i32 [ undef, %286 ], [ %303, %289 ]
%309 = phi i64 [ 0, %286 ], [ %304, %289 ]
%310 = phi i32 [ %285, %286 ], [ %303, %289 ]
br i1 %282, label %320, label %311
311: ; preds = %307, %311
%312 = phi i64 [ %317, %311 ], [ %309, %307 ]
%313 = phi i32 [ %316, %311 ], [ %310, %307 ]
%314 = phi i64 [ %318, %311 ], [ 0, %307 ]
%315 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %312, i64 %284
store i32 %313, i32* %315
%316 = add nsw i32 %313, 1
%317 = add nuw nsw i64 %312, 1
%318 = add i64 %314, 1
%319 = icmp eq i64 %318, %279
br i1 %319, label %320, label %311
320: ; preds = %307, %311, %283
%321 = phi i32 [ %285, %283 ], [ %308, %307 ], [ %316, %311 ]
%322 = add nuw nsw i64 %284, 1
%323 = icmp eq i64 %322, %276
br i1 %323, label %287, label %283
324: ; preds = %287, %338
%325 = phi i64 [ %339, %338 ], [ 0, %287 ]
%326 = call i32 @putchar(i32 10)
%327 = load i32, i32* %5
%328 = icmp sgt i32 %327, 0
br i1 %328, label %329, label %338
329: ; preds = %324, %329
%330 = phi i64 [ %334, %329 ], [ 0, %324 ]
%331 = getelementptr inbounds [10 x [10 x i32]], [10 x [10 x i32]]* %3, i64 0, i64 %325, i64 %330
%332 = load i32, i32* %331
%333 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 %332)
%334 = add nuw nsw i64 %330, 1
%335 = load i32, i32* %5
%336 = sext i32 %335 to i64
%337 = icmp slt i64 %334, %336
br i1 %337, label %329, label %338
338: ; preds = %329, %324
%339 = add nuw nsw i64 %325, 1
%340 = load i32, i32* %4
%341 = sext i32 %340 to i64
%342 = icmp slt i64 %339, %341
br i1 %342, label %324, label %343
343: ; preds = %338, %287
%344 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%345 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
ret i32 0
}