int main(int argc, char **argv) {
  unsigned int N, i, j, k;
  if (argc < 2) {
    printf("Faltan no componentes del vector\n");
    exit(-1);
  }
  N = atoi(argv[1]);
  double **matrizA, **matrizC, **matrizB;
  matrizB = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    matrizB[i] = (double *)malloc(N * sizeof(double));
  matrizC = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    matrizC[i] = (double *)malloc(N * sizeof(double));
  matrizA = (double **)malloc(N * sizeof(double *));
  for (i = 0; i < N; i++)
    matrizA[i] = (double *)malloc(N * sizeof(double));
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      matrizB[i][j] = 2;
      matrizC[i][j] = 1;
    }
  }
  for (i = 0; i < N; i++) {
    for (j = 0; j < N; j++) {
      matrizA[i][j] = 0;
      for (k = 0; k < N; k++) {
        matrizA[i][j] += matrizB[i][k] * matrizC[k][j];
      }
    }
  }
  printf("Tamaño Vectores:%u\n", N);
  printf("Primer componente del vector resultado [%f] y el ultimo componente "
         "del vector resultado [%f]\n",
         matrizA[0][0], matrizA[N - 1][N - 1]);
  for (i = 0; i < N; i++)
    free(matrizB[i]);
  free(matrizB);
  for (i = 0; i < N; i++)
    free(matrizC[i]);
  free(matrizC);
  for (i = 0; i < N; i++)
    free(matrizA[i]);
  free(matrizA);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1188 <main+0x38>
lea    0xe99(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    $0xffffffff,%edi
call   1070 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
mov    $0x0,%al
call   1060 <atoi@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,%edi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    11e9 <main+0x99>
mov    -0x14(%rbp),%eax
mov    %eax,%edi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11b3 <main+0x63>
mov    -0x14(%rbp),%eax
mov    %eax,%edi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    1238 <main+0xe8>
mov    -0x14(%rbp),%eax
mov    %eax,%edi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x30(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1202 <main+0xb2>
mov    -0x14(%rbp),%eax
mov    %eax,%edi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    1287 <main+0x137>
mov    -0x14(%rbp),%eax
mov    %eax,%edi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1251 <main+0x101>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    1304 <main+0x1b4>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    12f1 <main+0x1a1>
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  0xd45(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  0xd22(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12a1 <main+0x151>
jmp    12f6 <main+0x1a6>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    128e <main+0x13e>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    13cd <main+0x27d>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    13ba <main+0x26a>
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    13a7 <main+0x257>
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x20(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
mov    -0x20(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x1c(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1347 <main+0x1f7>
jmp    13ac <main+0x25c>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    131e <main+0x1ce>
jmp    13bf <main+0x26f>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    130b <main+0x1bb>
mov    -0x14(%rbp),%esi
lea    0xc5b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x28(%rbp),%rax
mov    (%rax),%rax
movsd  (%rax),%xmm0
mov    -0x28(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
movsd  (%rax,%rcx,8),%xmm1
lea    0xc3a(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    1445 <main+0x2f5>
mov    -0x38(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    141b <main+0x2cb>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    147f <main+0x32f>
mov    -0x30(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1455 <main+0x305>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jae    14b9 <main+0x369>
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <free@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    148f <main+0x33f>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
mov    -0x4(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
cmp    $0x1,%edi
jle    1608 <main+0x4a8>
mov    0x8(%rsi),%rdi
xor    %eax,%eax
call   1070 <atoi@plt>
mov    %eax,%ebx
mov    %eax,%r15d
lea    0x0(,%r15,8),%r13
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,%r14
test   %ebx,%ebx
je     1455 <main+0x2f5>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,(%r14,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r15
jne    11b0 <main+0x50>
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,%rbx
test   %r15,%r15
je     1460 <main+0x300>
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,(%rbx,%rbp,8)
add    $0x1,%rbp
cmp    %rbp,%r15
jne    11e0 <main+0x80>
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,%r12
test   %r15,%r15
je     146b <main+0x30b>
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,(%r12,%rbp,8)
add    $0x1,%rbp
cmp    %rbp,%r15
jne    1210 <main+0xb0>
test   %r15,%r15
je     146b <main+0x30b>
mov    %r15d,%eax
and    $0xfffffffc,%eax
mov    %rax,0x20(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x18(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
lea    -0x1(%r15),%r13
mov    %eax,%r10d
and    $0x3,%r10d
and    $0xfffffffffffffffc,%rax
mov    %rax,0x8(%rsp)
mov    %r15d,%eax
and    $0x3,%eax
mov    %r10,0x10(%rsp)
shl    $0x5,%r10
xor    %r9d,%r9d
movabs $0x4000000000000000,%rcx
movabs $0x3ff0000000000000,%rdx
movapd 0xd74(%rip),%xmm0
movapd 0xd7c(%rip),%xmm1
mov    %r12,(%rsp)
jmp    12ad <main+0x14d>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r9
cmp    %r15,%r9
je     1555 <main+0x3f5>
mov    (%r14,%r9,8),%rbp
mov    (%rbx,%r9,8),%r8
cmp    $0x4,%r15d
jae    12d0 <main+0x170>
xor    %r11d,%r11d
jmp    13f0 <main+0x290>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rax,%r12
lea    (%r8,%r15,8),%rax
cmp    %rax,%rbp
jae    1300 <main+0x1a0>
lea    0x0(,%r15,8),%rax
add    %rbp,%rax
cmp    %rax,%r8
jae    1300 <main+0x1a0>
xor    %r11d,%r11d
mov    %r12,%rax
mov    (%rsp),%r12
jmp    13f0 <main+0x290>
nopl   0x0(%rax,%rax,1)
cmpq   $0xc,0x18(%rsp)
jae    130f <main+0x1af>
xor    %edi,%edi
jmp    1391 <main+0x231>
mov    0x8(%rsp),%rsi
xor    %edi,%edi
cs nopw 0x0(%rax,%rax,1)
movupd %xmm0,0x0(%rbp,%rdi,8)
movupd %xmm0,0x10(%rbp,%rdi,8)
movupd %xmm1,(%r8,%rdi,8)
movupd %xmm1,0x10(%r8,%rdi,8)
movupd %xmm0,0x20(%rbp,%rdi,8)
movupd %xmm0,0x30(%rbp,%rdi,8)
movupd %xmm1,0x20(%r8,%rdi,8)
movupd %xmm1,0x30(%r8,%rdi,8)
movupd %xmm0,0x40(%rbp,%rdi,8)
movupd %xmm0,0x50(%rbp,%rdi,8)
movupd %xmm1,0x40(%r8,%rdi,8)
movupd %xmm1,0x50(%r8,%rdi,8)
movupd %xmm0,0x60(%rbp,%rdi,8)
movupd %xmm0,0x70(%rbp,%rdi,8)
movupd %xmm1,0x60(%r8,%rdi,8)
movupd %xmm1,0x70(%r8,%rdi,8)
add    $0x10,%rdi
add    $0xfffffffffffffffc,%rsi
jne    1320 <main+0x1c0>
cmpq   $0x0,0x10(%rsp)
je     13cf <main+0x26f>
lea    (%r8,%rdi,8),%rsi
add    $0x10,%rsi
lea    0x10(,%rdi,8),%rdi
add    %rbp,%rdi
xor    %eax,%eax
xchg   %ax,%ax
movupd %xmm0,-0x10(%rdi,%rax,1)
movupd %xmm0,(%rdi,%rax,1)
movupd %xmm1,-0x10(%rsi,%rax,1)
movupd %xmm1,(%rsi,%rax,1)
add    $0x20,%rax
cmp    %rax,%r10
jne    13b0 <main+0x250>
mov    0x20(%rsp),%rax
mov    %rax,%r11
cmp    %r15,%rax
mov    %r12,%rax
mov    (%rsp),%r12
je     12a0 <main+0x140>
nopw   0x0(%rax,%rax,1)
mov    %r13,%rsi
sub    %r11,%rsi
test   %rax,%rax
je     1413 <main+0x2b3>
mov    %rax,%rdi
xchg   %ax,%ax
mov    %rcx,0x0(%rbp,%r11,8)
mov    %rdx,(%r8,%r11,8)
add    $0x1,%r11
add    $0xffffffffffffffff,%rdi
jne    1400 <main+0x2a0>
cmp    $0x3,%rsi
jb     12a0 <main+0x140>
nopl   (%rax)
mov    %rcx,0x0(%rbp,%r11,8)
mov    %rdx,(%r8,%r11,8)
mov    %rcx,0x8(%rbp,%r11,8)
mov    %rdx,0x8(%r8,%r11,8)
mov    %rcx,0x10(%rbp,%r11,8)
mov    %rdx,0x10(%r8,%r11,8)
mov    %rcx,0x18(%rbp,%r11,8)
mov    %rdx,0x18(%r8,%r11,8)
add    $0x4,%r11
cmp    %r11,%r15
jne    1420 <main+0x2c0>
jmp    12a0 <main+0x140>
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,%rbx
mov    %r13,%rdi
call   1060 <malloc@plt>
mov    %rax,%r12
lea    -0x1(%r15),%ebp
lea    0xbaa(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r12),%rax
movsd  (%rax),%xmm0
mov    (%r12,%rbp,8),%rax
movsd  (%rax,%rbp,8),%xmm1
lea    0xb9d(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
cmp    $0x1,%r15d
jae    14b2 <main+0x352>
mov    %r14,%rdi
call   1030 <free@plt>
jmp    1534 <main+0x3d4>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    (%r14,%rbp,8),%rdi
call   1030 <free@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    14c0 <main+0x360>
mov    %r14,%rdi
call   1030 <free@plt>
test   %r15,%r15
je     1534 <main+0x3d4>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%rbx,%rbp,8),%rdi
call   1030 <free@plt>
add    $0x1,%rbp
cmp    %rbp,%r15
jne    14f0 <main+0x390>
mov    %rbx,%rdi
call   1030 <free@plt>
test   %r15,%r15
je     153c <main+0x3dc>
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    (%r12,%rbx,8),%rdi
call   1030 <free@plt>
add    $0x1,%rbx
cmp    %rbx,%r15
jne    1520 <main+0x3c0>
jmp    153c <main+0x3dc>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r12,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
test   %r15,%r15
je     146b <main+0x30b>
mov    %r15d,%ecx
and    $0xfffffffe,%ecx
xor    %r8d,%r8d
jmp    157d <main+0x41d>
nopl   0x0(%rax)
add    $0x1,%r8
cmp    %r15,%r8
je     146b <main+0x30b>
mov    (%r12,%r8,8),%rsi
mov    (%r14,%r8,8),%rdi
xor    %ebp,%ebp
jmp    1599 <main+0x439>
nopl   0x0(%rax)
add    $0x1,%rbp
cmp    %r15,%rbp
je     1570 <main+0x410>
movq   $0x0,(%rsi,%rbp,8)
xorpd  %xmm0,%xmm0
xor    %edx,%edx
test   %r13,%r13
je     15e9 <main+0x489>
nopl   0x0(%rax)
movsd  (%rdi,%rdx,8),%xmm1
mov    (%rbx,%rdx,8),%rax
mulsd  (%rax,%rbp,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rsi,%rbp,8)
movsd  0x8(%rdi,%rdx,8),%xmm0
mov    0x8(%rbx,%rdx,8),%rax
mulsd  (%rax,%rbp,8),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rsi,%rbp,8)
add    $0x2,%rdx
cmp    %rdx,%rcx
jne    15b0 <main+0x450>
test   $0x1,%r15b
je     1590 <main+0x430>
movsd  (%rdi,%rdx,8),%xmm1
mov    (%rbx,%rdx,8),%rax
mulsd  (%rax,%rbp,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rsi,%rbp,8)
jmp    1590 <main+0x430>
lea    0xa84(%rip),%rdi
call   1040 <puts@plt>
mov    $0xffffffff,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [34 x i8] c"Faltan no componentes del vector\0A\00"
@.str.1 = [21 x i8] c"Tama\C3\B1o Vectores:%u\0A\00"
@.str.2 = [94 x i8] c"Primer componente del vector resultado [%f] y el ultimo componente del vector resultado [%f]\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double**
%11 = alloca double**
%12 = alloca double**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%13 = load i32, i32* %4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %17
15: ; preds = %2
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str, i64 0, i64 0))
unreachable
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %20)
store i32 %21, i32* %6
%22 = load i32, i32* %6
%23 = zext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = call i8* @malloc(i64 %24)
%26 = bitcast i8* %25 to double**
store double** %26, double*** %12
store i32 0, i32* %7
br label %27
27: ; preds = %41, %17
%28 = load i32, i32* %7
%29 = load i32, i32* %6
%30 = icmp ult i32 %28, %29
br i1 %30, label %31, label %44
31: ; preds = %27
%32 = load i32, i32* %6
%33 = zext i32 %32 to i64
%34 = mul i64 %33, 8
%35 = call i8* @malloc(i64 %34)
%36 = bitcast i8* %35 to double*
%37 = load double**, double*** %12
%38 = load i32, i32* %7
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds double*, double** %37, i64 %39
store double* %36, double** %40
br label %41
41: ; preds = %31
%42 = load i32, i32* %7
%43 = add i32 %42, 1
store i32 %43, i32* %7
br label %27
44: ; preds = %27
%45 = load i32, i32* %6
%46 = zext i32 %45 to i64
%47 = mul i64 %46, 8
%48 = call i8* @malloc(i64 %47)
%49 = bitcast i8* %48 to double**
store double** %49, double*** %11
store i32 0, i32* %7
br label %50
50: ; preds = %64, %44
%51 = load i32, i32* %7
%52 = load i32, i32* %6
%53 = icmp ult i32 %51, %52
br i1 %53, label %54, label %67
54: ; preds = %50
%55 = load i32, i32* %6
%56 = zext i32 %55 to i64
%57 = mul i64 %56, 8
%58 = call i8* @malloc(i64 %57)
%59 = bitcast i8* %58 to double*
%60 = load double**, double*** %11
%61 = load i32, i32* %7
%62 = zext i32 %61 to i64
%63 = getelementptr inbounds double*, double** %60, i64 %62
store double* %59, double** %63
br label %64
64: ; preds = %54
%65 = load i32, i32* %7
%66 = add i32 %65, 1
store i32 %66, i32* %7
br label %50
67: ; preds = %50
%68 = load i32, i32* %6
%69 = zext i32 %68 to i64
%70 = mul i64 %69, 8
%71 = call i8* @malloc(i64 %70)
%72 = bitcast i8* %71 to double**
store double** %72, double*** %10
store i32 0, i32* %7
br label %73
73: ; preds = %87, %67
%74 = load i32, i32* %7
%75 = load i32, i32* %6
%76 = icmp ult i32 %74, %75
br i1 %76, label %77, label %90
77: ; preds = %73
%78 = load i32, i32* %6
%79 = zext i32 %78 to i64
%80 = mul i64 %79, 8
%81 = call i8* @malloc(i64 %80)
%82 = bitcast i8* %81 to double*
%83 = load double**, double*** %10
%84 = load i32, i32* %7
%85 = zext i32 %84 to i64
%86 = getelementptr inbounds double*, double** %83, i64 %85
store double* %82, double** %86
br label %87
87: ; preds = %77
%88 = load i32, i32* %7
%89 = add i32 %88, 1
store i32 %89, i32* %7
br label %73
90: ; preds = %73
store i32 0, i32* %7
br label %91
91: ; preds = %121, %90
%92 = load i32, i32* %7
%93 = load i32, i32* %6
%94 = icmp ult i32 %92, %93
br i1 %94, label %95, label %124
95: ; preds = %91
store i32 0, i32* %8
br label %96
96: ; preds = %117, %95
%97 = load i32, i32* %8
%98 = load i32, i32* %6
%99 = icmp ult i32 %97, %98
br i1 %99, label %100, label %120
100: ; preds = %96
%101 = load double**, double*** %12
%102 = load i32, i32* %7
%103 = zext i32 %102 to i64
%104 = getelementptr inbounds double*, double** %101, i64 %103
%105 = load double*, double** %104
%106 = load i32, i32* %8
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds double, double* %105, i64 %107
store double 2.000000e+00, double* %108
%109 = load double**, double*** %11
%110 = load i32, i32* %7
%111 = zext i32 %110 to i64
%112 = getelementptr inbounds double*, double** %109, i64 %111
%113 = load double*, double** %112
%114 = load i32, i32* %8
%115 = zext i32 %114 to i64
%116 = getelementptr inbounds double, double* %113, i64 %115
store double 1.000000e+00, double* %116
br label %117
117: ; preds = %100
%118 = load i32, i32* %8
%119 = add i32 %118, 1
store i32 %119, i32* %8
br label %96
120: ; preds = %96
br label %121
121: ; preds = %120
%122 = load i32, i32* %7
%123 = add i32 %122, 1
store i32 %123, i32* %7
br label %91
124: ; preds = %91
store i32 0, i32* %7
br label %125
125: ; preds = %184, %124
%126 = load i32, i32* %7
%127 = load i32, i32* %6
%128 = icmp ult i32 %126, %127
br i1 %128, label %129, label %187
129: ; preds = %125
store i32 0, i32* %8
br label %130
130: ; preds = %180, %129
%131 = load i32, i32* %8
%132 = load i32, i32* %6
%133 = icmp ult i32 %131, %132
br i1 %133, label %134, label %183
134: ; preds = %130
%135 = load double**, double*** %10
%136 = load i32, i32* %7
%137 = zext i32 %136 to i64
%138 = getelementptr inbounds double*, double** %135, i64 %137
%139 = load double*, double** %138
%140 = load i32, i32* %8
%141 = zext i32 %140 to i64
%142 = getelementptr inbounds double, double* %139, i64 %141
store double 0.000000e+00, double* %142
store i32 0, i32* %9
br label %143
143: ; preds = %176, %134
%144 = load i32, i32* %9
%145 = load i32, i32* %6
%146 = icmp ult i32 %144, %145
br i1 %146, label %147, label %179
147: ; preds = %143
%148 = load double**, double*** %12
%149 = load i32, i32* %7
%150 = zext i32 %149 to i64
%151 = getelementptr inbounds double*, double** %148, i64 %150
%152 = load double*, double** %151
%153 = load i32, i32* %9
%154 = zext i32 %153 to i64
%155 = getelementptr inbounds double, double* %152, i64 %154
%156 = load double, double* %155
%157 = load double**, double*** %11
%158 = load i32, i32* %9
%159 = zext i32 %158 to i64
%160 = getelementptr inbounds double*, double** %157, i64 %159
%161 = load double*, double** %160
%162 = load i32, i32* %8
%163 = zext i32 %162 to i64
%164 = getelementptr inbounds double, double* %161, i64 %163
%165 = load double, double* %164
%166 = load double**, double*** %10
%167 = load i32, i32* %7
%168 = zext i32 %167 to i64
%169 = getelementptr inbounds double*, double** %166, i64 %168
%170 = load double*, double** %169
%171 = load i32, i32* %8
%172 = zext i32 %171 to i64
%173 = getelementptr inbounds double, double* %170, i64 %172
%174 = load double, double* %173
%175 = call double @llvm.fmuladd.f64(double %156, double %165, double %174)
store double %175, double* %173
br label %176
176: ; preds = %147
%177 = load i32, i32* %9
%178 = add i32 %177, 1
store i32 %178, i32* %9
br label %143
179: ; preds = %143
br label %180
180: ; preds = %179
%181 = load i32, i32* %8
%182 = add i32 %181, 1
store i32 %182, i32* %8
br label %130
183: ; preds = %130
br label %184
184: ; preds = %183
%185 = load i32, i32* %7
%186 = add i32 %185, 1
store i32 %186, i32* %7
br label %125
187: ; preds = %125
%188 = load i32, i32* %6
%189 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i32 %188)
%190 = load double**, double*** %10
%191 = getelementptr inbounds double*, double** %190, i64 0
%192 = load double*, double** %191
%193 = getelementptr inbounds double, double* %192, i64 0
%194 = load double, double* %193
%195 = load double**, double*** %10
%196 = load i32, i32* %6
%197 = sub i32 %196, 1
%198 = zext i32 %197 to i64
%199 = getelementptr inbounds double*, double** %195, i64 %198
%200 = load double*, double** %199
%201 = load i32, i32* %6
%202 = sub i32 %201, 1
%203 = zext i32 %202 to i64
%204 = getelementptr inbounds double, double* %200, i64 %203
%205 = load double, double* %204
%206 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.2, i64 0, i64 0), double %194, double %205)
store i32 0, i32* %7
br label %207
207: ; preds = %218, %187
%208 = load i32, i32* %7
%209 = load i32, i32* %6
%210 = icmp ult i32 %208, %209
br i1 %210, label %211, label %221
211: ; preds = %207
%212 = load double**, double*** %12
%213 = load i32, i32* %7
%214 = zext i32 %213 to i64
%215 = getelementptr inbounds double*, double** %212, i64 %214
%216 = load double*, double** %215
%217 = bitcast double* %216 to i8*
br label %218
218: ; preds = %211
%219 = load i32, i32* %7
%220 = add i32 %219, 1
store i32 %220, i32* %7
br label %207
221: ; preds = %207
%222 = load double**, double*** %12
%223 = bitcast double** %222 to i8*
store i32 0, i32* %7
br label %224
224: ; preds = %235, %221
%225 = load i32, i32* %7
%226 = load i32, i32* %6
%227 = icmp ult i32 %225, %226
br i1 %227, label %228, label %238
228: ; preds = %224
%229 = load double**, double*** %11
%230 = load i32, i32* %7
%231 = zext i32 %230 to i64
%232 = getelementptr inbounds double*, double** %229, i64 %231
%233 = load double*, double** %232
%234 = bitcast double* %233 to i8*
br label %235
235: ; preds = %228
%236 = load i32, i32* %7
%237 = add i32 %236, 1
store i32 %237, i32* %7
br label %224
238: ; preds = %224
%239 = load double**, double*** %11
%240 = bitcast double** %239 to i8*
store i32 0, i32* %7
br label %241
241: ; preds = %252, %238
%242 = load i32, i32* %7
%243 = load i32, i32* %6
%244 = icmp ult i32 %242, %243
br i1 %244, label %245, label %255
245: ; preds = %241
%246 = load double**, double*** %10
%247 = load i32, i32* %7
%248 = zext i32 %247 to i64
%249 = getelementptr inbounds double*, double** %246, i64 %248
%250 = load double*, double** %249
%251 = bitcast double* %250 to i8*
br label %252
252: ; preds = %245
%253 = load i32, i32* %7
%254 = add i32 %253, 1
store i32 %254, i32* %7
br label %241
255: ; preds = %241
%256 = load double**, double*** %10
%257 = bitcast double** %256 to i8*
%258 = load i32, i32* %3
ret i32 %258
}

LLVM IR (-O2):
@.str.1 = [21 x i8] c"Tama\C3\B1o Vectores:%u\0A\00"
@.str.2 = [94 x i8] c"Primer componente del vector resultado [%f] y el ultimo componente del vector resultado [%f]\0A\00"
@str = [33 x i8] c"Faltan no componentes del vector\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 ([33 x i8], [33 x i8]* @str, i64 0, i64 0))
tail call void @exit(i32 -1)
unreachable
6: ; preds = %2
%7 = getelementptr inbounds i8*, i8** %1, i64 1
%8 = load i8*, i8** %7
%9 = tail call i32 (i8*, ...) bitcast (i32 (...)* @atoi to i32 (i8*, ...)*)(i8* %8)
%10 = zext i32 %9 to i64
%11 = shl nuw nsw i64 %10, 3
%12 = tail call i8* @malloc(i64 %11)
%13 = bitcast i8* %12 to double**
%14 = icmp eq i32 %9, 0
br i1 %14, label %15, label %18
15: ; preds = %6
%16 = tail call i8* @malloc(i64 %11)
%17 = bitcast i8* %16 to double**
br label %35
18: ; preds = %6, %18
%19 = phi i64 [ %23, %18 ], [ 0, %6 ]
%20 = tail call i8* @malloc(i64 %11)
%21 = getelementptr inbounds double*, double** %13, i64 %19
%22 = bitcast double** %21 to i8**
store i8* %20, i8** %22
%23 = add nuw nsw i64 %19, 1
%24 = icmp eq i64 %23, %10
br i1 %24, label %25, label %18
25: ; preds = %18
%26 = tail call i8* @malloc(i64 %11)
%27 = bitcast i8* %26 to double**
br i1 %14, label %35, label %28
28: ; preds = %25, %28
%29 = phi i64 [ %33, %28 ], [ 0, %25 ]
%30 = tail call i8* @malloc(i64 %11)
%31 = getelementptr inbounds double*, double** %27, i64 %29
%32 = bitcast double** %31 to i8**
store i8* %30, i8** %32
%33 = add nuw nsw i64 %29, 1
%34 = icmp eq i64 %33, %10
br i1 %34, label %40, label %28
35: ; preds = %15, %25
%36 = phi double** [ %27, %25 ], [ %17, %15 ]
%37 = phi i8* [ %26, %25 ], [ %16, %15 ]
%38 = tail call i8* @malloc(i64 %11)
%39 = bitcast i8* %38 to double**
br label %223
40: ; preds = %28
%41 = tail call i8* @malloc(i64 %11)
%42 = bitcast i8* %41 to double**
br i1 %14, label %223, label %59
43: ; preds = %59
br i1 %14, label %223, label %44
44: ; preds = %43
%45 = and i64 %10, 4294967292
%46 = add nsw i64 %45, -4
%47 = lshr exact i64 %46, 2
%48 = add nuw nsw i64 %47, 1
%49 = add nsw i64 %10, -1
%50 = icmp ult i32 %9, 4
%51 = and i64 %10, 4294967292
%52 = and i64 %48, 3
%53 = icmp ult i64 %46, 12
%54 = and i64 %48, 9223372036854775804
%55 = icmp eq i64 %52, 0
%56 = icmp eq i64 %51, %10
%57 = and i64 %10, 3
%58 = icmp eq i64 %57, 0
br label %66
59: ; preds = %40, %59
%60 = phi i64 [ %64, %59 ], [ 0, %40 ]
%61 = tail call i8* @malloc(i64 %11)
%62 = getelementptr inbounds double*, double** %42, i64 %60
%63 = bitcast double** %62 to i8**
store i8* %61, i8** %63
%64 = add nuw nsw i64 %60, 1
%65 = icmp eq i64 %64, %10
br i1 %65, label %43, label %59
66: ; preds = %44, %172
%67 = phi i64 [ %173, %172 ], [ 0, %44 ]
%68 = getelementptr inbounds double*, double** %13, i64 %67
%69 = load double*, double** %68
%70 = getelementptr inbounds double*, double** %27, i64 %67
%71 = load double*, double** %70
br i1 %50, label %137, label %72
72: ; preds = %66
%73 = getelementptr double, double* %69, i64 %10
%74 = getelementptr double, double* %71, i64 %10
%75 = icmp ult double* %69, %74
%76 = icmp ult double* %71, %73
%77 = and i1 %75, %76
br i1 %77, label %137, label %78
78: ; preds = %72
br i1 %53, label %120, label %79
79: ; preds = %78, %79
%80 = phi i64 [ %117, %79 ], [ 0, %78 ]
%81 = phi i64 [ %118, %79 ], [ 0, %78 ]
%82 = getelementptr inbounds double, double* %69, i64 %80
%83 = bitcast double* %82 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %83
%84 = getelementptr inbounds double, double* %82, i64 2
%85 = bitcast double* %84 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %85
%86 = getelementptr inbounds double, double* %71, i64 %80
%87 = bitcast double* %86 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %87
%88 = getelementptr inbounds double, double* %86, i64 2
%89 = bitcast double* %88 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %89
%90 = or i64 %80, 4
%91 = getelementptr inbounds double, double* %69, i64 %90
%92 = bitcast double* %91 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %92
%93 = getelementptr inbounds double, double* %91, i64 2
%94 = bitcast double* %93 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %94
%95 = getelementptr inbounds double, double* %71, i64 %90
%96 = bitcast double* %95 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %96
%97 = getelementptr inbounds double, double* %95, i64 2
%98 = bitcast double* %97 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %98
%99 = or i64 %80, 8
%100 = getelementptr inbounds double, double* %69, i64 %99
%101 = bitcast double* %100 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %101
%102 = getelementptr inbounds double, double* %100, i64 2
%103 = bitcast double* %102 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %103
%104 = getelementptr inbounds double, double* %71, i64 %99
%105 = bitcast double* %104 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %105
%106 = getelementptr inbounds double, double* %104, i64 2
%107 = bitcast double* %106 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %107
%108 = or i64 %80, 12
%109 = getelementptr inbounds double, double* %69, i64 %108
%110 = bitcast double* %109 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %110
%111 = getelementptr inbounds double, double* %109, i64 2
%112 = bitcast double* %111 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %112
%113 = getelementptr inbounds double, double* %71, i64 %108
%114 = bitcast double* %113 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %114
%115 = getelementptr inbounds double, double* %113, i64 2
%116 = bitcast double* %115 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %116
%117 = add nuw i64 %80, 16
%118 = add nuw i64 %81, 4
%119 = icmp eq i64 %118, %54
br i1 %119, label %120, label %79
120: ; preds = %79, %78
%121 = phi i64 [ 0, %78 ], [ %117, %79 ]
br i1 %55, label %136, label %122
122: ; preds = %120, %122
%123 = phi i64 [ %133, %122 ], [ %121, %120 ]
%124 = phi i64 [ %134, %122 ], [ 0, %120 ]
%125 = getelementptr inbounds double, double* %69, i64 %123
%126 = bitcast double* %125 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %126
%127 = getelementptr inbounds double, double* %125, i64 2
%128 = bitcast double* %127 to <2 x double>*
store <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double>* %128
%129 = getelementptr inbounds double, double* %71, i64 %123
%130 = bitcast double* %129 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %130
%131 = getelementptr inbounds double, double* %129, i64 2
%132 = bitcast double* %131 to <2 x double>*
store <2 x double> <double 1.000000e+00, double 1.000000e+00>, <2 x double>* %132
%133 = add nuw i64 %123, 4
%134 = add i64 %124, 1
%135 = icmp eq i64 %134, %52
br i1 %135, label %136, label %122
136: ; preds = %122, %120
br i1 %56, label %172, label %137
137: ; preds = %72, %66, %136
%138 = phi i64 [ 0, %72 ], [ 0, %66 ], [ %51, %136 ]
%139 = sub nsw i64 %49, %138
br i1 %58, label %148, label %140
140: ; preds = %137, %140
%141 = phi i64 [ %145, %140 ], [ %138, %137 ]
%142 = phi i64 [ %146, %140 ], [ 0, %137 ]
%143 = getelementptr inbounds double, double* %69, i64 %141
store double 2.000000e+00, double* %143
%144 = getelementptr inbounds double, double* %71, i64 %141
store double 1.000000e+00, double* %144
%145 = add nuw nsw i64 %141, 1
%146 = add i64 %142, 1
%147 = icmp eq i64 %146, %57
br i1 %147, label %148, label %140
148: ; preds = %140, %137
%149 = phi i64 [ %138, %137 ], [ %145, %140 ]
%150 = icmp ult i64 %139, 3
br i1 %150, label %172, label %157
151: ; preds = %172
br i1 %14, label %223, label %152
152: ; preds = %151
%153 = and i64 %10, 1
%154 = icmp eq i64 %49, 0
%155 = and i64 %10, 4294967294
%156 = icmp eq i64 %153, 0
br label %175
157: ; preds = %148, %157
%158 = phi i64 [ %170, %157 ], [ %149, %148 ]
%159 = getelementptr inbounds double, double* %69, i64 %158
store double 2.000000e+00, double* %159
%160 = getelementptr inbounds double, double* %71, i64 %158
store double 1.000000e+00, double* %160
%161 = add nuw nsw i64 %158, 1
%162 = getelementptr inbounds double, double* %69, i64 %161
store double 2.000000e+00, double* %162
%163 = getelementptr inbounds double, double* %71, i64 %161
store double 1.000000e+00, double* %163
%164 = add nuw nsw i64 %158, 2
%165 = getelementptr inbounds double, double* %69, i64 %164
store double 2.000000e+00, double* %165
%166 = getelementptr inbounds double, double* %71, i64 %164
store double 1.000000e+00, double* %166
%167 = add nuw nsw i64 %158, 3
%168 = getelementptr inbounds double, double* %69, i64 %167
store double 2.000000e+00, double* %168
%169 = getelementptr inbounds double, double* %71, i64 %167
store double 1.000000e+00, double* %169
%170 = add nuw nsw i64 %158, 4
%171 = icmp eq i64 %170, %10
br i1 %171, label %172, label %157
172: ; preds = %148, %157, %136
%173 = add nuw nsw i64 %67, 1
%174 = icmp eq i64 %173, %10
br i1 %174, label %151, label %66
175: ; preds = %152, %220
%176 = phi i64 [ %221, %220 ], [ 0, %152 ]
%177 = getelementptr inbounds double*, double** %42, i64 %176
%178 = load double*, double** %177
%179 = getelementptr inbounds double*, double** %13, i64 %176
%180 = load double*, double** %179
br label %181
181: ; preds = %175, %217
%182 = phi i64 [ 0, %175 ], [ %218, %217 ]
%183 = getelementptr inbounds double, double* %178, i64 %182
store double 0.000000e+00, double* %183
br i1 %154, label %206, label %184
184: ; preds = %181, %184
%185 = phi double [ %202, %184 ], [ 0.000000e+00, %181 ]
%186 = phi i64 [ %203, %184 ], [ 0, %181 ]
%187 = phi i64 [ %204, %184 ], [ 0, %181 ]
%188 = getelementptr inbounds double, double* %180, i64 %186
%189 = load double, double* %188
%190 = getelementptr inbounds double*, double** %27, i64 %186
%191 = load double*, double** %190
%192 = getelementptr inbounds double, double* %191, i64 %182
%193 = load double, double* %192
%194 = tail call double @llvm.fmuladd.f64(double %189, double %193, double %185)
store double %194, double* %183
%195 = or i64 %186, 1
%196 = getelementptr inbounds double, double* %180, i64 %195
%197 = load double, double* %196
%198 = getelementptr inbounds double*, double** %27, i64 %195
%199 = load double*, double** %198
%200 = getelementptr inbounds double, double* %199, i64 %182
%201 = load double, double* %200
%202 = tail call double @llvm.fmuladd.f64(double %197, double %201, double %194)
store double %202, double* %183
%203 = add nuw nsw i64 %186, 2
%204 = add i64 %187, 2
%205 = icmp eq i64 %204, %155
br i1 %205, label %206, label %184
206: ; preds = %184, %181
%207 = phi double [ 0.000000e+00, %181 ], [ %202, %184 ]
%208 = phi i64 [ 0, %181 ], [ %203, %184 ]
br i1 %156, label %217, label %209
209: ; preds = %206
%210 = getelementptr inbounds double, double* %180, i64 %208
%211 = load double, double* %210
%212 = getelementptr inbounds double*, double** %27, i64 %208
%213 = load double*, double** %212
%214 = getelementptr inbounds double, double* %213, i64 %182
%215 = load double, double* %214
%216 = tail call double @llvm.fmuladd.f64(double %211, double %215, double %207)
store double %216, double* %183
br label %217
217: ; preds = %206, %209
%218 = add nuw nsw i64 %182, 1
%219 = icmp eq i64 %218, %10
br i1 %219, label %220, label %181
220: ; preds = %217
%221 = add nuw nsw i64 %176, 1
%222 = icmp eq i64 %221, %10
br i1 %222, label %223, label %175
223: ; preds = %220, %40, %35, %43, %151
%224 = phi double** [ %42, %151 ], [ %42, %43 ], [ %42, %40 ], [ %39, %35 ], [ %42, %220 ]
%225 = phi i8* [ %41, %151 ], [ %41, %43 ], [ %41, %40 ], [ %38, %35 ], [ %41, %220 ]
%226 = phi i8* [ %26, %151 ], [ %26, %43 ], [ %26, %40 ], [ %37, %35 ], [ %26, %220 ]
%227 = phi double** [ %27, %151 ], [ %27, %43 ], [ %27, %40 ], [ %36, %35 ], [ %27, %220 ]
%228 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.1, i64 0, i64 0), i32 %9)
%229 = load double*, double** %224
%230 = load double, double* %229
%231 = add i32 %9, -1
%232 = zext i32 %231 to i64
%233 = getelementptr inbounds double*, double** %224, i64 %232
%234 = load double*, double** %233
%235 = getelementptr inbounds double, double* %234, i64 %232
%236 = load double, double* %235
%237 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @.str.2, i64 0, i64 0), double %230, double %236)
br i1 %14, label %238, label %239
238: ; preds = %223
tail call void @free(i8* %12)
br label %254
239: ; preds = %223, %239
%240 = phi i64 [ %244, %239 ], [ 0, %223 ]
%241 = getelementptr inbounds double*, double** %13, i64 %240
%242 = bitcast double** %241 to i8**
%243 = load i8*, i8** %242
tail call void @free(i8* %243)
%244 = add nuw nsw i64 %240, 1
%245 = icmp eq i64 %244, %10
br i1 %245, label %246, label %239
246: ; preds = %239
tail call void @free(i8* %12)
br i1 %14, label %254, label %247
247: ; preds = %246, %247
%248 = phi i64 [ %252, %247 ], [ 0, %246 ]
%249 = getelementptr inbounds double*, double** %227, i64 %248
%250 = bitcast double** %249 to i8**
%251 = load i8*, i8** %250
tail call void @free(i8* %251)
%252 = add nuw nsw i64 %248, 1
%253 = icmp eq i64 %252, %10
br i1 %253, label %255, label %247
254: ; preds = %238, %246
tail call void @free(i8* %226)
br label %263
255: ; preds = %247
tail call void @free(i8* %226)
br i1 %14, label %263, label %256
256: ; preds = %255, %256
%257 = phi i64 [ %261, %256 ], [ 0, %255 ]
%258 = getelementptr inbounds double*, double** %224, i64 %257
%259 = bitcast double** %258 to i8**
%260 = load i8*, i8** %259
tail call void @free(i8* %260)
%261 = add nuw nsw i64 %257, 1
%262 = icmp eq i64 %261, %10
br i1 %262, label %263, label %256
263: ; preds = %256, %254, %255
tail call void @free(i8* %225)
ret i32 0
}