#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*/ assert(int);
double fabs(double);
double pow(double, int);
double stub1(void *, double);
double stub2(void *, double);
double stub3(void *, double);
double dRombergO(void *CTX, double (*func)(void *, double), double a, double b,
                 double eps) {
  double tllnew;
  double tll;
  double tlk[13 + 1];
  int n = 1;
  int nsamples = 1;
  tlk[0] = tllnew = (b - a) * (*func)(CTX, 0.5 * (b + a));
  tll = 3.4e+38;
  while ((fabs((tllnew - tll) / tllnew) > eps) && (n < 13)) {
    double deltax;
    double tlktmp;
    int i;
    nsamples *= 3;
    deltax = (b - a) / nsamples;
    tlktmp = tlk[0];
    tlk[0] = tlk[0] / 3.0;
    for (i = 0; i < nsamples / 3; i++) {
      tlk[0] += deltax * (*func)(CTX, a + (3 * i + 0.5) * deltax);
      tlk[0] += deltax * (*func)(CTX, a + (3 * i + 2.5) * deltax);
    }
    for (i = 0; i < n; i++) {
      double tlknew =
          (pow(9.0, i + 1) * tlk[i] - tlktmp) / (pow(9.0, i + 1) - 1.0);
      tlktmp = tlk[i + 1];
      tlk[i + 1] = tlknew;
    }
    tll = tllnew;
    tllnew = tlk[n];
    n++;
  }
  assert((fabs((tllnew - tll) / tllnew) < eps));
  return tllnew;
}


x86 assembly (clang, -O0):
<dRombergO>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
movsd  %xmm1,-0x20(%rbp)
movsd  %xmm2,-0x28(%rbp)
movl   $0x1,-0xb4(%rbp)
movl   $0x1,-0xb8(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%rdi
movsd  -0x20(%rbp),%xmm1
addsd  -0x18(%rbp),%xmm1
movsd  0xe86(%rip),%xmm0
mulsd  %xmm1,%xmm0
call   *%rax
movaps %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xe54(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
subsd  -0x38(%rbp),%xmm0
divsd  -0x30(%rbp),%xmm0
movaps 0xe69(%rip),%xmm1
pand   %xmm1,%xmm0
xor    %eax,%eax
ucomisd -0x28(%rbp),%xmm0
mov    %al,-0xe1(%rbp)
jbe    11ee <dRombergO+0xce>
cmpl   $0xd,-0xb4(%rbp)
setl   %al
mov    %al,-0xe1(%rbp)
mov    -0xe1(%rbp),%al
test   $0x1,%al
jne    1201 <dRombergO+0xe1>
jmp    149b <dRombergO+0x37b>
imul   $0x3,-0xb8(%rbp),%eax
mov    %eax,-0xb8(%rbp)
movsd  -0x20(%rbp),%xmm0
subsd  -0x18(%rbp),%xmm0
cvtsi2sdl -0xb8(%rbp),%xmm1
ff
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  0xdc4(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movl   $0x0,-0xcc(%rbp)
mov    -0xcc(%rbp),%eax
mov    %eax,-0xe8(%rbp)
mov    -0xb8(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0xe8(%rbp),%eax
cmp    %ecx,%eax
jge    1372 <dRombergO+0x252>
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xf8(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%rdi
movsd  -0x18(%rbp),%xmm1
imul   $0x3,-0xcc(%rbp),%ecx
cvtsi2sd %ecx,%xmm0
movsd  0xd4c(%rip),%xmm2
addsd  %xmm2,%xmm0
movsd  -0xc0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   *%rax
movaps %xmm0,%xmm2
movsd  -0xf8(%rbp),%xmm0
ff
movsd  -0xb0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
movsd  %xmm0,-0xf0(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x8(%rbp),%rdi
movsd  -0x18(%rbp),%xmm1
imul   $0x3,-0xcc(%rbp),%ecx
cvtsi2sd %ecx,%xmm0
movsd  0xd03(%rip),%xmm2
addsd  %xmm2,%xmm0
movsd  -0xc0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   *%rax
movaps %xmm0,%xmm2
movsd  -0xf0(%rbp),%xmm0
ff
movsd  -0xb0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0xcc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xcc(%rbp)
jmp    1262 <dRombergO+0x142>
movl   $0x0,-0xcc(%rbp)
mov    -0xcc(%rbp),%eax
cmp    -0xb4(%rbp),%eax
jge    1468 <dRombergO+0x348>
mov    -0xcc(%rbp),%edi
add    $0x1,%edi
movsd  0xc81(%rip),%xmm0
call   1040 <pow@plt>
movslq -0xcc(%rbp),%rax
movsd  -0xb0(%rbp,%rax,8),%xmm2
ff ff
movsd  -0xc8(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
mov    -0xcc(%rbp),%edi
add    $0x1,%edi
movsd  0xc2c(%rip),%xmm0
call   1040 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x100(%rbp),%xmm0
ff
movsd  0xc0c(%rip),%xmm2
subsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
mov    -0xcc(%rbp),%eax
add    $0x1,%eax
cltq
movsd  -0xb0(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
mov    -0xcc(%rbp),%eax
add    $0x1,%eax
cltq
movsd  %xmm0,-0xb0(%rbp,%rax,8)
ff ff
mov    -0xcc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xcc(%rbp)
jmp    137c <dRombergO+0x25c>
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movslq -0xb4(%rbp),%rax
movsd  -0xb0(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0x30(%rbp)
mov    -0xb4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    11b1 <dRombergO+0x91>
movsd  -0x30(%rbp),%xmm1
subsd  -0x38(%rbp),%xmm1
divsd  -0x30(%rbp),%xmm1
movaps 0xb7f(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
ucomisd %xmm1,%xmm0
seta   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsd  -0x30(%rbp),%xmm0
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dRombergO>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
movsd  %xmm2,0x18(%rsp)
movapd %xmm0,%xmm2
mov    %rsi,%r14
mov    %rdi,%r15
addsd  %xmm1,%xmm0
movsd  %xmm2,0x40(%rsp)
subsd  %xmm2,%xmm1
movsd  %xmm1,0x30(%rsp)
mulsd  0xea3(%rip),%xmm0
call   *%rsi
mulsd  0x30(%rsp),%xmm0
movsd  0xe9b(%rip),%xmm2
addsd  %xmm0,%xmm2
divsd  %xmm0,%xmm2
andpd  0xeb3(%rip),%xmm2
ucomisd 0x18(%rsp),%xmm2
jbe    1328 <dRombergO+0x208>
mov    $0x1,%r13d
xor    %ebp,%ebp
movsd  %xmm0,0x38(%rsp)
mov    $0x1,%eax
nopl   0x0(%rax)
mov    %eax,%ebx
lea    (%rbx,%rbx,2),%eax
mov    %eax,0x2c(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0x30(%rsp),%xmm2
divsd  %xmm1,%xmm2
movsd  %xmm2,0x20(%rsp)
movsd  %xmm0,0x8(%rsp)
divsd  0xe42(%rip),%xmm0
cmp    $0x2,%ebx
mov    $0x1,%eax
cmovb  %eax,%ebx
xor    %r12d,%r12d
nopl   0x0(%rax)
movsd  %xmm0,0x10(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %r12d,%xmm0
movsd  %xmm0,0x48(%rsp)
addsd  0xe04(%rip),%xmm0
mulsd  0x20(%rsp),%xmm0
addsd  0x40(%rsp),%xmm0
mov    %r15,%rdi
call   *%r14
movsd  0x20(%rsp),%xmm2
mulsd  %xmm2,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x48(%rsp),%xmm1
addsd  0xde6(%rip),%xmm1
mulsd  %xmm2,%xmm1
addsd  0x40(%rsp),%xmm1
movapd %xmm1,%xmm0
mov    %r15,%rdi
call   *%r14
mulsd  0x20(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
add    $0x3,%r12d
add    $0xffffffff,%ebx
jne    11e0 <dRombergO+0xc0>
movsd  %xmm0,0x50(%rsp)
mov    $0x1,%ebx
movsd  0x8(%rsp),%xmm2
nopl   0x0(%rax)
movsd  %xmm0,0x10(%rsp)
movsd  %xmm2,0x8(%rsp)
movsd  0xd9c(%rip),%xmm0
mov    %ebx,%edi
call   1040 <pow@plt>
mulsd  0x10(%rsp),%xmm0
subsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xd7b(%rip),%xmm0
mov    %ebx,%edi
call   1040 <pow@plt>
addsd  0xd74(%rip),%xmm0
movsd  0x10(%rsp),%xmm1
divsd  %xmm0,%xmm1
movsd  0x50(%rsp,%rbx,8),%xmm2
movsd  %xmm1,0x50(%rsp,%rbx,8)
movapd %xmm1,%xmm0
lea    (%rbx,%rbp,1),%rax
add    $0x1,%rax
add    $0x1,%rbx
cmp    $0x2,%rax
jne    1270 <dRombergO+0x150>
movsd  0x50(%rsp,%r13,8),%xmm1
movapd %xmm1,%xmm2
subsd  0x38(%rsp),%xmm2
divsd  %xmm1,%xmm2
andpd  0xd33(%rip),%xmm2
ucomisd 0x18(%rsp),%xmm2
jbe    1330 <dRombergO+0x210>
cmp    $0xb,%r13
ja     1330 <dRombergO+0x210>
add    $0x1,%r13
movsd  0x50(%rsp),%xmm0
add    $0xffffffffffffffff,%rbp
movsd  %xmm1,0x38(%rsp)
mov    0x2c(%rsp),%eax
jmp    11a0 <dRombergO+0x80>
movsd  %xmm0,0x8(%rsp)
jmp    1336 <dRombergO+0x216>
movsd  %xmm1,0x8(%rsp)
xor    %edi,%edi
movsd  0x18(%rsp),%xmm1
ucomisd %xmm2,%xmm1
seta   %dil
call   1030 <assert@plt>
movsd  0x8(%rsp),%xmm0
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define double @dRombergO(i8* %0, double (i8*, double)* %1, double %2, double %3, double %4) {
%6 = alloca i8*
%7 = alloca double (i8*, double)*
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca [14 x double]
%14 = alloca i32
%15 = alloca i32
%16 = alloca double
%17 = alloca double
%18 = alloca i32
%19 = alloca double
store i8* %0, i8** %6
store double (i8*, double)* %1, double (i8*, double)** %7
store double %2, double* %8
store double %3, double* %9
store double %4, double* %10
store i32 1, i32* %14
store i32 1, i32* %15
%20 = load double, double* %9
%21 = load double, double* %8
%22 = fsub double %20, %21
%23 = load double (i8*, double)*, double (i8*, double)** %7
%24 = load i8*, i8** %6
%25 = load double, double* %9
%26 = load double, double* %8
%27 = fadd double %25, %26
%28 = fmul double 5.000000e-01, %27
%29 = call double %23(i8* %24, double %28)
%30 = fmul double %22, %29
store double %30, double* %11
%31 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 0
store double %30, double* %31
store double 3.400000e+38, double* %12
br label %32
32: ; preds = %132, %5
%33 = load double, double* %11
%34 = load double, double* %12
%35 = fsub double %33, %34
%36 = load double, double* %11
%37 = fdiv double %35, %36
%38 = call double @llvm.fabs.f64(double %37)
%39 = load double, double* %10
%40 = fcmp ogt double %38, %39
br i1 %40, label %41, label %44
41: ; preds = %32
%42 = load i32, i32* %14
%43 = icmp slt i32 %42, 13
br label %44
44: ; preds = %41, %32
%45 = phi i1 [ false, %32 ], [ %43, %41 ]
br i1 %45, label %46, label %140
46: ; preds = %44
%47 = load i32, i32* %15
%48 = mul nsw i32 %47, 3
store i32 %48, i32* %15
%49 = load double, double* %9
%50 = load double, double* %8
%51 = fsub double %49, %50
%52 = load i32, i32* %15
%53 = sitofp i32 %52 to double
%54 = fdiv double %51, %53
store double %54, double* %16
%55 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 0
%56 = load double, double* %55
store double %56, double* %17
%57 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 0
%58 = load double, double* %57
%59 = fdiv double %58, 3.000000e+00
%60 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 0
store double %59, double* %60
store i32 0, i32* %18
br label %61
61: ; preds = %95, %46
%62 = load i32, i32* %18
%63 = load i32, i32* %15
%64 = sdiv i32 %63, 3
%65 = icmp slt i32 %62, %64
br i1 %65, label %66, label %98
66: ; preds = %61
%67 = load double, double* %16
%68 = load double (i8*, double)*, double (i8*, double)** %7
%69 = load i8*, i8** %6
%70 = load double, double* %8
%71 = load i32, i32* %18
%72 = mul nsw i32 3, %71
%73 = sitofp i32 %72 to double
%74 = fadd double %73, 5.000000e-01
%75 = load double, double* %16
%76 = call double @llvm.fmuladd.f64(double %74, double %75, double %70)
%77 = call double %68(i8* %69, double %76)
%78 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 0
%79 = load double, double* %78
%80 = call double @llvm.fmuladd.f64(double %67, double %77, double %79)
store double %80, double* %78
%81 = load double, double* %16
%82 = load double (i8*, double)*, double (i8*, double)** %7
%83 = load i8*, i8** %6
%84 = load double, double* %8
%85 = load i32, i32* %18
%86 = mul nsw i32 3, %85
%87 = sitofp i32 %86 to double
%88 = fadd double %87, 2.500000e+00
%89 = load double, double* %16
%90 = call double @llvm.fmuladd.f64(double %88, double %89, double %84)
%91 = call double %82(i8* %83, double %90)
%92 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 0
%93 = load double, double* %92
%94 = call double @llvm.fmuladd.f64(double %81, double %91, double %93)
store double %94, double* %92
br label %95
95: ; preds = %66
%96 = load i32, i32* %18
%97 = add nsw i32 %96, 1
store i32 %97, i32* %18
br label %61
98: ; preds = %61
store i32 0, i32* %18
br label %99
99: ; preds = %129, %98
%100 = load i32, i32* %18
%101 = load i32, i32* %14
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %132
103: ; preds = %99
%104 = load i32, i32* %18
%105 = add nsw i32 %104, 1
%106 = call double @pow(double 9.000000e+00, i32 %105)
%107 = load i32, i32* %18
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 %108
%110 = load double, double* %109
%111 = load double, double* %17
%112 = fneg double %111
%113 = call double @llvm.fmuladd.f64(double %106, double %110, double %112)
%114 = load i32, i32* %18
%115 = add nsw i32 %114, 1
%116 = call double @pow(double 9.000000e+00, i32 %115)
%117 = fsub double %116, 1.000000e+00
%118 = fdiv double %113, %117
store double %118, double* %19
%119 = load i32, i32* %18
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 %121
%123 = load double, double* %122
store double %123, double* %17
%124 = load double, double* %19
%125 = load i32, i32* %18
%126 = add nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 %127
store double %124, double* %128
br label %129
129: ; preds = %103
%130 = load i32, i32* %18
%131 = add nsw i32 %130, 1
store i32 %131, i32* %18
br label %99
132: ; preds = %99
%133 = load double, double* %11
store double %133, double* %12
%134 = load i32, i32* %14
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [14 x double], [14 x double]* %13, i64 0, i64 %135
%137 = load double, double* %136
store double %137, double* %11
%138 = load i32, i32* %14
%139 = add nsw i32 %138, 1
store i32 %139, i32* %14
br label %32
140: ; preds = %44
%141 = load double, double* %11
%142 = load double, double* %12
%143 = fsub double %141, %142
%144 = load double, double* %11
%145 = fdiv double %143, %144
%146 = call double @llvm.fabs.f64(double %145)
%147 = load double, double* %10
%148 = fcmp olt double %146, %147
%149 = zext i1 %148 to i32
%150 = call i32 @assert(i32 %149)
%151 = load double, double* %11
ret double %151
}

LLVM IR (-O2):
define double @dRombergO(i8* %0, double (i8*, double)* nocapture %1, double %2, double %3, double %4) {
%6 = alloca [14 x double]
%7 = bitcast [14 x double]* %6 to i8*
%8 = fsub double %3, %2
%9 = fadd double %2, %3
%10 = fmul double %9, 5.000000e-01
%11 = tail call double %1(i8* %0, double %10)
%12 = fmul double %8, %11
%13 = getelementptr inbounds [14 x double], [14 x double]* %6, i64 0, i64 0
%14 = fadd double %12, -3.400000e+38
%15 = fdiv double %14, %12
%16 = tail call double @llvm.fabs.f64(double %15)
%17 = fcmp ogt double %16, %4
br i1 %17, label %18, label %71
18: ; preds = %5, %68
%19 = phi double [ %70, %68 ], [ %12, %5 ]
%20 = phi i64 [ %69, %68 ], [ 1, %5 ]
%21 = phi double [ %61, %68 ], [ %12, %5 ]
%22 = phi i32 [ %23, %68 ], [ 1, %5 ]
%23 = mul nsw i32 %22, 3
%24 = sitofp i32 %23 to double
%25 = fdiv double %8, %24
%26 = fdiv double %19, 3.000000e+00
%27 = call i32 @llvm.umax.i32(i32 %22, i32 1)
br label %29
28: ; preds = %29
store double %41, double* %13
br label %44
29: ; preds = %18, %29
%30 = phi i32 [ 0, %18 ], [ %42, %29 ]
%31 = phi double [ %26, %18 ], [ %41, %29 ]
%32 = mul nsw i32 %30, 3
%33 = sitofp i32 %32 to double
%34 = fadd double %33, 5.000000e-01
%35 = tail call double @llvm.fmuladd.f64(double %34, double %25, double %2)
%36 = tail call double %1(i8* %0, double %35)
%37 = tail call double @llvm.fmuladd.f64(double %25, double %36, double %31)
%38 = fadd double %33, 2.500000e+00
%39 = tail call double @llvm.fmuladd.f64(double %38, double %25, double %2)
%40 = tail call double %1(i8* %0, double %39)
%41 = tail call double @llvm.fmuladd.f64(double %25, double %40, double %37)
%42 = add nuw nsw i32 %30, 1
%43 = icmp eq i32 %42, %27
br i1 %43, label %28, label %29
44: ; preds = %28, %44
%45 = phi double [ %41, %28 ], [ %55, %44 ]
%46 = phi i64 [ 0, %28 ], [ %48, %44 ]
%47 = phi double [ %19, %28 ], [ %57, %44 ]
%48 = add nuw nsw i64 %46, 1
%49 = trunc i64 %48 to i32
%50 = tail call double @pow(double 9.000000e+00, i32 %49)
%51 = fneg double %47
%52 = tail call double @llvm.fmuladd.f64(double %50, double %45, double %51)
%53 = tail call double @pow(double 9.000000e+00, i32 %49)
%54 = fadd double %53, -1.000000e+00
%55 = fdiv double %52, %54
%56 = getelementptr inbounds [14 x double], [14 x double]* %6, i64 0, i64 %48
%57 = load double, double* %56
store double %55, double* %56
%58 = icmp eq i64 %48, %20
br i1 %58, label %59, label %44
59: ; preds = %44
%60 = getelementptr inbounds [14 x double], [14 x double]* %6, i64 0, i64 %20
%61 = load double, double* %60
%62 = fsub double %61, %21
%63 = fdiv double %62, %61
%64 = tail call double @llvm.fabs.f64(double %63)
%65 = fcmp ogt double %64, %4
%66 = icmp ult i64 %20, 12
%67 = select i1 %65, i1 %66, i1 false
br i1 %67, label %68, label %71
68: ; preds = %59
%69 = add nuw nsw i64 %20, 1
%70 = load double, double* %13
br label %18
71: ; preds = %59, %5
%72 = phi double [ %12, %5 ], [ %61, %59 ]
%73 = phi double [ %16, %5 ], [ %64, %59 ]
%74 = fcmp olt double %73, %4
%75 = zext i1 %74 to i32
%76 = tail call i32 @assert(i32 %75)
ret double %72
}