double rho(int fCall, double S, double X, double T, double r, double b,
           double v) {
  double 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) == (r)) && (r) >= 0.0 && (r) <= 1000.0);
  assert(((b) == (b)) && (b) >= -1000.0 && (b) <= 1000.0);
  assert(((v) == (v)) && (v) >= 0.0000001 && v <= 100.99999);
  if (b == 0.0)
    result = -T * gbs(fCall, S, X, T, r, b, v);
  else {
    const double vst = v * sqrt(T);
    const double d1 = (log(S / X) + (b + ((v) * (v)) / 2.0) * T) / (vst);
    const double d2 = d1 - vst;
    if (fCall)
      result = T * X * exp(-r * T) * cnd(d2);
    else
      result = -T * X * exp(-r * T) * cnd(-d2);
  }
  return result;
}


x86 assembly (clang, -O0):
<rho>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%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  -0x10(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x10(%rbp),%xmm0
mov    %al,-0x59(%rbp)
jne    11d6 <rho+0x76>
jp     11d6 <rho+0x76>
movsd  -0x10(%rbp),%xmm0
xor    %eax,%eax
movsd  0xe4a(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x59(%rbp)
jb     11d6 <rho+0x76>
movsd  0xe3d(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
setae  %al
mov    %al,-0x59(%rbp)
mov    -0x59(%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,-0x5a(%rbp)
jne    122f <rho+0xcf>
jp     122f <rho+0xcf>
movsd  -0x18(%rbp),%xmm0
xor    %eax,%eax
movsd  0xdf1(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x5a(%rbp)
jb     122f <rho+0xcf>
movsd  0xde4(%rip),%xmm0
ucomisd -0x18(%rbp),%xmm0
setae  %al
mov    %al,-0x5a(%rbp)
mov    -0x5a(%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,-0x5b(%rbp)
jne    1288 <rho+0x128>
jp     1288 <rho+0x128>
movsd  -0x20(%rbp),%xmm0
xor    %eax,%eax
movsd  0xda8(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x5b(%rbp)
jb     1288 <rho+0x128>
movsd  0xd9b(%rip),%xmm0
ucomisd -0x20(%rbp),%xmm0
setae  %al
mov    %al,-0x5b(%rbp)
mov    -0x5b(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x28(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x28(%rbp),%xmm0
mov    %al,-0x5c(%rbp)
jne    12dc <rho+0x17c>
jp     12dc <rho+0x17c>
movsd  -0x28(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x5c(%rbp)
jb     12dc <rho+0x17c>
movsd  0xd4f(%rip),%xmm0
ucomisd -0x28(%rbp),%xmm0
setae  %al
mov    %al,-0x5c(%rbp)
mov    -0x5c(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x30(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x30(%rbp),%xmm0
mov    %al,-0x5d(%rbp)
jne    1335 <rho+0x1d5>
jp     1335 <rho+0x1d5>
movsd  -0x30(%rbp),%xmm0
xor    %eax,%eax
movsd  0xd13(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x5d(%rbp)
jb     1335 <rho+0x1d5>
movsd  0xcf6(%rip),%xmm0
ucomisd -0x30(%rbp),%xmm0
setae  %al
mov    %al,-0x5d(%rbp)
mov    -0x5d(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1030 <assert@plt>
movsd  -0x38(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x38(%rbp),%xmm0
mov    %al,-0x5e(%rbp)
jne    138e <rho+0x22e>
jp     138e <rho+0x22e>
movsd  -0x38(%rbp),%xmm0
xor    %eax,%eax
movsd  0xcc2(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x5e(%rbp)
jb     138e <rho+0x22e>
movsd  0xcb5(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
setae  %al
mov    %al,-0x5e(%rbp)
mov    -0x5e(%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
jne    1415 <rho+0x2b5>
jp     1415 <rho+0x2b5>
movsd  -0x20(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x4(%rbp),%edi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm3
movsd  -0x30(%rbp),%xmm4
movsd  -0x38(%rbp),%xmm5
mov    $0x6,%al
call   1080 <gbs@plt>
movsd  -0x68(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    15a7 <rho+0x447>
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x20(%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>
movaps %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm2
mulsd  -0x38(%rbp),%xmm2
movsd  0xbdd(%rip),%xmm3
divsd  %xmm3,%xmm2
addsd  %xmm2,%xmm0
movsd  -0x20(%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     1504 <rho+0x3a4>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x28(%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  -0x80(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x58(%rbp),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
movsd  -0x78(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    15a2 <rho+0x442>
movsd  -0x20(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x28(%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
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
movsd  -0x88(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
jmp    15a7 <rho+0x447>
movsd  -0x40(%rbp),%xmm0
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rho>:
push   %rbx
sub    $0x60,%rsp
ucomisd %xmm0,%xmm0
setnp  %al
ucomisd 0xe8c(%rip),%xmm0
setae  %cl
and    %al,%cl
movsd  0xe87(%rip),%xmm6
movsd  %xmm0,0x20(%rsp)
ucomisd %xmm0,%xmm6
movaps %xmm5,0x10(%rsp)
movsd  %xmm4,0x28(%rsp)
movaps %xmm3,0x40(%rsp)
movaps %xmm2,0x50(%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 0xe36(%rip),%xmm1
setae  %cl
and    %al,%cl
movsd  0xe31(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
movapd 0x50(%rsp),%xmm1
ucomisd %xmm1,%xmm1
setnp  %al
ucomisd 0xe11(%rip),%xmm1
setae  %cl
and    %al,%cl
movsd  0xe0c(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
xorpd  %xmm0,%xmm0
movapd 0x40(%rsp),%xmm1
ucomisd %xmm0,%xmm1
setae  %al
movsd  0xde8(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %cl
and    %al,%cl
movzbl %cl,%edi
xor    %eax,%eax
call   1030 <assert@plt>
movsd  0x28(%rsp),%xmm0
ucomisd %xmm0,%xmm0
setnp  %al
ucomisd 0xdc8(%rip),%xmm0
setae  %cl
and    %al,%cl
movsd  0xdb3(%rip),%xmm1
ucomisd %xmm0,%xmm1
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
movapd 0x10(%rsp),%xmm1
ucomisd %xmm1,%xmm1
setnp  %al
ucomisd 0xd9b(%rip),%xmm1
setae  %cl
and    %al,%cl
movsd  0xd96(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1030 <assert@plt>
xorpd  %xmm1,%xmm1
movsd  0x28(%rsp),%xmm4
ucomisd %xmm1,%xmm4
jne    1303 <rho+0x1a3>
jp     1303 <rho+0x1a3>
movapd 0xd81(%rip),%xmm0
movapd 0x50(%rsp),%xmm2
xorpd  %xmm2,%xmm0
movapd %xmm0,0x30(%rsp)
mov    %ebx,%edi
movsd  0x20(%rsp),%xmm0
movsd  (%rsp),%xmm1
movapd 0x40(%rsp),%xmm3
movaps 0x10(%rsp),%xmm5
mov    $0x6,%al
call   1080 <gbs@plt>
jmp    1402 <rho+0x2a2>
movapd 0x50(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jb     1315 <rho+0x1b5>
sqrtsd %xmm0,%xmm3
jmp    131e <rho+0x1be>
call   1070 <sqrt@plt>
movapd %xmm0,%xmm3
movapd 0x10(%rsp),%xmm1
movsd  (%rsp),%xmm2
movsd  0x20(%rsp),%xmm0
mulsd  %xmm1,%xmm3
movsd  %xmm3,0x30(%rsp)
divsd  %xmm2,%xmm0
call   1050 <log@plt>
movapd 0x10(%rsp),%xmm2
mulsd  %xmm2,%xmm2
mulsd  0xcec(%rip),%xmm2
addsd  0x28(%rsp),%xmm2
movapd 0x50(%rsp),%xmm1
mulsd  %xmm1,%xmm2
addsd  %xmm0,%xmm2
movsd  0x30(%rsp),%xmm0
divsd  %xmm0,%xmm2
subsd  %xmm0,%xmm2
movapd %xmm2,0x10(%rsp)
test   %ebx,%ebx
je     13b7 <rho+0x257>
movsd  (%rsp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,(%rsp)
movapd 0x40(%rsp),%xmm0
xorpd  0xcb4(%rip),%xmm0
mulsd  %xmm1,%xmm0
call   1040 <exp@plt>
mulsd  (%rsp),%xmm0
movapd %xmm0,0x30(%rsp)
movaps 0x10(%rsp),%xmm0
jmp    13fb <rho+0x29b>
movapd 0xc91(%rip),%xmm2
movapd %xmm1,%xmm0
xorpd  %xmm2,%xmm0
mulsd  (%rsp),%xmm0
movapd %xmm0,(%rsp)
movapd 0x40(%rsp),%xmm0
xorpd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
call   1040 <exp@plt>
mulsd  (%rsp),%xmm0
movapd %xmm0,0x30(%rsp)
movaps 0x10(%rsp),%xmm0
xorps  0xc55(%rip),%xmm0
mov    $0x1,%al
call   1060 <cnd@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x30(%rsp),%xmm0
add    $0x60,%rsp
pop    %rbx
ret

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

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