#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 */
double _f(double);
scalar_t__ fabs(double);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
double lomberg(double xmin, double xmax, double eps) {
  int idx, ierr, j, k;
  double t[434];
  double fxmax, fxmin, fw, hi, hk, xw, w, w1;
  if (eps <= 0.) {
    fprintf(stderr, "Error : eps <= 0  in lomberg()\n");
    return 0.;
  }
  if (xmin == xmax)
    return 0.;
  w = t[0] =
      ((fxmin = _f(xmin)) + (fxmax = _f(xmax))) * (xw = xmax - xmin) / 2.;
  fw = (fxmin - fxmax) / 2.;
  idx = 0;
  for (k = 2, hk = 2.; k < 30; k++, hk *= 2.) {
    w = xw / hk;
    for (hi = 1., w1 = fw; hi <= hk; hi += 1.)
      w1 += _f(xmin + w * hi);
    w = (t[++idx] = w1 * w);
    for (j = 1, w1 = 4.; j < k; j++, w1 *= 4.) {
      idx++;
      w = (t[idx] = (w1 * w - t[idx - k]) / (w1 - 1.));
    }
    if (fabs(w - t[idx - k]) < fabs(eps * t[idx - k]))
      return w;
  }
  fprintf(stderr, "Error : No convergence in lomberg()\n");
  return w;
}


x86 assembly (clang, -O0):
<lomberg>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe10,%rsp
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
movsd  %xmm2,-0x20(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x20(%rbp),%xmm0
jb     117a <lomberg+0x4a>
mov    0x2e81(%rip),%rax
mov    (%rax),%edi
lea    0xeb0(%rip),%rsi
call   1040 <fprintf@plt>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1494 <lomberg+0x364>
movsd  -0x10(%rbp),%xmm0
ucomisd -0x18(%rbp),%xmm0
jne    119d <lomberg+0x6d>
jp     119d <lomberg+0x6d>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    1494 <lomberg+0x364>
movsd  -0x10(%rbp),%xmm0
call   1050 <_f@plt>
movsd  %xmm0,-0xe08(%rbp)
ff
movsd  %xmm0,-0xdd0(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
call   1050 <_f@plt>
movaps %xmm0,%xmm1
movsd  -0xe08(%rbp),%xmm0
ff
movsd  %xmm1,-0xdc8(%rbp)
ff
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
subsd  -0x10(%rbp),%xmm1
movsd  %xmm1,-0xdf0(%rbp)
ff
mulsd  %xmm1,%xmm0
movsd  0xe0a(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xdc0(%rbp)
ff
movsd  %xmm0,-0xdf8(%rbp)
ff
movsd  -0xdd0(%rbp),%xmm0
ff
subsd  -0xdc8(%rbp),%xmm0
ff
movsd  0xdde(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xdd8(%rbp)
ff
movl   $0x0,-0x24(%rbp)
movl   $0x2,-0x30(%rbp)
movsd  0xdbc(%rip),%xmm0
movsd  %xmm0,-0xde8(%rbp)
ff
cmpl   $0x1e,-0x30(%rbp)
jge    1472 <lomberg+0x342>
movsd  -0xdf0(%rbp),%xmm0
ff
divsd  -0xde8(%rbp),%xmm0
ff
movsd  %xmm0,-0xdf8(%rbp)
ff
movsd  0xd92(%rip),%xmm0
movsd  %xmm0,-0xde0(%rbp)
ff
movsd  -0xdd8(%rbp),%xmm0
ff
movsd  %xmm0,-0xe00(%rbp)
ff
movsd  -0xde0(%rbp),%xmm1
ff
movsd  -0xde8(%rbp),%xmm0
ff
ucomisd %xmm1,%xmm0
jb     12f7 <lomberg+0x1c7>
movsd  -0x10(%rbp),%xmm1
movsd  -0xdf8(%rbp),%xmm0
ff
movsd  -0xde0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1050 <_f@plt>
addsd  -0xe00(%rbp),%xmm0
ff
movsd  %xmm0,-0xe00(%rbp)
ff
movsd  0xd26(%rip),%xmm0
addsd  -0xde0(%rbp),%xmm0
ff
movsd  %xmm0,-0xde0(%rbp)
ff
jmp    128e <lomberg+0x15e>
movsd  -0xe00(%rbp),%xmm0
ff
mulsd  -0xdf8(%rbp),%xmm0
ff
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cltq
movsd  %xmm0,-0xdc0(%rbp,%rax,8)
ff ff
movsd  %xmm0,-0xdf8(%rbp)
ff
movl   $0x1,-0x2c(%rbp)
movsd  0xcde(%rip),%xmm0
movsd  %xmm0,-0xe00(%rbp)
ff
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jge    13e2 <lomberg+0x2b2>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
movsd  -0xe00(%rbp),%xmm0
ff
movsd  -0xdf8(%rbp),%xmm2
ff
mov    -0x24(%rbp),%eax
sub    -0x30(%rbp),%eax
cltq
movsd  -0xdc0(%rbp,%rax,8),%xmm1
ff ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0xe00(%rbp),%xmm1
ff
movsd  0xc69(%rip),%xmm2
subsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movsd  %xmm0,-0xdc0(%rbp,%rax,8)
ff ff
movsd  %xmm0,-0xdf8(%rbp)
ff
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
movsd  0xc43(%rip),%xmm0
mulsd  -0xe00(%rbp),%xmm0
ff
movsd  %xmm0,-0xe00(%rbp)
ff
jmp    133a <lomberg+0x20a>
movsd  -0xdf8(%rbp),%xmm0
ff
mov    -0x24(%rbp),%eax
sub    -0x30(%rbp),%eax
cltq
subsd  -0xdc0(%rbp,%rax,8),%xmm0
ff ff
call   1030 <fabs@plt>
mov    %rax,-0xe10(%rbp)
movsd  -0x20(%rbp),%xmm0
mov    -0x24(%rbp),%eax
sub    -0x30(%rbp),%eax
cltq
mulsd  -0xdc0(%rbp,%rax,8),%xmm0
ff ff
call   1030 <fabs@plt>
mov    %rax,%rcx
mov    -0xe10(%rbp),%rax
cmp    %rcx,%rax
jge    1447 <lomberg+0x317>
movsd  -0xdf8(%rbp),%xmm0
ff
movsd  %xmm0,-0x8(%rbp)
jmp    1494 <lomberg+0x364>
jmp    144c <lomberg+0x31c>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
movsd  0xba3(%rip),%xmm0
mulsd  -0xde8(%rbp),%xmm0
ff
movsd  %xmm0,-0xde8(%rbp)
ff
jmp    124c <lomberg+0x11c>
mov    0x2b67(%rip),%rax
mov    (%rax),%edi
lea    0xbb6(%rip),%rsi
call   1040 <fprintf@plt>
movsd  -0xdf8(%rbp),%xmm0
ff
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0xe10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lomberg>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xdd8,%rsp
xorpd  %xmm3,%xmm3
movsd  %xmm2,0x30(%rsp)
ucomisd %xmm2,%xmm3
jae    1367 <lomberg+0x237>
xorpd  %xmm2,%xmm2
ucomisd %xmm1,%xmm0
jne    1165 <lomberg+0x35>
jnp    138a <lomberg+0x25a>
movabs $0x100000000,%r13
movsd  %xmm0,0x18(%rsp)
movsd  %xmm1,0x8(%rsp)
call   1050 <_f@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
call   1050 <_f@plt>
movsd  0x8(%rsp),%xmm3
movsd  0x10(%rsp),%xmm4
movapd %xmm4,%xmm1
addsd  %xmm0,%xmm1
subsd  0x18(%rsp),%xmm3
mulsd  %xmm3,%xmm1
movsd  0xe49(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x40(%rsp)
movapd %xmm4,%xmm1
subsd  %xmm0,%xmm1
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x10(%rsp)
movsd  0xe2d(%rip),%xmm0
mov    $0x2,%r15d
mov    $0xffffffffffffffff,%rbx
xor    %ebp,%ebp
movsd  0xe1e(%rip),%xmm1
movsd  %xmm3,0x8(%rsp)
nopl   0x0(%rax,%rax,1)
divsd  %xmm0,%xmm3
ucomisd %xmm1,%xmm0
movsd  0x10(%rsp),%xmm2
movsd  0x18(%rsp),%xmm4
movsd  %xmm0,0x28(%rsp)
jb     127c <lomberg+0x14c>
movsd  0x10(%rsp),%xmm2
movsd  %xmm3,(%rsp)
nopw   0x0(%rax,%rax,1)
movsd  %xmm1,0x38(%rsp)
movsd  %xmm2,0x20(%rsp)
movapd %xmm3,%xmm0
mulsd  %xmm1,%xmm0
addsd  %xmm4,%xmm0
call   1050 <_f@plt>
movsd  0x38(%rsp),%xmm1
movsd  0x18(%rsp),%xmm4
movsd  0x20(%rsp),%xmm2
movsd  (%rsp),%xmm3
addsd  %xmm0,%xmm2
movsd  0x28(%rsp),%xmm0
addsd  0xd9a(%rip),%xmm1
ucomisd %xmm1,%xmm0
jae    1230 <lomberg+0x100>
mulsd  %xmm2,%xmm3
shl    $0x20,%rbp
add    %r13,%rbp
mov    %rbp,%r14
sar    $0x20,%r14
mov    %rbp,%rax
sar    $0x1d,%rax
movsd  %xmm3,0x40(%rsp,%rax,1)
lea    (%r14,%rbx,1),%rax
lea    0x40(%rsp),%rcx
xor    %r12d,%r12d
movsd  0xd69(%rip),%xmm2
movapd %xmm2,%xmm0
movsd  0xd65(%rip),%xmm4
nopl   0x0(%rax,%rax,1)
mulsd  %xmm0,%xmm3
subsd  (%rcx,%rax,8),%xmm3
movapd %xmm0,%xmm1
addsd  %xmm4,%xmm1
divsd  %xmm1,%xmm3
movsd  %xmm3,0x8(%rcx,%r14,8)
mulsd  %xmm2,%xmm0
add    %r13,%rbp
add    $0xffffffffffffffff,%r12
add    $0x8,%rcx
cmp    %r12,%rbx
jne    12c0 <lomberg+0x190>
sar    $0x20,%rbp
sub    %r15,%rbp
movsd  0x40(%rsp,%rbp,8),%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  %xmm3,(%rsp)
movapd %xmm3,%xmm0
subsd  %xmm1,%xmm0
call   1030 <fabs@plt>
mov    %rax,%rbp
movsd  0x20(%rsp),%xmm0
mulsd  0x30(%rsp),%xmm0
call   1030 <fabs@plt>
cmp    %rax,%rbp
jl     1385 <lomberg+0x255>
sub    %r12,%r14
add    $0x1,%r15
movsd  0x28(%rsp),%xmm0
addsd  %xmm0,%xmm0
add    $0xffffffffffffffff,%rbx
mov    %r14,%rbp
cmp    $0x1e,%r15
movsd  0x8(%rsp),%xmm3
movsd  0xcb8(%rip),%xmm1
jne    1200 <lomberg+0xd0>
lea    0xce3(%rip),%rsi
jmp    1377 <lomberg+0x247>
xorpd  %xmm0,%xmm0
movsd  %xmm0,(%rsp)
lea    0xcb1(%rip),%rsi
mov    0x2c62(%rip),%rax
mov    (%rax),%edi
call   1040 <fprintf@plt>
movsd  (%rsp),%xmm2
movapd %xmm2,%xmm0
add    $0xdd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [32 x i8] c"Error : eps <= 0 in lomberg()\0A\00"
@.str.1 = [37 x i8] c"Error : No convergence in lomberg()\0A\00"
define double @lomberg(double %0, double %1, double %2) {
%4 = alloca [434 x double]
%5 = bitcast [434 x double]* %4 to i8*
%6 = fcmp ugt double %2, 0.000000e+00
br i1 %6, label %7, label %73
7: ; preds = %3
%8 = fcmp oeq double %0, %1
br i1 %8, label %78, label %9
9: ; preds = %7
%10 = tail call double @_f(double %0)
%11 = tail call double @_f(double %1)
%12 = fadd double %10, %11
%13 = fsub double %1, %0
%14 = fmul double %13, %12
%15 = fmul double %14, 5.000000e-01
%16 = getelementptr inbounds [434 x double], [434 x double]* %4, i64 0, i64 0
store double %15, double* %16
%17 = fsub double %10, %11
%18 = fmul double %17, 5.000000e-01
br label %19
19: ; preds = %9, %69
%20 = phi i64 [ 2, %9 ], [ %70, %69 ]
%21 = phi double [ 2.000000e+00, %9 ], [ %71, %69 ]
%22 = phi i64 [ 0, %9 ], [ %45, %69 ]
%23 = fdiv double %13, %21
%24 = fcmp ult double %21, 1.000000e+00
br i1 %24, label %33, label %25
25: ; preds = %19, %25
%26 = phi double [ %30, %25 ], [ %18, %19 ]
%27 = phi double [ %31, %25 ], [ 1.000000e+00, %19 ]
%28 = tail call double @llvm.fmuladd.f64(double %23, double %27, double %0)
%29 = tail call double @_f(double %28)
%30 = fadd double %26, %29
%31 = fadd double %27, 1.000000e+00
%32 = fcmp ugt double %31, %21
br i1 %32, label %33, label %25
33: ; preds = %25, %19
%34 = phi double [ %18, %19 ], [ %30, %25 ]
%35 = fmul double %23, %34
%36 = shl i64 %22, 32
%37 = add i64 %36, 4294967296
%38 = ashr exact i64 %37, 32
%39 = getelementptr inbounds [434 x double], [434 x double]* %4, i64 0, i64 %38
store double %35, double* %39
br label %40
40: ; preds = %33, %40
%41 = phi i64 [ %38, %33 ], [ %45, %40 ]
%42 = phi double [ 4.000000e+00, %33 ], [ %55, %40 ]
%43 = phi double [ %35, %33 ], [ %52, %40 ]
%44 = phi i32 [ 1, %33 ], [ %54, %40 ]
%45 = add nsw i64 %41, 1
%46 = sub nsw i64 %45, %20
%47 = getelementptr inbounds [434 x double], [434 x double]* %4, i64 0, i64 %46
%48 = load double, double* %47
%49 = fneg double %48
%50 = tail call double @llvm.fmuladd.f64(double %42, double %43, double %49)
%51 = fadd double %42, -1.000000e+00
%52 = fdiv double %50, %51
%53 = getelementptr inbounds [434 x double], [434 x double]* %4, i64 0, i64 %45
store double %52, double* %53
%54 = add nuw nsw i32 %44, 1
%55 = fmul double %42, 4.000000e+00
%56 = zext i32 %54 to i64
%57 = icmp eq i64 %20, %56
br i1 %57, label %58, label %40
58: ; preds = %40
%59 = shl i64 %45, 32
%60 = ashr exact i64 %59, 32
%61 = sub nsw i64 %60, %20
%62 = getelementptr inbounds [434 x double], [434 x double]* %4, i64 0, i64 %61
%63 = load double, double* %62
%64 = fsub double %52, %63
%65 = tail call i64 @fabs(double %64)
%66 = fmul double %63, %2
%67 = tail call i64 @fabs(double %66)
%68 = icmp slt i64 %65, %67
br i1 %68, label %78, label %69
69: ; preds = %58
%70 = add nuw nsw i64 %20, 1
%71 = fmul double %21, 2.000000e+00
%72 = icmp eq i64 %70, 30
br i1 %72, label %73, label %19
73: ; preds = %69, %3
%74 = phi i8* [ getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), %3 ], [ getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0), %69 ]
%75 = phi double [ 0.000000e+00, %3 ], [ %52, %69 ]
%76 = load i32, i32* @stderr
%77 = tail call i32 @fprintf(i32 %76, i8* %74)
br label %78
78: ; preds = %58, %73, %7
%79 = phi double [ 0.000000e+00, %7 ], [ %75, %73 ], [ %52, %58 ]
ret double %79
}