#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 gsw_rho(double sa, double ct, double p) {
  double v01 = 9.998420897506056e+2, v02 = 2.839940833161907e0,
         v03 = -3.147759265588511e-2, v04 = 1.181805545074306e-3,
         v05 = -6.698001071123802e0, v06 = -2.986498947203215e-2,
         v07 = 2.327859407479162e-4, v08 = -3.988822378968490e-2,
         v09 = 5.095422573880500e-4, v10 = -1.426984671633621e-5,
         v11 = 1.645039373682922e-7, v12 = -2.233269627352527e-2,
         v13 = -3.436090079851880e-4, v14 = 3.726050720345733e-6,
         v15 = -1.806789763745328e-4, v16 = 6.876837219536232e-7,
         v17 = -3.087032500374211e-7, v18 = -1.988366587925593e-8,
         v19 = -1.061519070296458e-11, v20 = 1.550932729220080e-10, v21 = 1.0e0,
         v22 = 2.775927747785646e-3, v23 = -2.349607444135925e-5,
         v24 = 1.119513357486743e-6, v25 = 6.743689325042773e-10,
         v26 = -7.521448093615448e-3, v27 = -2.764306979894411e-5,
         v28 = 1.262937315098546e-7, v29 = 9.527875081696435e-10,
         v30 = -1.811147201949891e-11, v31 = -3.303308871386421e-5,
         v32 = 3.801564588876298e-7, v33 = -7.672876869259043e-9,
         v34 = -4.634182341116144e-11, v35 = 2.681097235569143e-12,
         v36 = 5.419326551148740e-6, v37 = -2.742185394906099e-5,
         v38 = -3.212746477974189e-7, v39 = 3.191413910561627e-9,
         v40 = -1.931012931541776e-12, v41 = -1.105097577149576e-7,
         v42 = 6.211426728363857e-10, v43 = -1.119011592875110e-10,
         v44 = -1.941660213148725e-11, v45 = -1.864826425365600e-14,
         v46 = 1.119522344879478e-14, v47 = -1.200507748551599e-15,
         v48 = 6.057902487546866e-17;
  double sqrtsa, v_hat_denominator, v_hat_numerator;
  sqrtsa = sqrt(sa);
  v_hat_denominator =
      v01 + ct * (v02 + ct * (v03 + v04 * ct)) +
      sa * (v05 + ct * (v06 + v07 * ct) +
            sqrtsa * (v08 + ct * (v09 + ct * (v10 + v11 * ct)))) +
      p * (v12 + ct * (v13 + v14 * ct) + sa * (v15 + v16 * ct) +
           p * (v17 + ct * (v18 + v19 * ct) + v20 * sa));
  v_hat_numerator =
      v21 + ct * (v22 + ct * (v23 + ct * (v24 + v25 * ct))) +
      sa * (v26 + ct * (v27 + ct * (v28 + ct * (v29 + v30 * ct))) + v36 * sa +
            sqrtsa * (v31 + ct * (v32 + ct * (v33 + ct * (v34 + v35 * ct))))) +
      p * (v37 + ct * (v38 + ct * (v39 + v40 * ct)) + sa * (v41 + v42 * ct) +
           p * (v43 + ct * (v44 + v45 * ct + v46 * sa) + p * (v47 + v48 * ct)));
  return (v_hat_denominator / v_hat_numerator);
}


x86 assembly (clang, -O0):
<gsw_rho>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1b0,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  0x1046(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0x1031(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0x101c(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0x1007(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xff2(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xfdd(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xfc8(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xfb3(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xf9e(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xf89(%rip),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xf74(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xf5f(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xf4a(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xf35(%rip),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xf1d(%rip),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xf05(%rip),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  0xeed(%rip),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0xed5(%rip),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0xebd(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xea5(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xe8d(%rip),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0xe75(%rip),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xe5d(%rip),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  0xe45(%rip),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  0xe2d(%rip),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  0xe15(%rip),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  0xdfd(%rip),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  0xde5(%rip),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  0xdcd(%rip),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  0xdb5(%rip),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  0xd9d(%rip),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movsd  0xd85(%rip),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movsd  0xd6d(%rip),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
movsd  0xd55(%rip),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movsd  0xd3d(%rip),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movsd  0xd25(%rip),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  0xd0d(%rip),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movsd  0xcf5(%rip),%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
movsd  0xcdd(%rip),%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
movsd  0xcc5(%rip),%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
movsd  0xcad(%rip),%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
movsd  0xc95(%rip),%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
movsd  0xc7d(%rip),%xmm0
movsd  %xmm0,-0x170(%rbp)
ff
movsd  0xc65(%rip),%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
movsd  0xc4d(%rip),%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
movsd  0xc35(%rip),%xmm0
movsd  %xmm0,-0x188(%rbp)
ff
movsd  0xc1d(%rip),%xmm0
movsd  %xmm0,-0x190(%rbp)
ff
movsd  0xc05(%rip),%xmm0
movsd  %xmm0,-0x198(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
call   1030 <sqrt@plt>
movsd  %xmm0,-0x1a0(%rbp)
ff
movsd  -0x20(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm3
movsd  -0x10(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm5
movsd  -0x38(%rbp),%xmm4
movsd  -0x10(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x8(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm2
movsd  -0x10(%rbp),%xmm3
movsd  -0x48(%rbp),%xmm5
movsd  -0x50(%rbp),%xmm4
movsd  -0x10(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm2,%xmm3
movsd  -0x1a0(%rbp),%xmm2
ff
movsd  -0x58(%rbp),%xmm5
movsd  -0x10(%rbp),%xmm4
movsd  -0x60(%rbp),%xmm7
movsd  -0x10(%rbp),%xmm6
movsd  -0x68(%rbp),%xmm9
movsd  -0x70(%rbp),%xmm8
movsd  -0x10(%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  -0x18(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm3
movsd  -0x10(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm5
movsd  -0x88(%rbp),%xmm4
ff
movsd  -0x10(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movsd  -0x8(%rbp),%xmm3
movsd  -0x90(%rbp),%xmm5
ff
movsd  -0x98(%rbp),%xmm4
ff
movsd  -0x10(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm2,%xmm3
movsd  -0x18(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm4
ff
movsd  -0x10(%rbp),%xmm5
movsd  -0xa8(%rbp),%xmm7
ff
movsd  -0xb0(%rbp),%xmm6
ff
movsd  -0x10(%rbp),%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm5
addsd  %xmm4,%xmm5
movsd  -0xb8(%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  %xmm0,-0x1a8(%rbp)
ff
movsd  -0xc0(%rbp),%xmm1
ff
movsd  -0x10(%rbp),%xmm0
movsd  -0xc8(%rbp),%xmm3
ff
movsd  -0x10(%rbp),%xmm2
movsd  -0xd0(%rbp),%xmm5
ff
movsd  -0x10(%rbp),%xmm4
movsd  -0xd8(%rbp),%xmm7
ff
movsd  -0xe0(%rbp),%xmm6
ff
movsd  -0x10(%rbp),%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  -0x8(%rbp),%xmm1
movsd  -0xe8(%rbp),%xmm3
ff
movsd  -0x10(%rbp),%xmm2
movsd  -0xf0(%rbp),%xmm5
ff
movsd  -0x10(%rbp),%xmm4
movsd  -0xf8(%rbp),%xmm7
ff
movsd  -0x10(%rbp),%xmm6
movsd  -0x100(%rbp),%xmm9
ff ff
movsd  -0x108(%rbp),%xmm8
ff ff
movsd  -0x10(%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
movsd  -0x138(%rbp),%xmm3
ff
movsd  -0x8(%rbp),%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm2,%xmm3
movsd  -0x1a0(%rbp),%xmm2
ff
movsd  -0x110(%rbp),%xmm5
ff
movsd  -0x10(%rbp),%xmm4
movsd  -0x118(%rbp),%xmm7
ff
movsd  -0x10(%rbp),%xmm6
movsd  -0x120(%rbp),%xmm9
ff ff
movsd  -0x10(%rbp),%xmm8
movsd  -0x128(%rbp),%xmm11
ff ff
movsd  -0x130(%rbp),%xmm10
ff ff
movsd  -0x10(%rbp),%xmm12
mulsd  %xmm12,%xmm10
addsd  %xmm11,%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  -0x18(%rbp),%xmm0
movsd  -0x140(%rbp),%xmm3
ff
movsd  -0x10(%rbp),%xmm2
movsd  -0x148(%rbp),%xmm5
ff
movsd  -0x10(%rbp),%xmm4
movsd  -0x150(%rbp),%xmm7
ff
movsd  -0x158(%rbp),%xmm6
ff
movsd  -0x10(%rbp),%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movsd  -0x8(%rbp),%xmm3
movsd  -0x160(%rbp),%xmm5
ff
movsd  -0x168(%rbp),%xmm4
ff
movsd  -0x10(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm2,%xmm3
movsd  -0x18(%rbp),%xmm2
movsd  -0x170(%rbp),%xmm4
ff
movsd  -0x10(%rbp),%xmm5
movsd  -0x178(%rbp),%xmm6
ff
movsd  -0x180(%rbp),%xmm7
ff
movsd  -0x10(%rbp),%xmm8
mulsd  %xmm8,%xmm7
addsd  %xmm6,%xmm7
movsd  -0x188(%rbp),%xmm6
ff
movsd  -0x8(%rbp),%xmm8
mulsd  %xmm8,%xmm6
addsd  %xmm7,%xmm6
mulsd  %xmm6,%xmm5
addsd  %xmm4,%xmm5
movsd  -0x18(%rbp),%xmm4
movsd  -0x190(%rbp),%xmm7
ff
movsd  -0x198(%rbp),%xmm6
ff
movsd  -0x10(%rbp),%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  %xmm0,-0x1b0(%rbp)
ff
movsd  -0x1a8(%rbp),%xmm0
ff
divsd  -0x1b0(%rbp),%xmm0
ff
add    $0x1b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gsw_rho>:
sub    $0x38,%rsp
movapd %xmm0,%xmm8
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm8
jb     112e <gsw_rho+0x1e>
xorps  %xmm0,%xmm0
sqrtsd %xmm8,%xmm0
jmp    115a <gsw_rho+0x4a>
movapd %xmm8,%xmm0
movaps %xmm2,0x20(%rsp)
movapd %xmm8,0x10(%rsp)
movaps %xmm1,(%rsp)
call   1030 <sqrt@plt>
movapd (%rsp),%xmm1
movapd 0x10(%rsp),%xmm8
movapd 0x20(%rsp),%xmm2
movsd  0xe9e(%rip),%xmm7
mulsd  %xmm1,%xmm7
addsd  0xe9a(%rip),%xmm7
movsd  0xe9a(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  0xe96(%rip),%xmm3
movapd %xmm1,%xmm9
unpcklpd %xmm1,%xmm9
movapd 0xefc(%rip),%xmm4
unpcklpd %xmm3,%xmm4
mulpd  %xmm9,%xmm4
addpd  0xefb(%rip),%xmm4
mulpd  %xmm9,%xmm4
addpd  0xefe(%rip),%xmm4
mulpd  %xmm9,%xmm4
addpd  0xf01(%rip),%xmm4
movsd  0xe59(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  0xe55(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  0xe51(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  0xe4d(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  0xe49(%rip),%xmm3
movapd 0xee1(%rip),%xmm5
unpcklpd %xmm3,%xmm5
movsd  0xe3d(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  0xe39(%rip),%xmm3
movapd 0xed1(%rip),%xmm6
unpcklpd %xmm3,%xmm6
movapd %xmm1,%xmm3
shufpd $0x2,0xea0(%rip),%xmm7
unpcklpd %xmm8,%xmm3
mulpd  %xmm9,%xmm6
addpd  0xebe(%rip),%xmm6
mulpd  %xmm3,%xmm7
mulpd  %xmm9,%xmm6
addpd  0xebd(%rip),%xmm6
addpd  %xmm5,%xmm7
mulpd  %xmm9,%xmm6
addpd  0xebc(%rip),%xmm6
unpcklpd %xmm0,%xmm0
mulpd  %xmm6,%xmm0
addpd  %xmm7,%xmm0
movapd %xmm8,%xmm5
unpcklpd %xmm8,%xmm5
mulpd  %xmm5,%xmm0
addpd  %xmm4,%xmm0
movsd  0xdce(%rip),%xmm6
mulsd  %xmm1,%xmm6
addsd  0xdca(%rip),%xmm6
movapd 0xe92(%rip),%xmm4
unpcklpd %xmm6,%xmm4
mulpd  %xmm9,%xmm4
addpd  0xe91(%rip),%xmm4
mulpd  %xmm9,%xmm4
addpd  0xe94(%rip),%xmm4
movapd 0xe9c(%rip),%xmm6
mulpd  %xmm9,%xmm6
addpd  0xe9f(%rip),%xmm6
mulpd  %xmm5,%xmm6
addpd  %xmm4,%xmm6
movsd  0xd87(%rip),%xmm4
mulsd  %xmm1,%xmm4
addsd  0xd83(%rip),%xmm4
movapd 0xe8b(%rip),%xmm5
unpcklpd %xmm4,%xmm5
mulpd  0xe8f(%rip),%xmm3
addpd  %xmm5,%xmm3
mulpd  %xmm9,%xmm3
addpd  0xe8e(%rip),%xmm3
mulsd  0xd5e(%rip),%xmm1
addsd  0xd5e(%rip),%xmm1
unpcklpd %xmm2,%xmm8
movapd 0xe81(%rip),%xmm4
unpcklpd %xmm1,%xmm4
mulpd  %xmm8,%xmm4
addpd  %xmm3,%xmm4
unpcklpd %xmm2,%xmm2
mulpd  %xmm2,%xmm4
addpd  %xmm6,%xmm4
mulpd  %xmm2,%xmm4
addpd  %xmm0,%xmm4
movapd %xmm4,%xmm0
unpckhpd %xmm4,%xmm0
divsd  %xmm0,%xmm4
movapd %xmm4,%xmm0
add    $0x38,%rsp
ret

LLVM IR (-O0):
define double @gsw_rho(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
%51 = alloca double
%52 = alloca double
%53 = alloca double
%54 = alloca double
%55 = alloca double
%56 = alloca double
%57 = alloca double
store double %0, double* %4
store double %1, double* %5
store double %2, double* %6
store double 0x408F3EBC998D192F, double* %7
store double 0x4006B832E6480B06, double* %8
store double 0xBFA01DD4BE07158E, double* %9
store double 0x3F535CDA0AA5141F, double* %10
store double 0xC01ACAC0CAF432E4, double* %11
store double 0xBF9E94ED844FA0F2, double* %12
store double 0x3F2E830001452CFC, double* %13
store double 0xBFA46C3AB1582DFC, double* %14
store double 0x3F40B259AA6BB2BF, double* %15
store double 0xBEEDED10CC84A6D6, double* %16
store double 0x3E86144FEF843373, double* %17
store double 0xBF96DE61E08152B8, double* %18
store double 0xBF3684CD73B033D1, double* %19
store double 0x3ECF41A20BDDB36E, double* %20
store double 0xBF27AE9496D640EA, double* %21
store double 0x3EA713287F3E0D0D, double* %22
store double 0xBE94B77B40758AB4, double* %23
store double 0xBE55599498FA7240, double* %24
store double 0xBDA757D23461E618, double* %25
store double 0x3DE550DC0324AE3D, double* %26
store double 1.000000e+00, double* %27
store double 0x3F66BD8ADC91CDB6, double* %28
store double 0xBEF8A32DF0E2C663, double* %29
store double 0x3EB2C845F439D142, double* %30
store double 0x3E072BCFD6295640, double* %31
store double 0xBF7ECECF594A4D0F, double* %32
store double 0xBEFCFC614ABDE6BC, double* %33
store double 0x3E80F36B6915609B, double* %34
store double 0x3E105E675DDF54DA, double* %35
store double 0xBDB3E9ED19245025, double* %36
store double 0xBF0151A0492353E4, double* %37
store double 0x3E998309C9A5AF2D, double* %38
store double 0xBE407A356B462757, double* %39
store double 0xBDC97A08262FF761, double* %40
store double 0x3D87954B5454878B, double* %41
store double 0x3ED6BAF523B168F6, double* %42
store double 0xBEFCC0FF745ACC9B, double* %43
store double 0xBE958F74D806A8A4, double* %44
store double 0x3E2B69FE4FF2D058, double* %45
store double 0xBD80FC412ACF34B7, double* %46
store double 0xBE7DAA2C37AA778F, double* %47
store double 0x3E0557A0F47894E8, double* %48
store double 0xBDDEC25813BB665A, double* %49
store double 0xBDB55949A24CF361, double* %50
store double 0xBD14FEFF084CF710, double* %51
store double 0x3D09359B5FDCD33E, double* %52
store double 0xBCD5A05D6377C5EB, double* %53
store double 0x3C9175F16D32352C, double* %54
%58 = load double, double* %4
%59 = call double @sqrt(double %58)
store double %59, double* %55
%60 = load double, double* %7
%61 = load double, double* %5
%62 = load double, double* %8
%63 = load double, double* %5
%64 = load double, double* %9
%65 = load double, double* %10
%66 = load double, double* %5
%67 = call double @llvm.fmuladd.f64(double %65, double %66, double %64)
%68 = call double @llvm.fmuladd.f64(double %63, double %67, double %62)
%69 = call double @llvm.fmuladd.f64(double %61, double %68, double %60)
%70 = load double, double* %4
%71 = load double, double* %11
%72 = load double, double* %5
%73 = load double, double* %12
%74 = load double, double* %13
%75 = load double, double* %5
%76 = call double @llvm.fmuladd.f64(double %74, double %75, double %73)
%77 = call double @llvm.fmuladd.f64(double %72, double %76, double %71)
%78 = load double, double* %55
%79 = load double, double* %14
%80 = load double, double* %5
%81 = load double, double* %15
%82 = load double, double* %5
%83 = load double, double* %16
%84 = load double, double* %17
%85 = load double, double* %5
%86 = call double @llvm.fmuladd.f64(double %84, double %85, double %83)
%87 = call double @llvm.fmuladd.f64(double %82, double %86, double %81)
%88 = call double @llvm.fmuladd.f64(double %80, double %87, double %79)
%89 = call double @llvm.fmuladd.f64(double %78, double %88, double %77)
%90 = call double @llvm.fmuladd.f64(double %70, double %89, double %69)
%91 = load double, double* %6
%92 = load double, double* %18
%93 = load double, double* %5
%94 = load double, double* %19
%95 = load double, double* %20
%96 = load double, double* %5
%97 = call double @llvm.fmuladd.f64(double %95, double %96, double %94)
%98 = call double @llvm.fmuladd.f64(double %93, double %97, double %92)
%99 = load double, double* %4
%100 = load double, double* %21
%101 = load double, double* %22
%102 = load double, double* %5
%103 = call double @llvm.fmuladd.f64(double %101, double %102, double %100)
%104 = call double @llvm.fmuladd.f64(double %99, double %103, double %98)
%105 = load double, double* %6
%106 = load double, double* %23
%107 = load double, double* %5
%108 = load double, double* %24
%109 = load double, double* %25
%110 = load double, double* %5
%111 = call double @llvm.fmuladd.f64(double %109, double %110, double %108)
%112 = call double @llvm.fmuladd.f64(double %107, double %111, double %106)
%113 = load double, double* %26
%114 = load double, double* %4
%115 = call double @llvm.fmuladd.f64(double %113, double %114, double %112)
%116 = call double @llvm.fmuladd.f64(double %105, double %115, double %104)
%117 = call double @llvm.fmuladd.f64(double %91, double %116, double %90)
store double %117, double* %56
%118 = load double, double* %27
%119 = load double, double* %5
%120 = load double, double* %28
%121 = load double, double* %5
%122 = load double, double* %29
%123 = load double, double* %5
%124 = load double, double* %30
%125 = load double, double* %31
%126 = load double, double* %5
%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 = call double @llvm.fmuladd.f64(double %119, double %129, double %118)
%131 = load double, double* %4
%132 = load double, double* %32
%133 = load double, double* %5
%134 = load double, double* %33
%135 = load double, double* %5
%136 = load double, double* %34
%137 = load double, double* %5
%138 = load double, double* %35
%139 = load double, double* %36
%140 = load double, double* %5
%141 = call double @llvm.fmuladd.f64(double %139, double %140, double %138)
%142 = call double @llvm.fmuladd.f64(double %137, double %141, double %136)
%143 = call double @llvm.fmuladd.f64(double %135, double %142, double %134)
%144 = call double @llvm.fmuladd.f64(double %133, double %143, double %132)
%145 = load double, double* %42
%146 = load double, double* %4
%147 = call double @llvm.fmuladd.f64(double %145, double %146, double %144)
%148 = load double, double* %55
%149 = load double, double* %37
%150 = load double, double* %5
%151 = load double, double* %38
%152 = load double, double* %5
%153 = load double, double* %39
%154 = load double, double* %5
%155 = load double, double* %40
%156 = load double, double* %41
%157 = load double, double* %5
%158 = call double @llvm.fmuladd.f64(double %156, double %157, double %155)
%159 = call double @llvm.fmuladd.f64(double %154, double %158, double %153)
%160 = call double @llvm.fmuladd.f64(double %152, double %159, double %151)
%161 = call double @llvm.fmuladd.f64(double %150, double %160, double %149)
%162 = call double @llvm.fmuladd.f64(double %148, double %161, double %147)
%163 = call double @llvm.fmuladd.f64(double %131, double %162, double %130)
%164 = load double, double* %6
%165 = load double, double* %43
%166 = load double, double* %5
%167 = load double, double* %44
%168 = load double, double* %5
%169 = load double, double* %45
%170 = load double, double* %46
%171 = load double, double* %5
%172 = call double @llvm.fmuladd.f64(double %170, double %171, double %169)
%173 = call double @llvm.fmuladd.f64(double %168, double %172, double %167)
%174 = call double @llvm.fmuladd.f64(double %166, double %173, double %165)
%175 = load double, double* %4
%176 = load double, double* %47
%177 = load double, double* %48
%178 = load double, double* %5
%179 = call double @llvm.fmuladd.f64(double %177, double %178, double %176)
%180 = call double @llvm.fmuladd.f64(double %175, double %179, double %174)
%181 = load double, double* %6
%182 = load double, double* %49
%183 = load double, double* %5
%184 = load double, double* %50
%185 = load double, double* %51
%186 = load double, double* %5
%187 = call double @llvm.fmuladd.f64(double %185, double %186, double %184)
%188 = load double, double* %52
%189 = load double, double* %4
%190 = call double @llvm.fmuladd.f64(double %188, double %189, double %187)
%191 = call double @llvm.fmuladd.f64(double %183, double %190, double %182)
%192 = load double, double* %6
%193 = load double, double* %53
%194 = load double, double* %54
%195 = load double, double* %5
%196 = call double @llvm.fmuladd.f64(double %194, double %195, double %193)
%197 = call double @llvm.fmuladd.f64(double %192, double %196, double %191)
%198 = call double @llvm.fmuladd.f64(double %181, double %197, double %180)
%199 = call double @llvm.fmuladd.f64(double %164, double %198, double %163)
store double %199, double* %57
%200 = load double, double* %56
%201 = load double, double* %57
%202 = fdiv double %200, %201
ret double %202
}

LLVM IR (-O2):
define double @gsw_rho(double %0, double %1, double %2) {
%4 = tail call double @sqrt(double %0)
%5 = tail call double @llvm.fmuladd.f64(double %1, double 0x3F2E830001452CFC, double 0xBF9E94ED844FA0F2)
%6 = tail call double @llvm.fmuladd.f64(double %1, double 0x3E072BCFD6295640, double 0x3EB2C845F439D142)
%7 = insertelement <2 x double> poison, double %1, i64 0
%8 = shufflevector <2 x double> %7, <2 x double> poison, <2 x i32> zeroinitializer
%9 = insertelement <2 x double> <double 0x3F535CDA0AA5141F, double poison>, double %6, i64 1
%10 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %9, <2 x double> <double 0xBFA01DD4BE07158E, double 0xBEF8A32DF0E2C663>)
%11 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %10, <2 x double> <double 0x4006B832E6480B06, double 0x3F66BD8ADC91CDB6>)
%12 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %11, <2 x double> <double 0x408F3EBC998D192F, double 1.000000e+00>)
%13 = tail call double @llvm.fmuladd.f64(double %1, double 0xBDB3E9ED19245025, double 0x3E105E675DDF54DA)
%14 = tail call double @llvm.fmuladd.f64(double %1, double %13, double 0x3E80F36B6915609B)
%15 = tail call double @llvm.fmuladd.f64(double %1, double %14, double 0xBEFCFC614ABDE6BC)
%16 = tail call double @llvm.fmuladd.f64(double %1, double %15, double 0xBF7ECECF594A4D0F)
%17 = insertelement <2 x double> %7, double %0, i64 1
%18 = insertelement <2 x double> <double poison, double 0x3ED6BAF523B168F6>, double %5, i64 0
%19 = insertelement <2 x double> <double 0xC01ACAC0CAF432E4, double poison>, double %16, i64 1
%20 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %17, <2 x double> %18, <2 x double> %19)
%21 = tail call double @llvm.fmuladd.f64(double %1, double 0x3D87954B5454878B, double 0xBDC97A08262FF761)
%22 = insertelement <2 x double> <double 0x3E86144FEF843373, double poison>, double %21, i64 1
%23 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %22, <2 x double> <double 0xBEEDED10CC84A6D6, double 0xBE407A356B462757>)
%24 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %23, <2 x double> <double 0x3F40B259AA6BB2BF, double 0x3E998309C9A5AF2D>)
%25 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %24, <2 x double> <double 0xBFA46C3AB1582DFC, double 0xBF0151A0492353E4>)
%26 = insertelement <2 x double> poison, double %4, i64 0
%27 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> zeroinitializer
%28 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %27, <2 x double> %25, <2 x double> %20)
%29 = insertelement <2 x double> poison, double %0, i64 0
%30 = shufflevector <2 x double> %29, <2 x double> poison, <2 x i32> zeroinitializer
%31 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %30, <2 x double> %28, <2 x double> %12)
%32 = tail call double @llvm.fmuladd.f64(double %1, double 0xBD80FC412ACF34B7, double 0x3E2B69FE4FF2D058)
%33 = insertelement <2 x double> <double 0x3ECF41A20BDDB36E, double poison>, double %32, i64 1
%34 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %33, <2 x double> <double 0xBF3684CD73B033D1, double 0xBE958F74D806A8A4>)
%35 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %34, <2 x double> <double 0xBF96DE61E08152B8, double 0xBEFCC0FF745ACC9B>)
%36 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> <double 0x3EA713287F3E0D0D, double 0x3E0557A0F47894E8>, <2 x double> <double 0xBF27AE9496D640EA, double 0xBE7DAA2C37AA778F>)
%37 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %30, <2 x double> %36, <2 x double> %35)
%38 = tail call double @llvm.fmuladd.f64(double %1, double 0xBD14FEFF084CF710, double 0xBDB55949A24CF361)
%39 = insertelement <2 x double> <double 0xBE55599498FA7240, double poison>, double %38, i64 1
%40 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %17, <2 x double> <double 0xBDA757D23461E618, double 0x3D09359B5FDCD33E>, <2 x double> %39)
%41 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %40, <2 x double> <double 0xBE94B77B40758AB4, double 0xBDDEC25813BB665A>)
%42 = tail call double @llvm.fmuladd.f64(double %1, double 0x3C9175F16D32352C, double 0xBCD5A05D6377C5EB)
%43 = insertelement <2 x double> %29, double %2, i64 1
%44 = insertelement <2 x double> <double 0x3DE550DC0324AE3D, double poison>, double %42, i64 1
%45 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %43, <2 x double> %44, <2 x double> %41)
%46 = insertelement <2 x double> poison, double %2, i64 0
%47 = shufflevector <2 x double> %46, <2 x double> poison, <2 x i32> zeroinitializer
%48 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %47, <2 x double> %45, <2 x double> %37)
%49 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %47, <2 x double> %48, <2 x double> %31)
%50 = extractelement <2 x double> %49, i64 0
%51 = extractelement <2 x double> %49, i64 1
%52 = fdiv double %50, %51
ret double %52
}