#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 */
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *);
int main() {
  int i, j, k;
  int ii, jj, kk;
  double **a, **b, **c;
  a = (double **)malloc(500 * sizeof(double *));
  b = (double **)malloc(500 * sizeof(double *));
  c = (double **)malloc(500 * sizeof(double *));
  for (i = 0; i < 500; i++) {
    a[i] = (double *)malloc(500 * sizeof(double));
    b[i] = (double *)malloc(500 * sizeof(double));
    c[i] = (double *)malloc(500 * sizeof(double));
  }
  for (ii = 0; ii < 500; ii += 10) {
    for (jj = 0; jj < 500; jj += 10) {
      for (kk = 0; kk < 500; kk += 10) {
        for (i = ii; i < ii + 10; i++) {
          for (j = jj; j < jj + 10; j++) {
            for (k = kk; k < kk + 10; k++) {
              c[i][j] = c[i][j] + a[i][k] * b[k][j];
            }
          }
        }
      }
    }
  }
  printf("Fim\n");
  return (0);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x1f4,-0x8(%rbp)
jge    11c6 <main+0xa6>
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,%rdx
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,%rdx
mov    -0x30(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,%rdx
mov    -0x38(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1160 <main+0x40>
movl   $0x0,-0x14(%rbp)
cmpl   $0x1f4,-0x14(%rbp)
jge    1310 <main+0x1f0>
movl   $0x0,-0x18(%rbp)
cmpl   $0x1f4,-0x18(%rbp)
jge    12fd <main+0x1dd>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x1f4,-0x1c(%rbp)
jge    12ea <main+0x1ca>
mov    -0x14(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    -0x14(%rbp),%ecx
add    $0xa,%ecx
cmp    %ecx,%eax
jge    12d7 <main+0x1b7>
mov    -0x18(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    -0x18(%rbp),%ecx
add    $0xa,%ecx
cmp    %ecx,%eax
jge    12c4 <main+0x1a4>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
mov    -0x1c(%rbp),%ecx
add    $0xa,%ecx
cmp    %ecx,%eax
jge    12b1 <main+0x191>
mov    -0x38(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0xc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x28(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x10(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0xc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x38(%rbp),%rax
movslq -0x8(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0xc(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1236 <main+0x116>
jmp    12b6 <main+0x196>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    121f <main+0xff>
jmp    12c9 <main+0x1a9>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1208 <main+0xe8>
jmp    12dc <main+0x1bc>
mov    -0x1c(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x1c(%rbp)
jmp    11f5 <main+0xd5>
jmp    12ef <main+0x1cf>
mov    -0x18(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x18(%rbp)
jmp    11e1 <main+0xc1>
jmp    1302 <main+0x1e2>
mov    -0x14(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x14(%rbp)
jmp    11cd <main+0xad>
lea    0xce9(%rip),%rdi
call   1030 <printf@plt>
xor    %eax,%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    $0x48,%rsp
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,%r12
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,%r15
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,%rbp
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,(%r12,%rbx,8)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,(%r15,%rbx,8)
mov    $0xfa0,%edi
call   1040 <malloc@plt>
mov    %rax,0x0(%rbp,%rbx,8)
add    $0x1,%rbx
cmp    $0x1f4,%rbx
jne    1160 <main+0x40>
mov    %rbp,0x20(%rsp)
mov    $0xa,%eax
mov    %rax,0x10(%rsp)
xor    %eax,%eax
mov    %rax,(%rsp)
mov    %r12,0x28(%rsp)
mov    %r15,0x18(%rsp)
nopw   0x0(%rax,%rax,1)
xor    %eax,%eax
mov    %rax,0x8(%rsp)
nopw   0x0(%rax,%rax,1)
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rsi,%rdx
or     $0x1,%rdx
mov    0x8(%rsp),%rax
lea    0x0(,%rax,8),%r10
mov    (%r15,%rsi,8),%rax
add    %r10,%rax
mov    %rax,0x30(%rsp)
mov    (%r15,%rdx,8),%r13
add    %r10,%r13
mov    0x10(%r15,%rsi,8),%rax
add    %r10,%rax
mov    0x18(%r15,%rsi,8),%rcx
add    %r10,%rcx
mov    0x20(%r15,%rsi,8),%rdi
add    %r10,%rdi
mov    0x28(%r15,%rsi,8),%rbp
add    %r10,%rbp
mov    0x30(%r15,%rsi,8),%r8
add    %r10,%r8
mov    0x38(%r15,%rsi,8),%r9
add    %r10,%r9
mov    0x40(%r15,%rsi,8),%r14
add    %r10,%r14
mov    0x48(%r15,%rsi,8),%r15
mov    %r10,0x38(%rsp)
add    %r10,%r15
mov    (%rsp),%rbx
mov    (%r12,%rbx,8),%r10
mov    %rdx,%r12
mov    0x20(%rsp),%rdx
mov    %rbx,0x40(%rsp)
mov    (%rdx,%rbx,8),%r11
mov    %r12,%rdx
add    0x38(%rsp),%r11
xor    %r12d,%r12d
mov    0x30(%rsp),%rbx
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r10,%rsi,8),%xmm0
mulsd  (%rbx,%r12,1),%xmm0
addsd  (%r11,%r12,1),%xmm0
movsd  %xmm0,(%r11,%r12,1)
movsd  (%r10,%rdx,8),%xmm1
mulsd  0x0(%r13,%r12,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r11,%r12,1)
movsd  0x10(%r10,%rsi,8),%xmm0
mulsd  (%rax,%r12,1),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r11,%r12,1)
movsd  0x18(%r10,%rsi,8),%xmm1
mulsd  (%rcx,%r12,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r11,%r12,1)
movsd  0x20(%r10,%rsi,8),%xmm0
mulsd  (%rdi,%r12,1),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r11,%r12,1)
movsd  0x28(%r10,%rsi,8),%xmm1
mulsd  0x0(%rbp,%r12,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r11,%r12,1)
movsd  0x30(%r10,%rsi,8),%xmm0
mulsd  (%r8,%r12,1),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r11,%r12,1)
movsd  0x38(%r10,%rsi,8),%xmm1
mulsd  (%r9,%r12,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r11,%r12,1)
movsd  0x40(%r10,%rsi,8),%xmm0
mulsd  (%r14,%r12,1),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%r11,%r12,1)
movsd  0x48(%r10,%rsi,8),%xmm1
mulsd  (%r15,%r12,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%r11,%r12,1)
add    $0x8,%r12
cmp    $0x50,%r12
jne    1280 <main+0x160>
mov    0x40(%rsp),%rbx
add    $0x1,%rbx
cmp    0x10(%rsp),%rbx
mov    0x28(%rsp),%r12
jne    1250 <main+0x130>
mov    %rsi,%rax
add    $0xa,%rax
cmp    $0x1ea,%esi
mov    %rax,%rsi
mov    0x18(%rsp),%r15
jb     11e0 <main+0xc0>
mov    0x8(%rsp),%rcx
mov    %rcx,%rax
add    $0xa,%rax
cmp    $0x1ea,%ecx
mov    %rax,0x8(%rsp)
jb     11d0 <main+0xb0>
mov    (%rsp),%rcx
mov    %rcx,%rax
add    $0xa,%rax
addq   $0xa,0x10(%rsp)
cmp    $0x1ea,%ecx
mov    %rax,(%rsp)
jb     11c0 <main+0xa0>
lea    0xc11(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [5 x i8] c"Fim\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca double**
%9 = alloca double**
%10 = alloca double**
store i32 0, i32* %1
%11 = call i64 @malloc(i32 4000)
%12 = inttoptr i64 %11 to double**
store double** %12, double*** %8
%13 = call i64 @malloc(i32 4000)
%14 = inttoptr i64 %13 to double**
store double** %14, double*** %9
%15 = call i64 @malloc(i32 4000)
%16 = inttoptr i64 %15 to double**
store double** %16, double*** %10
store i32 0, i32* %2
br label %17
17: ; preds = %39, %0
%18 = load i32, i32* %2
%19 = icmp slt i32 %18, 500
br i1 %19, label %20, label %42
20: ; preds = %17
%21 = call i64 @malloc(i32 4000)
%22 = inttoptr i64 %21 to double*
%23 = load double**, double*** %8
%24 = load i32, i32* %2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double*, double** %23, i64 %25
store double* %22, double** %26
%27 = call i64 @malloc(i32 4000)
%28 = inttoptr i64 %27 to double*
%29 = load double**, double*** %9
%30 = load i32, i32* %2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double*, double** %29, i64 %31
store double* %28, double** %32
%33 = call i64 @malloc(i32 4000)
%34 = inttoptr i64 %33 to double*
%35 = load double**, double*** %10
%36 = load i32, i32* %2
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double*, double** %35, i64 %37
store double* %34, double** %38
br label %39
39: ; preds = %20
%40 = load i32, i32* %2
%41 = add nsw i32 %40, 1
store i32 %41, i32* %2
br label %17
42: ; preds = %17
store i32 0, i32* %5
br label %43
43: ; preds = %132, %42
%44 = load i32, i32* %5
%45 = icmp slt i32 %44, 500
br i1 %45, label %46, label %135
46: ; preds = %43
store i32 0, i32* %6
br label %47
47: ; preds = %128, %46
%48 = load i32, i32* %6
%49 = icmp slt i32 %48, 500
br i1 %49, label %50, label %131
50: ; preds = %47
store i32 0, i32* %7
br label %51
51: ; preds = %124, %50
%52 = load i32, i32* %7
%53 = icmp slt i32 %52, 500
br i1 %53, label %54, label %127
54: ; preds = %51
%55 = load i32, i32* %5
store i32 %55, i32* %2
br label %56
56: ; preds = %120, %54
%57 = load i32, i32* %2
%58 = load i32, i32* %5
%59 = add nsw i32 %58, 10
%60 = icmp slt i32 %57, %59
br i1 %60, label %61, label %123
61: ; preds = %56
%62 = load i32, i32* %6
store i32 %62, i32* %3
br label %63
63: ; preds = %116, %61
%64 = load i32, i32* %3
%65 = load i32, i32* %6
%66 = add nsw i32 %65, 10
%67 = icmp slt i32 %64, %66
br i1 %67, label %68, label %119
68: ; preds = %63
%69 = load i32, i32* %7
store i32 %69, i32* %4
br label %70
70: ; preds = %112, %68
%71 = load i32, i32* %4
%72 = load i32, i32* %7
%73 = add nsw i32 %72, 10
%74 = icmp slt i32 %71, %73
br i1 %74, label %75, label %115
75: ; preds = %70
%76 = load double**, double*** %10
%77 = load i32, i32* %2
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double*, double** %76, i64 %78
%80 = load double*, double** %79
%81 = load i32, i32* %3
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, double* %80, i64 %82
%84 = load double, double* %83
%85 = load double**, double*** %8
%86 = load i32, i32* %2
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds double*, double** %85, i64 %87
%89 = load double*, double** %88
%90 = load i32, i32* %4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, double* %89, i64 %91
%93 = load double, double* %92
%94 = load double**, double*** %9
%95 = load i32, i32* %4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double*, double** %94, i64 %96
%98 = load double*, double** %97
%99 = load i32, i32* %3
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, double* %98, i64 %100
%102 = load double, double* %101
%103 = call double @llvm.fmuladd.f64(double %93, double %102, double %84)
%104 = load double**, double*** %10
%105 = load i32, i32* %2
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double*, double** %104, i64 %106
%108 = load double*, double** %107
%109 = load i32, i32* %3
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, double* %108, i64 %110
store double %103, double* %111
br label %112
112: ; preds = %75
%113 = load i32, i32* %4
%114 = add nsw i32 %113, 1
store i32 %114, i32* %4
br label %70
115: ; preds = %70
br label %116
116: ; preds = %115
%117 = load i32, i32* %3
%118 = add nsw i32 %117, 1
store i32 %118, i32* %3
br label %63
119: ; preds = %63
br label %120
120: ; preds = %119
%121 = load i32, i32* %2
%122 = add nsw i32 %121, 1
store i32 %122, i32* %2
br label %56
123: ; preds = %56
br label %124
124: ; preds = %123
%125 = load i32, i32* %7
%126 = add nsw i32 %125, 10
store i32 %126, i32* %7
br label %51
127: ; preds = %51
br label %128
128: ; preds = %127
%129 = load i32, i32* %6
%130 = add nsw i32 %129, 10
store i32 %130, i32* %6
br label %47
131: ; preds = %47
br label %132
132: ; preds = %131
%133 = load i32, i32* %5
%134 = add nsw i32 %133, 10
store i32 %134, i32* %5
br label %43
135: ; preds = %43
%136 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@str = [4 x i8] c"Fim\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 4000)
%2 = inttoptr i64 %1 to double**
%3 = tail call i64 @malloc(i32 4000)
%4 = inttoptr i64 %3 to double**
%5 = tail call i64 @malloc(i32 4000)
%6 = inttoptr i64 %5 to double**
br label %7
7: ; preds = %0, %7
%8 = phi i64 [ 0, %0 ], [ %18, %7 ]
%9 = tail call i64 @malloc(i32 4000)
%10 = inttoptr i64 %9 to double*
%11 = getelementptr inbounds double*, double** %2, i64 %8
store double* %10, double** %11
%12 = tail call i64 @malloc(i32 4000)
%13 = inttoptr i64 %12 to double*
%14 = getelementptr inbounds double*, double** %4, i64 %8
store double* %13, double** %14
%15 = tail call i64 @malloc(i32 4000)
%16 = inttoptr i64 %15 to double*
%17 = getelementptr inbounds double*, double** %6, i64 %8
store double* %16, double** %17
%18 = add nuw nsw i64 %8, 1
%19 = icmp eq i64 %18, 500
br i1 %19, label %20, label %7
20: ; preds = %7, %132
%21 = phi i64 [ %135, %132 ], [ 10, %7 ]
%22 = phi i64 [ %133, %132 ], [ 0, %7 ]
%23 = trunc i64 %22 to i32
br label %24
24: ; preds = %20, %128
%25 = phi i64 [ 10, %20 ], [ %131, %128 ]
%26 = phi i64 [ 0, %20 ], [ %129, %128 ]
%27 = trunc i64 %26 to i32
br label %28
28: ; preds = %24, %125
%29 = phi i64 [ 0, %24 ], [ %126, %125 ]
%30 = trunc i64 %29 to i32
%31 = getelementptr inbounds double*, double** %4, i64 %29
%32 = load double*, double** %31
%33 = or i64 %29, 1
%34 = getelementptr inbounds double*, double** %4, i64 %33
%35 = load double*, double** %34
%36 = add nuw i64 %29, 2
%37 = getelementptr inbounds double*, double** %4, i64 %36
%38 = load double*, double** %37
%39 = add nuw i64 %29, 3
%40 = getelementptr inbounds double*, double** %4, i64 %39
%41 = load double*, double** %40
%42 = add nuw i64 %29, 4
%43 = getelementptr inbounds double*, double** %4, i64 %42
%44 = load double*, double** %43
%45 = add nuw i64 %29, 5
%46 = getelementptr inbounds double*, double** %4, i64 %45
%47 = load double*, double** %46
%48 = add nuw i64 %29, 6
%49 = getelementptr inbounds double*, double** %4, i64 %48
%50 = load double*, double** %49
%51 = add nuw i64 %29, 7
%52 = getelementptr inbounds double*, double** %4, i64 %51
%53 = load double*, double** %52
%54 = add nuw i64 %29, 8
%55 = getelementptr inbounds double*, double** %4, i64 %54
%56 = load double*, double** %55
%57 = add nuw i64 %29, 9
%58 = getelementptr inbounds double*, double** %4, i64 %57
%59 = load double*, double** %58
br label %60
60: ; preds = %28, %122
%61 = phi i64 [ %22, %28 ], [ %123, %122 ]
%62 = getelementptr inbounds double*, double** %6, i64 %61
%63 = load double*, double** %62
%64 = getelementptr inbounds double*, double** %2, i64 %61
%65 = load double*, double** %64
%66 = getelementptr inbounds double, double* %65, i64 %29
%67 = getelementptr inbounds double, double* %65, i64 %33
%68 = getelementptr inbounds double, double* %65, i64 %36
%69 = getelementptr inbounds double, double* %65, i64 %39
%70 = getelementptr inbounds double, double* %65, i64 %42
%71 = getelementptr inbounds double, double* %65, i64 %45
%72 = getelementptr inbounds double, double* %65, i64 %48
%73 = getelementptr inbounds double, double* %65, i64 %51
%74 = getelementptr inbounds double, double* %65, i64 %54
%75 = getelementptr inbounds double, double* %65, i64 %57
br label %76
76: ; preds = %60, %76
%77 = phi i64 [ %26, %60 ], [ %120, %76 ]
%78 = getelementptr inbounds double, double* %63, i64 %77
%79 = load double, double* %78
%80 = load double, double* %66
%81 = getelementptr inbounds double, double* %32, i64 %77
%82 = load double, double* %81
%83 = tail call double @llvm.fmuladd.f64(double %80, double %82, double %79)
store double %83, double* %78
%84 = load double, double* %67
%85 = getelementptr inbounds double, double* %35, i64 %77
%86 = load double, double* %85
%87 = tail call double @llvm.fmuladd.f64(double %84, double %86, double %83)
store double %87, double* %78
%88 = load double, double* %68
%89 = getelementptr inbounds double, double* %38, i64 %77
%90 = load double, double* %89
%91 = tail call double @llvm.fmuladd.f64(double %88, double %90, double %87)
store double %91, double* %78
%92 = load double, double* %69
%93 = getelementptr inbounds double, double* %41, i64 %77
%94 = load double, double* %93
%95 = tail call double @llvm.fmuladd.f64(double %92, double %94, double %91)
store double %95, double* %78
%96 = load double, double* %70
%97 = getelementptr inbounds double, double* %44, i64 %77
%98 = load double, double* %97
%99 = tail call double @llvm.fmuladd.f64(double %96, double %98, double %95)
store double %99, double* %78
%100 = load double, double* %71
%101 = getelementptr inbounds double, double* %47, i64 %77
%102 = load double, double* %101
%103 = tail call double @llvm.fmuladd.f64(double %100, double %102, double %99)
store double %103, double* %78
%104 = load double, double* %72
%105 = getelementptr inbounds double, double* %50, i64 %77
%106 = load double, double* %105
%107 = tail call double @llvm.fmuladd.f64(double %104, double %106, double %103)
store double %107, double* %78
%108 = load double, double* %73
%109 = getelementptr inbounds double, double* %53, i64 %77
%110 = load double, double* %109
%111 = tail call double @llvm.fmuladd.f64(double %108, double %110, double %107)
store double %111, double* %78
%112 = load double, double* %74
%113 = getelementptr inbounds double, double* %56, i64 %77
%114 = load double, double* %113
%115 = tail call double @llvm.fmuladd.f64(double %112, double %114, double %111)
store double %115, double* %78
%116 = load double, double* %75
%117 = getelementptr inbounds double, double* %59, i64 %77
%118 = load double, double* %117
%119 = tail call double @llvm.fmuladd.f64(double %116, double %118, double %115)
store double %119, double* %78
%120 = add nuw nsw i64 %77, 1
%121 = icmp eq i64 %120, %25
br i1 %121, label %122, label %76
122: ; preds = %76
%123 = add nuw nsw i64 %61, 1
%124 = icmp eq i64 %123, %21
br i1 %124, label %125, label %60
125: ; preds = %122
%126 = add nuw nsw i64 %29, 10
%127 = icmp ult i32 %30, 490
br i1 %127, label %28, label %128
128: ; preds = %125
%129 = add nuw nsw i64 %26, 10
%130 = icmp ult i32 %27, 490
%131 = add nuw nsw i64 %25, 10
br i1 %130, label %24, label %132
132: ; preds = %128
%133 = add nuw nsw i64 %22, 10
%134 = icmp ult i32 %23, 490
%135 = add nuw nsw i64 %21, 10
br i1 %134, label %20, label %136
136: ; preds = %132
%137 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0))
ret i32 0
}