double french(int fCall, double S, double X, double T, double t1, double r,
              double b, double v) {
  double vst1, d1, d2, result;
  assert(((S) == (S)) && (S) >= 0.000001 && (S) <= 1000000000000.0);
  assert(((X) == (X)) && (X) >= 0.000001 && (X) <= 1000000000000.0);
  assert(((T) == (T)) && (T) >= (1.0 / (253.0 * 24.0)) && (T) <= (20.0));
  assert(r >= 0.0);
  assert(b >= 0.0);
  assert(v > 0.0 && v <= 100.0);
  vst1 = v * sqrt(t1);
  d1 = (log(S / X) + b * T + ((v) * (v)) / 2.0 * t1) / vst1;
  d2 = d1 - vst1;
  if (fCall)
    result = S * exp((b - r) * T) * cnd(d1) - X * exp(-r * T) * cnd(d2);
  else
    result = X * exp(-r * T) * cnd(-d2) - S * exp((b - r) * T) * cnd(-d1);
  return result;
}


x86 assembly (clang, -O0):
<french>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %edi,-0x4(%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)
movsd  -0x10(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x10(%rbp),%xmm0
mov    %al,-0x61(%rbp)
jne    11cb <french+0x7b>
jp     11cb <french+0x7b>
movsd  -0x10(%rbp),%xmm0
xor    %eax,%eax
movsd  0xe55(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x61(%rbp)
jb     11cb <french+0x7b>
movsd  0xe48(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
setae  %al
mov    %al,-0x61(%rbp)
mov    -0x61(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x18(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x18(%rbp),%xmm0
mov    %al,-0x62(%rbp)
jne    1224 <french+0xd4>
jp     1224 <french+0xd4>
movsd  -0x18(%rbp),%xmm0
xor    %eax,%eax
movsd  0xdfc(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x62(%rbp)
jb     1224 <french+0xd4>
movsd  0xdef(%rip),%xmm0
ucomisd -0x18(%rbp),%xmm0
setae  %al
mov    %al,-0x62(%rbp)
mov    -0x62(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x20(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x20(%rbp),%xmm0
mov    %al,-0x63(%rbp)
jne    127d <french+0x12d>
jp     127d <french+0x12d>
movsd  -0x20(%rbp),%xmm0
xor    %eax,%eax
movsd  0xdb3(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x63(%rbp)
jb     127d <french+0x12d>
movsd  0xda6(%rip),%xmm0
ucomisd -0x20(%rbp),%xmm0
setae  %al
mov    %al,-0x63(%rbp)
mov    -0x63(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x30(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
setae  %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x38(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
setae  %al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x40(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x64(%rbp)
jbe    12ec <french+0x19c>
movsd  0xd3f(%rip),%xmm0
ucomisd -0x40(%rbp),%xmm0
setae  %al
mov    %al,-0x64(%rbp)
mov    -0x64(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x28(%rbp),%xmm0
call   1070 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
call   1050 <log@plt>
movsd  -0x38(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  0xcd5(%rip),%xmm2
divsd  %xmm2,%xmm0
movsd  -0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
cmpl   $0x0,-0x4(%rbp)
je     146a <french+0x31a>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
call   1040 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x98(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x20(%rbp),%xmm0
call   1040 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x80(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
cvtsi2sd %eax,%xmm3
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    1582 <french+0x432>
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x20(%rbp),%xmm0
call   1040 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0xc0(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
subsd  -0x30(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
call   1040 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
movsd  -0xb0(%rbp),%xmm1
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  -0xa0(%rbp),%xmm2
ff
cvtsi2sd %eax,%xmm3
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<french>:
push   %rbx
sub    $0x60,%rsp
ucomisd %xmm0,%xmm0
setnp  %al
ucomisd 0xe9c(%rip),%xmm0
setae  %cl
and    %al,%cl
movsd  0xe97(%rip),%xmm7
movsd  %xmm0,0x30(%rsp)
ucomisd %xmm0,%xmm7
movaps %xmm6,0x20(%rsp)
movsd  %xmm5,0x8(%rsp)
movaps %xmm4,0x10(%rsp)
movsd  %xmm3,0x40(%rsp)
movsd  %xmm2,0x38(%rsp)
movsd  %xmm1,(%rsp)
mov    %edi,%ebx
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
movsd  (%rsp),%xmm1
ucomisd %xmm1,%xmm1
setnp  %al
ucomisd 0xe3f(%rip),%xmm1
setae  %cl
and    %al,%cl
movsd  0xe3a(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
movsd  0x38(%rsp),%xmm1
ucomisd %xmm1,%xmm1
setnp  %al
ucomisd 0xe1a(%rip),%xmm1
setae  %cl
and    %al,%cl
movsd  0xe15(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
xorpd  %xmm1,%xmm1
xor    %edi,%edi
movapd 0x10(%rsp),%xmm0
ucomisd %xmm1,%xmm0
setae  %dil
xor    %eax,%eax
call   1030 <assert@plt>
xor    %edi,%edi
movsd  0x8(%rsp),%xmm0
ucomisd 0xdef(%rip),%xmm0
setae  %dil
xor    %eax,%eax
call   1030 <assert@plt>
movapd 0x20(%rsp),%xmm1
ucomisd 0xdd6(%rip),%xmm1
seta   %al
movsd  0xdbb(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %cl
and    %al,%cl
movzbl %cl,%edi
xor    %eax,%eax
call   1030 <assert@plt>
movsd  0x40(%rsp),%xmm0
ucomisd 0xdaa(%rip),%xmm0
jb     1294 <french+0x144>
movsd  0x40(%rsp),%xmm0
sqrtsd %xmm0,%xmm0
jmp    129f <french+0x14f>
movsd  0x40(%rsp),%xmm0
call   1070 <sqrt@plt>
movsd  0x30(%rsp),%xmm3
movapd 0x20(%rsp),%xmm1
movsd  (%rsp),%xmm2
mulsd  %xmm1,%xmm0
movsd  %xmm0,0x58(%rsp)
movapd %xmm3,%xmm0
divsd  %xmm2,%xmm0
call   1050 <log@plt>
movsd  0x8(%rsp),%xmm3
movapd %xmm3,%xmm1
movsd  0x38(%rsp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movapd 0x20(%rsp),%xmm0
mulsd  %xmm0,%xmm0
mulsd  0xd37(%rip),%xmm0
mulsd  0x40(%rsp),%xmm0
addsd  %xmm1,%xmm0
movsd  0x58(%rsp),%xmm1
divsd  %xmm1,%xmm0
movapd %xmm0,0x20(%rsp)
subsd  %xmm1,%xmm0
movapd %xmm0,0x40(%rsp)
test   %ebx,%ebx
je     13a7 <french+0x257>
subsd  0x10(%rsp),%xmm3
mulsd  %xmm2,%xmm3
movapd %xmm3,%xmm0
call   1040 <exp@plt>
mulsd  0x30(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
movaps 0x20(%rsp),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movapd 0x10(%rsp),%xmm0
xorpd  0xcd7(%rip),%xmm0
mulsd  0x38(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,0x10(%rsp)
movaps 0x40(%rsp),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  (%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  0x20(%rsp),%xmm0
jmp    1438 <french+0x2e8>
movapd 0x10(%rsp),%xmm0
xorpd  0xc8b(%rip),%xmm0
mulsd  %xmm2,%xmm0
call   1040 <exp@plt>
mulsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movaps 0x40(%rsp),%xmm0
xorps  0xc6c(%rip),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  (%rsp),%xmm0
movsd  %xmm0,(%rsp)
movsd  0x8(%rsp),%xmm0
subsd  0x10(%rsp),%xmm0
mulsd  0x38(%rsp),%xmm0
call   1040 <exp@plt>
movsd  %xmm0,0x10(%rsp)
movaps 0x20(%rsp),%xmm0
xorps  0xc2b(%rip),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x10(%rsp),%xmm1
mulsd  0x30(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  (%rsp),%xmm0
subsd  %xmm1,%xmm0
add    $0x60,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
define double @french(i32 %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7) {
%9 = fcmp ord double %1, 0.000000e+00
%10 = fcmp oge double %1, 0x3EB0C6F7A0B5ED8D
%11 = and i1 %9, %10
%12 = fcmp ole double %1, 1.000000e+12
%13 = and i1 %12, %11
%14 = zext i1 %13 to i32
%15 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %14)
%16 = fcmp ord double %2, 0.000000e+00
%17 = fcmp oge double %2, 0x3EB0C6F7A0B5ED8D
%18 = and i1 %16, %17
%19 = fcmp ole double %2, 1.000000e+12
%20 = and i1 %19, %18
%21 = zext i1 %20 to i32
%22 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %21)
%23 = fcmp ord double %3, 0.000000e+00
%24 = fcmp oge double %3, 0x3F2596179C29D2CE
%25 = and i1 %23, %24
%26 = fcmp ole double %3, 2.000000e+01
%27 = and i1 %26, %25
%28 = zext i1 %27 to i32
%29 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %28)
%30 = fcmp oge double %5, 0.000000e+00
%31 = zext i1 %30 to i32
%32 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %31)
%33 = fcmp oge double %6, 0.000000e+00
%34 = zext i1 %33 to i32
%35 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %34)
%36 = fcmp ogt double %7, 0.000000e+00
%37 = fcmp ole double %7, 1.000000e+02
%38 = and i1 %36, %37
%39 = zext i1 %38 to i32
%40 = tail call i32 (i32, ...) bitcast (i32 (...)* @assert to i32 (i32, ...)*)(i32 %39)
%41 = tail call double @sqrt(double %4)
%42 = fmul double %41, %7
%43 = fdiv double %1, %2
%44 = tail call double @log(double %43)
%45 = tail call double @llvm.fmuladd.f64(double %6, double %3, double %44)
%46 = fmul double %7, %7
%47 = fmul double %46, 5.000000e-01
%48 = tail call double @llvm.fmuladd.f64(double %47, double %4, double %45)
%49 = fdiv double %48, %42
%50 = fsub double %49, %42
%51 = icmp eq i32 %0, 0
br i1 %51, label %68, label %52
52: ; preds = %8
%53 = fsub double %6, %5
%54 = fmul double %53, %3
%55 = tail call double @exp(double %54)
%56 = fmul double %55, %1
%57 = tail call i32 (double, ...) bitcast (i32 (...)* @cnd to i32 (double, ...)*)(double %49)
%58 = sitofp i32 %57 to double
%59 = fneg double %5
%60 = fmul double %59, %3
%61 = tail call double @exp(double %60)
%62 = tail call i32 (double, ...) bitcast (i32 (...)* @cnd to i32 (double, ...)*)(double %50)
%63 = sitofp i32 %62 to double
%64 = fneg double %61
%65 = fmul double %64, %2
%66 = fmul double %65, %63
%67 = tail call double @llvm.fmuladd.f64(double %56, double %58, double %66)
br label %86
68: ; preds = %8
%69 = fneg double %5
%70 = fmul double %69, %3
%71 = tail call double @exp(double %70)
%72 = fmul double %71, %2
%73 = fneg double %50
%74 = tail call i32 (double, ...) bitcast (i32 (...)* @cnd to i32 (double, ...)*)(double %73)
%75 = sitofp i32 %74 to double
%76 = fsub double %6, %5
%77 = fmul double %76, %3
%78 = tail call double @exp(double %77)
%79 = fneg double %49
%80 = tail call i32 (double, ...) bitcast (i32 (...)* @cnd to i32 (double, ...)*)(double %79)
%81 = sitofp i32 %80 to double
%82 = fneg double %78
%83 = fmul double %82, %1
%84 = fmul double %83, %81
%85 = tail call double @llvm.fmuladd.f64(double %72, double %75, double %84)
br label %86
86: ; preds = %68, %52
%87 = phi double [ %67, %52 ], [ %85, %68 ]
ret double %87
}