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

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ initializeCero(double *);
int /*<<< orphan*/ interiorRandom(double *);
scalar_t__ malloc(int);
double max(double *);
int /*<<< orphan*/ printf(char *, int, ...);
int main() {
  double h2 = 1.0 / 2048;
  double *u;
  double *u_new;
  double *temp;
  double *f;
  int i, j, k;
  u = (double *)malloc(2048 * 2048 * sizeof(double));
  u_new = (double *)malloc(2048 * 2048 * sizeof(double));
  f = (double *)malloc(2048 * 2048 * sizeof(double));
  initializeCero(u);
  initializeCero(f);
  initializeCero(u_new);
  interiorRandom(u);
  printf("Initial=%f\n", max(u));
  for (k = 0; k < 10; k++) {
    for (i = 1; i < 2048 - 1; i++) {
      for (j = 1; j < 2048 - 1; j++) {
        u_new[i * 2048 + j] =
            0.25 * (h2 * f[i * 2048 + j] + u[(i - 1) * 2048 + j] +
                    u[(i + 1) * 2048 + j] + +u[i * 2048 + j - 1] +
                    u[i * 2048 + j + 1]);
      }
    }
    temp = u;
    u = u_new;
    u_new = temp;
    printf("Iter %d: max=%f\n", k, max(u_new));
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xe99(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    $0x2000000,%edi
call   1070 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    $0x2000000,%edi
call   1070 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    $0x2000000,%edi
call   1070 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x18(%rbp),%rdi
call   1040 <initializeCero@plt>
mov    -0x30(%rbp),%rdi
call   1040 <initializeCero@plt>
mov    -0x20(%rbp),%rdi
call   1040 <initializeCero@plt>
mov    -0x18(%rbp),%rdi
call   1030 <interiorRandom@plt>
mov    -0x18(%rbp),%rdi
call   1060 <max@plt>
cvttsd2si %xmm0,%esi
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x3c(%rbp)
cmpl   $0xa,-0x3c(%rbp)
jge    1318 <main+0x1c8>
movl   $0x1,-0x34(%rbp)
cmpl   $0x7ff,-0x34(%rbp)
jge    12d2 <main+0x182>
movl   $0x1,-0x38(%rbp)
cmpl   $0x7ff,-0x38(%rbp)
jge    12bf <main+0x16f>
movsd  -0x10(%rbp),%xmm1
mov    -0x30(%rbp),%rax
mov    -0x34(%rbp),%ecx
shl    $0xb,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x18(%rbp),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
shl    $0xb,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x18(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
shl    $0xb,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm1
mov    -0x18(%rbp),%rax
mov    -0x34(%rbp),%ecx
shl    $0xb,%ecx
add    -0x38(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm1
mov    -0x18(%rbp),%rax
mov    -0x34(%rbp),%ecx
shl    $0xb,%ecx
add    -0x38(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm1
movsd  0xd70(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x34(%rbp),%ecx
shl    $0xb,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1201 <main+0xb1>
jmp    12c4 <main+0x174>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11ed <main+0x9d>
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x3c(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x20(%rbp),%rdi
call   1060 <max@plt>
mov    -0x40(%rbp),%esi
lea    0xd19(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11dc <main+0x8c>
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    $0x48,%rsp
mov    $0x2000000,%edi
call   1070 <malloc@plt>
mov    %rax,%r15
mov    $0x2000000,%edi
call   1070 <malloc@plt>
mov    %rax,%rbx
mov    $0x2000000,%edi
call   1070 <malloc@plt>
mov    %rax,%r14
mov    %r15,%rdi
call   1040 <initializeCero@plt>
mov    %r14,%rdi
call   1040 <initializeCero@plt>
mov    %rbx,%rdi
call   1040 <initializeCero@plt>
mov    %r15,%rdi
call   1030 <interiorRandom@plt>
mov    %r15,%rdi
call   1060 <max@plt>
cvttsd2si %xmm0,%esi
lea    0xe78(%rip),%rdi
xor    %ebp,%ebp
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,0x30(%rsp)
lea    0x4008(%r14),%rax
mov    %rax,0x20(%rsp)
movsd  0xe46(%rip),%xmm2
movsd  0xe46(%rip),%xmm3
movapd 0xe16(%rip),%xmm4
movapd 0xe1e(%rip),%xmm5
jmp    1254 <main+0x104>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0x10(%rsp),%r14
mov    %r14,%rdi
call   1060 <max@plt>
lea    0xe28(%rip),%rdi
mov    0x28(%rsp),%rbp
mov    %ebp,%esi
mov    $0x1,%al
call   1050 <printf@plt>
movapd 0xde6(%rip),%xmm5
movapd 0xdce(%rip),%xmm4
movsd  0xdee(%rip),%xmm3
movsd  0xdde(%rip),%xmm2
add    $0x1,%ebp
mov    %rbx,%r15
mov    %r14,%rbx
cmp    $0xa,%ebp
je     1464 <main+0x314>
mov    %rbp,0x28(%rsp)
lea    0x4008(%rbx),%rax
mov    %r15,0x10(%rsp)
lea    0x8008(%r15),%rcx
mov    $0x1,%edx
mov    0x20(%rsp),%rsi
xor    %edi,%edi
mov    %rbx,0x38(%rsp)
jmp    12b3 <main+0x163>
nop
add    $0x1,%rdx
mov    0x40(%rsp),%rdi
add    $0x1,%rdi
add    $0x4000,%rax
add    $0x4000,%rcx
add    $0x4000,%rsi
cmp    $0x7ff,%rdx
mov    0x38(%rsp),%rbx
je     1200 <main+0xb0>
mov    %rdx,0x18(%rsp)
mov    %rdi,0x40(%rsp)
shl    $0xe,%rdi
lea    (%rbx,%rdi,1),%rbp
add    $0x4008,%rbp
lea    0x7ff8(%rbx,%rdi,1),%r8
mov    0x10(%rsp),%r15
lea    0x7ff0(%r15,%rdi,1),%r9
lea    0xbff8(%r15,%rdi,1),%r10
lea    0x3ff8(%r15,%rdi,1),%r11
mov    0x30(%rsp),%rbx
lea    (%rbx,%rdi,1),%rdx
add    $0x7ff8,%rdx
add    %rdi,%rbx
add    $0x4008,%rbx
cmp    %rdx,%rbp
setb   %r13b
cmp    %r8,%rbx
lea    0x8(%r15,%rdi,1),%rdx
setb   %r12b
cmp    %r11,%rbp
setb   %bl
cmp    %r8,%rdx
lea    0x8008(%r15,%rdi,1),%rdx
setb   %r14b
cmp    %r10,%rbp
setb   %r10b
cmp    %r8,%rdx
lea    0x4000(%r15,%rdi,1),%rdx
setb   0xf(%rsp)
cmp    %r9,%rbp
setb   %r11b
cmp    %r8,%rdx
lea    0x8000(%r15,%rdi,1),%rdx
setb   0xe(%rsp)
cmp    %rdx,%rbp
lea    0x4010(%r15,%rdi,1),%rdx
setb   %r9b
cmp    %r8,%rdx
setb   %dil
test   %r12b,%r13b
jne    1410 <main+0x2c0>
and    %r14b,%bl
jne    1410 <main+0x2c0>
and    0xf(%rsp),%r10b
jne    1410 <main+0x2c0>
and    0xe(%rsp),%r11b
jne    1410 <main+0x2c0>
and    %dil,%r9b
jne    1410 <main+0x2c0>
xor    %ebp,%ebp
mov    0x18(%rsp),%rdx
nopw   0x0(%rax,%rax,1)
movupd (%rsi,%rbp,8),%xmm0
movupd -0x8000(%rcx,%rbp,8),%xmm1
ff ff
mulpd  %xmm4,%xmm0
addpd  %xmm1,%xmm0
movupd (%rcx,%rbp,8),%xmm1
addpd  %xmm0,%xmm1
movupd -0x4008(%rcx,%rbp,8),%xmm0
ff ff
addpd  %xmm1,%xmm0
movupd -0x3ff8(%rcx,%rbp,8),%xmm1
ff ff
addpd  %xmm0,%xmm1
mulpd  %xmm5,%xmm1
movupd %xmm1,(%rax,%rbp,8)
add    $0x2,%rbp
cmp    $0x7fe,%rbp
jne    13b0 <main+0x260>
jmp    1280 <main+0x130>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %ebp,%ebp
mov    0x18(%rsp),%rdx
nopw   0x0(%rax,%rax,1)
movsd  (%rsi,%rbp,8),%xmm0
mulsd  %xmm2,%xmm0
addsd  -0x8000(%rcx,%rbp,8),%xmm0
ff ff
addsd  (%rcx,%rbp,8),%xmm0
addsd  -0x4008(%rcx,%rbp,8),%xmm0
ff ff
addsd  -0x3ff8(%rcx,%rbp,8),%xmm0
ff ff
mulsd  %xmm3,%xmm0
movsd  %xmm0,(%rax,%rbp,8)
add    $0x1,%rbp
cmp    $0x7fe,%rbp
jne    1420 <main+0x2d0>
jmp    1280 <main+0x130>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [12 x i8] c"Initial=%f\0A\00"
@.str.1 = [17 x i8] c"Iter %d: max=%f\0A\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 33554432)
%2 = inttoptr i64 %1 to double*
%3 = tail call i64 @malloc(i32 33554432)
%4 = inttoptr i64 %3 to double*
%5 = tail call i64 @malloc(i32 33554432)
%6 = inttoptr i64 %5 to double*
%7 = tail call i32 @initializeCero(double* %2)
%8 = tail call i32 @initializeCero(double* %6)
%9 = tail call i32 @initializeCero(double* %4)
%10 = tail call i32 @interiorRandom(double* %2)
%11 = tail call double @max(double* %2)
%12 = fptosi double %11 to i32
%13 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %12)
br label %14
14: ; preds = %0, %125
%15 = phi i32 [ 0, %0 ], [ %128, %125 ]
%16 = phi double* [ %2, %0 ], [ %17, %125 ]
%17 = phi double* [ %4, %0 ], [ %16, %125 ]
br label %18
18: ; preds = %14, %121
%19 = phi i64 [ 0, %14 ], [ %124, %121 ]
%20 = phi i64 [ 1, %14 ], [ %122, %121 ]
%21 = shl nuw nsw i64 %19, 11
%22 = add i64 %21, 2049
%23 = getelementptr double, double* %17, i64 %22
%24 = add i64 %21, 4095
%25 = getelementptr double, double* %17, i64 %24
%26 = shl nsw i64 %20, 11
%27 = add i64 %21, 4096
%28 = getelementptr double, double* %16, i64 %27
%29 = add i64 %21, 2050
%30 = getelementptr double, double* %16, i64 %29
%31 = add i64 %21, 4094
%32 = getelementptr double, double* %16, i64 %31
%33 = add i64 %21, 2048
%34 = getelementptr double, double* %16, i64 %33
%35 = add i64 %21, 6143
%36 = getelementptr double, double* %16, i64 %35
%37 = add i64 %21, 4097
%38 = getelementptr double, double* %16, i64 %37
%39 = or i64 %21, 2047
%40 = getelementptr double, double* %16, i64 %39
%41 = or i64 %21, 1
%42 = getelementptr double, double* %16, i64 %41
%43 = getelementptr double, double* %6, i64 %24
%44 = getelementptr double, double* %6, i64 %22
%45 = icmp ult double* %23, %43
%46 = icmp ult double* %44, %25
%47 = and i1 %45, %46
%48 = icmp ult double* %23, %40
%49 = icmp ult double* %42, %25
%50 = and i1 %48, %49
%51 = or i1 %47, %50
%52 = icmp ult double* %23, %36
%53 = icmp ult double* %38, %25
%54 = and i1 %52, %53
%55 = or i1 %51, %54
%56 = icmp ult double* %23, %32
%57 = icmp ult double* %34, %25
%58 = and i1 %56, %57
%59 = or i1 %55, %58
%60 = icmp ult double* %23, %28
%61 = icmp ult double* %30, %25
%62 = and i1 %60, %61
%63 = or i1 %59, %62
br i1 %63, label %96, label %64
64: ; preds = %18, %64
%65 = phi i64 [ %94, %64 ], [ 0, %18 ]
%66 = or i64 %65, 1
%67 = add nuw nsw i64 %66, %26
%68 = getelementptr inbounds double, double* %6, i64 %67
%69 = bitcast double* %68 to <2 x double>*
%70 = load <2 x double>, <2 x double>* %69
%71 = add nsw i64 %67, -2048
%72 = getelementptr inbounds double, double* %16, i64 %71
%73 = bitcast double* %72 to <2 x double>*
%74 = load <2 x double>, <2 x double>* %73
%75 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %70, <2 x double> <double 0x3F40000000000000, double 0x3F40000000000000>, <2 x double> %74)
%76 = add nuw nsw i64 %67, 2048
%77 = getelementptr inbounds double, double* %16, i64 %76
%78 = bitcast double* %77 to <2 x double>*
%79 = load <2 x double>, <2 x double>* %78
%80 = fadd <2 x double> %75, %79
%81 = add nsw i64 %67, -1
%82 = getelementptr inbounds double, double* %16, i64 %81
%83 = bitcast double* %82 to <2 x double>*
%84 = load <2 x double>, <2 x double>* %83
%85 = fadd <2 x double> %80, %84
%86 = add nuw nsw i64 %67, 1
%87 = getelementptr inbounds double, double* %16, i64 %86
%88 = bitcast double* %87 to <2 x double>*
%89 = load <2 x double>, <2 x double>* %88
%90 = fadd <2 x double> %85, %89
%91 = fmul <2 x double> %90, <double 2.500000e-01, double 2.500000e-01>
%92 = getelementptr inbounds double, double* %17, i64 %67
%93 = bitcast double* %92 to <2 x double>*
store <2 x double> %91, <2 x double>* %93
%94 = add nuw i64 %65, 2
%95 = icmp eq i64 %94, 2046
br i1 %95, label %121, label %64
96: ; preds = %18, %96
%97 = phi i64 [ %119, %96 ], [ 1, %18 ]
%98 = add nuw nsw i64 %97, %26
%99 = getelementptr inbounds double, double* %6, i64 %98
%100 = load double, double* %99
%101 = add nsw i64 %98, -2048
%102 = getelementptr inbounds double, double* %16, i64 %101
%103 = load double, double* %102
%104 = tail call double @llvm.fmuladd.f64(double %100, double 0x3F40000000000000, double %103)
%105 = add nuw nsw i64 %98, 2048
%106 = getelementptr inbounds double, double* %16, i64 %105
%107 = load double, double* %106
%108 = fadd double %104, %107
%109 = add nsw i64 %98, -1
%110 = getelementptr inbounds double, double* %16, i64 %109
%111 = load double, double* %110
%112 = fadd double %108, %111
%113 = add nuw nsw i64 %98, 1
%114 = getelementptr inbounds double, double* %16, i64 %113
%115 = load double, double* %114
%116 = fadd double %112, %115
%117 = fmul double %116, 2.500000e-01
%118 = getelementptr inbounds double, double* %17, i64 %98
store double %117, double* %118
%119 = add nuw nsw i64 %97, 1
%120 = icmp eq i64 %119, 2047
br i1 %120, label %121, label %96
121: ; preds = %64, %96
%122 = add nuw nsw i64 %20, 1
%123 = icmp eq i64 %122, 2047
%124 = add i64 %19, 1
br i1 %123, label %125, label %18
125: ; preds = %121
%126 = tail call double @max(double* %16)
%127 = tail call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.1, i64 0, i64 0), i32 %15, double %126)
%128 = add nuw nsw i32 %15, 1
%129 = icmp eq i32 %128, 10
br i1 %129, label %130, label %14
130: ; preds = %125
ret i32 0
}