#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 sqrt(double);
double potrho_1(double t, double sal, double p) {
  double r_a0 = 999.842594, r_a1 = 6.793952e-2, r_a2 = -9.095290e-3,
         r_a3 = 1.001685e-4, r_a4 = -1.120083e-6, r_a5 = 6.536332e-9,
         r_b0 = 8.24493e-1, r_b1 = -4.0899e-3, r_b2 = 7.6438e-5,
         r_b3 = -8.2467e-7, r_b4 = 5.3875e-9, r_c0 = -5.72466e-3,
         r_c1 = 1.0227e-4, r_c2 = -1.6546e-6, r_d0 = 4.8314e-4, r_e0 = 19652.21,
         r_e1 = 148.4206, r_e2 = -2.327105, r_e3 = 1.360477e-2,
         r_e4 = -5.155288e-5, r_f0 = 54.6746, r_f1 = -0.603459,
         r_f2 = 1.09987e-2, r_f3 = -6.1670e-5, r_g0 = 7.944e-2,
         r_g1 = 1.6483e-2, r_g2 = -5.3009e-4, r_h0 = 3.239908,
         r_h1 = 1.43713e-3, r_h2 = 1.16092e-4, r_h3 = -5.77905e-7,
         r_ai0 = 2.2838e-3, r_ai1 = -1.0981e-5, r_ai2 = -1.6078e-6,
         r_aj0 = 1.91075e-4, r_ak0 = 8.50935e-5, r_ak1 = -6.12293e-6,
         r_ak2 = 5.2787e-8, r_am0 = -9.9348e-7, r_am1 = 2.0816e-8,
         r_am2 = 9.1697e-10;
  double s, s3h;
  double rho;
  {
    s = ((sal) > (0.0) ? (sal) : (0.0));
    s3h = sqrt(s * s * s);
    rho = (r_a0 + t * (r_a1 + t * (r_a2 + t * (r_a3 + t * (r_a4 + t * r_a5)))) +
           s * (r_b0 + t * (r_b1 + t * (r_b2 + t * (r_b3 + t * r_b4)))) +
           r_d0 * s * s + s3h * (r_c0 + t * (r_c1 + r_c2 * t))) /
          (1. - p / (p * (r_h0 + t * (r_h1 + t * (r_h2 + t * r_h3)) +
                          s * (r_ai0 + t * (r_ai1 + r_ai2 * t)) + r_aj0 * s3h +
                          (r_ak0 + t * (r_ak1 + t * r_ak2) +
                           s * (r_am0 + t * (r_am1 + t * r_am2))) *
                              p) +
                     r_e0 + t * (r_e1 + t * (r_e2 + t * (r_e3 + t * r_e4))) +
                     s * (r_f0 + t * (r_f1 + t * (r_f2 + t * r_f3))) +
                     s3h * (r_g0 + t * (r_g1 + r_g2 * t))));
  }
  return (rho);
}


x86 assembly (clang, -O0):
<potrho_1>:
push   %rbp
mov    %rsp,%rbp
sub    $0x180,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  0x100e(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xff9(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xfe4(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xfcf(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xfba(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xfa5(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xf90(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xf7b(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xf66(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xf51(%rip),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xf3c(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xf27(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xf12(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xefd(%rip),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xee5(%rip),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xecd(%rip),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  0xeb5(%rip),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0xe9d(%rip),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0xe85(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xe6d(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xe55(%rip),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0xe3d(%rip),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xe25(%rip),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  0xe0d(%rip),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  0xdf5(%rip),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  0xddd(%rip),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  0xdc5(%rip),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  0xdad(%rip),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  0xd95(%rip),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  0xd7d(%rip),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  0xd65(%rip),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movsd  0xd4d(%rip),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movsd  0xd35(%rip),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
movsd  0xd1d(%rip),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movsd  0xd05(%rip),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movsd  0xced(%rip),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  0xcd5(%rip),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movsd  0xcbd(%rip),%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
movsd  0xca5(%rip),%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
movsd  0xc8d(%rip),%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
movsd  0xc75(%rip),%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    13b7 <potrho_1+0x2a7>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
jmp    13c7 <potrho_1+0x2b7>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
jmp    13c7 <potrho_1+0x2b7>
movsd  -0x180(%rbp),%xmm0
ff
movsd  %xmm0,-0x168(%rbp)
ff
movsd  -0x168(%rbp),%xmm0
ff
mulsd  -0x168(%rbp),%xmm0
ff
mulsd  -0x168(%rbp),%xmm0
ff
call   1030 <sqrt@plt>
movsd  %xmm0,-0x170(%rbp)
ff
movsd  -0x20(%rbp),%xmm0
movsd  -0x8(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm3
movsd  -0x8(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm5
movsd  -0x8(%rbp),%xmm4
movsd  -0x38(%rbp),%xmm7
movsd  -0x8(%rbp),%xmm6
movsd  -0x40(%rbp),%xmm9
movsd  -0x8(%rbp),%xmm8
movsd  -0x48(%rbp),%xmm10
mulsd  %xmm10,%xmm8
addsd  %xmm9,%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x168(%rbp),%xmm0
ff
movsd  -0x50(%rbp),%xmm3
movsd  -0x8(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm5
movsd  -0x8(%rbp),%xmm4
movsd  -0x60(%rbp),%xmm7
movsd  -0x8(%rbp),%xmm6
movsd  -0x68(%rbp),%xmm9
movsd  -0x8(%rbp),%xmm8
movsd  -0x70(%rbp),%xmm10
mulsd  %xmm10,%xmm8
addsd  %xmm9,%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x90(%rbp),%xmm1
ff
mulsd  -0x168(%rbp),%xmm1
ff
movsd  -0x168(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x170(%rbp),%xmm0
ff
movsd  -0x78(%rbp),%xmm3
movsd  -0x8(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm5
movsd  -0x88(%rbp),%xmm4
ff
movsd  -0x8(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm3
movsd  -0xf8(%rbp),%xmm4
ff
movsd  -0x8(%rbp),%xmm1
movsd  -0x100(%rbp),%xmm6
ff
movsd  -0x8(%rbp),%xmm5
movsd  -0x108(%rbp),%xmm8
ff ff
movsd  -0x8(%rbp),%xmm7
movsd  -0x110(%rbp),%xmm9
ff ff
mulsd  %xmm9,%xmm7
addsd  %xmm8,%xmm7
mulsd  %xmm7,%xmm5
addsd  %xmm6,%xmm5
mulsd  %xmm5,%xmm1
addsd  %xmm4,%xmm1
movsd  -0x168(%rbp),%xmm4
ff
movsd  -0x118(%rbp),%xmm6
ff
movsd  -0x8(%rbp),%xmm5
movsd  -0x120(%rbp),%xmm8
ff ff
movsd  -0x128(%rbp),%xmm7
ff
movsd  -0x8(%rbp),%xmm9
mulsd  %xmm9,%xmm7
addsd  %xmm8,%xmm7
mulsd  %xmm7,%xmm5
addsd  %xmm6,%xmm5
mulsd  %xmm5,%xmm4
addsd  %xmm1,%xmm4
movsd  -0x130(%rbp),%xmm1
ff
movsd  -0x170(%rbp),%xmm5
ff
mulsd  %xmm5,%xmm1
addsd  %xmm4,%xmm1
movsd  -0x138(%rbp),%xmm4
ff
movsd  -0x8(%rbp),%xmm5
movsd  -0x140(%rbp),%xmm7
ff
movsd  -0x8(%rbp),%xmm6
movsd  -0x148(%rbp),%xmm8
ff ff
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm5
addsd  %xmm4,%xmm5
movsd  -0x168(%rbp),%xmm4
ff
movsd  -0x150(%rbp),%xmm7
ff
movsd  -0x8(%rbp),%xmm6
movsd  -0x158(%rbp),%xmm9
ff ff
movsd  -0x8(%rbp),%xmm8
movsd  -0x160(%rbp),%xmm10
ff ff
mulsd  %xmm10,%xmm8
addsd  %xmm9,%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
movsd  -0x18(%rbp),%xmm5
mulsd  %xmm5,%xmm4
addsd  %xmm1,%xmm4
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm4,%xmm3
addsd  %xmm1,%xmm3
movsd  -0x8(%rbp),%xmm1
movsd  -0xa0(%rbp),%xmm5
ff
movsd  -0x8(%rbp),%xmm4
movsd  -0xa8(%rbp),%xmm7
ff
movsd  -0x8(%rbp),%xmm6
movsd  -0xb0(%rbp),%xmm9
ff ff
movsd  -0x8(%rbp),%xmm8
movsd  -0xb8(%rbp),%xmm10
ff ff
mulsd  %xmm10,%xmm8
addsd  %xmm9,%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm1
addsd  %xmm3,%xmm1
movsd  -0x168(%rbp),%xmm3
ff
movsd  -0xc0(%rbp),%xmm5
ff
movsd  -0x8(%rbp),%xmm4
movsd  -0xc8(%rbp),%xmm7
ff
movsd  -0x8(%rbp),%xmm6
movsd  -0xd0(%rbp),%xmm9
ff ff
movsd  -0x8(%rbp),%xmm8
movsd  -0xd8(%rbp),%xmm10
ff ff
mulsd  %xmm10,%xmm8
addsd  %xmm9,%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm1,%xmm3
movsd  -0x170(%rbp),%xmm1
ff
movsd  -0xe0(%rbp),%xmm5
ff
movsd  -0x8(%rbp),%xmm4
movsd  -0xe8(%rbp),%xmm7
ff
movsd  -0xf0(%rbp),%xmm6
ff
movsd  -0x8(%rbp),%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm1
addsd  %xmm3,%xmm1
divsd  %xmm1,%xmm2
movsd  0x9d5(%rip),%xmm1
subsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
movsd  -0x178(%rbp),%xmm0
ff
add    $0x180,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<potrho_1>:
sub    $0x18,%rsp
movapd %xmm0,%xmm8
xorpd  %xmm3,%xmm3
maxsd  %xmm3,%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
ucomisd %xmm3,%xmm0
jb     1139 <potrho_1+0x29>
sqrtsd %xmm0,%xmm0
jmp    1162 <potrho_1+0x52>
movsd  %xmm2,0x10(%rsp)
movsd  %xmm8,0x8(%rsp)
movsd  %xmm1,(%rsp)
call   1030 <sqrt@plt>
movsd  (%rsp),%xmm1
movsd  0x8(%rsp),%xmm8
movsd  0x10(%rsp),%xmm2
movsd  0xe96(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xe91(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xe8c(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xe87(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xe82(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xe7d(%rip),%xmm3
movsd  0xe7d(%rip),%xmm6
mulsd  %xmm8,%xmm6
addsd  0xe78(%rip),%xmm6
mulsd  %xmm8,%xmm6
addsd  0xe73(%rip),%xmm6
mulsd  %xmm8,%xmm6
addsd  0xe6e(%rip),%xmm6
mulsd  %xmm8,%xmm6
addsd  0xe69(%rip),%xmm6
mulsd  %xmm1,%xmm6
addsd  %xmm3,%xmm6
movsd  0xe61(%rip),%xmm3
movsd  0xe79(%rip),%xmm5
mulsd  %xmm8,%xmm5
addsd  0xe74(%rip),%xmm5
mulsd  %xmm1,%xmm3
mulsd  %xmm8,%xmm5
addsd  0xe6b(%rip),%xmm5
mulsd  %xmm1,%xmm3
mulsd  %xmm8,%xmm5
addsd  0xe62(%rip),%xmm5
movsd  0xe62(%rip),%xmm4
mulsd  %xmm8,%xmm4
addsd  0xe5d(%rip),%xmm4
mulsd  %xmm8,%xmm4
addsd  0xe58(%rip),%xmm4
mulsd  %xmm1,%xmm4
addsd  %xmm5,%xmm4
movsd  0xe50(%rip),%xmm5
mulsd  %xmm0,%xmm5
addsd  %xmm4,%xmm5
movsd  0xe48(%rip),%xmm7
mulsd  %xmm8,%xmm7
addsd  0xe43(%rip),%xmm7
mulsd  %xmm8,%xmm7
addsd  0xe3e(%rip),%xmm7
movsd  0xe3e(%rip),%xmm4
mulsd  %xmm8,%xmm4
addsd  0xe39(%rip),%xmm4
mulsd  %xmm8,%xmm4
addsd  0xe34(%rip),%xmm4
mulsd  %xmm1,%xmm4
addsd  %xmm7,%xmm4
movsd  0xda4(%rip),%xmm7
mulsd  %xmm8,%xmm7
addsd  0xd9f(%rip),%xmm7
mulsd  %xmm8,%xmm7
addsd  0xd9a(%rip),%xmm7
mulsd  %xmm2,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm2,%xmm4
addsd  0xdfe(%rip),%xmm4
movsd  0xdfe(%rip),%xmm5
mulsd  %xmm8,%xmm5
addsd  0xdf9(%rip),%xmm5
addsd  %xmm6,%xmm3
mulsd  %xmm8,%xmm5
addsd  0xdf0(%rip),%xmm5
mulsd  %xmm0,%xmm7
mulsd  %xmm8,%xmm5
addsd  0xde7(%rip),%xmm5
movsd  0xde7(%rip),%xmm6
mulsd  %xmm8,%xmm6
addsd  0xde2(%rip),%xmm6
addsd  %xmm3,%xmm7
mulsd  %xmm8,%xmm6
addsd  0xdd9(%rip),%xmm6
mulsd  %xmm8,%xmm5
mulsd  %xmm8,%xmm6
addsd  0xdcf(%rip),%xmm6
addsd  %xmm4,%xmm5
mulsd  %xmm1,%xmm6
addsd  %xmm5,%xmm6
movsd  0xdc3(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xdbe(%rip),%xmm3
mulsd  %xmm8,%xmm3
addsd  0xdb9(%rip),%xmm3
mulsd  %xmm0,%xmm3
addsd  %xmm6,%xmm3
divsd  %xmm3,%xmm2
movsd  0xdad(%rip),%xmm0
subsd  %xmm2,%xmm0
divsd  %xmm0,%xmm7
movapd %xmm7,%xmm0
add    $0x18,%rsp
ret

LLVM IR (-O0):
define double @potrho_1(double %0, double %1, double %2) {
%4 = alloca double
%5 = alloca double
%6 = alloca double
%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
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca double
%41 = alloca double
%42 = alloca double
%43 = alloca double
%44 = alloca double
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca double
%49 = alloca double
%50 = alloca double
store double %0, double* %4
store double %1, double* %5
store double %2, double* %6
store double 0x408F3EBDA1EC4E72, double* %7
store double 0x3FB1647C00818526, double* %8
store double -9.095290e-03, double* %9
store double 0x3F1A4231B9F290BD, double* %10
store double 0xBEB2CAB84856C8D1, double* %11
store double 0x3E3C12C5E5C0CC50, double* %12
store double 8.244930e-01, double* %13
store double -4.089900e-03, double* %14
store double 7.643800e-05, double* %15
store double -8.246700e-07, double* %16
store double 5.387500e-09, double* %17
store double -5.724660e-03, double* %18
store double 1.022700e-04, double* %19
store double -1.654600e-06, double* %20
store double 4.831400e-04, double* %21
store double 0x40D3310D70A3D70A, double* %22
store double 0x40628D758E219653, double* %23
store double 0xC0029DE939EADD59, double* %24
store double 0x3F8BDCD151C1BEA7, double* %25
store double 0xBF0B074F780AF01D, double* %26
store double 5.467460e+01, double* %27
store double -6.034590e-01, double* %28
store double 1.099870e-02, double* %29
store double -6.167000e-05, double* %30
store double 0x3FB4562E09FE8683, double* %31
store double 1.648300e-02, double* %32
store double -5.300900e-04, double* %33
store double 0x4009EB54E2B063E0, double* %34
store double 1.437130e-03, double* %35
store double 1.160920e-04, double* %36
store double -5.779050e-07, double* %37
store double 2.283800e-03, double* %38
store double -1.098100e-05, double* %39
store double -1.607800e-06, double* %40
store double 1.910750e-04, double* %41
store double 8.509350e-05, double* %42
store double 0xBED9AE722EC9A99B, double* %43
store double 5.278700e-08, double* %44
store double 0xBEB0AAF6CFDCCCF7, double* %45
store double 2.081600e-08, double* %46
store double 0x3E0F81C0E00A27D4, double* %47
%51 = load double, double* %5
%52 = fcmp ogt double %51, 0.000000e+00
br i1 %52, label %53, label %55
53: ; preds = %3
%54 = load double, double* %5
br label %56
55: ; preds = %3
br label %56
56: ; preds = %55, %53
%57 = phi double [ %54, %53 ], [ 0.000000e+00, %55 ]
store double %57, double* %48
%58 = load double, double* %48
%59 = load double, double* %48
%60 = fmul double %58, %59
%61 = load double, double* %48
%62 = fmul double %60, %61
%63 = call double @sqrt(double %62)
store double %63, double* %49
%64 = load double, double* %7
%65 = load double, double* %4
%66 = load double, double* %8
%67 = load double, double* %4
%68 = load double, double* %9
%69 = load double, double* %4
%70 = load double, double* %10
%71 = load double, double* %4
%72 = load double, double* %11
%73 = load double, double* %4
%74 = load double, double* %12
%75 = call double @llvm.fmuladd.f64(double %73, double %74, double %72)
%76 = call double @llvm.fmuladd.f64(double %71, double %75, double %70)
%77 = call double @llvm.fmuladd.f64(double %69, double %76, double %68)
%78 = call double @llvm.fmuladd.f64(double %67, double %77, double %66)
%79 = call double @llvm.fmuladd.f64(double %65, double %78, double %64)
%80 = load double, double* %48
%81 = load double, double* %13
%82 = load double, double* %4
%83 = load double, double* %14
%84 = load double, double* %4
%85 = load double, double* %15
%86 = load double, double* %4
%87 = load double, double* %16
%88 = load double, double* %4
%89 = load double, double* %17
%90 = call double @llvm.fmuladd.f64(double %88, double %89, double %87)
%91 = call double @llvm.fmuladd.f64(double %86, double %90, double %85)
%92 = call double @llvm.fmuladd.f64(double %84, double %91, double %83)
%93 = call double @llvm.fmuladd.f64(double %82, double %92, double %81)
%94 = call double @llvm.fmuladd.f64(double %80, double %93, double %79)
%95 = load double, double* %21
%96 = load double, double* %48
%97 = fmul double %95, %96
%98 = load double, double* %48
%99 = call double @llvm.fmuladd.f64(double %97, double %98, double %94)
%100 = load double, double* %49
%101 = load double, double* %18
%102 = load double, double* %4
%103 = load double, double* %19
%104 = load double, double* %20
%105 = load double, double* %4
%106 = call double @llvm.fmuladd.f64(double %104, double %105, double %103)
%107 = call double @llvm.fmuladd.f64(double %102, double %106, double %101)
%108 = call double @llvm.fmuladd.f64(double %100, double %107, double %99)
%109 = load double, double* %6
%110 = load double, double* %6
%111 = load double, double* %34
%112 = load double, double* %4
%113 = load double, double* %35
%114 = load double, double* %4
%115 = load double, double* %36
%116 = load double, double* %4
%117 = load double, double* %37
%118 = call double @llvm.fmuladd.f64(double %116, double %117, double %115)
%119 = call double @llvm.fmuladd.f64(double %114, double %118, double %113)
%120 = call double @llvm.fmuladd.f64(double %112, double %119, double %111)
%121 = load double, double* %48
%122 = load double, double* %38
%123 = load double, double* %4
%124 = load double, double* %39
%125 = load double, double* %40
%126 = load double, double* %4
%127 = call double @llvm.fmuladd.f64(double %125, double %126, double %124)
%128 = call double @llvm.fmuladd.f64(double %123, double %127, double %122)
%129 = call double @llvm.fmuladd.f64(double %121, double %128, double %120)
%130 = load double, double* %41
%131 = load double, double* %49
%132 = call double @llvm.fmuladd.f64(double %130, double %131, double %129)
%133 = load double, double* %42
%134 = load double, double* %4
%135 = load double, double* %43
%136 = load double, double* %4
%137 = load double, double* %44
%138 = call double @llvm.fmuladd.f64(double %136, double %137, double %135)
%139 = call double @llvm.fmuladd.f64(double %134, double %138, double %133)
%140 = load double, double* %48
%141 = load double, double* %45
%142 = load double, double* %4
%143 = load double, double* %46
%144 = load double, double* %4
%145 = load double, double* %47
%146 = call double @llvm.fmuladd.f64(double %144, double %145, double %143)
%147 = call double @llvm.fmuladd.f64(double %142, double %146, double %141)
%148 = call double @llvm.fmuladd.f64(double %140, double %147, double %139)
%149 = load double, double* %6
%150 = call double @llvm.fmuladd.f64(double %148, double %149, double %132)
%151 = load double, double* %22
%152 = call double @llvm.fmuladd.f64(double %110, double %150, double %151)
%153 = load double, double* %4
%154 = load double, double* %23
%155 = load double, double* %4
%156 = load double, double* %24
%157 = load double, double* %4
%158 = load double, double* %25
%159 = load double, double* %4
%160 = load double, double* %26
%161 = call double @llvm.fmuladd.f64(double %159, double %160, double %158)
%162 = call double @llvm.fmuladd.f64(double %157, double %161, double %156)
%163 = call double @llvm.fmuladd.f64(double %155, double %162, double %154)
%164 = call double @llvm.fmuladd.f64(double %153, double %163, double %152)
%165 = load double, double* %48
%166 = load double, double* %27
%167 = load double, double* %4
%168 = load double, double* %28
%169 = load double, double* %4
%170 = load double, double* %29
%171 = load double, double* %4
%172 = load double, double* %30
%173 = call double @llvm.fmuladd.f64(double %171, double %172, double %170)
%174 = call double @llvm.fmuladd.f64(double %169, double %173, double %168)
%175 = call double @llvm.fmuladd.f64(double %167, double %174, double %166)
%176 = call double @llvm.fmuladd.f64(double %165, double %175, double %164)
%177 = load double, double* %49
%178 = load double, double* %31
%179 = load double, double* %4
%180 = load double, double* %32
%181 = load double, double* %33
%182 = load double, double* %4
%183 = call double @llvm.fmuladd.f64(double %181, double %182, double %180)
%184 = call double @llvm.fmuladd.f64(double %179, double %183, double %178)
%185 = call double @llvm.fmuladd.f64(double %177, double %184, double %176)
%186 = fdiv double %109, %185
%187 = fsub double 1.000000e+00, %186
%188 = fdiv double %108, %187
store double %188, double* %50
%189 = load double, double* %50
ret double %189
}

LLVM IR (-O2):
define double @potrho_1(double %0, double %1, double %2) {
%4 = fcmp ogt double %1, 0.000000e+00
%5 = select i1 %4, double %1, double 0.000000e+00
%6 = fmul double %5, %5
%7 = fmul double %5, %6
%8 = tail call double @sqrt(double %7)
%9 = tail call double @llvm.fmuladd.f64(double %0, double 0x3E3C12C5E5C0CC50, double 0xBEB2CAB84856C8D1)
%10 = tail call double @llvm.fmuladd.f64(double %0, double %9, double 0x3F1A4231B9F290BD)
%11 = tail call double @llvm.fmuladd.f64(double %0, double %10, double -9.095290e-03)
%12 = tail call double @llvm.fmuladd.f64(double %0, double %11, double 0x3FB1647C00818526)
%13 = tail call double @llvm.fmuladd.f64(double %0, double %12, double 0x408F3EBDA1EC4E72)
%14 = tail call double @llvm.fmuladd.f64(double %0, double 5.387500e-09, double -8.246700e-07)
%15 = tail call double @llvm.fmuladd.f64(double %0, double %14, double 7.643800e-05)
%16 = tail call double @llvm.fmuladd.f64(double %0, double %15, double -4.089900e-03)
%17 = tail call double @llvm.fmuladd.f64(double %0, double %16, double 8.244930e-01)
%18 = tail call double @llvm.fmuladd.f64(double %5, double %17, double %13)
%19 = fmul double %5, 4.831400e-04
%20 = tail call double @llvm.fmuladd.f64(double %19, double %5, double %18)
%21 = tail call double @llvm.fmuladd.f64(double %0, double -1.654600e-06, double 1.022700e-04)
%22 = tail call double @llvm.fmuladd.f64(double %0, double %21, double -5.724660e-03)
%23 = tail call double @llvm.fmuladd.f64(double %8, double %22, double %20)
%24 = tail call double @llvm.fmuladd.f64(double %0, double -5.779050e-07, double 1.160920e-04)
%25 = tail call double @llvm.fmuladd.f64(double %0, double %24, double 1.437130e-03)
%26 = tail call double @llvm.fmuladd.f64(double %0, double %25, double 0x4009EB54E2B063E0)
%27 = tail call double @llvm.fmuladd.f64(double %0, double -1.607800e-06, double -1.098100e-05)
%28 = tail call double @llvm.fmuladd.f64(double %0, double %27, double 2.283800e-03)
%29 = tail call double @llvm.fmuladd.f64(double %5, double %28, double %26)
%30 = tail call double @llvm.fmuladd.f64(double %8, double 1.910750e-04, double %29)
%31 = tail call double @llvm.fmuladd.f64(double %0, double 5.278700e-08, double 0xBED9AE722EC9A99B)
%32 = tail call double @llvm.fmuladd.f64(double %0, double %31, double 8.509350e-05)
%33 = tail call double @llvm.fmuladd.f64(double %0, double 0x3E0F81C0E00A27D4, double 2.081600e-08)
%34 = tail call double @llvm.fmuladd.f64(double %0, double %33, double 0xBEB0AAF6CFDCCCF7)
%35 = tail call double @llvm.fmuladd.f64(double %5, double %34, double %32)
%36 = tail call double @llvm.fmuladd.f64(double %35, double %2, double %30)
%37 = tail call double @llvm.fmuladd.f64(double %2, double %36, double 0x40D3310D70A3D70A)
%38 = tail call double @llvm.fmuladd.f64(double %0, double 0xBF0B074F780AF01D, double 0x3F8BDCD151C1BEA7)
%39 = tail call double @llvm.fmuladd.f64(double %0, double %38, double 0xC0029DE939EADD59)
%40 = tail call double @llvm.fmuladd.f64(double %0, double %39, double 0x40628D758E219653)
%41 = tail call double @llvm.fmuladd.f64(double %0, double %40, double %37)
%42 = tail call double @llvm.fmuladd.f64(double %0, double -6.167000e-05, double 1.099870e-02)
%43 = tail call double @llvm.fmuladd.f64(double %0, double %42, double -6.034590e-01)
%44 = tail call double @llvm.fmuladd.f64(double %0, double %43, double 5.467460e+01)
%45 = tail call double @llvm.fmuladd.f64(double %5, double %44, double %41)
%46 = tail call double @llvm.fmuladd.f64(double %0, double -5.300900e-04, double 1.648300e-02)
%47 = tail call double @llvm.fmuladd.f64(double %0, double %46, double 0x3FB4562E09FE8683)
%48 = tail call double @llvm.fmuladd.f64(double %8, double %47, double %45)
%49 = fdiv double %2, %48
%50 = fsub double 1.000000e+00, %49
%51 = fdiv double %23, %50
ret double %51
}