double gsw_enthalpy(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 db2pa, cp0, sqrtsa, a0, a1, a2, a3, b0, b1, b2, b1sq;
  double sqrt_disc, ca, cb, cn, cm, part;
  db2pa = 1e4;
  cp0 = 3991.86795711963e0;
  sqrtsa = sqrt(sa);
  a0 = 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)))));
  a1 = v37 + ct * (v38 + ct * (v39 + v40 * ct)) + sa * (v41 + v42 * ct);
  a2 = v43 + ct * (v44 + v45 * ct + v46 * sa);
  a3 = v47 + v48 * ct;
  b0 = v01 + ct * (v02 + ct * (v03 + v04 * ct)) +
       sa * (v05 + ct * (v06 + v07 * ct) +
             sqrtsa * (v08 + ct * (v09 + ct * (v10 + v11 * ct))));
  b1 = 0.5e0 * (v12 + ct * (v13 + v14 * ct) + sa * (v15 + v16 * ct));
  b2 = v17 + ct * (v18 + v19 * ct) + v20 * sa;
  b1sq = b1 * b1;
  sqrt_disc = sqrt(b1sq - b0 * b2);
  cn = a0 + (2.0 * a3 * b0 * b1 / b2 - a2 * b0) / b2;
  cm = a1 + (4.0 * a3 * b1sq / b2 - a3 * b0 - 2 * a2 * b1) / b2;
  ca = b1 - sqrt_disc;
  cb = b1 + sqrt_disc;
  part = (cn * b2 - cm * b1) / (b2 * (cb - ca));
  return (cp0 * ct +
          db2pa *
              (p * (a2 - 2.0 * a3 * b1 / b2 + 0.5 * a3 * p) / b2 +
               (cm / (2.0 * b2)) * log(1 + p * (2.0 * b1 + b2 * p) / b0) +
               part * log(1.0 + (b2 * p * (cb - ca)) / (ca * (cb + b2 * p)))));
}


x86 assembly (clang, -O0):
<gsw_enthalpy>:
push   %rbp
mov    %rsp,%rbp
sub    $0x260,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  0x105e(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0x1049(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0x1034(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0x101f(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0x100a(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xff5(%rip),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xfe0(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xfcb(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xfb6(%rip),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0xfa1(%rip),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xf8c(%rip),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xf77(%rip),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xf62(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  0xf4d(%rip),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xf35(%rip),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xf1d(%rip),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  0xf05(%rip),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0xeed(%rip),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0xed5(%rip),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0xebd(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xda5(%rip),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0xe95(%rip),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xe7d(%rip),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  0xe65(%rip),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  0xe4d(%rip),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  0xe35(%rip),%xmm0
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  0xe1d(%rip),%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  0xe05(%rip),%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  0xded(%rip),%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  0xdd5(%rip),%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  0xdbd(%rip),%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movsd  0xda5(%rip),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movsd  0xd8d(%rip),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
movsd  0xd75(%rip),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movsd  0xd5d(%rip),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movsd  0xd45(%rip),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  0xd2d(%rip),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movsd  0xd15(%rip),%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
movsd  0xcfd(%rip),%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
movsd  0xce5(%rip),%xmm0
movsd  %xmm0,-0x158(%rbp)
ff
movsd  0xccd(%rip),%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
movsd  0xcb5(%rip),%xmm0
movsd  %xmm0,-0x168(%rbp)
ff
movsd  0xc9d(%rip),%xmm0
movsd  %xmm0,-0x170(%rbp)
ff
movsd  0xc85(%rip),%xmm0
movsd  %xmm0,-0x178(%rbp)
ff
movsd  0xc6d(%rip),%xmm0
movsd  %xmm0,-0x180(%rbp)
ff
movsd  0xc55(%rip),%xmm0
movsd  %xmm0,-0x188(%rbp)
ff
movsd  0xc3d(%rip),%xmm0
movsd  %xmm0,-0x190(%rbp)
ff
movsd  0xc25(%rip),%xmm0
movsd  %xmm0,-0x198(%rbp)
ff
movsd  0xc0d(%rip),%xmm0
movsd  %xmm0,-0x1a0(%rbp)
ff
movsd  0xbf5(%rip),%xmm0
movsd  %xmm0,-0x1a8(%rbp)
ff
movsd  -0x8(%rbp),%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x1b0(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0x10(%rbp),%xmm1
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,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x8(%rbp),%xmm0
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  -0x1b0(%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,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1b8(%rbp)
ff
movsd  -0x140(%rbp),%xmm0
ff
movsd  -0x10(%rbp),%xmm1
movsd  -0x148(%rbp),%xmm3
ff
movsd  -0x10(%rbp),%xmm2
movsd  -0x150(%rbp),%xmm5
ff
movsd  -0x158(%rbp),%xmm4
ff
movsd  -0x10(%rbp),%xmm6
mulsd  %xmm6,%xmm4
addsd  %xmm5,%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x8(%rbp),%xmm0
movsd  -0x160(%rbp),%xmm3
ff
movsd  -0x168(%rbp),%xmm2
movsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1c0(%rbp)
ff
movsd  -0x170(%rbp),%xmm1
ff
movsd  -0x10(%rbp),%xmm0
movsd  -0x178(%rbp),%xmm2
ff
movsd  -0x180(%rbp),%xmm3
ff
movsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm3
addsd  %xmm2,%xmm3
movsd  -0x188(%rbp),%xmm2
ff
movsd  -0x8(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1c8(%rbp)
ff
movsd  -0x190(%rbp),%xmm1
ff
movsd  -0x198(%rbp),%xmm0
ff
movsd  -0x10(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1d0(%rbp)
ff
movsd  -0x20(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm1
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,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x8(%rbp),%xmm0
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  -0x1b0(%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,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1d8(%rbp)
ff
movsd  -0x78(%rbp),%xmm1
movsd  -0x10(%rbp),%xmm0
movsd  -0x80(%rbp),%xmm3
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x8(%rbp),%xmm1
movsd  -0x90(%rbp),%xmm3
ff
movsd  -0x98(%rbp),%xmm2
ff
movsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x856(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x1e0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0x10(%rbp),%xmm1
movsd  -0xa8(%rbp),%xmm3
ff
movsd  -0xb0(%rbp),%xmm2
ff
movsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0x8(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x1e8(%rbp)
ff
movsd  -0x1e0(%rbp),%xmm0
ff
mulsd  -0x1e0(%rbp),%xmm0
ff
movsd  %xmm0,-0x1f0(%rbp)
ff
movsd  -0x1f0(%rbp),%xmm1
ff
movsd  -0x1d8(%rbp),%xmm0
ff
movsd  -0x1e8(%rbp),%xmm2
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movsd  %xmm0,-0x1f8(%rbp)
ff
movsd  -0x1b8(%rbp),%xmm0
ff
movsd  0x787(%rip),%xmm2
mulsd  -0x1d0(%rbp),%xmm2
ff
mulsd  -0x1d8(%rbp),%xmm2
ff
mulsd  -0x1e0(%rbp),%xmm2
ff
divsd  -0x1e8(%rbp),%xmm2
ff
movsd  -0x1c8(%rbp),%xmm1
ff
movsd  -0x1d8(%rbp),%xmm3
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  -0x1e8(%rbp),%xmm1
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x210(%rbp)
ff
movsd  -0x1c0(%rbp),%xmm0
ff
movsd  0x724(%rip),%xmm1
mulsd  -0x1d0(%rbp),%xmm1
ff
mulsd  -0x1f0(%rbp),%xmm1
ff
divsd  -0x1e8(%rbp),%xmm1
ff
movsd  -0x1d0(%rbp),%xmm2
ff
movsd  -0x1d8(%rbp),%xmm3
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0x6c5(%rip),%xmm1
mulsd  -0x1c8(%rbp),%xmm1
ff
movsd  -0x1e0(%rbp),%xmm3
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  -0x1e8(%rbp),%xmm1
ff
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x218(%rbp)
ff
movsd  -0x1e0(%rbp),%xmm0
ff
subsd  -0x1f8(%rbp),%xmm0
ff
movsd  %xmm0,-0x200(%rbp)
ff
movsd  -0x1e0(%rbp),%xmm0
ff
addsd  -0x1f8(%rbp),%xmm0
ff
movsd  %xmm0,-0x208(%rbp)
ff
movsd  -0x210(%rbp),%xmm0
ff
movsd  -0x1e8(%rbp),%xmm2
ff
movsd  -0x218(%rbp),%xmm1
ff
mulsd  -0x1e0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x1e8(%rbp),%xmm1
ff
movsd  -0x208(%rbp),%xmm2
ff
subsd  -0x200(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x220(%rbp)
ff
movsd  -0x1a8(%rbp),%xmm0
ff
movsd  %xmm0,-0x228(%rbp)
ff
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x230(%rbp)
ff
movsd  -0x1a0(%rbp),%xmm0
ff
movsd  %xmm0,-0x238(%rbp)
ff
movsd  -0x18(%rbp),%xmm0
movsd  -0x1c8(%rbp),%xmm2
ff
movsd  0x5a9(%rip),%xmm1
mulsd  -0x1d0(%rbp),%xmm1
ff
mulsd  -0x1e0(%rbp),%xmm1
ff
divsd  -0x1e8(%rbp),%xmm1
ff
subsd  %xmm1,%xmm2
movsd  0x58d(%rip),%xmm1
mulsd  -0x1d0(%rbp),%xmm1
ff
movsd  -0x18(%rbp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
divsd  -0x1e8(%rbp),%xmm0
ff
movsd  %xmm0,-0x258(%rbp)
ff
movsd  -0x218(%rbp),%xmm0
ff
movsd  0x54c(%rip),%xmm1
mulsd  -0x1e8(%rbp),%xmm1
ff
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x250(%rbp)
ff
movsd  -0x18(%rbp),%xmm1
movsd  -0x1e0(%rbp),%xmm0
ff
movsd  -0x1e8(%rbp),%xmm2
ff
mulsd  -0x18(%rbp),%xmm2
addsd  %xmm0,%xmm0
addsd  %xmm2,%xmm0
mulsd  %xmm0,%xmm1
divsd  -0x1d8(%rbp),%xmm1
ff
movsd  0x4fa(%rip),%xmm0
addsd  %xmm1,%xmm0
call   1030 <log@plt>
movsd  -0x258(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x250(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x240(%rbp)
ff
movsd  -0x220(%rbp),%xmm0
ff
movsd  %xmm0,-0x248(%rbp)
ff
movsd  -0x1e8(%rbp),%xmm1
ff
mulsd  -0x18(%rbp),%xmm1
movsd  -0x208(%rbp),%xmm0
ff
subsd  -0x200(%rbp),%xmm0
ff
mulsd  %xmm0,%xmm1
movsd  -0x200(%rbp),%xmm0
ff
movsd  -0x208(%rbp),%xmm3
ff
movsd  -0x1e8(%rbp),%xmm2
ff
movsd  -0x18(%rbp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
divsd  %xmm0,%xmm1
movsd  0x468(%rip),%xmm0
addsd  %xmm1,%xmm0
call   1030 <log@plt>
movsd  -0x248(%rbp),%xmm3
ff
movsd  -0x240(%rbp),%xmm4
ff
movsd  -0x238(%rbp),%xmm1
ff
movsd  -0x230(%rbp),%xmm2
ff
movaps %xmm0,%xmm5
movsd  -0x228(%rbp),%xmm0
ff
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
add    $0x260,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gsw_enthalpy>:
sub    $0x98,%rsp
movsd  %xmm2,0x68(%rsp)
movaps %xmm1,0x70(%rsp)
movapd %xmm0,%xmm11
xorpd  %xmm9,%xmm9
ucomisd %xmm9,%xmm0
jb     114d <gsw_enthalpy+0x2d>
xorps  %xmm0,%xmm0
sqrtsd %xmm11,%xmm0
jmp    116a <gsw_enthalpy+0x4a>
movapd %xmm11,%xmm0
movapd %xmm11,0x20(%rsp)
call   1040 <sqrt@plt>
movapd 0x20(%rsp),%xmm11
xorpd  %xmm9,%xmm9
movsd  0xe8e(%rip),%xmm1
movapd 0x70(%rsp),%xmm6
mulsd  %xmm6,%xmm1
addsd  0xe84(%rip),%xmm1
mulsd  %xmm6,%xmm1
addsd  0xe80(%rip),%xmm1
mulsd  %xmm6,%xmm1
addsd  0xe7c(%rip),%xmm1
mulsd  %xmm6,%xmm1
addsd  0xe78(%rip),%xmm1
movsd  0xe78(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xe74(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xe70(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xe6c(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xe68(%rip),%xmm3
movsd  0xe67(%rip),%xmm8
movsd  0xe67(%rip),%xmm7
mulsd  %xmm6,%xmm7
addsd  0xe63(%rip),%xmm7
mulsd  %xmm11,%xmm8
mulsd  %xmm6,%xmm7
addsd  0xe5a(%rip),%xmm7
mulsd  %xmm6,%xmm7
addsd  0xe56(%rip),%xmm7
mulsd  %xmm6,%xmm7
addsd  0xe52(%rip),%xmm7
movsd  0xe52(%rip),%xmm2
mulsd  %xmm6,%xmm2
addsd  0xe4e(%rip),%xmm2
movsd  0xe4d(%rip),%xmm12
mulsd  %xmm6,%xmm12
addsd  0xe47(%rip),%xmm12
movsd  0xe47(%rip),%xmm5
mulsd  %xmm6,%xmm5
addsd  0xe43(%rip),%xmm5
movsd  0xe42(%rip),%xmm10
mulsd  %xmm11,%xmm10
addsd  %xmm5,%xmm10
mulsd  %xmm6,%xmm10
addsd  0xe32(%rip),%xmm10
movsd  0xe32(%rip),%xmm5
mulsd  %xmm6,%xmm5
addsd  0xe2e(%rip),%xmm5
addsd  %xmm3,%xmm8
mulsd  %xmm6,%xmm5
addsd  0xe25(%rip),%xmm5
mulsd  %xmm0,%xmm7
mulsd  %xmm6,%xmm5
addsd  0xe1d(%rip),%xmm5
movsd  0xe1d(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xe19(%rip),%xmm3
addsd  %xmm8,%xmm7
mulsd  %xmm6,%xmm3
addsd  0xe10(%rip),%xmm3
movsd  0xe10(%rip),%xmm4
mulsd  %xmm6,%xmm4
addsd  0xe0c(%rip),%xmm4
mulsd  %xmm11,%xmm7
mulsd  %xmm6,%xmm4
addsd  0xe03(%rip),%xmm4
addsd  %xmm1,%xmm7
movsd  %xmm7,0x20(%rsp)
mulsd  %xmm6,%xmm4
addsd  0xdf5(%rip),%xmm4
mulsd  %xmm0,%xmm4
addsd  %xmm3,%xmm4
mulsd  %xmm11,%xmm4
addsd  %xmm5,%xmm4
movsd  0xde4(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xde0(%rip),%xmm3
mulsd  %xmm6,%xmm3
addsd  0xddc(%rip),%xmm3
movsd  0xddc(%rip),%xmm0
mulsd  %xmm6,%xmm0
addsd  0xdd8(%rip),%xmm0
movapd %xmm11,%xmm1
unpcklpd %xmm6,%xmm1
shufpd $0x2,0xdfe(%rip),%xmm0
shufpd $0x2,0xe05(%rip),%xmm3
mulpd  %xmm1,%xmm0
addpd  %xmm0,%xmm3
movapd %xmm6,%xmm0
shufpd $0x2,0xe00(%rip),%xmm2
unpcklpd %xmm6,%xmm0
mulpd  %xmm0,%xmm2
addpd  0xe00(%rip),%xmm2
mulpd  %xmm0,%xmm2
addpd  0xe04(%rip),%xmm2
unpcklpd %xmm11,%xmm11
shufpd $0x2,0xe05(%rip),%xmm12
mulpd  %xmm11,%xmm12
addpd  %xmm2,%xmm12
movapd 0xe03(%rip),%xmm5
movapd %xmm3,0x50(%rsp)
mulpd  %xmm3,%xmm5
movapd %xmm5,%xmm3
mulsd  %xmm5,%xmm3
movapd %xmm12,0x10(%rsp)
unpckhpd %xmm12,%xmm12
movapd %xmm4,%xmm1
movapd %xmm12,0x40(%rsp)
mulsd  %xmm12,%xmm1
movapd %xmm3,%xmm0
subsd  %xmm1,%xmm0
ucomisd %xmm9,%xmm0
jb     1410 <gsw_enthalpy+0x2f0>
sqrtsd %xmm0,%xmm0
jmp    144b <gsw_enthalpy+0x32b>
movsd  %xmm10,0x8(%rsp)
movsd  %xmm4,(%rsp)
movapd %xmm5,0x30(%rsp)
movapd %xmm3,0x80(%rsp)
call   1040 <sqrt@plt>
movapd 0x80(%rsp),%xmm3
movapd 0x30(%rsp),%xmm5
movsd  (%rsp),%xmm4
movsd  0x8(%rsp),%xmm10
movapd %xmm5,%xmm8
unpckhpd %xmm5,%xmm8
movapd %xmm8,%xmm1
mulsd  %xmm4,%xmm1
mulsd  %xmm5,%xmm1
movapd 0x40(%rsp),%xmm7
divsd  %xmm7,%xmm1
movapd %xmm10,%xmm2
mulsd  %xmm4,%xmm2
subsd  %xmm2,%xmm1
divsd  %xmm7,%xmm1
movsd  0x20(%rsp),%xmm6
addsd  %xmm1,%xmm6
movapd 0x50(%rsp),%xmm11
unpckhpd %xmm11,%xmm11
movsd  0xca5(%rip),%xmm1
mulsd  %xmm11,%xmm1
mulsd  %xmm3,%xmm1
divsd  %xmm7,%xmm1
movapd %xmm11,%xmm2
mulsd  %xmm4,%xmm2
subsd  %xmm2,%xmm1
movsd  0xc8b(%rip),%xmm2
mulsd  %xmm10,%xmm2
mulsd  %xmm5,%xmm2
addsd  %xmm1,%xmm2
divsd  %xmm7,%xmm2
movapd %xmm5,%xmm1
subsd  %xmm0,%xmm1
movapd %xmm1,%xmm9
movsd  %xmm1,0x8(%rsp)
addsd  %xmm5,%xmm0
movsd  %xmm0,0x30(%rsp)
movapd 0x10(%rsp),%xmm3
addsd  %xmm2,%xmm3
movapd %xmm5,%xmm1
mulsd  %xmm3,%xmm1
movapd %xmm3,%xmm12
mulsd  %xmm7,%xmm6
subsd  %xmm1,%xmm6
subsd  %xmm9,%xmm0
movsd  %xmm0,(%rsp)
movapd %xmm7,%xmm1
mulsd  %xmm0,%xmm1
divsd  %xmm1,%xmm6
movsd  %xmm6,0x20(%rsp)
mulsd  %xmm5,%xmm8
divsd  %xmm7,%xmm8
subsd  %xmm8,%xmm10
mulsd  0xc12(%rip),%xmm11
movsd  0x68(%rsp),%xmm1
mulsd  %xmm1,%xmm11
addsd  %xmm10,%xmm11
mulsd  %xmm1,%xmm11
divsd  %xmm7,%xmm11
movapd %xmm11,0x50(%rsp)
movapd %xmm7,%xmm0
addsd  %xmm7,%xmm0
divsd  %xmm0,%xmm12
movapd %xmm12,0x10(%rsp)
mulsd  %xmm1,%xmm7
movapd %xmm7,0x40(%rsp)
addsd  %xmm5,%xmm5
addsd  %xmm7,%xmm5
mulsd  %xmm1,%xmm5
divsd  %xmm4,%xmm5
addsd  0xa8b(%rip),%xmm5
movapd %xmm5,%xmm0
call   1030 <log@plt>
mulsd  0x10(%rsp),%xmm0
addsd  0x50(%rsp),%xmm0
movsd  %xmm0,0x10(%rsp)
movapd 0x40(%rsp),%xmm0
movsd  (%rsp),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x30(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
divsd  %xmm0,%xmm1
addsd  0xa49(%rip),%xmm1
movapd %xmm1,%xmm0
call   1030 <log@plt>
mulsd  0x20(%rsp),%xmm0
addsd  0x10(%rsp),%xmm0
mulsd  0xb64(%rip),%xmm0
movapd 0x70(%rsp),%xmm1
mulsd  0xb5e(%rip),%xmm1
addsd  %xmm1,%xmm0
add    $0x98,%rsp
ret

LLVM IR (-O0):
define double @gsw_enthalpy(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
%58 = alloca double
%59 = alloca double
%60 = alloca double
%61 = alloca double
%62 = alloca double
%63 = alloca double
%64 = alloca double
%65 = alloca double
%66 = alloca double
%67 = alloca double
%68 = alloca double
%69 = alloca double
%70 = alloca double
%71 = 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
store double 1.000000e+04, double* %55
store double 0x40AF2FBC64E02648, double* %56
%72 = load double, double* %4
%73 = call double @sqrt(double %72)
store double %73, double* %57
%74 = load double, double* %27
%75 = load double, double* %5
%76 = load double, double* %28
%77 = load double, double* %5
%78 = load double, double* %29
%79 = load double, double* %5
%80 = load double, double* %30
%81 = load double, double* %31
%82 = load double, double* %5
%83 = call double @llvm.fmuladd.f64(double %81, double %82, double %80)
%84 = call double @llvm.fmuladd.f64(double %79, double %83, double %78)
%85 = call double @llvm.fmuladd.f64(double %77, double %84, double %76)
%86 = call double @llvm.fmuladd.f64(double %75, double %85, double %74)
%87 = load double, double* %4
%88 = load double, double* %32
%89 = load double, double* %5
%90 = load double, double* %33
%91 = load double, double* %5
%92 = load double, double* %34
%93 = load double, double* %5
%94 = load double, double* %35
%95 = load double, double* %36
%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 = call double @llvm.fmuladd.f64(double %91, double %98, double %90)
%100 = call double @llvm.fmuladd.f64(double %89, double %99, double %88)
%101 = load double, double* %42
%102 = load double, double* %4
%103 = call double @llvm.fmuladd.f64(double %101, double %102, double %100)
%104 = load double, double* %57
%105 = load double, double* %37
%106 = load double, double* %5
%107 = load double, double* %38
%108 = load double, double* %5
%109 = load double, double* %39
%110 = load double, double* %5
%111 = load double, double* %40
%112 = load double, double* %41
%113 = load double, double* %5
%114 = call double @llvm.fmuladd.f64(double %112, double %113, double %111)
%115 = call double @llvm.fmuladd.f64(double %110, double %114, double %109)
%116 = call double @llvm.fmuladd.f64(double %108, double %115, double %107)
%117 = call double @llvm.fmuladd.f64(double %106, double %116, double %105)
%118 = call double @llvm.fmuladd.f64(double %104, double %117, double %103)
%119 = call double @llvm.fmuladd.f64(double %87, double %118, double %86)
store double %119, double* %58
%120 = load double, double* %43
%121 = load double, double* %5
%122 = load double, double* %44
%123 = load double, double* %5
%124 = load double, double* %45
%125 = load double, double* %46
%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 = load double, double* %4
%131 = load double, double* %47
%132 = load double, double* %48
%133 = load double, double* %5
%134 = call double @llvm.fmuladd.f64(double %132, double %133, double %131)
%135 = call double @llvm.fmuladd.f64(double %130, double %134, double %129)
store double %135, double* %59
%136 = load double, double* %49
%137 = load double, double* %5
%138 = load double, double* %50
%139 = load double, double* %51
%140 = load double, double* %5
%141 = call double @llvm.fmuladd.f64(double %139, double %140, double %138)
%142 = load double, double* %52
%143 = load double, double* %4
%144 = call double @llvm.fmuladd.f64(double %142, double %143, double %141)
%145 = call double @llvm.fmuladd.f64(double %137, double %144, double %136)
store double %145, double* %60
%146 = load double, double* %53
%147 = load double, double* %54
%148 = load double, double* %5
%149 = call double @llvm.fmuladd.f64(double %147, double %148, double %146)
store double %149, double* %61
%150 = load double, double* %7
%151 = load double, double* %5
%152 = load double, double* %8
%153 = load double, double* %5
%154 = load double, double* %9
%155 = load double, double* %10
%156 = load double, double* %5
%157 = call double @llvm.fmuladd.f64(double %155, double %156, double %154)
%158 = call double @llvm.fmuladd.f64(double %153, double %157, double %152)
%159 = call double @llvm.fmuladd.f64(double %151, double %158, double %150)
%160 = load double, double* %4
%161 = load double, double* %11
%162 = load double, double* %5
%163 = load double, double* %12
%164 = load double, double* %13
%165 = load double, double* %5
%166 = call double @llvm.fmuladd.f64(double %164, double %165, double %163)
%167 = call double @llvm.fmuladd.f64(double %162, double %166, double %161)
%168 = load double, double* %57
%169 = load double, double* %14
%170 = load double, double* %5
%171 = load double, double* %15
%172 = load double, double* %5
%173 = load double, double* %16
%174 = load double, double* %17
%175 = load double, double* %5
%176 = call double @llvm.fmuladd.f64(double %174, double %175, double %173)
%177 = call double @llvm.fmuladd.f64(double %172, double %176, double %171)
%178 = call double @llvm.fmuladd.f64(double %170, double %177, double %169)
%179 = call double @llvm.fmuladd.f64(double %168, double %178, double %167)
%180 = call double @llvm.fmuladd.f64(double %160, double %179, double %159)
store double %180, double* %62
%181 = load double, double* %18
%182 = load double, double* %5
%183 = load double, double* %19
%184 = load double, double* %20
%185 = load double, double* %5
%186 = call double @llvm.fmuladd.f64(double %184, double %185, double %183)
%187 = call double @llvm.fmuladd.f64(double %182, double %186, double %181)
%188 = load double, double* %4
%189 = load double, double* %21
%190 = load double, double* %22
%191 = load double, double* %5
%192 = call double @llvm.fmuladd.f64(double %190, double %191, double %189)
%193 = call double @llvm.fmuladd.f64(double %188, double %192, double %187)
%194 = fmul double 5.000000e-01, %193
store double %194, double* %63
%195 = load double, double* %23
%196 = load double, double* %5
%197 = load double, double* %24
%198 = load double, double* %25
%199 = load double, double* %5
%200 = call double @llvm.fmuladd.f64(double %198, double %199, double %197)
%201 = call double @llvm.fmuladd.f64(double %196, double %200, double %195)
%202 = load double, double* %26
%203 = load double, double* %4
%204 = call double @llvm.fmuladd.f64(double %202, double %203, double %201)
store double %204, double* %64
%205 = load double, double* %63
%206 = load double, double* %63
%207 = fmul double %205, %206
store double %207, double* %65
%208 = load double, double* %65
%209 = load double, double* %62
%210 = load double, double* %64
%211 = fneg double %209
%212 = call double @llvm.fmuladd.f64(double %211, double %210, double %208)
%213 = call double @sqrt(double %212)
store double %213, double* %66
%214 = load double, double* %58
%215 = load double, double* %61
%216 = fmul double 2.000000e+00, %215
%217 = load double, double* %62
%218 = fmul double %216, %217
%219 = load double, double* %63
%220 = fmul double %218, %219
%221 = load double, double* %64
%222 = fdiv double %220, %221
%223 = load double, double* %60
%224 = load double, double* %62
%225 = fneg double %223
%226 = call double @llvm.fmuladd.f64(double %225, double %224, double %222)
%227 = load double, double* %64
%228 = fdiv double %226, %227
%229 = fadd double %214, %228
store double %229, double* %69
%230 = load double, double* %59
%231 = load double, double* %61
%232 = fmul double 4.000000e+00, %231
%233 = load double, double* %65
%234 = fmul double %232, %233
%235 = load double, double* %64
%236 = fdiv double %234, %235
%237 = load double, double* %61
%238 = load double, double* %62
%239 = fneg double %237
%240 = call double @llvm.fmuladd.f64(double %239, double %238, double %236)
%241 = load double, double* %60
%242 = fmul double 2.000000e+00, %241
%243 = load double, double* %63
%244 = fneg double %242
%245 = call double @llvm.fmuladd.f64(double %244, double %243, double %240)
%246 = load double, double* %64
%247 = fdiv double %245, %246
%248 = fadd double %230, %247
store double %248, double* %70
%249 = load double, double* %63
%250 = load double, double* %66
%251 = fsub double %249, %250
store double %251, double* %67
%252 = load double, double* %63
%253 = load double, double* %66
%254 = fadd double %252, %253
store double %254, double* %68
%255 = load double, double* %69
%256 = load double, double* %64
%257 = load double, double* %70
%258 = load double, double* %63
%259 = fmul double %257, %258
%260 = fneg double %259
%261 = call double @llvm.fmuladd.f64(double %255, double %256, double %260)
%262 = load double, double* %64
%263 = load double, double* %68
%264 = load double, double* %67
%265 = fsub double %263, %264
%266 = fmul double %262, %265
%267 = fdiv double %261, %266
store double %267, double* %71
%268 = load double, double* %56
%269 = load double, double* %5
%270 = load double, double* %55
%271 = load double, double* %6
%272 = load double, double* %60
%273 = load double, double* %61
%274 = fmul double 2.000000e+00, %273
%275 = load double, double* %63
%276 = fmul double %274, %275
%277 = load double, double* %64
%278 = fdiv double %276, %277
%279 = fsub double %272, %278
%280 = load double, double* %61
%281 = fmul double 5.000000e-01, %280
%282 = load double, double* %6
%283 = call double @llvm.fmuladd.f64(double %281, double %282, double %279)
%284 = fmul double %271, %283
%285 = load double, double* %64
%286 = fdiv double %284, %285
%287 = load double, double* %70
%288 = load double, double* %64
%289 = fmul double 2.000000e+00, %288
%290 = fdiv double %287, %289
%291 = load double, double* %6
%292 = load double, double* %63
%293 = load double, double* %64
%294 = load double, double* %6
%295 = fmul double %293, %294
%296 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %292, double %295)
%297 = fmul double %291, %296
%298 = load double, double* %62
%299 = fdiv double %297, %298
%300 = fadd double 1.000000e+00, %299
%301 = call double @log(double %300)
%302 = call double @llvm.fmuladd.f64(double %290, double %301, double %286)
%303 = load double, double* %71
%304 = load double, double* %64
%305 = load double, double* %6
%306 = fmul double %304, %305
%307 = load double, double* %68
%308 = load double, double* %67
%309 = fsub double %307, %308
%310 = fmul double %306, %309
%311 = load double, double* %67
%312 = load double, double* %68
%313 = load double, double* %64
%314 = load double, double* %6
%315 = call double @llvm.fmuladd.f64(double %313, double %314, double %312)
%316 = fmul double %311, %315
%317 = fdiv double %310, %316
%318 = fadd double 1.000000e+00, %317
%319 = call double @log(double %318)
%320 = call double @llvm.fmuladd.f64(double %303, double %319, double %302)
%321 = fmul double %270, %320
%322 = call double @llvm.fmuladd.f64(double %268, double %269, double %321)
ret double %322
}

LLVM IR (-O2):
define double @gsw_enthalpy(double %0, double %1, double %2) {
%4 = tail call double @sqrt(double %0)
%5 = tail call double @llvm.fmuladd.f64(double %1, double 0x3E072BCFD6295640, double 0x3EB2C845F439D142)
%6 = tail call double @llvm.fmuladd.f64(double %1, double %5, double 0xBEF8A32DF0E2C663)
%7 = tail call double @llvm.fmuladd.f64(double %1, double %6, double 0x3F66BD8ADC91CDB6)
%8 = tail call double @llvm.fmuladd.f64(double %1, double %7, double 1.000000e+00)
%9 = tail call double @llvm.fmuladd.f64(double %1, double 0xBDB3E9ED19245025, double 0x3E105E675DDF54DA)
%10 = tail call double @llvm.fmuladd.f64(double %1, double %9, double 0x3E80F36B6915609B)
%11 = tail call double @llvm.fmuladd.f64(double %1, double %10, double 0xBEFCFC614ABDE6BC)
%12 = tail call double @llvm.fmuladd.f64(double %1, double %11, double 0xBF7ECECF594A4D0F)
%13 = tail call double @llvm.fmuladd.f64(double %0, double 0x3ED6BAF523B168F6, double %12)
%14 = tail call double @llvm.fmuladd.f64(double %1, double 0x3D87954B5454878B, double 0xBDC97A08262FF761)
%15 = tail call double @llvm.fmuladd.f64(double %1, double %14, double 0xBE407A356B462757)
%16 = tail call double @llvm.fmuladd.f64(double %1, double %15, double 0x3E998309C9A5AF2D)
%17 = tail call double @llvm.fmuladd.f64(double %1, double %16, double 0xBF0151A0492353E4)
%18 = tail call double @llvm.fmuladd.f64(double %4, double %17, double %13)
%19 = tail call double @llvm.fmuladd.f64(double %0, double %18, double %8)
%20 = tail call double @llvm.fmuladd.f64(double %1, double 0xBD80FC412ACF34B7, double 0x3E2B69FE4FF2D058)
%21 = tail call double @llvm.fmuladd.f64(double %1, double 0x3E0557A0F47894E8, double 0xBE7DAA2C37AA778F)
%22 = tail call double @llvm.fmuladd.f64(double %1, double 0xBD14FEFF084CF710, double 0xBDB55949A24CF361)
%23 = tail call double @llvm.fmuladd.f64(double %0, double 0x3D09359B5FDCD33E, double %22)
%24 = tail call double @llvm.fmuladd.f64(double %1, double %23, double 0xBDDEC25813BB665A)
%25 = tail call double @llvm.fmuladd.f64(double %1, double 0x3F535CDA0AA5141F, double 0xBFA01DD4BE07158E)
%26 = tail call double @llvm.fmuladd.f64(double %1, double %25, double 0x4006B832E6480B06)
%27 = tail call double @llvm.fmuladd.f64(double %1, double %26, double 0x408F3EBC998D192F)
%28 = tail call double @llvm.fmuladd.f64(double %1, double 0x3F2E830001452CFC, double 0xBF9E94ED844FA0F2)
%29 = tail call double @llvm.fmuladd.f64(double %1, double %28, double 0xC01ACAC0CAF432E4)
%30 = tail call double @llvm.fmuladd.f64(double %1, double 0x3E86144FEF843373, double 0xBEEDED10CC84A6D6)
%31 = tail call double @llvm.fmuladd.f64(double %1, double %30, double 0x3F40B259AA6BB2BF)
%32 = tail call double @llvm.fmuladd.f64(double %1, double %31, double 0xBFA46C3AB1582DFC)
%33 = tail call double @llvm.fmuladd.f64(double %4, double %32, double %29)
%34 = tail call double @llvm.fmuladd.f64(double %0, double %33, double %27)
%35 = tail call double @llvm.fmuladd.f64(double %1, double 0x3ECF41A20BDDB36E, double 0xBF3684CD73B033D1)
%36 = tail call double @llvm.fmuladd.f64(double %1, double %35, double 0xBF96DE61E08152B8)
%37 = tail call double @llvm.fmuladd.f64(double %1, double 0x3EA713287F3E0D0D, double 0xBF27AE9496D640EA)
%38 = insertelement <2 x double> poison, double %0, i64 0
%39 = insertelement <2 x double> %38, double %1, i64 1
%40 = insertelement <2 x double> <double poison, double 0x3C9175F16D32352C>, double %37, i64 0
%41 = insertelement <2 x double> <double poison, double 0xBCD5A05D6377C5EB>, double %36, i64 0
%42 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %39, <2 x double> %40, <2 x double> %41)
%43 = insertelement <2 x double> poison, double %1, i64 0
%44 = shufflevector <2 x double> %43, <2 x double> poison, <2 x i32> zeroinitializer
%45 = insertelement <2 x double> <double poison, double 0xBDA757D23461E618>, double %20, i64 0
%46 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %45, <2 x double> <double 0xBE958F74D806A8A4, double 0xBE55599498FA7240>)
%47 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %46, <2 x double> <double 0xBEFCC0FF745ACC9B, double 0xBE94B77B40758AB4>)
%48 = shufflevector <2 x double> %38, <2 x double> poison, <2 x i32> zeroinitializer
%49 = insertelement <2 x double> <double poison, double 0x3DE550DC0324AE3D>, double %21, i64 0
%50 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %48, <2 x double> %49, <2 x double> %47)
%51 = fmul <2 x double> %42, <double 5.000000e-01, double 2.000000e+00>
%52 = extractelement <2 x double> %51, i64 0
%53 = fmul <2 x double> %51, %51
%54 = extractelement <2 x double> %53, i64 0
%55 = fneg double %34
%56 = extractelement <2 x double> %50, i64 1
%57 = tail call double @llvm.fmuladd.f64(double %55, double %56, double %54)
%58 = tail call double @sqrt(double %57)
%59 = extractelement <2 x double> %51, i64 1
%60 = fmul double %59, %34
%61 = fmul double %52, %60
%62 = fdiv double %61, %56
%63 = fneg double %24
%64 = tail call double @llvm.fmuladd.f64(double %63, double %34, double %62)
%65 = fdiv double %64, %56
%66 = fadd double %19, %65
%67 = extractelement <2 x double> %42, i64 1
%68 = fmul double %67, 4.000000e+00
%69 = fmul double %68, %54
%70 = fdiv double %69, %56
%71 = fneg double %67
%72 = tail call double @llvm.fmuladd.f64(double %71, double %34, double %70)
%73 = fmul double %24, -2.000000e+00
%74 = tail call double @llvm.fmuladd.f64(double %73, double %52, double %72)
%75 = fdiv double %74, %56
%76 = fsub double %52, %58
%77 = fadd double %52, %58
%78 = extractelement <2 x double> %50, i64 0
%79 = fadd double %78, %75
%80 = fneg double %79
%81 = fmul double %52, %80
%82 = tail call double @llvm.fmuladd.f64(double %66, double %56, double %81)
%83 = fsub double %77, %76
%84 = fmul double %56, %83
%85 = fdiv double %82, %84
%86 = fmul double %59, %52
%87 = fdiv double %86, %56
%88 = fsub double %24, %87
%89 = fmul double %67, 5.000000e-01
%90 = tail call double @llvm.fmuladd.f64(double %89, double %2, double %88)
%91 = fmul double %90, %2
%92 = fdiv double %91, %56
%93 = extractelement <2 x double> %50, i64 1
%94 = fmul double %93, 2.000000e+00
%95 = fdiv double %79, %94
%96 = fmul double %56, %2
%97 = tail call double @llvm.fmuladd.f64(double %52, double 2.000000e+00, double %96)
%98 = fmul double %97, %2
%99 = fdiv double %98, %34
%100 = fadd double %99, 1.000000e+00
%101 = tail call double @log(double %100)
%102 = tail call double @llvm.fmuladd.f64(double %95, double %101, double %92)
%103 = fmul double %96, %83
%104 = tail call double @llvm.fmuladd.f64(double %56, double %2, double %77)
%105 = fmul double %76, %104
%106 = fdiv double %103, %105
%107 = fadd double %106, 1.000000e+00
%108 = tail call double @log(double %107)
%109 = tail call double @llvm.fmuladd.f64(double %85, double %108, double %102)
%110 = fmul double %109, 1.000000e+04
%111 = tail call double @llvm.fmuladd.f64(double %1, double 0x40AF2FBC64E02648, double %110)
ret double %111
}