#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 atoi(char *);
double dwalltime();
int /*<<< orphan*/ free(double *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
main(int argc, char *argv[]) {
  double *A, *B, *C, *D, *ab, *cd, *tot;
  int i, j, k, N;
  int check = 1;
  double timetick;
  if (argc < 2) {
    printf("\n Falta un argumento:: N dimension de la matriz \n");
    return 0;
  }
  N = atoi(argv[1]);
  A = (double *)malloc(sizeof(double) * N * N);
  B = (double *)malloc(sizeof(double) * N * N);
  C = (double *)malloc(sizeof(double) * N * N);
  D = (double *)malloc(sizeof(double) * N * N);
  ab = (double *)malloc(sizeof(double) * N * N);
  cd = (double *)malloc(sizeof(double) * N * N);
  tot = (double *)malloc(sizeof(double) * N * N);
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      A[i * N + j] = 1;
      B[i + j * N] = 1;
      C[i * N + j] = 1;
      D[i + j * N] = 1;
    }
  }
  timetick = dwalltime();
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      ab[i * N + j] = 0;
      for (k = 0; k < N; k++) {
        ab[i * N + j] = ab[i * N + j] + A[i * N + k] * B[k + j * N];
      }
    }
  }
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      cd[i * N + j] = 0;
      for (k = 0; k < N; k++) {
        cd[i * N + j] = cd[i * N + j] + C[i * N + k] * D[k + j * N];
      }
    }
  }
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      tot[i * N + j] = cd[i * N + j] + ab[i * N + j];
    }
  }
  printf("Tiempo en segundos %f \n", dwalltime() - timetick);
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      check = check && (tot[i * N + j] == N * 2);
    }
  }
  if (check) {
    printf("Multiplicacion de matrices resultado correcto\n");
  } else {
    printf("Multiplicacion de matrices resultado erroneo\n");
  }
  free(A);
  free(B);
  free(C);
  free(D);
  free(ab);
  free(cd);
  free(tot);
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x5c(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1191 <main+0x41>
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4(%rbp)
jmp    16a1 <main+0x551>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1070 <atoi@plt>
mov    %eax,-0x58(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x18(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x20(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x28(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x30(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x38(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x40(%rbp)
movslq -0x58(%rbp),%rax
shl    $0x3,%rax
movslq -0x58(%rbp),%rcx
imul   %rcx,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1321 <main+0x1d1>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    130e <main+0x1be>
mov    -0x18(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  0xd63(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
mov    -0x4c(%rbp),%ecx
mov    -0x50(%rbp),%edx
imul   -0x58(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  0xd43(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  0xd25(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    -0x4c(%rbp),%ecx
mov    -0x50(%rbp),%edx
imul   -0x58(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  0xd05(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1278 <main+0x128>
jmp    1313 <main+0x1c3>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1265 <main+0x115>
mov    $0x0,%al
call   1050 <dwalltime@plt>
movsd  %xmm0,-0x68(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1415 <main+0x2c5>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1402 <main+0x2b2>
mov    -0x38(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    13ef <main+0x29f>
mov    -0x38(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x18(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x54(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x54(%rbp),%ecx
mov    -0x50(%rbp),%edx
imul   -0x58(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x38(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1373 <main+0x223>
jmp    13f4 <main+0x2a4>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1347 <main+0x1f7>
jmp    1407 <main+0x2b7>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1334 <main+0x1e4>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    14fd <main+0x3ad>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    14ea <main+0x39a>
mov    -0x40(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    14d7 <main+0x387>
mov    -0x40(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x28(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x54(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x54(%rbp),%ecx
mov    -0x50(%rbp),%edx
imul   -0x58(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x40(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    145b <main+0x30b>
jmp    14dc <main+0x38c>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    142f <main+0x2df>
jmp    14ef <main+0x39f>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    141c <main+0x2cc>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1586 <main+0x436>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1573 <main+0x423>
mov    -0x40(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    -0x48(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1517 <main+0x3c7>
jmp    1578 <main+0x428>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1504 <main+0x3b4>
mov    $0x0,%al
call   1050 <dwalltime@plt>
subsd  -0x68(%rbp),%xmm0
lea    0xaa1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    1630 <main+0x4e0>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x58(%rbp),%eax
jge    161d <main+0x4cd>
xor    %eax,%eax
cmpl   $0x0,-0x5c(%rbp)
mov    %al,-0x69(%rbp)
je     1604 <main+0x4b4>
mov    -0x48(%rbp),%rax
mov    -0x4c(%rbp),%ecx
imul   -0x58(%rbp),%ecx
add    -0x50(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x58(%rbp),%eax
shl    $0x1,%eax
cvtsi2sd %eax,%xmm1
ucomisd %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
mov    %al,-0x69(%rbp)
mov    -0x69(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0x5c(%rbp)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    15ba <main+0x46a>
jmp    1622 <main+0x4d2>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    15a7 <main+0x457>
cmpl   $0x0,-0x5c(%rbp)
je     164d <main+0x4fd>
lea    0xa11(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    165b <main+0x50b>
lea    0xa2d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
mov    -0x40(%rbp),%rdi
call   1030 <free@plt>
mov    -0x48(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
cmp    $0x1,%edi
jg     1187 <main+0x27>
lea    0xef6(%rip),%rdi
call   1040 <puts@plt>
jmp    19ab <main+0x84b>
mov    0x8(%rsi),%rdi
call   1080 <atoi@plt>
mov    %eax,%ebp
mov    %eax,%r15d
imul   %eax,%r15d
shl    $0x3,%r15d
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,%r13
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,%r14
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,%r12
mov    %r15d,%edi
call   1070 <malloc@plt>
mov    %rax,0x8(%rsp)
test   %ebp,%ebp
mov    %rbp,0x28(%rsp)
mov    %rbx,0x10(%rsp)
jle    154f <main+0x3ef>
mov    %ebp,%r15d
lea    -0x1(%r15),%rax
mov    %rax,0x38(%rsp)
mov    %r15d,%r8d
and    $0xfffffffe,%r8d
mov    0x18(%rsp),%rax
lea    0x8(%rax),%rcx
lea    0x0(,%r15,8),%rbp
mov    %r13,0x48(%rsp)
lea    0x8(%r13),%rdx
lea    (%rbx,%r15,8),%r11
mov    %r15,%r10
shl    $0x4,%r10
mov    0x20(%rsp),%r13
lea    0x0(,%r15,8),%rax
add    %r13,%rax
xor    %esi,%esi
mov    %rsi,(%rsp)
movabs $0x3ff0000000000000,%rdi
mov    %rbx,%rsi
mov    %rbp,%rbx
mov    %rbp,0x30(%rsp)
jmp    129e <main+0x13e>
nopw   0x0(%rax,%rax,1)
mov    (%rsp),%r9
add    $0x1,%r9
add    %rbx,%rcx
add    %rbx,%rdx
add    $0x8,%r11
add    $0x8,%rax
add    $0x8,%r13
add    $0x8,%rsi
mov    %r9,%rbp
mov    %r9,(%rsp)
cmp    %r15,%r9
je     1342 <main+0x1e2>
cmpq   $0x0,0x38(%rsp)
je     12f0 <main+0x190>
xor    %ebp,%ebp
xor    %r9d,%r9d
nopl   0x0(%rax,%rax,1)
mov    %rdi,-0x8(%rdx,%r9,8)
mov    %rdi,0x0(%r13,%rbp,1)
mov    %rdi,-0x8(%rcx,%r9,8)
mov    %rdi,(%rsi,%rbp,1)
mov    %rdi,(%rdx,%r9,8)
mov    %rdi,(%rax,%rbp,1)
mov    %rdi,(%rcx,%r9,8)
mov    %rdi,(%r11,%rbp,1)
add    $0x2,%r9
add    %r10,%rbp
cmp    %r9,%r8
jne    12b0 <main+0x150>
test   $0x1,%r15b
je     1270 <main+0x110>
jmp    12fd <main+0x19d>
nopw   0x0(%rax,%rax,1)
xor    %r9d,%r9d
test   $0x1,%r15b
je     1270 <main+0x110>
mov    (%rsp),%rbp
mov    %rbp,(%rsp)
imul   %r15,%rbp
add    %r9,%rbp
mov    0x48(%rsp),%rbx
mov    %rdi,(%rbx,%rbp,8)
imul   %r15,%r9
add    (%rsp),%r9
mov    0x20(%rsp),%rbx
mov    %rdi,(%rbx,%r9,8)
mov    0x18(%rsp),%rbx
mov    %rdi,(%rbx,%rbp,8)
mov    0x10(%rsp),%rbx
mov    %rdi,(%rbx,%r9,8)
mov    0x30(%rsp),%rbx
jmp    1270 <main+0x110>
xor    %eax,%eax
call   1060 <dwalltime@plt>
movapd %xmm0,%xmm3
cmpl   $0x0,0x28(%rsp)
mov    0x48(%rsp),%r13
movsd  %xmm0,0x40(%rsp)
jle    1806 <main+0x6a6>
mov    %r15d,%eax
and    $0xfffffffe,%eax
mov    %r13,%rcx
add    $0x8,%rcx
mov    0x20(%rsp),%r8
add    $0x8,%r8
xor    %r9d,%r9d
jmp    1390 <main+0x230>
xchg   %ax,%ax
add    $0x1,%r9
add    %rbx,%rcx
cmp    %r15,%r9
je     144f <main+0x2ef>
mov    %r9,%r10
imul   %r15,%r10
mov    %r8,%rdx
xor    %r11d,%r11d
jmp    13ac <main+0x24c>
nop
add    $0x1,%r11
add    %rbx,%rdx
cmp    %r15,%r11
je     1380 <main+0x220>
lea    (%r11,%r10,1),%rdi
movq   $0x0,(%r14,%rdi,8)
cmpq   $0x0,0x38(%rsp)
je     1410 <main+0x2b0>
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
movsd  -0x8(%rcx,%rbp,8),%xmm1
mulsd  -0x8(%rdx,%rbp,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r14,%rdi,8)
movsd  (%rcx,%rbp,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r14,%rdi,8)
add    $0x2,%rbp
cmp    %rbp,%rax
jne    13d0 <main+0x270>
test   $0x1,%r15b
je     13a0 <main+0x240>
jmp    141c <main+0x2bc>
nopl   0x0(%rax,%rax,1)
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
test   $0x1,%r15b
je     13a0 <main+0x240>
mov    %r11,%rsi
imul   %r15,%rsi
lea    (%r10,%rbp,1),%rbx
movsd  0x0(%r13,%rbx,8),%xmm1
add    %rbp,%rsi
mov    0x20(%rsp),%rbx
mulsd  (%rbx,%rsi,8),%xmm1
mov    0x30(%rsp),%rbx
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r14,%rdi,8)
jmp    13a0 <main+0x240>
cmpl   $0x0,0x28(%rsp)
jle    1806 <main+0x6a6>
mov    %r15d,%eax
and    $0xfffffffe,%eax
mov    0x18(%rsp),%rcx
add    $0x8,%rcx
mov    0x10(%rsp),%rdx
add    $0x8,%rdx
mov    %rdx,(%rsp)
xor    %r9d,%r9d
mov    0x18(%rsp),%r8
jmp    1490 <main+0x330>
add    $0x1,%r9
add    %rbx,%rcx
cmp    %r15,%r9
je     1561 <main+0x401>
mov    %r9,%r10
imul   %r15,%r10
mov    (%rsp),%rdx
xor    %r11d,%r11d
jmp    14ac <main+0x34c>
add    $0x1,%r11
add    %rbx,%rdx
cmp    %r15,%r11
je     1480 <main+0x320>
lea    (%r11,%r10,1),%rdi
movq   $0x0,(%r12,%rdi,8)
cmpq   $0x0,0x38(%rsp)
je     1510 <main+0x3b0>
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
movsd  -0x8(%rcx,%rbp,8),%xmm1
mulsd  -0x8(%rdx,%rbp,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r12,%rdi,8)
movsd  (%rcx,%rbp,8),%xmm0
mulsd  (%rdx,%rbp,8),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r12,%rdi,8)
add    $0x2,%rbp
cmp    %rbp,%rax
jne    14d0 <main+0x370>
test   $0x1,%r15b
je     14a0 <main+0x340>
jmp    151c <main+0x3bc>
nopl   0x0(%rax,%rax,1)
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
test   $0x1,%r15b
je     14a0 <main+0x340>
mov    %r11,%rsi
imul   %r15,%rsi
lea    (%r10,%rbp,1),%rbx
movsd  (%r8,%rbx,8),%xmm1
mov    0x30(%rsp),%rbx
add    %rbp,%rsi
mov    0x10(%rsp),%rbp
mulsd  0x0(%rbp,%rsi,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r12,%rdi,8)
jmp    14a0 <main+0x340>
xor    %eax,%eax
call   1060 <dwalltime@plt>
movsd  %xmm0,0x40(%rsp)
jmp    1841 <main+0x6e1>
cmpl   $0x0,0x28(%rsp)
jle    1806 <main+0x6a6>
mov    %r15d,%eax
and    $0xfffffffc,%eax
mov    %rax,0x78(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x70(%rsp)
mov    %rax,%rcx
shr    $0x2,%rcx
add    $0x1,%rcx
mov    %rcx,%rax
mov    %rcx,0x68(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x60(%rsp)
mov    %r15,%rax
neg    %rax
mov    %rax,0x80(%rsp)
mov    0x8(%rsp),%r11
lea    0x30(%r11),%r13
lea    0x0(,%r15,8),%r10
lea    0x30(%r14),%rdx
lea    0x30(%r12),%rax
lea    0x8(%r12),%rdi
lea    0x8(%r14),%rcx
lea    0x8(%r11),%r8
xor    %r9d,%r9d
mov    %r10,0x50(%rsp)
jmp    15ff <main+0x49f>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r9
add    %r10,%r13
add    %r10,%rdx
add    %r10,%rax
add    %r10,%rdi
add    %r10,%rcx
add    %r10,%r8
cmp    %r15,%r9
je     183c <main+0x6dc>
mov    %r9,%rbx
imul   %r15,%rbx
cmpl   $0x4,0x28(%rsp)
jae    1690 <main+0x530>
xor    %ebp,%ebp
mov    %rbp,%rsi
test   $0x1,%r15b
je     1638 <main+0x4d8>
add    %rbp,%rbx
movsd  (%r12,%rbx,8),%xmm0
addsd  (%r14,%rbx,8),%xmm0
movsd  %xmm0,(%r11,%rbx,8)
mov    %rbp,%rsi
or     $0x1,%rsi
not    %rbp
cmp    0x80(%rsp),%rbp
je     15e0 <main+0x480>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  -0x8(%rdi,%rsi,8),%xmm0
addsd  -0x8(%rcx,%rsi,8),%xmm0
movsd  %xmm0,-0x8(%r8,%rsi,8)
movsd  (%rdi,%rsi,8),%xmm0
addsd  (%rcx,%rsi,8),%xmm0
movsd  %xmm0,(%r8,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%r15
jne    1650 <main+0x4f0>
jmp    15e0 <main+0x480>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %rbx,(%rsp)
mov    %r9,0x58(%rsp)
mov    %r9,%rsi
imul   %r15,%rsi
lea    (%rsi,%r15,1),%rbp
lea    (%r11,%rsi,8),%r9
lea    (%r11,%rbp,8),%r11
lea    (%r14,%rbp,8),%rbx
mov    %rbx,0x30(%rsp)
lea    (%r14,%rsi,8),%r10
mov    %r10,0x38(%rsp)
lea    (%r12,%rbp,8),%rbp
lea    (%r12,%rsi,8),%rsi
cmp    %rbp,%r9
setb   %bl
cmp    %r11,%rsi
setb   %bpl
cmp    0x30(%rsp),%r9
setb   %sil
cmp    %r11,0x38(%rsp)
setb   %r11b
test   %bpl,%bl
jne    1796 <main+0x636>
mov    $0x0,%ebp
and    %r11b,%sil
mov    0x8(%rsp),%r11
mov    0x50(%rsp),%r10
mov    (%rsp),%rbx
mov    0x58(%rsp),%r9
jne    1613 <main+0x4b3>
cmpq   $0x0,0x70(%rsp)
je     17b0 <main+0x650>
mov    0x60(%rsp),%r11
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd -0x30(%rax,%rsi,8),%xmm0
movupd -0x20(%rax,%rsi,8),%xmm1
movupd -0x30(%rdx,%rsi,8),%xmm2
addpd  %xmm0,%xmm2
movupd -0x20(%rdx,%rsi,8),%xmm0
addpd  %xmm1,%xmm0
movupd %xmm2,-0x30(%r13,%rsi,8)
movupd %xmm0,-0x20(%r13,%rsi,8)
movupd -0x10(%rax,%rsi,8),%xmm0
movupd (%rax,%rsi,8),%xmm1
movupd -0x10(%rdx,%rsi,8),%xmm2
addpd  %xmm0,%xmm2
movupd (%rdx,%rsi,8),%xmm0
addpd  %xmm1,%xmm0
movupd %xmm2,-0x10(%r13,%rsi,8)
movupd %xmm0,0x0(%r13,%rsi,8)
add    $0x8,%rsi
add    $0xfffffffffffffffe,%r11
jne    1730 <main+0x5d0>
jmp    17b2 <main+0x652>
xor    %ebp,%ebp
mov    0x8(%rsp),%r11
mov    0x50(%rsp),%r10
mov    (%rsp),%rbx
mov    0x58(%rsp),%r9
jmp    1613 <main+0x4b3>
xor    %esi,%esi
testb  $0x1,0x68(%rsp)
mov    0x8(%rsp),%r11
je     17f0 <main+0x690>
add    %rbx,%rsi
movupd (%r12,%rsi,8),%xmm0
movupd 0x10(%r12,%rsi,8),%xmm1
movupd (%r14,%rsi,8),%xmm2
addpd  %xmm0,%xmm2
movupd 0x10(%r14,%rsi,8),%xmm0
addpd  %xmm1,%xmm0
movupd %xmm2,(%r11,%rsi,8)
movupd %xmm0,0x10(%r11,%rsi,8)
mov    0x78(%rsp),%rsi
mov    %rsi,%rbp
cmp    %r15,%rsi
je     15e0 <main+0x480>
jmp    1613 <main+0x4b3>
xor    %eax,%eax
call   1060 <dwalltime@plt>
subsd  0x40(%rsp),%xmm0
lea    0x7e6(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
lea    0x81d(%rip),%rdi
mov    0x20(%rsp),%r15
mov    0x18(%rsp),%rbx
mov    0x10(%rsp),%rbp
jmp    196c <main+0x80c>
mov    0x48(%rsp),%r13
xor    %eax,%eax
call   1060 <dwalltime@plt>
subsd  0x40(%rsp),%xmm0
lea    0x7ab(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    0x28(%rsp),%rbx
test   %ebx,%ebx
mov    0x20(%rsp),%r15
mov    0x18(%rsp),%r11
mov    0x10(%rsp),%rbp
jle    1962 <main+0x802>
lea    (%rbx,%rbx,1),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mov    %ebx,%r9d
mov    %r9d,%ecx
and    $0xfffffffe,%ecx
mov    0x8(%rsp),%rbp
mov    %rbp,%rdx
add    $0x8,%rdx
lea    0x0(,%r9,8),%r8
mov    $0x1,%edi
xor    %r10d,%r10d
jmp    18dd <main+0x77d>
nopl   0x0(%rax)
mov    %r10,%rsi
imul   %r9,%rsi
add    %rsi,%rax
movsd  0x0(%rbp,%rax,8),%xmm1
cmpeqsd %xmm0,%xmm1
movq   %xmm1,%rsi
and    $0x1,%esi
movzbl %sil,%edi
add    $0x1,%r10
add    %r8,%rdx
cmp    %r9,%r10
je     1945 <main+0x7e5>
cmp    $0x1,%ebx
jne    1900 <main+0x7a0>
xor    %eax,%eax
test   $0x1,%r9b
je     18d1 <main+0x771>
test   %edi,%edi
jne    18b0 <main+0x750>
xor    %esi,%esi
jmp    18cd <main+0x76d>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
xor    %eax,%eax
jmp    191f <main+0x7bf>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %esi,%esi
movzbl %sil,%edi
add    $0x2,%rax
cmp    %rax,%rcx
je     18e4 <main+0x784>
test   %edi,%edi
je     1910 <main+0x7b0>
movsd  -0x8(%rdx,%rax,8),%xmm1
ucomisd %xmm0,%xmm1
jne    1910 <main+0x7b0>
jp     1910 <main+0x7b0>
movsd  (%rdx,%rax,8),%xmm1
cmpeqsd %xmm0,%xmm1
movq   %xmm1,%rsi
and    $0x1,%esi
jmp    1912 <main+0x7b2>
lea    0x6f9(%rip),%rax
lea    0x6c5(%rip),%rdi
test   $0x1,%sil
cmovne %rax,%rdi
mov    0x10(%rsp),%rbp
jmp    1969 <main+0x809>
lea    0x6dc(%rip),%rdi
mov    %r11,%rbx
call   1040 <puts@plt>
mov    %r13,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
mov    0x8(%rsp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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