#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 dEdX(int, double, int *, double *, double *, int, int, double);
double log(double);
double pow(double, double);
double Range(int ZP, double MP, int ZT[], double MT[], double CT[], int NTarEl,
             int IsGas, double E) {
  double E1 = 0.0, E2 = 0.0, H = 0.0, Rng = 1E-30;
  int i = 0, N = 0;
  E1 = 1.0E-8;
  if (E < E1)
    return 1.0E-30;
  N = 8 - 1 + (0.5 + (log(E) * 0.4342944819));
  E2 = E / pow(10.0, (double)N);
  N++;
  for (i = 1; i <= N; i++) {
    H = (E2 - E1) / 6;
    Rng =
        Rng + H * (0.3 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, E1) +
                   1.5 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, (E1 + H)) +
                   0.3 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, (E1 + 2 * H)) +
                   1.8 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, (E1 + 3 * H)) +
                   0.3 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, (E2 - 2 * H)) +
                   1.5 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, (E2 - H)) +
                   0.3 / dEdX(ZP, MP, ZT, MT, CT, NTarEl, IsGas, E2));
    E1 = E2;
    E2 = E2 * 10;
  }
  return Rng;
}


x86 assembly (clang, -O0):
<Range>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %edi,-0xc(%rbp)
movsd  %xmm0,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    %r8d,-0x34(%rbp)
mov    %r9d,-0x38(%rbp)
movsd  %xmm1,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xe8c(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
movl   $0x0,-0x64(%rbp)
movl   $0x0,-0x68(%rbp)
movsd  0xe69(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    11c2 <Range+0x92>
movsd  0xe50(%rip),%xmm0
movsd  %xmm0,-0x8(%rbp)
jmp    14e1 <Range+0x3b1>
movsd  -0x40(%rbp),%xmm0
call   1040 <log@plt>
movaps %xmm0,%xmm1
movsd  0xe49(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  0xe45(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  0xe29(%rip),%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x68(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
cvtsi2sdl -0x68(%rbp),%xmm1
movsd  0xdff(%rip),%xmm0
call   1050 <pow@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
movl   $0x1,-0x64(%rbp)
mov    -0x64(%rbp),%eax
cmp    -0x68(%rbp),%eax
jg     14d7 <Range+0x3a7>
movsd  -0x50(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  0xdfb(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x48(%rbp),%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,%xmm1
movsd  0xd8d(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x48(%rbp),%xmm1
addsd  -0x58(%rbp),%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,%xmm2
movsd  -0xb0(%rbp),%xmm0
ff
movsd  0xd4b(%rip),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x48(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm1
addsd  %xmm1,%xmm1
addsd  %xmm2,%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,%xmm2
movsd  -0xa8(%rbp),%xmm0
ff
movsd  0xced(%rip),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x48(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm1
movsd  0xcc7(%rip),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,%xmm2
movsd  -0xa0(%rbp),%xmm0
ff
movsd  0xc9f(%rip),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x50(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm2
addsd  %xmm2,%xmm2
subsd  %xmm2,%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,%xmm2
movsd  -0x98(%rbp),%xmm0
ff
movsd  0xc39(%rip),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x50(%rbp),%xmm1
subsd  -0x58(%rbp),%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,%xmm2
movsd  -0x90(%rbp),%xmm0
ff
movsd  0xbf3(%rip),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0xc(%rbp),%edi
movsd  -0x18(%rbp),%xmm0
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
mov    -0x30(%rbp),%rcx
mov    -0x34(%rbp),%r8d
mov    -0x38(%rbp),%r9d
movsd  -0x50(%rbp),%xmm1
call   1030 <dEdX@plt>
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x80(%rbp),%xmm1
movaps %xmm0,%xmm4
movsd  -0x78(%rbp),%xmm0
movsd  0xb98(%rip),%xmm3
divsd  %xmm4,%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xb51(%rip),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x64(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x64(%rbp)
jmp    1237 <Range+0x107>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x8(%rbp)
movsd  -0x8(%rbp),%xmm0
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Range>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
movsd  0xeba(%rip),%xmm2
movsd  0xeba(%rip),%xmm3
ucomisd %xmm1,%xmm3
ja     1409 <Range+0x2d9>
mov    %r9d,%r14d
mov    %r8d,%r15d
mov    %rcx,%r12
mov    %rdx,%r13
mov    %rsi,%rbx
mov    %edi,%ebp
movsd  %xmm0,(%rsp)
movapd %xmm1,%xmm0
movsd  %xmm1,0x38(%rsp)
call   1040 <log@plt>
mulsd  0xe8b(%rip),%xmm0
addsd  0xe8b(%rip),%xmm0
addsd  0xe8b(%rip),%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,0xc(%rsp)
cvttpd2dq %xmm0,%xmm0
cvtdq2pd %xmm0,%xmm1
movsd  0xe7b(%rip),%xmm0
call   1050 <pow@plt>
movsd  0xe4e(%rip),%xmm3
mov    0xc(%rsp),%eax
movsd  0xe3a(%rip),%xmm2
movsd  0x38(%rsp),%xmm1
test   %eax,%eax
js     1409 <Range+0x2d9>
divsd  %xmm0,%xmm1
add    $0x1,%eax
movsd  0xe1d(%rip),%xmm2
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  %xmm3,0x20(%rsp)
mov    %eax,0xc(%rsp)
movsd  %xmm2,0x70(%rsp)
movsd  %xmm1,0x38(%rsp)
movsd  %xmm1,0x18(%rsp)
subsd  %xmm3,%xmm1
divsd  0xe18(%rip),%xmm1
movsd  %xmm1,0x10(%rsp)
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
movapd %xmm3,%xmm1
call   1030 <dEdX@plt>
movaps %xmm0,0x40(%rsp)
movsd  0x20(%rsp),%xmm1
addsd  0x10(%rsp),%xmm1
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
call   1030 <dEdX@plt>
movsd  0xdc7(%rip),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,0x68(%rsp)
movsd  0x10(%rsp),%xmm1
addsd  %xmm1,%xmm1
movsd  %xmm1,0x50(%rsp)
addsd  0x20(%rsp),%xmm1
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
call   1030 <dEdX@plt>
movapd 0x40(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
movapd 0xd92(%rip),%xmm0
divpd  %xmm1,%xmm0
movsd  0x68(%rsp),%xmm1
addsd  %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
movapd %xmm0,0x40(%rsp)
movsd  0x10(%rsp),%xmm1
mulsd  0xd58(%rip),%xmm1
addsd  0x20(%rsp),%xmm1
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
call   1030 <dEdX@plt>
movaps %xmm0,0x20(%rsp)
movsd  0x18(%rsp),%xmm1
subsd  0x50(%rsp),%xmm1
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
call   1030 <dEdX@plt>
movapd 0x20(%rsp),%xmm1
unpcklpd %xmm0,%xmm1
movapd 0xd19(%rip),%xmm0
divpd  %xmm1,%xmm0
movapd 0x40(%rsp),%xmm1
addsd  %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
movapd %xmm0,0x20(%rsp)
movsd  0x18(%rsp),%xmm1
subsd  0x10(%rsp),%xmm1
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
call   1030 <dEdX@plt>
movaps %xmm0,0x50(%rsp)
mov    %ebp,%edi
movsd  (%rsp),%xmm0
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r12,%rcx
mov    %r15d,%r8d
mov    %r14d,%r9d
movsd  0x18(%rsp),%xmm1
call   1030 <dEdX@plt>
mov    0xc(%rsp),%eax
movsd  0x70(%rsp),%xmm2
movsd  0x38(%rsp),%xmm1
movapd 0x50(%rsp),%xmm3
unpcklpd %xmm0,%xmm3
movapd 0xc9e(%rip),%xmm0
divpd  %xmm3,%xmm0
movapd 0x20(%rsp),%xmm3
addsd  %xmm0,%xmm3
unpckhpd %xmm0,%xmm0
addsd  %xmm3,%xmm0
mulsd  0x10(%rsp),%xmm0
addsd  %xmm0,%xmm2
mulsd  0xc2e(%rip),%xmm1
movsd  0x18(%rsp),%xmm3
add    $0xffffffff,%eax
jne    11f0 <Range+0xc0>
movapd %xmm2,%xmm0
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define double @Range(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %7) {
%9 = fcmp olt double %7, 1.000000e-08
br i1 %9, label %66, label %10
10: ; preds = %8
%11 = tail call double @log(double %7)
%12 = tail call double @llvm.fmuladd.f64(double %11, double 0x3FDBCB7B1526003A, double 5.000000e-01)
%13 = fadd double %12, 7.000000e+00
%14 = fptosi double %13 to i32
%15 = sitofp i32 %14 to double
%16 = tail call double @pow(double 1.000000e+01, double %15)
%17 = icmp slt i32 %14, 0
br i1 %17, label %66, label %18
18: ; preds = %10
%19 = fdiv double %7, %16
%20 = add i32 %14, 1
br label %21
21: ; preds = %18, %21
%22 = phi i32 [ %64, %21 ], [ 1, %18 ]
%23 = phi double [ %62, %21 ], [ 1.000000e-30, %18 ]
%24 = phi double [ %63, %21 ], [ %19, %18 ]
%25 = phi double [ %24, %21 ], [ 1.000000e-08, %18 ]
%26 = fsub double %24, %25
%27 = fdiv double %26, 6.000000e+00
%28 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %25)
%29 = fadd double %25, %27
%30 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %29)
%31 = fdiv double 1.500000e+00, %30
%32 = tail call double @llvm.fmuladd.f64(double %27, double 2.000000e+00, double %25)
%33 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %32)
%34 = insertelement <2 x double> poison, double %28, i64 0
%35 = insertelement <2 x double> %34, double %33, i64 1
%36 = fdiv <2 x double> <double 3.000000e-01, double 3.000000e-01>, %35
%37 = extractelement <2 x double> %36, i64 0
%38 = fadd double %37, %31
%39 = extractelement <2 x double> %36, i64 1
%40 = fadd double %38, %39
%41 = tail call double @llvm.fmuladd.f64(double %27, double 3.000000e+00, double %25)
%42 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %41)
%43 = tail call double @llvm.fmuladd.f64(double %27, double -2.000000e+00, double %24)
%44 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %43)
%45 = insertelement <2 x double> poison, double %42, i64 0
%46 = insertelement <2 x double> %45, double %44, i64 1
%47 = fdiv <2 x double> <double 1.800000e+00, double 3.000000e-01>, %46
%48 = extractelement <2 x double> %47, i64 0
%49 = fadd double %40, %48
%50 = extractelement <2 x double> %47, i64 1
%51 = fadd double %49, %50
%52 = fsub double %24, %27
%53 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %52)
%54 = tail call double @dEdX(i32 %0, double %1, i32* %2, double* %3, double* %4, i32 %5, i32 %6, double %24)
%55 = insertelement <2 x double> poison, double %53, i64 0
%56 = insertelement <2 x double> %55, double %54, i64 1
%57 = fdiv <2 x double> <double 1.500000e+00, double 3.000000e-01>, %56
%58 = extractelement <2 x double> %57, i64 0
%59 = fadd double %51, %58
%60 = extractelement <2 x double> %57, i64 1
%61 = fadd double %59, %60
%62 = tail call double @llvm.fmuladd.f64(double %27, double %61, double %23)
%63 = fmul double %24, 1.000000e+01
%64 = add nuw i32 %22, 1
%65 = icmp eq i32 %22, %20
br i1 %65, label %66, label %21
66: ; preds = %21, %10, %8
%67 = phi double [ 1.000000e-30, %8 ], [ 1.000000e-30, %10 ], [ %62, %21 ]
ret double %67
}