#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ advance_vel(double, double *, double);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, double, double, double,
                           double, double, double);
int /*<<< orphan*/ leapfrog(double *, double *, double *, double);
int /*<<< orphan*/ printf(char *, double, double, double, double, double,
                          double);
int sqrt(int);
void lpf_int(char *fout, double t, double tmax, double step, double x,
             double zx, double v, double zv) {
  int i;
  double E;
  FILE *file;
  file = fopen(fout, "w");
  if (t > 0)
    advance_vel(x, &zx, -0.5 * step);
  if (t > 0)
    advance_vel(v, &zv, -0.5 * step);
  E = (zx * zx + zv * zv) / 2.0 + (-1) / (sqrt(1 + 2 * x * x + 2 * v * v));
  printf("%f\t%e\t%e\t%e\t%e\t%e\n", t, x, zx, v, zv, E);
  fprintf(file, "%f\t%e\t%e\t%e\t%e\t%e\n", t, x, zx, v, zv, E);
  advance_vel(x, &zx, 0.5 * step);
  advance_vel(v, &zv, 0.5 * step);
  while (t < tmax) {
    leapfrog(&x, &zx, &t, step);
    leapfrog(&v, &zv, &t, step);
    E = (zx * zx + zv * zv) / 2.0 + (-1) / (sqrt(1 + 2 * x * x + 2 * v * v));
    printf("%f\t%e\t%e\t%e\t%e\t%e\n", t, x, zx, v, zv, E);
    fprintf(file, "%f\t%e\t%e\t%e\t%e\t%e\n", t, x, zx, v, zv, E);
  }
}


x86 assembly (clang, -O0):
<lpf_int>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
movsd  %xmm3,-0x28(%rbp)
movsd  %xmm4,-0x30(%rbp)
movsd  %xmm5,-0x38(%rbp)
movsd  %xmm6,-0x40(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xe86(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x58(%rbp)
movsd  -0x10(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    11d0 <lpf_int+0x70>
movsd  -0x28(%rbp),%xmm0
movsd  0xe3e(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
lea    -0x30(%rbp),%rdi
call   1050 <advance_vel@plt>
movsd  -0x10(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    11fd <lpf_int+0x9d>
movsd  -0x38(%rbp),%xmm0
movsd  0xe11(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
lea    -0x40(%rbp),%rdi
call   1050 <advance_vel@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xdef(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xdde(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm0,%xmm1
movsd  0xdd0(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  0xdbc(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1080 <sqrt@plt>
movsd  -0x60(%rbp),%xmm0
mov    %eax,%ecx
mov    $0xffffffff,%eax
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
movsd  -0x50(%rbp),%xmm5
lea    0xd72(%rip),%rdi
call   1030 <printf@plt>
mov    -0x58(%rbp),%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
movsd  -0x50(%rbp),%xmm5
lea    0xd44(%rip),%rsi
call   1060 <fprintf@plt>
movsd  -0x28(%rbp),%xmm0
movsd  0xd18(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
lea    -0x30(%rbp),%rdi
call   1050 <advance_vel@plt>
movsd  -0x38(%rbp),%xmm0
movsd  0xcfd(%rip),%xmm1
mulsd  -0x20(%rbp),%xmm1
lea    -0x40(%rbp),%rdi
call   1050 <advance_vel@plt>
movsd  -0x10(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    1444 <lpf_int+0x2e4>
movsd  -0x20(%rbp),%xmm0
lea    -0x28(%rbp),%rdi
lea    -0x30(%rbp),%rsi
lea    -0x10(%rbp),%rdx
call   1040 <leapfrog@plt>
movsd  -0x20(%rbp),%xmm0
lea    -0x38(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x10(%rbp),%rdx
call   1040 <leapfrog@plt>
movsd  -0x30(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movsd  -0x40(%rbp),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xc93(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xc82(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm0
mulsd  %xmm0,%xmm1
movsd  0xc74(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  0xc60(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1080 <sqrt@plt>
movsd  -0x68(%rbp),%xmm0
mov    %eax,%ecx
mov    $0xffffffff,%eax
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
movsd  -0x50(%rbp),%xmm5
lea    0xc16(%rip),%rdi
call   1030 <printf@plt>
mov    -0x58(%rbp),%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x38(%rbp),%xmm3
movsd  -0x40(%rbp),%xmm4
movsd  -0x50(%rbp),%xmm5
lea    0xbe8(%rip),%rsi
call   1060 <fprintf@plt>
jmp    1319 <lpf_int+0x1b9>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lpf_int>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
movsd  %xmm6,(%rsp)
movsd  %xmm2,0x30(%rsp)
movsd  %xmm1,0x50(%rsp)
movsd  %xmm0,0x28(%rsp)
movsd  %xmm0,0x48(%rsp)
movsd  %xmm3,0x20(%rsp)
movsd  %xmm3,0x40(%rsp)
movsd  %xmm4,0x18(%rsp)
movsd  %xmm5,0x8(%rsp)
movsd  %xmm5,0x38(%rsp)
movsd  %xmm6,0x10(%rsp)
lea    0xe62(%rip),%rsi
call   1070 <fopen@plt>
movsd  (%rsp),%xmm1
mov    %rax,%r12
xorpd  %xmm0,%xmm0
movsd  0x28(%rsp),%xmm2
ucomisd %xmm0,%xmm2
jbe    1211 <lpf_int+0xb1>
movsd  0xe25(%rip),%xmm1
mulsd  0x30(%rsp),%xmm1
movsd  %xmm1,(%rsp)
lea    0x18(%rsp),%rdi
movsd  0x20(%rsp),%xmm0
call   1050 <advance_vel@plt>
lea    0x10(%rsp),%rdi
movsd  0x8(%rsp),%xmm0
movsd  (%rsp),%xmm1
call   1050 <advance_vel@plt>
movsd  0x10(%rsp),%xmm1
movsd  0x18(%rsp),%xmm0
mulsd  %xmm1,%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
mulsd  0xddd(%rip),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x20(%rsp),%xmm1
movapd %xmm1,%xmm0
addsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
addsd  0xdc6(%rip),%xmm0
movsd  0x8(%rsp),%xmm2
movapd %xmm2,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
cvttsd2si %xmm1,%edi
call   1080 <sqrt@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cltd
idiv   %ecx
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  (%rsp),%xmm0
movapd %xmm0,%xmm5
movsd  %xmm0,(%rsp)
movsd  0x18(%rsp),%xmm2
movsd  0x10(%rsp),%xmm4
lea    0xd7f(%rip),%rbx
mov    %rbx,%rdi
movsd  0x28(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
movsd  0x8(%rsp),%xmm3
call   1030 <printf@plt>
movsd  0x18(%rsp),%xmm2
movsd  0x10(%rsp),%xmm4
mov    %r12,%rdi
mov    %rbx,%rsi
movsd  0x28(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
movsd  0x8(%rsp),%xmm3
movsd  (%rsp),%xmm5
call   1060 <fprintf@plt>
movsd  0x30(%rsp),%xmm1
mulsd  0xd17(%rip),%xmm1
movsd  %xmm1,(%rsp)
lea    0x18(%rsp),%rdi
movsd  0x20(%rsp),%xmm0
call   1050 <advance_vel@plt>
lea    0x10(%rsp),%rdi
movsd  0x8(%rsp),%xmm0
movsd  (%rsp),%xmm1
call   1050 <advance_vel@plt>
movsd  0x50(%rsp),%xmm0
ucomisd 0x28(%rsp),%xmm0
jbe    1461 <lpf_int+0x301>
lea    0x18(%rsp),%r15
lea    0x48(%rsp),%rbx
lea    0x38(%rsp),%r13
lea    0x10(%rsp),%rbp
lea    0xcd2(%rip),%r14
nopl   0x0(%rax,%rax,1)
lea    0x40(%rsp),%rdi
mov    %r15,%rsi
mov    %rbx,%rdx
movsd  0x30(%rsp),%xmm0
call   1040 <leapfrog@plt>
mov    %r13,%rdi
mov    %rbp,%rsi
mov    %rbx,%rdx
movsd  0x30(%rsp),%xmm0
call   1040 <leapfrog@plt>
movsd  0x18(%rsp),%xmm1
movsd  0x10(%rsp),%xmm0
mulsd  %xmm0,%xmm0
mulsd  %xmm1,%xmm1
addsd  %xmm0,%xmm1
mulsd  0xc6e(%rip),%xmm1
movsd  %xmm1,0x8(%rsp)
movsd  0x40(%rsp),%xmm0
movapd %xmm0,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
addsd  0xc56(%rip),%xmm1
movsd  0x38(%rsp),%xmm0
movapd %xmm0,%xmm2
addsd  %xmm0,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edi
call   1080 <sqrt@plt>
mov    %eax,%ecx
mov    $0xffffffff,%eax
cltd
idiv   %ecx
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  0x8(%rsp),%xmm0
movapd %xmm0,%xmm5
movsd  %xmm0,0x8(%rsp)
movsd  0x48(%rsp),%xmm0
movsd  0x40(%rsp),%xmm1
movsd  0x18(%rsp),%xmm2
movsd  0x38(%rsp),%xmm3
movsd  0x10(%rsp),%xmm4
mov    %r14,%rdi
call   1030 <printf@plt>
movsd  0x48(%rsp),%xmm0
movsd  0x40(%rsp),%xmm1
movsd  0x18(%rsp),%xmm2
movsd  0x38(%rsp),%xmm3
movsd  0x10(%rsp),%xmm4
mov    %r12,%rdi
mov    %r14,%rsi
movsd  0x8(%rsp),%xmm5
call   1060 <fprintf@plt>
movsd  0x50(%rsp),%xmm0
ucomisd 0x48(%rsp),%xmm0
ja     1350 <lpf_int+0x1f0>
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [2 x i8] c"w\00"
@.str.1 = [19 x i8] c"%f\09%e\09%e\09%e\09%e\09%e\0A\00"
define void @lpf_int(i8* %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7) {
%9 = alloca i8*
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca i32
%18 = alloca double
%19 = alloca i32*
store i8* %0, i8** %9
store double %1, double* %10
store double %2, double* %11
store double %3, double* %12
store double %4, double* %13
store double %5, double* %14
store double %6, double* %15
store double %7, double* %16
%20 = load i8*, i8** %9
%21 = call i32* @fopen(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
store i32* %21, i32** %19
%22 = load double, double* %10
%23 = fcmp ogt double %22, 0.000000e+00
br i1 %23, label %24, label %29
24: ; preds = %8
%25 = load double, double* %13
%26 = load double, double* %12
%27 = fmul double -5.000000e-01, %26
%28 = call i32 @advance_vel(double %25, double* %14, double %27)
br label %29
29: ; preds = %24, %8
%30 = load double, double* %10
%31 = fcmp ogt double %30, 0.000000e+00
br i1 %31, label %32, label %37
32: ; preds = %29
%33 = load double, double* %15
%34 = load double, double* %12
%35 = fmul double -5.000000e-01, %34
%36 = call i32 @advance_vel(double %33, double* %16, double %35)
br label %37
37: ; preds = %32, %29
%38 = load double, double* %14
%39 = load double, double* %14
%40 = load double, double* %16
%41 = load double, double* %16
%42 = fmul double %40, %41
%43 = call double @llvm.fmuladd.f64(double %38, double %39, double %42)
%44 = fdiv double %43, 2.000000e+00
%45 = load double, double* %13
%46 = fmul double 2.000000e+00, %45
%47 = load double, double* %13
%48 = call double @llvm.fmuladd.f64(double %46, double %47, double 1.000000e+00)
%49 = load double, double* %15
%50 = fmul double 2.000000e+00, %49
%51 = load double, double* %15
%52 = call double @llvm.fmuladd.f64(double %50, double %51, double %48)
%53 = fptosi double %52 to i32
%54 = call i32 @sqrt(i32 %53)
%55 = sdiv i32 -1, %54
%56 = sitofp i32 %55 to double
%57 = fadd double %44, %56
store double %57, double* %18
%58 = load double, double* %10
%59 = load double, double* %13
%60 = load double, double* %14
%61 = load double, double* %15
%62 = load double, double* %16
%63 = load double, double* %18
%64 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %58, double %59, double %60, double %61, double %62, double %63)
%65 = load i32*, i32** %19
%66 = load double, double* %10
%67 = load double, double* %13
%68 = load double, double* %14
%69 = load double, double* %15
%70 = load double, double* %16
%71 = load double, double* %18
%72 = call i32 @fprintf(i32* %65, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %66, double %67, double %68, double %69, double %70, double %71)
%73 = load double, double* %13
%74 = load double, double* %12
%75 = fmul double 5.000000e-01, %74
%76 = call i32 @advance_vel(double %73, double* %14, double %75)
%77 = load double, double* %15
%78 = load double, double* %12
%79 = fmul double 5.000000e-01, %78
%80 = call i32 @advance_vel(double %77, double* %16, double %79)
br label %81
81: ; preds = %85, %37
%82 = load double, double* %10
%83 = load double, double* %11
%84 = fcmp olt double %82, %83
br i1 %84, label %85, label %125
85: ; preds = %81
%86 = load double, double* %12
%87 = call i32 @leapfrog(double* %13, double* %14, double* %10, double %86)
%88 = load double, double* %12
%89 = call i32 @leapfrog(double* %15, double* %16, double* %10, double %88)
%90 = load double, double* %14
%91 = load double, double* %14
%92 = load double, double* %16
%93 = load double, double* %16
%94 = fmul double %92, %93
%95 = call double @llvm.fmuladd.f64(double %90, double %91, double %94)
%96 = fdiv double %95, 2.000000e+00
%97 = load double, double* %13
%98 = fmul double 2.000000e+00, %97
%99 = load double, double* %13
%100 = call double @llvm.fmuladd.f64(double %98, double %99, double 1.000000e+00)
%101 = load double, double* %15
%102 = fmul double 2.000000e+00, %101
%103 = load double, double* %15
%104 = call double @llvm.fmuladd.f64(double %102, double %103, double %100)
%105 = fptosi double %104 to i32
%106 = call i32 @sqrt(i32 %105)
%107 = sdiv i32 -1, %106
%108 = sitofp i32 %107 to double
%109 = fadd double %96, %108
store double %109, double* %18
%110 = load double, double* %10
%111 = load double, double* %13
%112 = load double, double* %14
%113 = load double, double* %15
%114 = load double, double* %16
%115 = load double, double* %18
%116 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %110, double %111, double %112, double %113, double %114, double %115)
%117 = load i32*, i32** %19
%118 = load double, double* %10
%119 = load double, double* %13
%120 = load double, double* %14
%121 = load double, double* %15
%122 = load double, double* %16
%123 = load double, double* %18
%124 = call i32 @fprintf(i32* %117, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %118, double %119, double %120, double %121, double %122, double %123)
br label %81
125: ; preds = %81
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"w\00"
@.str.1 = [19 x i8] c"%f\09%e\09%e\09%e\09%e\09%e\0A\00"
define void @lpf_int(i8* nocapture %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7) {
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
store double %1, double* %9
store double %4, double* %10
store double %5, double* %11
store double %6, double* %12
store double %7, double* %13
%14 = tail call i32* @fopen(i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%15 = fcmp ogt double %1, 0.000000e+00
br i1 %15, label %16, label %22
16: ; preds = %8
%17 = fmul double %3, -5.000000e-01
%18 = call i32 @advance_vel(double %4, double* %11, double %17)
%19 = fmul double %3, -5.000000e-01
%20 = call i32 @advance_vel(double %6, double* %13, double %19)
%21 = load double, double* %13
br label %22
22: ; preds = %8, %16
%23 = phi double [ %21, %16 ], [ %7, %8 ]
%24 = load double, double* %11
%25 = fmul double %23, %23
%26 = call double @llvm.fmuladd.f64(double %24, double %24, double %25)
%27 = fmul double %26, 5.000000e-01
%28 = fmul double %4, 2.000000e+00
%29 = call double @llvm.fmuladd.f64(double %28, double %4, double 1.000000e+00)
%30 = fmul double %6, 2.000000e+00
%31 = call double @llvm.fmuladd.f64(double %30, double %6, double %29)
%32 = fptosi double %31 to i32
%33 = call i32 @sqrt(i32 %32)
%34 = sdiv i32 -1, %33
%35 = sitofp i32 %34 to double
%36 = fadd double %27, %35
%37 = load double, double* %11
%38 = load double, double* %13
%39 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %1, double %4, double %37, double %6, double %38, double %36)
%40 = load double, double* %11
%41 = load double, double* %13
%42 = call i32 @fprintf(i32* %14, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %1, double %4, double %40, double %6, double %41, double %36)
%43 = fmul double %3, 5.000000e-01
%44 = call i32 @advance_vel(double %4, double* %11, double %43)
%45 = call i32 @advance_vel(double %6, double* %13, double %43)
%46 = fcmp olt double %1, %2
br i1 %46, label %47, label %80
47: ; preds = %22, %47
%48 = call i32 @leapfrog(double* %10, double* %11, double* %9, double %3)
%49 = call i32 @leapfrog(double* %12, double* %13, double* %9, double %3)
%50 = load double, double* %11
%51 = load double, double* %13
%52 = fmul double %51, %51
%53 = call double @llvm.fmuladd.f64(double %50, double %50, double %52)
%54 = fmul double %53, 5.000000e-01
%55 = load double, double* %10
%56 = fmul double %55, 2.000000e+00
%57 = call double @llvm.fmuladd.f64(double %56, double %55, double 1.000000e+00)
%58 = load double, double* %12
%59 = fmul double %58, 2.000000e+00
%60 = call double @llvm.fmuladd.f64(double %59, double %58, double %57)
%61 = fptosi double %60 to i32
%62 = call i32 @sqrt(i32 %61)
%63 = sdiv i32 -1, %62
%64 = sitofp i32 %63 to double
%65 = fadd double %54, %64
%66 = load double, double* %9
%67 = load double, double* %10
%68 = load double, double* %11
%69 = load double, double* %12
%70 = load double, double* %13
%71 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %66, double %67, double %68, double %69, double %70, double %65)
%72 = load double, double* %9
%73 = load double, double* %10
%74 = load double, double* %11
%75 = load double, double* %12
%76 = load double, double* %13
%77 = call i32 @fprintf(i32* %14, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), double %72, double %73, double %74, double %75, double %76, double %65)
%78 = load double, double* %9
%79 = fcmp olt double %78, %2
br i1 %79, label %47, label %80
80: ; preds = %47, %22
ret void
}