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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *);
int main() {
  int ma[4][4], mb[4][4], ms[4][4], msa[4][4], mm[4][4];
  int l, c, e, b, i, j, m, n, linha, coluna;
  printf("\nOlá. Meu nome é Nícolas e minha matrícula da Unilasalle é "
         "0050013943!\n");
  printf("\nEntre com a matriz A de 4 linhas e 4 colunas\n");
  for (l = 0; l <= 3; l++) {
    for (c = 0; c <= 3; c++) {
      printf("\nMatriz A - Entre com a linha %d, coluna %d: ", l + 1, c + 1);
      scanf("%d", &ma[l][c]);
      if (c == (4 - 1 - l)) {
        msa[l][c] = ma[l][c];
      } else {
        msa[l][c] = 0;
      }
    }
  }
  printf("\nEntre com a matriz B de 4 linhas e 4 colunas\n");
  for (e = 0; e <= 3; e++) {
    for (b = 0; b <= 3; b++) {
      printf("\nMatriz B - Entre com a linha %d, coluna %d: ", e + 1, b + 1);
      scanf("%d", &mb[e][b]);
    }
  }
  for (i = 0; i <= 3; i++) {
    for (j = 0; j <= 3; j++) {
      ms[i][j] = ma[i][j] + mb[i][j];
    }
  }
  printf("\n\nA soma da Matriz A e da Matriz B: \n\n");
  for (i = 0; i < 4; i++) {
    for (j = 0; j < 4; j++)
      printf("%3.d\t", ms[i][j]);
    printf("\n\n");
  }
  printf("\n\n");
  printf("\n\nA diagonal secundária da Matriz A é: \n\n");
  for (m = 0; m < 4; m++) {
    for (n = 0; n < 4; n++)
      printf("%3.d\t", msa[m][n]);
    printf("\n\n");
  }
  printf("\n\n");
  for (m = 0; m <= 3; m++) {
    for (n = 0; n <= 3; n++) {
      mm[m][n] = ma[m][n] * mb[m][n];
    }
  }
  printf("\n\nA multiplicação da Matriz A e da Matriz B: \n\n");
  for (m = 0; m < 4; m++) {
    for (n = 0; n < 4; n++)
      printf("%3.d\t", mm[m][n]);
    printf("\n\n");
  }
  printf("\n\n");
  printf("A minha maior dificuldade foi fazer a matriz secundária, porém,  "
         "acabou que no final era apenas erro simples. Mas até descobrir...");
  printf(
      "\nJá que ainda não possuo muita segurança sobre a programação, decidi "
      "criar várias variáveis para denominar linhas e colunas ao invés de só "
      "duas. Creio que pude evitar problemas desnessessários.\n\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xec7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf06(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x154(%rbp)
cmpl   $0x3,-0x154(%rbp)
jg     1276 <main+0x156>
movl   $0x0,-0x158(%rbp)
cmpl   $0x3,-0x158(%rbp)
jg     125d <main+0x13d>
mov    -0x154(%rbp),%esi
add    $0x1,%esi
mov    -0x158(%rbp),%edx
add    $0x1,%edx
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x154(%rbp),%rax
lea    -0x50(%rbp),%rsi
shl    $0x4,%rax
add    %rax,%rsi
movslq -0x158(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xee7(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x158(%rbp),%eax
mov    $0x3,%ecx
sub    -0x154(%rbp),%ecx
cmp    %ecx,%eax
jne    1221 <main+0x101>
movslq -0x154(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x158(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x154(%rbp),%rcx
lea    -0x110(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x158(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
jmp    1244 <main+0x124>
movslq -0x154(%rbp),%rcx
lea    -0x110(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x158(%rbp),%rcx
movl   $0x0,(%rax,%rcx,4)
jmp    1249 <main+0x129>
mov    -0x158(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x158(%rbp)
jmp    116f <main+0x4f>
jmp    1262 <main+0x142>
mov    -0x154(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x154(%rbp)
jmp    1158 <main+0x38>
lea    0xe30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x15c(%rbp)
cmpl   $0x3,-0x15c(%rbp)
jg     132e <main+0x20e>
movl   $0x0,-0x160(%rbp)
cmpl   $0x3,-0x160(%rbp)
jg     1315 <main+0x1f5>
mov    -0x15c(%rbp),%esi
add    $0x1,%esi
mov    -0x160(%rbp),%edx
add    $0x1,%edx
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x15c(%rbp),%rax
lea    -0x90(%rbp),%rsi
shl    $0x4,%rax
add    %rax,%rsi
movslq -0x160(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdae(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x160(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x160(%rbp)
jmp    12a5 <main+0x185>
jmp    131a <main+0x1fa>
mov    -0x15c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x15c(%rbp)
jmp    128e <main+0x16e>
movl   $0x0,-0x164(%rbp)
cmpl   $0x3,-0x164(%rbp)
jg     13e3 <main+0x2c3>
movl   $0x0,-0x168(%rbp)
cmpl   $0x3,-0x168(%rbp)
jg     13ca <main+0x2aa>
movslq -0x164(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x168(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x164(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x168(%rbp),%rcx
add    (%rax,%rcx,4),%edx
movslq -0x164(%rbp),%rcx
lea    -0xd0(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x168(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x168(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x168(%rbp)
jmp    134f <main+0x22f>
jmp    13cf <main+0x2af>
mov    -0x164(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x164(%rbp)
jmp    1338 <main+0x218>
lea    0xd20(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x164(%rbp)
cmpl   $0x4,-0x164(%rbp)
jge    1482 <main+0x362>
movl   $0x0,-0x168(%rbp)
cmpl   $0x4,-0x168(%rbp)
jge    1460 <main+0x340>
movslq -0x164(%rbp),%rcx
lea    -0xd0(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x168(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xcec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x168(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x168(%rbp)
jmp    1412 <main+0x2f2>
lea    0xe80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x164(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x164(%rbp)
jmp    13fb <main+0x2db>
lea    0xe5e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xca0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x16c(%rbp)
cmpl   $0x4,-0x16c(%rbp)
jge    152f <main+0x40f>
movl   $0x0,-0x170(%rbp)
cmpl   $0x4,-0x170(%rbp)
jge    150d <main+0x3ed>
movslq -0x16c(%rbp),%rcx
lea    -0x110(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x170(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x170(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x170(%rbp)
jmp    14bf <main+0x39f>
lea    0xdd3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x16c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x16c(%rbp)
jmp    14a8 <main+0x388>
lea    0xdb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x16c(%rbp)
cmpl   $0x3,-0x16c(%rbp)
jg     15f3 <main+0x4d3>
movl   $0x0,-0x170(%rbp)
cmpl   $0x3,-0x170(%rbp)
jg     15da <main+0x4ba>
movslq -0x16c(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x170(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x16c(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x170(%rbp),%rcx
imul   (%rax,%rcx,4),%edx
movslq -0x16c(%rbp),%rcx
lea    -0x150(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x170(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x170(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x170(%rbp)
jmp    155e <main+0x43e>
jmp    15df <main+0x4bf>
mov    -0x16c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x16c(%rbp)
jmp    1547 <main+0x427>
lea    0xb69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x16c(%rbp)
cmpl   $0x4,-0x16c(%rbp)
jge    1692 <main+0x572>
movl   $0x0,-0x170(%rbp)
cmpl   $0x4,-0x170(%rbp)
jge    1670 <main+0x550>
movslq -0x16c(%rbp),%rcx
lea    -0x150(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x170(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xadc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x170(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x170(%rbp)
jmp    1622 <main+0x502>
lea    0xc70(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x16c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x16c(%rbp)
jmp    160b <main+0x4eb>
lea    0xc4e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xaee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xb66(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xf8,%rsp
lea    0xfa3(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe3(%rip),%rdi
call   1030 <puts@plt>
lea    0xea0(%rip),%r14
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb3(%rip),%r15
lea    0x30(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xb0(%rsp)
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x34(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xb4(%rsp)
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x38(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xb8(%rsp)
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    0x3c(%rsp),%eax
mov    %eax,0xbc(%rsp)
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x40(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xc0(%rsp)
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x44(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xc4(%rsp)
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x48(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    0x48(%rsp),%eax
mov    %eax,0xc8(%rsp)
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xcc(%rsp)
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x50(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xd0(%rsp)
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x54(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    0x54(%rsp),%eax
mov    %eax,0xd4(%rsp)
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x58(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xd8(%rsp)
mov    %r14,%rdi
mov    $0x3,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x5c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xdc(%rsp)
mov    %r14,%rdi
mov    $0x4,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x60(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    0x60(%rsp),%eax
mov    %eax,0xe0(%rsp)
mov    %r14,%rdi
mov    $0x4,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x64(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xe4(%rsp)
mov    %r14,%rdi
mov    $0x4,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x68(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xe8(%rsp)
mov    %r14,%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x6c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
movl   $0x0,0xec(%rsp)
lea    0xd37(%rip),%rdi
call   1030 <puts@plt>
lea    0xbf7(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x70(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x74(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x78(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x7c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x80(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x84(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x88(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x90(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x94(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x98(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x9c(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xa0(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xa4(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xa8(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xac(%rsp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    0x70(%rsp),%r15d
mov    0x74(%rsp),%r14d
add    0x30(%rsp),%r15d
add    0x34(%rsp),%r14d
mov    0x78(%rsp),%ebp
add    0x38(%rsp),%ebp
mov    0x7c(%rsp),%r13d
add    0x3c(%rsp),%r13d
mov    0x80(%rsp),%r12d
add    0x40(%rsp),%r12d
mov    0x84(%rsp),%eax
add    0x44(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0x88(%rsp),%eax
add    0x48(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    0x8c(%rsp),%eax
add    0x4c(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x90(%rsp),%eax
add    0x50(%rsp),%eax
mov    %eax,0x10(%rsp)
mov    0x94(%rsp),%eax
add    0x54(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x98(%rsp),%eax
add    0x58(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    0x9c(%rsp),%eax
add    0x5c(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    0xa0(%rsp),%eax
add    0x60(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0xa4(%rsp),%eax
add    0x64(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0xa8(%rsp),%eax
add    0x68(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    0xac(%rsp),%eax
add    0x6c(%rsp),%eax
mov    %eax,0x2c(%rsp)
lea    0xa46(%rip),%rdi
call   1030 <puts@plt>
lea    0x906(%rip),%rbx
mov    %rbx,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb4e(%rip),%rbp
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    0x10(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x14(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x18(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x1c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    0x20(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x24(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x28(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x2c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0x950(%rip),%rdi
call   1030 <puts@plt>
mov    0xb0(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xb4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xb8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xbc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    0xc0(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xcc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    0xd0(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xd4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xd8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xdc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    0xe0(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xe4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xe8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xec(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    0x70(%rsp),%r15d
mov    0x74(%rsp),%ebp
imul   0x30(%rsp),%r15d
imul   0x34(%rsp),%ebp
mov    0x78(%rsp),%r14d
imul   0x38(%rsp),%r14d
mov    0x7c(%rsp),%r13d
imul   0x3c(%rsp),%r13d
mov    0x80(%rsp),%r12d
imul   0x40(%rsp),%r12d
mov    0x84(%rsp),%eax
imul   0x44(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0x88(%rsp),%eax
imul   0x48(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    0x8c(%rsp),%eax
imul   0x4c(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x90(%rsp),%eax
imul   0x50(%rsp),%eax
mov    %eax,0x10(%rsp)
mov    0x94(%rsp),%eax
imul   0x54(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x98(%rsp),%eax
imul   0x58(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    0x9c(%rsp),%eax
imul   0x5c(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    0xa0(%rsp),%eax
imul   0x60(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0xa4(%rsp),%eax
imul   0x64(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0xa8(%rsp),%eax
imul   0x68(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    0xac(%rsp),%eax
imul   0x6c(%rsp),%eax
mov    %eax,0x2c(%rsp)
lea    0x74f(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x80d(%rip),%rbp
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    0x10(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x14(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x18(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x1c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
mov    0x20(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x24(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x28(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x2c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
call   1030 <puts@plt>
lea    0x4bb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x65d(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0xf8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [77 x i8] c"\0AOl\C3\A1. Meu nome \C3\A9 N\C3\ADcolas e minha matr\C3\ADcula da Unilasalle \C3\A9 0050013943!\0A\00"
@.str.1 = [47 x i8] c"\0AEntre com a matriz A de 4 linhas e 4 colunas\0A\00"
@.str.2 = [46 x i8] c"\0AMatriz A - Entre com a linha %d, coluna %d: \00"
@.str.3 = [3 x i8] c"%d\00"
@.str.4 = [47 x i8] c"\0AEntre com a matriz B de 4 linhas e 4 colunas\0A\00"
@.str.5 = [46 x i8] c"\0AMatriz B - Entre com a linha %d, coluna %d: \00"
@.str.6 = [39 x i8] c"\0A\0AA soma da Matriz A e da Matriz B: \0A\0A\00"
@.str.7 = [6 x i8] c"%3.d\09\00"
@.str.8 = [3 x i8] c"\0A\0A\00"
@.str.9 = [44 x i8] c"\0A\0AA diagonal secund\C3\A1ria da Matriz A \C3\A9: \0A\0A\00"
@.str.10 = [50 x i8] c"\0A\0AA multiplica\C3\A7\C3\A3o da Matriz A e da Matriz B: \0A\0A\00"
@.str.11 = [134 x i8] c"A minha maior dificuldade foi fazer a matriz secund\C3\A1ria, por\C3\A9m, acabou que no final era apenas erro simples. Mas at\C3\A9 descobrir...\00"
@.str.12 = [207 x i8] c"\0AJ\C3\A1 que ainda n\C3\A3o possuo muita seguran\C3\A7a sobre a programa\C3\A7\C3\A3o, decidi criar v\C3\A1rias vari\C3\A1veis para denominar linhas e colunas ao inv\C3\A9s de s\C3\B3 duas. Creio que pude evitar problemas desnessess\C3\A1rios.\0A\0A\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [4 x [4 x i32]]
%3 = alloca [4 x [4 x i32]]
%4 = alloca [4 x [4 x i32]]
%5 = alloca [4 x [4 x i32]]
%6 = alloca [4 x [4 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* %1
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %7
br label %19
19: ; preds = %69, %0
%20 = load i32, i32* %7
%21 = icmp sle i32 %20, 3
br i1 %21, label %22, label %72
22: ; preds = %19
store i32 0, i32* %8
br label %23
23: ; preds = %65, %22
%24 = load i32, i32* %8
%25 = icmp sle i32 %24, 3
br i1 %25, label %26, label %68
26: ; preds = %23
%27 = load i32, i32* %7
%28 = add nsw i32 %27, 1
%29 = load i32, i32* %8
%30 = add nsw i32 %29, 1
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 %28, i32 %30)
%32 = load i32, i32* %7
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %33
%35 = load i32, i32* %8
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4 x i32], [4 x i32]* %34, i64 0, i64 %36
%38 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %37)
%39 = load i32, i32* %8
%40 = load i32, i32* %7
%41 = sub nsw i32 3, %40
%42 = icmp eq i32 %39, %41
br i1 %42, label %43, label %57
43: ; preds = %26
%44 = load i32, i32* %7
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %45
%47 = load i32, i32* %8
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x i32], [4 x i32]* %46, i64 0, i64 %48
%50 = load i32, i32* %49
%51 = load i32, i32* %7
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %5, i64 0, i64 %52
%54 = load i32, i32* %8
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [4 x i32], [4 x i32]* %53, i64 0, i64 %55
store i32 %50, i32* %56
br label %64
57: ; preds = %26
%58 = load i32, i32* %7
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %5, i64 0, i64 %59
%61 = load i32, i32* %8
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [4 x i32], [4 x i32]* %60, i64 0, i64 %62
store i32 0, i32* %63
br label %64
64: ; preds = %57, %43
br label %65
65: ; preds = %64
%66 = load i32, i32* %8
%67 = add nsw i32 %66, 1
store i32 %67, i32* %8
br label %23
68: ; preds = %23
br label %69
69: ; preds = %68
%70 = load i32, i32* %7
%71 = add nsw i32 %70, 1
store i32 %71, i32* %7
br label %19
72: ; preds = %19
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %9
br label %74
74: ; preds = %98, %72
%75 = load i32, i32* %9
%76 = icmp sle i32 %75, 3
br i1 %76, label %77, label %101
77: ; preds = %74
store i32 0, i32* %10
br label %78
78: ; preds = %94, %77
%79 = load i32, i32* %10
%80 = icmp sle i32 %79, 3
br i1 %80, label %81, label %97
81: ; preds = %78
%82 = load i32, i32* %9
%83 = add nsw i32 %82, 1
%84 = load i32, i32* %10
%85 = add nsw i32 %84, 1
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 %83, i32 %85)
%87 = load i32, i32* %9
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 %88
%90 = load i32, i32* %10
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [4 x i32], [4 x i32]* %89, i64 0, i64 %91
%93 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %92)
br label %94
94: ; preds = %81
%95 = load i32, i32* %10
%96 = add nsw i32 %95, 1
store i32 %96, i32* %10
br label %78
97: ; preds = %78
br label %98
98: ; preds = %97
%99 = load i32, i32* %9
%100 = add nsw i32 %99, 1
store i32 %100, i32* %9
br label %74
101: ; preds = %74
store i32 0, i32* %11
br label %102
102: ; preds = %135, %101
%103 = load i32, i32* %11
%104 = icmp sle i32 %103, 3
br i1 %104, label %105, label %138
105: ; preds = %102
store i32 0, i32* %12
br label %106
106: ; preds = %131, %105
%107 = load i32, i32* %12
%108 = icmp sle i32 %107, 3
br i1 %108, label %109, label %134
109: ; preds = %106
%110 = load i32, i32* %11
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %111
%113 = load i32, i32* %12
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds [4 x i32], [4 x i32]* %112, i64 0, i64 %114
%116 = load i32, i32* %115
%117 = load i32, i32* %11
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 %118
%120 = load i32, i32* %12
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [4 x i32], [4 x i32]* %119, i64 0, i64 %121
%123 = load i32, i32* %122
%124 = add nsw i32 %116, %123
%125 = load i32, i32* %11
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %4, i64 0, i64 %126
%128 = load i32, i32* %12
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [4 x i32], [4 x i32]* %127, i64 0, i64 %129
store i32 %124, i32* %130
br label %131
131: ; preds = %109
%132 = load i32, i32* %12
%133 = add nsw i32 %132, 1
store i32 %133, i32* %12
br label %106
134: ; preds = %106
br label %135
135: ; preds = %134
%136 = load i32, i32* %11
%137 = add nsw i32 %136, 1
store i32 %137, i32* %11
br label %102
138: ; preds = %102
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
store i32 0, i32* %11
br label %140
140: ; preds = %161, %138
%141 = load i32, i32* %11
%142 = icmp slt i32 %141, 4
br i1 %142, label %143, label %164
143: ; preds = %140
store i32 0, i32* %12
br label %144
144: ; preds = %156, %143
%145 = load i32, i32* %12
%146 = icmp slt i32 %145, 4
br i1 %146, label %147, label %159
147: ; preds = %144
%148 = load i32, i32* %11
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %4, i64 0, i64 %149
%151 = load i32, i32* %12
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [4 x i32], [4 x i32]* %150, i64 0, i64 %152
%154 = load i32, i32* %153
%155 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %154)
br label %156
156: ; preds = %147
%157 = load i32, i32* %12
%158 = add nsw i32 %157, 1
store i32 %158, i32* %12
br label %144
159: ; preds = %144
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %161
161: ; preds = %159
%162 = load i32, i32* %11
%163 = add nsw i32 %162, 1
store i32 %163, i32* %11
br label %140
164: ; preds = %140
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %13
br label %167
167: ; preds = %188, %164
%168 = load i32, i32* %13
%169 = icmp slt i32 %168, 4
br i1 %169, label %170, label %191
170: ; preds = %167
store i32 0, i32* %14
br label %171
171: ; preds = %183, %170
%172 = load i32, i32* %14
%173 = icmp slt i32 %172, 4
br i1 %173, label %174, label %186
174: ; preds = %171
%175 = load i32, i32* %13
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %5, i64 0, i64 %176
%178 = load i32, i32* %14
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [4 x i32], [4 x i32]* %177, i64 0, i64 %179
%181 = load i32, i32* %180
%182 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %181)
br label %183
183: ; preds = %174
%184 = load i32, i32* %14
%185 = add nsw i32 %184, 1
store i32 %185, i32* %14
br label %171
186: ; preds = %171
%187 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %188
188: ; preds = %186
%189 = load i32, i32* %13
%190 = add nsw i32 %189, 1
store i32 %190, i32* %13
br label %167
191: ; preds = %167
%192 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
store i32 0, i32* %13
br label %193
193: ; preds = %226, %191
%194 = load i32, i32* %13
%195 = icmp sle i32 %194, 3
br i1 %195, label %196, label %229
196: ; preds = %193
store i32 0, i32* %14
br label %197
197: ; preds = %222, %196
%198 = load i32, i32* %14
%199 = icmp sle i32 %198, 3
br i1 %199, label %200, label %225
200: ; preds = %197
%201 = load i32, i32* %13
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 %202
%204 = load i32, i32* %14
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [4 x i32], [4 x i32]* %203, i64 0, i64 %205
%207 = load i32, i32* %206
%208 = load i32, i32* %13
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 %209
%211 = load i32, i32* %14
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [4 x i32], [4 x i32]* %210, i64 0, i64 %212
%214 = load i32, i32* %213
%215 = mul nsw i32 %207, %214
%216 = load i32, i32* %13
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %6, i64 0, i64 %217
%219 = load i32, i32* %14
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds [4 x i32], [4 x i32]* %218, i64 0, i64 %220
store i32 %215, i32* %221
br label %222
222: ; preds = %200
%223 = load i32, i32* %14
%224 = add nsw i32 %223, 1
store i32 %224, i32* %14
br label %197
225: ; preds = %197
br label %226
226: ; preds = %225
%227 = load i32, i32* %13
%228 = add nsw i32 %227, 1
store i32 %228, i32* %13
br label %193
229: ; preds = %193
%230 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0))
store i32 0, i32* %13
br label %231
231: ; preds = %252, %229
%232 = load i32, i32* %13
%233 = icmp slt i32 %232, 4
br i1 %233, label %234, label %255
234: ; preds = %231
store i32 0, i32* %14
br label %235
235: ; preds = %247, %234
%236 = load i32, i32* %14
%237 = icmp slt i32 %236, 4
br i1 %237, label %238, label %250
238: ; preds = %235
%239 = load i32, i32* %13
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %6, i64 0, i64 %240
%242 = load i32, i32* %14
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds [4 x i32], [4 x i32]* %241, i64 0, i64 %243
%245 = load i32, i32* %244
%246 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %245)
br label %247
247: ; preds = %238
%248 = load i32, i32* %14
%249 = add nsw i32 %248, 1
store i32 %249, i32* %14
br label %235
250: ; preds = %235
%251 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %252
252: ; preds = %250
%253 = load i32, i32* %13
%254 = add nsw i32 %253, 1
store i32 %254, i32* %13
br label %231
255: ; preds = %231
%256 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
%257 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([134 x i8], [134 x i8]* @.str.11, i64 0, i64 0))
%258 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([207 x i8], [207 x i8]* @.str.12, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [46 x i8] c"\0AMatriz A - Entre com a linha %d, coluna %d: \00"
@.str.3 = [3 x i8] c"%d\00"
@.str.5 = [46 x i8] c"\0AMatriz B - Entre com a linha %d, coluna %d: \00"
@.str.7 = [6 x i8] c"%3.d\09\00"
@.str.11 = [134 x i8] c"A minha maior dificuldade foi fazer a matriz secund\C3\A1ria, por\C3\A9m, acabou que no final era apenas erro simples. Mas at\C3\A9 descobrir...\00"
@str = [76 x i8] c"\0AOl\C3\A1. Meu nome \C3\A9 N\C3\ADcolas e minha matr\C3\ADcula da Unilasalle \C3\A9 0050013943!\00"
@str.13 = [46 x i8] c"\0AEntre com a matriz A de 4 linhas e 4 colunas\00"
@str.14 = [46 x i8] c"\0AEntre com a matriz B de 4 linhas e 4 colunas\00"
@str.15 = [38 x i8] c"\0A\0AA soma da Matriz A e da Matriz B: \0A\00"
@str.17 = [43 x i8] c"\0A\0AA diagonal secund\C3\A1ria da Matriz A \C3\A9: \0A\00"
@str.19 = [49 x i8] c"\0A\0AA multiplica\C3\A7\C3\A3o da Matriz A e da Matriz B: \0A\00"
@str.21 = [206 x i8] c"\0AJ\C3\A1 que ainda n\C3\A3o possuo muita seguran\C3\A7a sobre a programa\C3\A7\C3\A3o, decidi criar v\C3\A1rias vari\C3\A1veis para denominar linhas e colunas ao inv\C3\A9s de s\C3\B3 duas. Creio que pude evitar problemas desnessess\C3\A1rios.\0A\0A\00"
@str.24 = [2 x i8] c"\0A\00"
define i32 @main() {
%1 = alloca [4 x [4 x i32]]
%2 = alloca [4 x [4 x i32]]
%3 = alloca [4 x [4 x i32]]
%4 = bitcast [4 x [4 x i32]]* %1 to i8*
%5 = bitcast [4 x [4 x i32]]* %2 to i8*
%6 = bitcast [4 x [4 x i32]]* %3 to i8*
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.13, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 1)
%10 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 0, i64 0
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %10)
%12 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 0, i64 0
store i32 0, i32* %12
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 2)
%14 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 0, i64 1
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %14)
%16 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 0, i64 1
store i32 0, i32* %16
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 3)
%18 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 0, i64 2
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %18)
%20 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 0, i64 2
store i32 0, i32* %20
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 1, i32 4)
%22 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 0, i64 3
%23 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %22)
%24 = load i32, i32* %22
%25 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 0, i64 3
store i32 %24, i32* %25
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 1)
%27 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 0
%28 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %27)
%29 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 0
store i32 0, i32* %29
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 2)
%31 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 1
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %31)
%33 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 1
store i32 0, i32* %33
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 3)
%35 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 2
%36 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %35)
%37 = load i32, i32* %35
%38 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 2
store i32 %37, i32* %38
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 2, i32 4)
%40 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 3
%41 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %40)
%42 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 3
store i32 0, i32* %42
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 1)
%44 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 0
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %44)
%46 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 0
store i32 0, i32* %46
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 2)
%48 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 1
%49 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %48)
%50 = load i32, i32* %48
%51 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 1
store i32 %50, i32* %51
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 3)
%53 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 2
%54 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %53)
%55 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 2
store i32 0, i32* %55
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 3, i32 4)
%57 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 3
%58 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %57)
%59 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 3
store i32 0, i32* %59
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 1)
%61 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 0
%62 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %61)
%63 = load i32, i32* %61
%64 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 0
store i32 %63, i32* %64
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 2)
%66 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 1
%67 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %66)
%68 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 1
store i32 0, i32* %68
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 3)
%70 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 2
%71 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %70)
%72 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 2
store i32 0, i32* %72
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0), i32 4, i32 4)
%74 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 3
%75 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %74)
%76 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 3
store i32 0, i32* %76
%77 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.14, i64 0, i64 0))
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 1)
%79 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 0, i64 0
%80 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %79)
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 2)
%82 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 0, i64 1
%83 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %82)
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 3)
%85 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 0, i64 2
%86 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %85)
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 4)
%88 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 0, i64 3
%89 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %88)
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 2, i32 1)
%91 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 1, i64 0
%92 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %91)
%93 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 2, i32 2)
%94 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 1, i64 1
%95 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %94)
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 2, i32 3)
%97 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 1, i64 2
%98 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %97)
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 2, i32 4)
%100 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 1, i64 3
%101 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %100)
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 3, i32 1)
%103 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 2, i64 0
%104 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %103)
%105 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 3, i32 2)
%106 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 2, i64 1
%107 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %106)
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 3, i32 3)
%109 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 2, i64 2
%110 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %109)
%111 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 3, i32 4)
%112 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 2, i64 3
%113 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %112)
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 1)
%115 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 3, i64 0
%116 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %115)
%117 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 2)
%118 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 3, i64 1
%119 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %118)
%120 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 3)
%121 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 3, i64 2
%122 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %121)
%123 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 4)
%124 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %2, i64 0, i64 3, i64 3
%125 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32* %124)
%126 = load i32, i32* %10
%127 = load i32, i32* %79
%128 = add nsw i32 %127, %126
%129 = load i32, i32* %14
%130 = load i32, i32* %82
%131 = add nsw i32 %130, %129
%132 = load i32, i32* %18
%133 = load i32, i32* %85
%134 = add nsw i32 %133, %132
%135 = load i32, i32* %22
%136 = load i32, i32* %88
%137 = add nsw i32 %136, %135
%138 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 0
%139 = load i32, i32* %138
%140 = load i32, i32* %91
%141 = add nsw i32 %140, %139
%142 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 1
%143 = load i32, i32* %142
%144 = load i32, i32* %94
%145 = add nsw i32 %144, %143
%146 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 2
%147 = load i32, i32* %146
%148 = load i32, i32* %97
%149 = add nsw i32 %148, %147
%150 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 1, i64 3
%151 = load i32, i32* %150
%152 = load i32, i32* %100
%153 = add nsw i32 %152, %151
%154 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 0
%155 = load i32, i32* %154
%156 = load i32, i32* %103
%157 = add nsw i32 %156, %155
%158 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 1
%159 = load i32, i32* %158
%160 = load i32, i32* %106
%161 = add nsw i32 %160, %159
%162 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 2
%163 = load i32, i32* %162
%164 = load i32, i32* %109
%165 = add nsw i32 %164, %163
%166 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 2, i64 3
%167 = load i32, i32* %166
%168 = load i32, i32* %112
%169 = add nsw i32 %168, %167
%170 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 0
%171 = load i32, i32* %170
%172 = load i32, i32* %115
%173 = add nsw i32 %172, %171
%174 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 1
%175 = load i32, i32* %174
%176 = load i32, i32* %118
%177 = add nsw i32 %176, %175
%178 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 2
%179 = load i32, i32* %178
%180 = load i32, i32* %121
%181 = add nsw i32 %180, %179
%182 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %1, i64 0, i64 3, i64 3
%183 = load i32, i32* %182
%184 = load i32, i32* %124
%185 = add nsw i32 %184, %183
%186 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.15, i64 0, i64 0))
%187 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %128)
%188 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %131)
%189 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %134)
%190 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %137)
%191 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%192 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %141)
%193 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %145)
%194 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %149)
%195 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %153)
%196 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%197 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %157)
%198 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %161)
%199 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %165)
%200 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %169)
%201 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%202 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %173)
%203 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %177)
%204 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %181)
%205 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %185)
%206 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%207 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%208 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.17, i64 0, i64 0))
%209 = load i32, i32* %12
%210 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %209)
%211 = load i32, i32* %16
%212 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %211)
%213 = load i32, i32* %20
%214 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %213)
%215 = load i32, i32* %25
%216 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %215)
%217 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%218 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 0
%219 = load i32, i32* %218
%220 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %219)
%221 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 1
%222 = load i32, i32* %221
%223 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %222)
%224 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 2
%225 = load i32, i32* %224
%226 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %225)
%227 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 1, i64 3
%228 = load i32, i32* %227
%229 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %228)
%230 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%231 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 0
%232 = load i32, i32* %231
%233 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %232)
%234 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 1
%235 = load i32, i32* %234
%236 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %235)
%237 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 2
%238 = load i32, i32* %237
%239 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %238)
%240 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 2, i64 3
%241 = load i32, i32* %240
%242 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %241)
%243 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%244 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 0
%245 = load i32, i32* %244
%246 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %245)
%247 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 1
%248 = load i32, i32* %247
%249 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %248)
%250 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 2
%251 = load i32, i32* %250
%252 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %251)
%253 = getelementptr inbounds [4 x [4 x i32]], [4 x [4 x i32]]* %3, i64 0, i64 3, i64 3
%254 = load i32, i32* %253
%255 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %254)
%256 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%257 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%258 = load i32, i32* %10
%259 = load i32, i32* %79
%260 = mul nsw i32 %259, %258
%261 = load i32, i32* %14
%262 = load i32, i32* %82
%263 = mul nsw i32 %262, %261
%264 = load i32, i32* %18
%265 = load i32, i32* %85
%266 = mul nsw i32 %265, %264
%267 = load i32, i32* %22
%268 = load i32, i32* %88
%269 = mul nsw i32 %268, %267
%270 = load i32, i32* %138
%271 = load i32, i32* %91
%272 = mul nsw i32 %271, %270
%273 = load i32, i32* %142
%274 = load i32, i32* %94
%275 = mul nsw i32 %274, %273
%276 = load i32, i32* %146
%277 = load i32, i32* %97
%278 = mul nsw i32 %277, %276
%279 = load i32, i32* %150
%280 = load i32, i32* %100
%281 = mul nsw i32 %280, %279
%282 = load i32, i32* %154
%283 = load i32, i32* %103
%284 = mul nsw i32 %283, %282
%285 = load i32, i32* %158
%286 = load i32, i32* %106
%287 = mul nsw i32 %286, %285
%288 = load i32, i32* %162
%289 = load i32, i32* %109
%290 = mul nsw i32 %289, %288
%291 = load i32, i32* %166
%292 = load i32, i32* %112
%293 = mul nsw i32 %292, %291
%294 = load i32, i32* %170
%295 = load i32, i32* %115
%296 = mul nsw i32 %295, %294
%297 = load i32, i32* %174
%298 = load i32, i32* %118
%299 = mul nsw i32 %298, %297
%300 = load i32, i32* %178
%301 = load i32, i32* %121
%302 = mul nsw i32 %301, %300
%303 = load i32, i32* %182
%304 = load i32, i32* %124
%305 = mul nsw i32 %304, %303
%306 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.19, i64 0, i64 0))
%307 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %260)
%308 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %263)
%309 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %266)
%310 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %269)
%311 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%312 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %272)
%313 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %275)
%314 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %278)
%315 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %281)
%316 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%317 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %284)
%318 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %287)
%319 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %290)
%320 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %293)
%321 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%322 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %296)
%323 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %299)
%324 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %302)
%325 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %305)
%326 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%327 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.24, i64 0, i64 0))
%328 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([134 x i8], [134 x i8]* @.str.11, i64 0, i64 0))
%329 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([206 x i8], [206 x i8]* @str.21, i64 0, i64 0))
ret i32 0
}