extern double rho_put(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_put(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;
    result = -T * X * exp(-r * T) * cnd(-d2);
  }
  return result;
}


x86 assembly (clang, -O0):
<rho_put>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  -0x8(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x8(%rbp),%xmm0
mov    %al,-0x51(%rbp)
jne    11d3 <rho_put+0x73>
jp     11d3 <rho_put+0x73>
movsd  -0x8(%rbp),%xmm0
xor    %eax,%eax
movsd  0xe4d(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x51(%rbp)
jb     11d3 <rho_put+0x73>
movsd  0xe40(%rip),%xmm0
ucomisd -0x8(%rbp),%xmm0
setae  %al
mov    %al,-0x51(%rbp)
mov    -0x51(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
movsd  -0x10(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x10(%rbp),%xmm0
mov    %al,-0x52(%rbp)
jne    122c <rho_put+0xcc>
jp     122c <rho_put+0xcc>
movsd  -0x10(%rbp),%xmm0
xor    %eax,%eax
movsd  0xdf4(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x52(%rbp)
jb     122c <rho_put+0xcc>
movsd  0xde7(%rip),%xmm0
ucomisd -0x10(%rbp),%xmm0
setae  %al
mov    %al,-0x52(%rbp)
mov    -0x52(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
movsd  -0x18(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x18(%rbp),%xmm0
mov    %al,-0x53(%rbp)
jne    1285 <rho_put+0x125>
jp     1285 <rho_put+0x125>
movsd  -0x18(%rbp),%xmm0
xor    %eax,%eax
movsd  0xdab(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x53(%rbp)
jb     1285 <rho_put+0x125>
movsd  0xd9e(%rip),%xmm0
ucomisd -0x18(%rbp),%xmm0
setae  %al
mov    %al,-0x53(%rbp)
mov    -0x53(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
movsd  -0x20(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x20(%rbp),%xmm0
mov    %al,-0x54(%rbp)
jne    12d9 <rho_put+0x179>
jp     12d9 <rho_put+0x179>
movsd  -0x20(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x54(%rbp)
jb     12d9 <rho_put+0x179>
movsd  0xd52(%rip),%xmm0
ucomisd -0x20(%rbp),%xmm0
setae  %al
mov    %al,-0x54(%rbp)
mov    -0x54(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
movsd  -0x28(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x28(%rbp),%xmm0
mov    %al,-0x55(%rbp)
jne    1332 <rho_put+0x1d2>
jp     1332 <rho_put+0x1d2>
movsd  -0x28(%rbp),%xmm0
xor    %eax,%eax
movsd  0xd16(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x55(%rbp)
jb     1332 <rho_put+0x1d2>
movsd  0xcf9(%rip),%xmm0
ucomisd -0x28(%rbp),%xmm0
setae  %al
mov    %al,-0x55(%rbp)
mov    -0x55(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
movsd  -0x30(%rbp),%xmm0
xor    %eax,%eax
ucomisd -0x30(%rbp),%xmm0
mov    %al,-0x56(%rbp)
jne    138b <rho_put+0x22b>
jp     138b <rho_put+0x22b>
movsd  -0x30(%rbp),%xmm0
xor    %eax,%eax
movsd  0xcc5(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x56(%rbp)
jb     138b <rho_put+0x22b>
movsd  0xcb8(%rip),%xmm0
ucomisd -0x30(%rbp),%xmm0
setae  %al
mov    %al,-0x56(%rbp)
mov    -0x56(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
mov    $0x0,%al
call   1040 <assert@plt>
movsd  -0x28(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    140f <rho_put+0x2af>
jp     140f <rho_put+0x2af>
movsd  -0x18(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x8(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm2
movsd  -0x20(%rbp),%xmm3
movsd  -0x28(%rbp),%xmm4
movsd  -0x30(%rbp),%xmm5
mov    $0x6,%al
call   1030 <gbs_put@plt>
movsd  -0x60(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    151d <rho_put+0x3bd>
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1080 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x78(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x8(%rbp),%xmm0
divsd  -0x10(%rbp),%xmm0
call   1060 <log@plt>
movaps %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
mulsd  -0x30(%rbp),%xmm2
movsd  0xbe3(%rip),%xmm3
divsd  %xmm3,%xmm2
addsd  %xmm2,%xmm0
movsd  -0x18(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
subsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x18(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x20(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x18(%rbp),%xmm0
call   1050 <exp@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x50(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    $0x1,%al
call   1070 <cnd@plt>
movsd  -0x68(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rho_put>:
sub    $0x78,%rsp
ucomisd %xmm0,%xmm0
setnp  %al
ucomisd 0xe8d(%rip),%xmm0
setae  %cl
and    %al,%cl
movsd  0xe88(%rip),%xmm6
movsd  %xmm0,0x8(%rsp)
ucomisd %xmm0,%xmm6
movsd  %xmm5,0x10(%rsp)
movsd  %xmm4,0x38(%rsp)
movaps %xmm3,0x50(%rsp)
movaps %xmm2,0x40(%rsp)
movsd  %xmm1,0x20(%rsp)
setae  %al
and    %cl,%al
movzbl %al,%edi
xor    %eax,%eax
call   1040 <assert@plt>
movsd  0x20(%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   1040 <assert@plt>
movapd 0x40(%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   1040 <assert@plt>
xorpd  %xmm0,%xmm0
movapd 0x50(%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   1040 <assert@plt>
movsd  0x38(%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   1040 <assert@plt>
movsd  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   1040 <assert@plt>
xorpd  %xmm1,%xmm1
movsd  0x38(%rsp),%xmm4
ucomisd %xmm1,%xmm4
jne    1303 <rho_put+0x1a3>
jp     1303 <rho_put+0x1a3>
movapd 0xd81(%rip),%xmm0
movapd 0x40(%rsp),%xmm2
xorpd  %xmm2,%xmm0
movapd %xmm0,0x60(%rsp)
movsd  0x8(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
movapd 0x50(%rsp),%xmm3
movsd  0x10(%rsp),%xmm5
mov    $0x6,%al
call   1030 <gbs_put@plt>
jmp    13d7 <rho_put+0x277>
movapd 0x40(%rsp),%xmm0
ucomisd %xmm1,%xmm0
jb     131b <rho_put+0x1bb>
movapd 0x40(%rsp),%xmm0
sqrtsd %xmm0,%xmm3
jmp    132a <rho_put+0x1ca>
movapd 0x40(%rsp),%xmm0
call   1080 <sqrt@plt>
movapd %xmm0,%xmm3
movsd  0x20(%rsp),%xmm1
movsd  0x10(%rsp),%xmm2
movsd  0x8(%rsp),%xmm0
mulsd  %xmm2,%xmm3
movsd  %xmm3,0x8(%rsp)
divsd  %xmm1,%xmm0
call   1060 <log@plt>
movsd  0x10(%rsp),%xmm2
mulsd  %xmm2,%xmm2
mulsd  0xcdf(%rip),%xmm2
addsd  0x38(%rsp),%xmm2
movapd 0x40(%rsp),%xmm1
mulsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
movsd  0x8(%rsp),%xmm2
divsd  %xmm2,%xmm0
subsd  %xmm2,%xmm0
movapd %xmm0,0x10(%rsp)
movapd 0xcbf(%rip),%xmm2
movapd %xmm1,%xmm0
xorpd  %xmm2,%xmm0
mulsd  0x20(%rsp),%xmm0
movapd %xmm0,0x20(%rsp)
movapd 0x50(%rsp),%xmm0
xorpd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
call   1050 <exp@plt>
mulsd  0x20(%rsp),%xmm0
movapd %xmm0,0x60(%rsp)
movaps 0x10(%rsp),%xmm0
xorps  0xc80(%rip),%xmm0
mov    $0x1,%al
call   1070 <cnd@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x60(%rsp),%xmm0
add    $0x78,%rsp
ret

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

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