user: What is the c source code of the assembly code below:

```asm
<gsw_c_from_sp>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x440,%rsp
  movsd  %xmm0,-0x428(%rbp)
  movsd  %xmm1,-0x430(%rbp)
  movsd  %xmm2,-0x438(%rbp)
  movsd  D1064(%rip),%xmm0
  movsd  %xmm0,-0x400(%rbp)
  movsd  D1514(%rip),%xmm0
  movsd  %xmm0,-0x3f8(%rbp)
  movsd  D292(%rip),%xmm0
  movsd  %xmm0,-0x3f0(%rbp)
  movsd  D495(%rip),%xmm0
  movsd  %xmm0,-0x3e8(%rbp)
  movsd  D1099(%rip),%xmm0
  movsd  %xmm0,-0x3e0(%rbp)
  movsd  D294(%rip),%xmm0
  movsd  %xmm0,-0x3d8(%rbp)
  movsd  D363(%rip),%xmm0
  movsd  %xmm0,-0x3d0(%rbp)
  movsd  D1763(%rip),%xmm0
  movsd  %xmm0,-0x3c8(%rbp)
  movsd  D90(%rip),%xmm0
  movsd  %xmm0,-0x3c0(%rbp)
  movsd  D481(%rip),%xmm0
  movsd  %xmm0,-0x3b8(%rbp)
  movsd  D738(%rip),%xmm0
  movsd  %xmm0,-0x3b0(%rbp)
  movsd  D1276(%rip),%xmm0
  movsd  %xmm0,-0x3a8(%rbp)
  movsd  D965(%rip),%xmm0
  movsd  %xmm0,-0x3a0(%rbp)
  movsd  D493(%rip),%xmm0
  movsd  %xmm0,-0x398(%rbp)
  movsd  D1773(%rip),%xmm0
  movsd  %xmm0,-0x390(%rbp)
  movsd  D602(%rip),%xmm0
  movsd  %xmm0,-0x388(%rbp)
  movsd  D662(%rip),%xmm0
  movsd  %xmm0,-0x380(%rbp)
  movsd  D565(%rip),%xmm0
  movsd  %xmm0,-0x378(%rbp)
  movsd  D1771(%rip),%xmm0
  movsd  %xmm0,-0x370(%rbp)
  movsd  D522(%rip),%xmm0
  movsd  %xmm0,-0x368(%rbp)
  movsd  D917(%rip),%xmm0
  movsd  %xmm0,-0x360(%rbp)
  movsd  D1754(%rip),%xmm0
  movsd  %xmm0,-0x358(%rbp)
  movsd  D138(%rip),%xmm0
  movsd  %xmm0,-0x350(%rbp)
  movsd  D373(%rip),%xmm0
  movsd  %xmm0,-0x348(%rbp)
  movsd  D1016(%rip),%xmm0
  movsd  %xmm0,-0x340(%rbp)
  movsd  D1432(%rip),%xmm0
  movsd  %xmm0,-0x338(%rbp)
  movsd  D232(%rip),%xmm0
  movsd  %xmm0,-0x330(%rbp)
  movsd  D1431(%rip),%xmm0
  movsd  %xmm0,-0x328(%rbp)
  movsd  D1092(%rip),%xmm0
  movsd  %xmm0,-0x320(%rbp)
  movsd  D1505(%rip),%xmm0
  movsd  %xmm0,-0x318(%rbp)
  movsd  D446(%rip),%xmm0
  movsd  %xmm0,-0x310(%rbp)
  movsd  D170(%rip),%xmm0
  movsd  %xmm0,-0x308(%rbp)
  movsd  D1758(%rip),%xmm0
  movsd  %xmm0,-0x300(%rbp)
  movsd  D320(%rip),%xmm0
  movsd  %xmm0,-0x2f8(%rbp)
  movsd  D1457(%rip),%xmm0
  movsd  %xmm0,-0x2f0(%rbp)
  movsd  D262(%rip),%xmm0
  movsd  %xmm0,-0x2e8(%rbp)
  movsd  D1708(%rip),%xmm0
  movsd  %xmm0,-0x2e0(%rbp)
  movsd  D1153(%rip),%xmm0
  movsd  %xmm0,-0x2d8(%rbp)
  movsd  D1428(%rip),%xmm0
  movsd  %xmm0,-0x2d0(%rbp)
  movsd  D755(%rip),%xmm0
  movsd  %xmm0,-0x2c8(%rbp)
  movsd  D1137(%rip),%xmm0
  movsd  %xmm0,-0x2c0(%rbp)
  movsd  D711(%rip),%xmm0
  movsd  %xmm0,-0x2b8(%rbp)
  movsd  D1251(%rip),%xmm0
  movsd  %xmm0,-0x2b0(%rbp)
  movsd  D460(%rip),%xmm0
  movsd  %xmm0,-0x2a8(%rbp)
  movsd  D1191(%rip),%xmm0
  movsd  %xmm0,-0x2a0(%rbp)
  movsd  D50(%rip),%xmm0
  movsd  %xmm0,-0x298(%rbp)
  movsd  D1447(%rip),%xmm0
  movsd  %xmm0,-0x290(%rbp)
  movsd  D735(%rip),%xmm0
  movsd  %xmm0,-0x288(%rbp)
  movsd  D758(%rip),%xmm0
  movsd  %xmm0,-0x280(%rbp)
  movsd  D523(%rip),%xmm0
  movsd  %xmm0,-0x278(%rbp)
  movsd  D1530(%rip),%xmm0
  movsd  %xmm0,-0x270(%rbp)
  movsd  D1512(%rip),%xmm0
  movsd  %xmm0,-0x268(%rbp)
  movsd  D517(%rip),%xmm0
  movsd  %xmm0,-0x260(%rbp)
  movsd  D1347(%rip),%xmm0
  movsd  %xmm0,-0x258(%rbp)
  movsd  D1359(%rip),%xmm0
  movsd  %xmm0,-0x250(%rbp)
  movsd  D256(%rip),%xmm0
  movsd  %xmm0,-0x248(%rbp)
  movsd  D1698(%rip),%xmm0
  movsd  %xmm0,-0x240(%rbp)
  movsd  D196(%rip),%xmm0
  movsd  %xmm0,-0x238(%rbp)
  movsd  D323(%rip),%xmm0
  movsd  %xmm0,-0x230(%rbp)
  movsd  D868(%rip),%xmm0
  movsd  %xmm0,-0x228(%rbp)
  movsd  D95(%rip),%xmm0
  movsd  %xmm0,-0x220(%rbp)
  movsd  D474(%rip),%xmm0
  movsd  %xmm0,-0x218(%rbp)
  movsd  D1648(%rip),%xmm0
  movsd  %xmm0,-0x210(%rbp)
  movsd  D1293(%rip),%xmm0
  movsd  %xmm0,-0x208(%rbp)
  movsd  D628(%rip),%xmm0
  movsd  %xmm0,-0x200(%rbp)
  movsd  D1115(%rip),%xmm0
  movsd  %xmm0,-0x1f8(%rbp)
  movsd  D1114(%rip),%xmm0
  movsd  %xmm0,-0x1f0(%rbp)
  movsd  D507(%rip),%xmm0
  movsd  %xmm0,-0x1e8(%rbp)
  movsd  D107(%rip),%xmm0
  movsd  %xmm0,-0x1e0(%rbp)
  movsd  D1387(%rip),%xmm0
  movsd  %xmm0,-0x1d8(%rbp)
  movsd  D1744(%rip),%xmm0
  movsd  %xmm0,-0x1d0(%rbp)
  movsd  D1495(%rip),%xmm0
  movsd  %xmm0,-0x1c8(%rbp)
  movsd  D905(%rip),%xmm0
  movsd  %xmm0,-0x1c0(%rbp)
  movsd  D145(%rip),%xmm0
  movsd  %xmm0,-0x1b8(%rbp)
  movsd  D1751(%rip),%xmm0
  movsd  %xmm0,-0x1b0(%rbp)
  movsd  D168(%rip),%xmm0
  movsd  %xmm0,-0x1a8(%rbp)
  movsd  D1326(%rip),%xmm0
  movsd  %xmm0,-0x1a0(%rbp)
  movsd  D176(%rip),%xmm0
  movsd  %xmm0,-0x198(%rbp)
  movsd  D733(%rip),%xmm0
  movsd  %xmm0,-0x190(%rbp)
  movsd  D1183(%rip),%xmm0
  movsd  %xmm0,-0x188(%rbp)
  movsd  D1537(%rip),%xmm0
  movsd  %xmm0,-0x180(%rbp)
  movsd  D327(%rip),%xmm0
  movsd  %xmm0,-0x178(%rbp)
  movsd  D1735(%rip),%xmm0
  movsd  %xmm0,-0x170(%rbp)
  movsd  D665(%rip),%xmm0
  movsd  %xmm0,-0x168(%rbp)
  movsd  D877(%rip),%xmm0
  movsd  %xmm0,-0x160(%rbp)
  movsd  D991(%rip),%xmm0
  movsd  %xmm0,-0x158(%rbp)
  movsd  D1110(%rip),%xmm0
  movsd  %xmm0,-0x150(%rbp)
  movsd  D212(%rip),%xmm0
  movsd  %xmm0,-0x148(%rbp)
  movsd  D1517(%rip),%xmm0
  movsd  %xmm0,-0x140(%rbp)
  movsd  D412(%rip),%xmm0
  movsd  %xmm0,-0x138(%rbp)
  movsd  D1434(%rip),%xmm0
  movsd  %xmm0,-0x130(%rbp)
  movsd  D1776(%rip),%xmm0
  movsd  %xmm0,-0x128(%rbp)
  movsd  D902(%rip),%xmm0
  movsd  %xmm0,-0x120(%rbp)
  movsd  D1652(%rip),%xmm0
  movsd  %xmm0,-0x118(%rbp)
  movsd  D272(%rip),%xmm0
  movsd  %xmm0,-0x110(%rbp)
  movsd  D436(%rip),%xmm0
  movsd  %xmm0,-0x108(%rbp)
  movsd  D304(%rip),%xmm0
  movsd  %xmm0,-0x100(%rbp)
  movsd  D401(%rip),%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  movsd  D1711(%rip),%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  movsd  D385(%rip),%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  movsd  D366(%rip),%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  movsd  D840(%rip),%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  movsd  D634(%rip),%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  movsd  D1058(%rip),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  movsd  D1008(%rip),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  movsd  D1353(%rip),%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  movsd  D1407(%rip),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  movsd  D1535(%rip),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movsd  D1542(%rip),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  movsd  -0x430(%rbp),%xmm1
  movsd  D1368(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  -0x98(%rbp),%xmm0
  movsd  D1165(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0x98(%rbp),%xmm1
  movsd  D1165(%rip),%xmm2
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0xa0(%rbp),%xmm2
  movsd  D13(%rip),%xmm1
  addsd  %xmm2,%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    -0x428(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x88(%rbp)
  movsd  -0x428(%rbp),%xmm0
  comisd D676(%rip),%xmm0
  jbe    L53
  movsd  -0x320(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x338(%rbp),%xmm1
  movsd  -0x308(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x328(%rbp),%xmm2
  movsd  -0x2e8(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x310(%rbp),%xmm3
  movsd  -0x2c0(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x2f0(%rbp),%xmm4
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x2c8(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x340(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x2b8(%rbp),%xmm0
  addsd  -0x2e0(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x318(%rbp),%xmm2
  movsd  -0x300(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x2b0(%rbp),%xmm0
  addsd  -0x2d8(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x2f8(%rbp),%xmm3
  movsd  -0x2a8(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x2d0(%rbp),%xmm4
  movsd  -0x2a0(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x330(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
L53:
  movsd  -0x428(%rbp),%xmm0
  comisd D289(%rip),%xmm0
  jb     L81
  movsd  D676(%rip),%xmm0
  comisd -0x428(%rbp),%xmm0
  jbe    L81
  movsd  -0x278(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x290(%rbp),%xmm1
  movsd  -0x260(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x280(%rbp),%xmm2
  movsd  -0x240(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x268(%rbp),%xmm3
  movsd  -0x218(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x248(%rbp),%xmm4
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x220(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x298(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x210(%rbp),%xmm0
  addsd  -0x238(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x270(%rbp),%xmm2
  movsd  -0x258(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x208(%rbp),%xmm0
  addsd  -0x230(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x250(%rbp),%xmm3
  movsd  -0x200(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x228(%rbp),%xmm4
  movsd  -0x1f8(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x288(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
L81:
  movsd  -0x428(%rbp),%xmm0
  comisd D1082(%rip),%xmm0
  jb     L5
  movsd  D289(%rip),%xmm0
  comisd -0x428(%rbp),%xmm0
  jbe    L5
  movsd  -0x1d0(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x1e8(%rbp),%xmm1
  movsd  -0x1b8(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x1d8(%rbp),%xmm2
  movsd  -0x198(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x1c0(%rbp),%xmm3
  movsd  -0x170(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x1a0(%rbp),%xmm4
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x178(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x1f0(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x168(%rbp),%xmm0
  addsd  -0x190(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x1c8(%rbp),%xmm2
  movsd  -0x1b0(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0x160(%rbp),%xmm0
  addsd  -0x188(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x1a8(%rbp),%xmm3
  movsd  -0x158(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0x180(%rbp),%xmm4
  movsd  -0x150(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x1e0(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
L5:
  movsd  D1082(%rip),%xmm0
  comisd -0x428(%rbp),%xmm0
  jbe    L60
  movsd  -0x128(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x140(%rbp),%xmm1
  movsd  -0x110(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x130(%rbp),%xmm2
  movsd  -0xf0(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x118(%rbp),%xmm3
  movsd  -0xc8(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0xf8(%rbp),%xmm4
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0xd0(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x148(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0xc0(%rbp),%xmm0
  addsd  -0xe8(%rbp),%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x120(%rbp),%xmm2
  movsd  -0x108(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  addsd  %xmm0,%xmm2
  movsd  -0x88(%rbp),%xmm0
  mulsd  -0xb8(%rbp),%xmm0
  addsd  -0xe0(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm3
  addsd  -0x100(%rbp),%xmm3
  movsd  -0xb0(%rbp),%xmm0
  mulsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm4
  addsd  -0xd8(%rbp),%xmm4
  movsd  -0xa8(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x138(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
L60:
  movsd  -0x3f0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x3e8(%rbp),%xmm2
  movsd  D1109(%rip),%xmm0
  mulsd  %xmm0,%xmm2
  movsd  -0x3e0(%rbp),%xmm3
  movsd  D74(%rip),%xmm0
  mulsd  %xmm0,%xmm3
  movsd  -0x3d8(%rbp),%xmm4
  movsd  D1350(%rip),%xmm0
  mulsd  %xmm4,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x3f8(%rbp),%xmm1
  movsd  -0x3c0(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0x3b8(%rbp),%xmm3
  movsd  D1109(%rip),%xmm0
  mulsd  %xmm0,%xmm3
  movsd  -0x3b0(%rbp),%xmm4
  movsd  D74(%rip),%xmm0
  mulsd  %xmm0,%xmm4
  movsd  -0x3a8(%rbp),%xmm5
  movsd  D1350(%rip),%xmm0
  mulsd  %xmm5,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3c8(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x410(%rbp)
  movsd  D66(%rip),%xmm0
  comisd -0x428(%rbp),%xmm0
  jbe    L4
  movsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D224(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x418(%rbp),%xmm1
  movsd  D947(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0x88(%rbp),%xmm1
  movsd  D1193(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x88(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0x430(%rbp),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <gsw_hill_ratio_at_sp2@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  -0x400(%rbp),%xmm1
  movsd  D1189(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x418(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  D1193(%rip),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x78(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x410(%rbp),%xmm2
  movsd  -0x3d0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x90(%rbp),%xmm1
  movsd  -0x80(%rbp),%xmm3
  movsd  D1168(%rip),%xmm0
  mulsd  %xmm0,%xmm3
  movsd  D690(%rip),%xmm0
  addsd  %xmm3,%xmm0
  movapd %xmm0,%xmm3
  mulsd  -0x80(%rbp),%xmm3
  movsd  D947(%rip),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x70(%rbp),%xmm0
  movapd %xmm0,%xmm3
  mulsd  %xmm0,%xmm3
  divsd  %xmm3,%xmm1
  movapd %xmm1,%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,-0x410(%rbp)
  movsd  -0x410(%rbp),%xmm0
  mulsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x410(%rbp)
L4:
  movsd  -0x3d8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3e0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3e8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3f0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3f8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x400(%rbp),%xmm1
  movsd  -0x3a8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3b0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3b8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3c0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3c8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3d0(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x408(%rbp)
  movsd  D66(%rip),%xmm0
  comisd -0x408(%rbp),%xmm0
  jbe    L59
  movsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D224(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x418(%rbp),%xmm1
  movsd  D947(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0x88(%rbp),%xmm1
  movsd  D1193(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x88(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x400(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  -0x78(%rbp),%xmm1
  movsd  -0x408(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  -0x3d0(%rbp),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  divsd  -0x70(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x60(%rbp)
  mov    -0x430(%rbp),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <gsw_hill_ratio_at_sp2@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  -0x68(%rbp),%xmm0
  mulsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x408(%rbp)
L59:
  movsd  -0x418(%rbp),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  -0x408(%rbp),%xmm0
  subsd  -0x428(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  -0x410(%rbp),%xmm1
  movsd  -0x58(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
  movsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x58(%rbp),%xmm1
  movsd  D342(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0x3f0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x3e8(%rbp),%xmm2
  movsd  D1109(%rip),%xmm0
  mulsd  %xmm0,%xmm2
  movsd  -0x3e0(%rbp),%xmm3
  movsd  D74(%rip),%xmm0
  mulsd  %xmm0,%xmm3
  movsd  -0x3d8(%rbp),%xmm4
  movsd  D1350(%rip),%xmm0
  mulsd  %xmm4,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x3f8(%rbp),%xmm1
  movsd  -0x3c0(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0x3b8(%rbp),%xmm3
  movsd  D1109(%rip),%xmm0
  mulsd  %xmm0,%xmm3
  movsd  -0x3b0(%rbp),%xmm4
  movsd  D74(%rip),%xmm0
  mulsd  %xmm0,%xmm4
  movsd  -0x3a8(%rbp),%xmm5
  movsd  D1350(%rip),%xmm0
  mulsd  %xmm5,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm4,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  -0x50(%rbp),%xmm0
  addsd  -0x3c8(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x410(%rbp)
  movsd  D66(%rip),%xmm0
  comisd -0x408(%rbp),%xmm0
  jbe    L25
  movsd  -0x50(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D224(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x50(%rbp),%xmm1
  movsd  D947(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0x88(%rbp),%xmm1
  movsd  D1193(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x88(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x400(%rbp),%xmm1
  movsd  D1189(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x50(%rbp),%xmm1
  movsd  -0x88(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  D1193(%rip),%xmm0
  addsd  %xmm2,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x78(%rbp),%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm0,%xmm2
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  movapd %xmm0,%xmm2
  addsd  -0x410(%rbp),%xmm2
  movsd  -0x3d0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x90(%rbp),%xmm1
  movsd  -0x80(%rbp),%xmm3
  movsd  D1168(%rip),%xmm0
  mulsd  %xmm0,%xmm3
  movsd  D690(%rip),%xmm0
  addsd  %xmm3,%xmm0
  movapd %xmm0,%xmm3
  mulsd  -0x80(%rbp),%xmm3
  movsd  D947(%rip),%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x70(%rbp),%xmm0
  movapd %xmm0,%xmm3
  mulsd  %xmm0,%xmm3
  divsd  %xmm3,%xmm1
  movapd %xmm1,%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,-0x410(%rbp)
  mov    -0x430(%rbp),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <gsw_hill_ratio_at_sp2@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  -0x410(%rbp),%xmm0
  mulsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x410(%rbp)
L25:
  movsd  -0x408(%rbp),%xmm0
  subsd  -0x428(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  -0x410(%rbp),%xmm1
  movsd  -0x58(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
  movsd  -0x3d8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3e0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3e8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3f0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3f8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x400(%rbp),%xmm1
  movsd  -0x3a8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3b0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3b8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3c0(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3c8(%rbp),%xmm0
  mulsd  -0x418(%rbp),%xmm0
  addsd  -0x3d0(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x408(%rbp)
  movsd  D66(%rip),%xmm0
  comisd -0x408(%rbp),%xmm0
  jbe    L62
  movsd  -0x418(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  D224(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  -0x418(%rbp),%xmm1
  movsd  D947(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  -0x88(%rbp),%xmm1
  movsd  D1193(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x88(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x80(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  -0x400(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  -0x78(%rbp),%xmm1
  movsd  -0x408(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  -0x3d0(%rbp),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  divsd  -0x70(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x60(%rbp)
  mov    -0x430(%rbp),%rax
  movq   %rax,%xmm0
  mov    $0x1,%eax
  call   <gsw_hill_ratio_at_sp2@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  -0x68(%rbp),%xmm0
  mulsd  -0x60(%rbp),%xmm0
  movsd  %xmm0,-0x408(%rbp)
L62:
  movsd  -0x408(%rbp),%xmm0
  subsd  -0x428(%rbp),%xmm0
  movapd %xmm0,%xmm1
  divsd  -0x410(%rbp),%xmm1
  movsd  -0x418(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x418(%rbp)
  movsd  -0x418(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0x360(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movsd  -0x368(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  -0x370(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x378(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x98(%rbp),%xmm1
  movsd  D13(%rip),%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x348(%rbp),%xmm0
  mulsd  -0x438(%rbp),%xmm0
  addsd  -0x350(%rbp),%xmm0
  mulsd  -0x438(%rbp),%xmm0
  addsd  -0x358(%rbp),%xmm0
  movsd  -0x438(%rbp),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x380(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x388(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x390(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  addsd  -0x398(%rbp),%xmm0
  mulsd  -0x98(%rbp),%xmm0
  movsd  -0x3a0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x40(%rbp),%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x48(%rbp),%xmm1
  movsd  -0x38(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x40(%rbp),%xmm1
  movsd  -0x38(%rbp),%xmm0
  addsd  -0x30(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x20(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x18(%rbp),%xmm2
  movsd  D74(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  subsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movsd  -0x10(%rbp),%xmm1
  movsd  D342(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  divsd  -0x40(%rbp),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movsd  -0x8(%rbp),%xmm1
  movsd  D484(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  leave
  ret
```

tool_calls: name: unpack_data
arguments: tag: D1064
data_type: f64
name: unpack_data
arguments: tag: D1514
data_type: byte[8]
name: unpack_data
arguments: tag: D292
data_type: f64
name: unpack_data
arguments: tag: D495
data_type: f64
name: unpack_data
arguments: tag: D1099
data_type: byte[8]
name: unpack_data
arguments: tag: D294
data_type: f64
name: unpack_data
arguments: tag: D363
data_type: f64
name: unpack_data
arguments: tag: D1763
data_type: byte[8]
name: unpack_data
arguments: tag: D90
data_type: byte[8]
name: unpack_data
arguments: tag: D481
data_type: byte[8]
name: unpack_data
arguments: tag: D738
data_type: f64
name: unpack_data
arguments: tag: D1276
data_type: byte[8]
name: unpack_data
arguments: tag: D965
data_type: f64
name: unpack_data
arguments: tag: D493
data_type: byte[8]
name: unpack_data
arguments: tag: D1773
data_type: byte[8]
name: unpack_data
arguments: tag: D602
data_type: byte[8]
name: unpack_data
arguments: tag: D662
data_type: byte[8]
name: unpack_data
arguments: tag: D565
data_type: byte[8]
name: unpack_data
arguments: tag: D1771
data_type: byte[8]
name: unpack_data
arguments: tag: D522
data_type: byte[8]
name: unpack_data
arguments: tag: D917
data_type: byte[8]
name: unpack_data
arguments: tag: D1754
data_type: byte[8]
name: unpack_data
arguments: tag: D138
data_type: byte[8]
name: unpack_data
arguments: tag: D373
data_type: byte[8]
name: unpack_data
arguments: tag: D1016
data_type: byte[8]
name: unpack_data
arguments: tag: D1432
data_type: byte[8]
name: unpack_data
arguments: tag: D232
data_type: byte[8]
name: unpack_data
arguments: tag: D1431
data_type: byte[8]
name: unpack_data
arguments: tag: D1092
data_type: byte[8]
name: unpack_data
arguments: tag: D1505
data_type: byte[8]
name: unpack_data
arguments: tag: D446
data_type: byte[8]
name: unpack_data
arguments: tag: D170
data_type: byte[8]
name: unpack_data
arguments: tag: D1758
data_type: byte[8]
name: unpack_data
arguments: tag: D320
data_type: byte[8]
name: unpack_data
arguments: tag: D1457
data_type: byte[8]
name: unpack_data
arguments: tag: D262
data_type: byte[8]
name: unpack_data
arguments: tag: D1708
data_type: byte[8]
name: unpack_data
arguments: tag: D1153
data_type: byte[8]
name: unpack_data
arguments: tag: D1428
data_type: byte[8]
name: unpack_data
arguments: tag: D755
data_type: byte[8]
name: unpack_data
arguments: tag: D1137
data_type: byte[8]
name: unpack_data
arguments: tag: D711
data_type: byte[8]
name: unpack_data
arguments: tag: D1251
data_type: byte[8]
name: unpack_data
arguments: tag: D460
data_type: byte[8]
name: unpack_data
arguments: tag: D1191
data_type: byte[8]
name: unpack_data
arguments: tag: D50
data_type: byte[8]
name: unpack_data
arguments: tag: D1447
data_type: byte[8]
name: unpack_data
arguments: tag: D735
data_type: byte[8]
name: unpack_data
arguments: tag: D758
data_type: byte[8]
name: unpack_data
arguments: tag: D523
data_type: byte[8]
name: unpack_data
arguments: tag: D1530
data_type: byte[8]
name: unpack_data
arguments: tag: D1512
data_type: byte[8]
name: unpack_data
arguments: tag: D517
data_type: byte[8]
name: unpack_data
arguments: tag: D1347
data_type: byte[8]
name: unpack_data
arguments: tag: D1359
data_type: byte[8]
name: unpack_data
arguments: tag: D256
data_type: byte[8]
name: unpack_data
arguments: tag: D1698
data_type: byte[8]
name: unpack_data
arguments: tag: D196
data_type: byte[8]
name: unpack_data
arguments: tag: D323
data_type: byte[8]
name: unpack_data
arguments: tag: D868
data_type: byte[8]
name: unpack_data
arguments: tag: D95
data_type: byte[8]
name: unpack_data
arguments: tag: D474
data_type: byte[8]
name: unpack_data
arguments: tag: D1648
data_type: byte[8]
name: unpack_data
arguments: tag: D1293
data_type: byte[8]
name: unpack_data
arguments: tag: D628
data_type: byte[8]
name: unpack_data
arguments: tag: D1115
data_type: byte[8]
name: unpack_data
arguments: tag: D1114
data_type: byte[8]
name: unpack_data
arguments: tag: D507
data_type: byte[8]
name: unpack_data
arguments: tag: D107
data_type: byte[8]
name: unpack_data
arguments: tag: D1387
data_type: byte[8]
name: unpack_data
arguments: tag: D1744
data_type: byte[8]
name: unpack_data
arguments: tag: D1495
data_type: byte[8]
name: unpack_data
arguments: tag: D905
data_type: byte[8]
name: unpack_data
arguments: tag: D145
data_type: byte[8]
name: unpack_data
arguments: tag: D1751
data_type: byte[8]
name: unpack_data
arguments: tag: D168
data_type: byte[8]
name: unpack_data
arguments: tag: D1326
data_type: byte[8]
name: unpack_data
arguments: tag: D176
data_type: byte[8]
name: unpack_data
arguments: tag: D733
data_type: byte[8]
name: unpack_data
arguments: tag: D1183
data_type: byte[8]
name: unpack_data
arguments: tag: D1537
data_type: byte[8]
name: unpack_data
arguments: tag: D327
data_type: byte[8]
name: unpack_data
arguments: tag: D1735
data_type: byte[8]
name: unpack_data
arguments: tag: D665
data_type: byte[8]
name: unpack_data
arguments: tag: D877
data_type: byte[8]
name: unpack_data
arguments: tag: D991
data_type: byte[8]
name: unpack_data
arguments: tag: D1110
data_type: byte[8]
name: unpack_data
arguments: tag: D212
data_type: byte[8]
name: unpack_data
arguments: tag: D1517
data_type: byte[8]
name: unpack_data
arguments: tag: D412
data_type: byte[8]
name: unpack_data
arguments: tag: D1434
data_type: f64
name: unpack_data
arguments: tag: D1776
data_type: byte[8]
name: unpack_data
arguments: tag: D902
data_type: byte[8]
name: unpack_data
arguments: tag: D1652
data_type: byte[8]
name: unpack_data
arguments: tag: D272
data_type: byte[8]
name: unpack_data
arguments: tag: D436
data_type: byte[8]
name: unpack_data
arguments: tag: D304
data_type: byte[8]
name: unpack_data
arguments: tag: D401
data_type: byte[8]
name: unpack_data
arguments: tag: D1711
data_type: byte[8]
name: unpack_data
arguments: tag: D385
data_type: byte[8]
name: unpack_data
arguments: tag: D366
data_type: byte[8]
name: unpack_data
arguments: tag: D840
data_type: byte[8]
name: unpack_data
arguments: tag: D634
data_type: byte[8]
name: unpack_data
arguments: tag: D1058
data_type: byte[8]
name: unpack_data
arguments: tag: D1008
data_type: byte[8]
name: unpack_data
arguments: tag: D1353
data_type: byte[8]
name: unpack_data
arguments: tag: D1407
data_type: byte[8]
name: unpack_data
arguments: tag: D1535
data_type: byte[8]
name: unpack_data
arguments: tag: D1542
data_type: f64
name: unpack_data
arguments: tag: D1368
data_type: f64
name: unpack_data
arguments: tag: D1165
data_type: f64
name: unpack_data
arguments: tag: D13
data_type: f64
name: unpack_data
arguments: tag: D676
data_type: f64[2]
name: unpack_data
arguments: tag: D289
data_type: f64[2]
name: unpack_data
arguments: tag: D1082
data_type: f64[2]
name: unpack_data
arguments: tag: D1109
data_type: f64
name: unpack_data
arguments: tag: D74
data_type: f64
name: unpack_data
arguments: tag: D1350
data_type: f64
name: unpack_data
arguments: tag: D66
data_type: f64
name: unpack_data
arguments: tag: D224
data_type: f64
name: unpack_data
arguments: tag: D947
data_type: f64
name: unpack_data
arguments: tag: D1193
data_type: f64
name: unpack_data
arguments: tag: D1189
data_type: f64
name: unpack_data
arguments: tag: D1168
data_type: f64
name: unpack_data
arguments: tag: D690
data_type: f64
name: unpack_data
arguments: tag: D342
data_type: f64
name: unpack_data
arguments: tag: D484
data_type: f64

tool: D1064: 0.008

tool: {"D1514": [0x7f,0xd9,0x3d,0x79,0x58,0xa8,0xc5,0xbf]}

tool: D292: 25.3851

tool: D495: 14.0941

tool: {"D1099": [0xd0,0xb3,0x59,0xf5,0xb9,0x1a,0x1c,0xc0]}

tool: D294: 2.7081

tool: D363: 0.0005

tool: {"D1763": [0xc7,0xba,0xb8,0x8d,0x06,0xf0,0x76,0xbf]}

tool: {"D90": [0x46,0x25,0x75,0x02,0x9a,0x08,0x7b,0xbf]}

tool: {"D481": [0x33,0x33,0x33,0x33,0x33,0x33,0xa3,0xbf]}

tool: D738: 0.0636

tool: {"D1276": [0x92,0xcb,0x7f,0x48,0xbf,0x7d,0x8d,0xbf]}

tool: D965: 0.6766097

tool: {"D493": [0x67,0x4e,0x4d,0x38,0xaa,0x89,0x94,0x3f]}

tool: {"D1773": [0x4e,0x03,0x3b,0x84,0x8e,0xf2,0x1c,0x3f]}

tool: {"D602": [0x2b,0x1c,0x89,0x3a,0x03,0x63,0xa7,0xbe]}

tool: {"D662": [0x2a,0x5a,0x51,0x32,0xae,0x3b,0x11,0x3e]}

tool: {"D565": [0x26,0x36,0x1f,0xd7,0x86,0x8a,0xa1,0x3f]}

tool: {"D1771": [0x08,0xa3,0xa3,0x66,0x59,0x41,0x3d,0x3f]}

tool: {"D522": [0x60,0xe5,0xd0,0x22,0xdb,0xf9,0xda,0x3f]}

tool: {"D917": [0x43,0x00,0x70,0xec,0xd9,0x73,0x69,0xbf]}

tool: {"D1754": [0xbb,0x91,0x1e,0x2b,0x9d,0xb4,0xf5,0x3e]}

tool: {"D138": [0xb6,0x9f,0x37,0x7b,0x1c,0xe3,0x05,0xbe]}

tool: {"D373": [0x87,0x15,0x67,0xfe,0x00,0xf7,0xf1,0x3c]}

tool: {"D1016": [0xc3,0x18,0xf4,0x27,0x2c,0xc0,0x72,0x3f]}

tool: {"D1432": [0x56,0x93,0xb3,0xa4,0xb9,0xa0,0xc8,0x3f]}

tool: {"D232": [0xdb,0xab,0xd1,0x31,0x49,0xe6,0xf6,0x3e]}

tool: {"D1431": [0x0c,0x62,0x4e,0x4f,0x61,0xde,0x7d,0xbf]}

tool: {"D1092": [0x98,0x73,0xd7,0x03,0xc5,0x8d,0x24,0x3f]}

tool: {"D1505": [0x85,0xcb,0xa6,0x7f,0x3c,0xd0,0xb8,0xbe]}

tool: {"D446": [0xf3,0x5c,0x8d,0xac,0x42,0xc6,0x4d,0x3f]}

tool: {"D170": [0x0f,0xe8,0xf0,0x01,0x50,0x71,0xf4,0xbe]}

tool: {"D1758": [0x36,0xcf,0x61,0xef,0x76,0x09,0xcb,0xbe]}

tool: {"D320": [0x8c,0x7c,0xdb,0x43,0x87,0x90,0x7f,0x3e]}

tool: {"D1457": [0xf9,0x53,0xc1,0xaa,0x87,0xb8,0x13,0xbf]}

tool: {"D262": [0x72,0x5f,0xc8,0xac,0x69,0xe9,0xc2,0xbe]}

tool: {"D1708": [0x3f,0xb2,0x8f,0xa7,0x92,0xbc,0xa4,0x3e]}

tool: {"D1153": [0x59,0x0e,0x60,0x13,0x58,0x95,0x45,0x3e]}

tool: {"D1428": [0xef,0x64,0x12,0x7a,0x5c,0x86,0x20,0xbe]}

tool: {"D755": [0x8f,0x74,0xd5,0x15,0x59,0xf4,0xc2,0x3e]}

tool: {"D1137": [0xc8,0xe8,0x97,0xbe,0xa5,0xe6,0x85,0x3e]}

tool: {"D711": [0x50,0x8e,0xed,0x96,0x25,0x7a,0x39,0xbe]}

tool: {"D1251": [0xf6,0xa5,0x7c,0x69,0x70,0x28,0x34,0xbe]}

tool: {"D460": [0xf0,0xb6,0x17,0x73,0x74,0xac,0xf1,0x3d]}

tool: {"D1191": [0x8a,0xf9,0xc3,0xe7,0x69,0x77,0x92,0x3d]}

tool: {"D50": [0xaa,0xfe,0xc8,0xaa,0xdd,0x0c,0x0d,0x3f]}

tool: {"D1447": [0xae,0x4e,0x26,0x3d,0x20,0xcc,0xc9,0x3f]}

tool: {"D735": [0x59,0xaf,0x38,0x00,0x73,0x4f,0xee,0xbe]}

tool: {"D758": [0x20,0xb3,0x9c,0xdc,0xeb,0x0b,0x90,0xbf]}

tool: {"D523": [0xa2,0xb0,0x8f,0xc4,0x2c,0x27,0x30,0x3f]}

tool: {"D1530": [0xa7,0x99,0x89,0x8a,0x9a,0x48,0x91,0xbe]}

tool: {"D1512": [0xe2,0x61,0x77,0xf3,0xcc,0xc5,0x74,0x3f]}

tool: {"D517": [0x39,0x2f,0x69,0x47,0xd1,0xce,0x17,0x3f]}

tool: {"D1347": [0x93,0x86,0x27,0xbb,0x01,0x7f,0xce,0xbe]}

tool: {"D1359": [0x11,0x67,0x3a,0x3c,0x5a,0x27,0x58,0x3e]}

tool: {"D256": [0x07,0x43,0x7d,0x0a,0x7d,0xbd,0x52,0xbf]}

tool: {"D1698": [0x85,0x28,0x1f,0xb0,0x2d,0xaa,0xf5,0x3e]}

tool: {"D196": [0xa3,0xeb,0x76,0xae,0xc4,0x1b,0xa9,0x3e]}

tool: {"D323": [0xd4,0x8c,0x34,0x0f,0x1d,0x94,0x65,0x3e]}

tool: {"D868": [0x51,0x20,0x12,0xba,0xa6,0xc6,0x03,0xbe]}

tool: {"D95": [0x8a,0x9c,0xec,0xb2,0x37,0x61,0x1d,0x3f]}

tool: {"D474": [0x79,0x69,0x11,0xb8,0x7f,0x4d,0xc4,0xbe]}

tool: {"D1648": [0x2b,0xb4,0x68,0xb9,0x79,0xa2,0x69,0xbe]}

tool: {"D1293": [0x45,0x1e,0x82,0x08,0xda,0x60,0x32,0xbe]}

tool: {"D628": [0x50,0x1d,0x83,0x20,0x1f,0x1e,0xec,0xbd]}

tool: {"D1115": [0xa8,0x90,0xb2,0x1a,0xc5,0x19,0x96,0x3d]}

tool: {"D1114": [0x3a,0x4e,0x53,0xfb,0x05,0x1e,0x6c,0x3f]}

tool: {"D507": [0xd8,0x86,0x06,0x33,0xe4,0x69,0xc5,0x3f]}

tool: {"D107": [0xa4,0xf6,0x5d,0x5e,0x83,0xaf,0xfb,0x3e]}

tool: {"D1387": [0x01,0xec,0xe5,0xdf,0xbe,0xb4,0xbb,0x3f]}

tool: {"D1744": [0xc7,0x4a,0x01,0x60,0xb2,0x81,0x10,0xbf]}

tool: {"D1495": [0x19,0x1d,0x14,0xa4,0x6d,0x7c,0x9e,0xbe]}

tool: {"D905": [0xc7,0xaf,0x8f,0xb0,0xe6,0xcd,0xc7,0xbf]}

tool: {"D145": [0x59,0xb7,0x51,0x15,0xd7,0x18,0x49,0x3f]}

tool: {"D1751": [0x39,0x91,0xcb,0x29,0x95,0x16,0xa0,0xbe]}

tool: {"D168": [0x25,0xdf,0x97,0x5e,0x60,0x61,0x41,0x3e]}

tool: {"D1326": [0x94,0x01,0x82,0x38,0x13,0xa1,0xb9,0x3f]}

tool: {"D176": [0x75,0x32,0x63,0x88,0xad,0x04,0x51,0xbf]}

tool: {"D733": [0x7e,0x56,0xb9,0x48,0x2c,0x1f,0xda,0xbe]}

tool: {"D1183": [0xe7,0xb5,0xec,0xad,0xa2,0x0c,0x5e,0x3e]}

tool: {"D1537": [0xe8,0x0e,0xc7,0x99,0x74,0x77,0xe2,0xbd]}

tool: {"D327": [0xaf,0x7d,0xc7,0xd3,0x84,0xfa,0x84,0x3f]}

tool: {"D1735": [0x6e,0xbf,0x45,0xb0,0x7a,0x52,0x40,0x3f]}

tool: {"D665": [0xcf,0xeb,0xc9,0xca,0x6c,0xbb,0xd2,0x3e]}

tool: {"D877": [0x74,0xce,0xa8,0x8f,0x01,0x0e,0x55,0x3e]}

tool: {"D991": [0xbf,0x70,0x73,0xf9,0xa1,0xb6,0xf2,0xbd]}

tool: {"D1110": [0x5e,0xae,0x4d,0x6b,0xf1,0xbd,0x73,0x3d]}

tool: {"D212": [0xf4,0x69,0x34,0xe0,0x2d,0x38,0x75,0x3f]}

tool: {"D1517": [0xd9,0xd0,0x38,0xbb,0xd0,0x3c,0x51,0x3f]}

tool: {"D412": [0x7e,0x15,0xf5,0x90,0xae,0x38,0x03,0x3f]}

tool: D1434: 7.112223828976632

tool: {"D1776": [0xbd,0x19,0x9d,0x27,0x6c,0xcc,0x37,0xbf]}

tool: {"D902": [0x74,0x10,0xcc,0x66,0xd4,0x9d,0xa8,0xbe]}

tool: {"D1652": [0x47,0x60,0x3b,0xa9,0x09,0xb6,0x63,0xc0]}

tool: {"D272": [0x19,0x6c,0xca,0xb3,0x85,0x26,0x5e,0xbf]}

tool: {"D436": [0x3a,0x83,0x90,0xe5,0x1f,0x16,0xe2,0x3e]}

tool: {"D304": [0x82,0x85,0xb6,0xdb,0x66,0x7d,0x4a,0x3e]}

tool: {"D401": [0x4c,0x97,0x5e,0x63,0xee,0x89,0x9c,0x40]}

tool: {"D1711": [0xd8,0x0f,0xb0,0x00,0xfa,0xe9,0xc4,0x3f]}

tool: {"D385": [0xb0,0x98,0x66,0x54,0xc0,0x1e,0x18,0xbf]}

tool: {"D366": [0x12,0xfe,0x62,0xa1,0xe0,0xa9,0x78,0xbe]}

tool: {"D840": [0x67,0x3f,0x0b,0x79,0x9f,0xd1,0xe3,0xbd]}

tool: {"D634": [0xf2,0xc7,0x28,0xb8,0x2d,0xaf,0xc0,0xc0]}

tool: {"D1058": [0x96,0x31,0x7f,0x1b,0xc5,0x89,0xf6,0xbf]}

tool: {"D1008": [0x6e,0xf9,0xe9,0xba,0x96,0xc2,0x25,0x3f]}

tool: {"D1353": [0xed,0x96,0x46,0x2e,0xee,0xce,0xa6,0x3e]}

tool: {"D1407": [0xac,0xf5,0x19,0xd9,0xb7,0xfc,0xf6,0x3d]}

tool: {"D1535": [0x79,0x8f,0xbb,0x7e,0x15,0x27,0x6d,0x3d]}

tool: D1542: 0.0162

tool: D1368: 1.00024

tool: D1165: 15

tool: D13: 1

tool: {"D676": [9.0,0.25]}

tool: {"D289": [0.25,0.003]}

tool: {"D1082": [0.003,3.0]}

tool: D1109: 3

tool: D74: 4

tool: D1350: 5

tool: D66: 2

tool: D224: 400

tool: D947: 10

tool: D1193: 1.5

tool: D1189: 800

tool: D1168: 30

tool: D690: 20

tool: D342: 0.5

tool: D484: 42.914

assistant: ```c
double gsw_c_from_sp(double sp, double t, double p) {
  double a0 = 0.0080e0, a1 = -0.1692e0, a2 = 25.3851e0, a3 = 14.0941e0, a4 = -7.0261e0, a5 = 2.7081e0, b0 = 0.0005e0, b1 = -0.0056e0, b2 = -0.0066e0, b3 = -0.0375e0, b4 = 0.0636e0, b5 = -0.0144e0, c0 = 0.6766097e0, c1 = 2.00564e-2, c2 = 1.104259e-4, c3 = -6.9698e-7, c4 = 1.0031e-9, d1 = 3.426e-2, d2 = 4.464e-4, d3 = 4.215e-1, d4 = -3.107e-3, e1 = 2.070e-5, e2 = -6.370e-10, e3 = 3.989e-15, p0 = 4.577801212923119e-3, p1 = 1.924049429136640e-1, p2 = 2.183871685127932e-5, p3 = -7.292156330457999e-3, p4 = 1.568129536470258e-4, p5 = -1.478995271680869e-6, p6 = 9.086442524716395e-4, p7 = -1.949560839540487e-5, p8 = -3.223058111118377e-6, p9 = 1.175871639741131e-7, p10 = -7.522895856600089e-5, p11 = -2.254458513439107e-6, p12 = 6.179992190192848e-7, p13 = 1.005054226996868e-8, p14 = -1.923745566122602e-9, p15 = 2.259550611212616e-6, p16 = 1.631749165091437e-7, p17 = -5.931857989915256e-9, p18 = -4.693392029005252e-9, p19 = 2.571854839274148e-10, p20 = 4.198786822861038e-12, q0 = 5.540896868127855e-5, q1 = 2.015419291097848e-1, q2 = -1.445310045430192e-5, q3 = -1.567047628411722e-2, q4 = 2.464756294660119e-4, q5 = -2.575458304732166e-7, q6 = 5.071449842454419e-3, q7 = 9.081985795339206e-5, q8 = -3.635420818812898e-6, q9 = 2.249490528450555e-8, q10 = -1.143810377431888e-3, q11 = 2.066112484281530e-5, q12 = 7.482907137737503e-7, q13 = 4.019321577844724e-8, q14 = -5.755568141370501e-10, q15 = 1.120748754429459e-4, q16 = -2.420274029674485e-6, q17 = -4.774829347564670e-8, q18 = -4.279037686797859e-9, q19 = -2.045829202713288e-10, q20 = 5.025109163112005e-12, s0 = 3.432285006604888e-3, s1 = 1.672940491817403e-1, s2 = 2.640304401023995e-5, s3 = 1.082267090441036e-1, s4 = -6.296778883666940e-5, s5 = -4.542775152303671e-7, s6 = -1.859711038699727e-1, s7 = 7.659006320303959e-4, s8 = -4.794661268817618e-7, s9 = 8.093368602891911e-9, s10 = 1.001140606840692e-1, s11 = -1.038712945546608e-3, s12 = -6.227915160991074e-6, s13 = 2.798564479737090e-8, s14 = -1.343623657549961e-10, s15 = 1.024345179842964e-2, s16 = 4.981135430579384e-4, s17 = 4.466087528793912e-6, s18 = 1.960872795577774e-8, s19 = -2.723159418888634e-10, s20 = 1.122200786423241e-12, u0 = 5.180529787390576e-3, u1 = 1.052097167201052e-3, u2 = 3.666193708310848e-5, u3 = 7.112223828976632e0, u4 = -3.631366777096209e-4, u5 = -7.336295318742821e-7, u6 = -1.576886793288888e+2, u7 = -1.840239113483083e-3, u8 = 8.624279120240952e-6, u9 = 1.233529799729501e-8, u10 = 1.826482800939545e+3, u11 = 1.633903983457674e-1, u12 = -9.201096427222349e-5, u13 = -9.187900959754842e-8, u14 = -1.442010369809705e-10, u15 = -8.542357182595853e+3, u16 = -1.408635241899082e0, u17 = 1.660164829963661e-4, u18 = 6.797409608973845e-7, u19 = 3.345074990451475e-10, u20 = 8.285687652694768e-13, k = 0.0162e0;
  double t68, ft68, x, rtx, dsp_drtx, sqrty, part1, part2, hill_ratio, sp_est, rtx_old, rt, aa, bb, cc, dd, ee, ra, r, rt_lc, rtxm, sp_hill_raw;
  t68 = t * 1.00024e0;
  ft68 = (t68 - 15e0) / (1e0 + k * (t68 - 15e0));
  x = sqrt(sp);
  if (sp > 9.0) {
    rtx = p0 + x * (p1 + p4 * t68 + x * (p3 + p7 * t68 + x * (p6 + p11 * t68 + x * (p10 + p16 * t68 + x * p15)))) + t68 * (p2 + t68 * (p5 + x * x * (p12 + x * p17) + p8 * x + t68 * (p9 + x * (p13 + x * p18) + t68 * (p14 + p19 * x + p20 * t68))));
  }
  if (sp >= 0.25 && sp < 9.0) {
    rtx = q0 + x * (q1 + q4 * t68 + x * (q3 + q7 * t68 + x * (q6 + q11 * t68 + x * (q10 + q16 * t68 + x * q15)))) + t68 * (q2 + t68 * (q5 + x * x * (q12 + x * q17) + q8 * x + t68 * (q9 + x * (q13 + x * q18) + t68 * (q14 + q19 * x + q20 * t68))));
  }
  if (sp >= 0.003 && sp < 0.25) {
    rtx = s0 + x * (s1 + s4 * t68 + x * (s3 + s7 * t68 + x * (s6 + s11 * t68 + x * (s10 + s16 * t68 + x * s15)))) + t68 * (s2 + t68 * (s5 + x * x * (s12 + x * s17) + s8 * x + t68 * (s9 + x * (s13 + x * s18) + t68 * (s14 + s19 * x + s20 * t68))));
  }
  if (sp < 0.003) {
    rtx = u0 + x * (u1 + u4 * t68 + x * (u3 + u7 * t68 + x * (u6 + u11 * t68 + x * (u10 + u16 * t68 + x * u15)))) + t68 * (u2 + t68 * (u5 + x * x * (u12 + x * u17) + u8 * x + t68 * (u9 + x * (u13 + x * u18) + t68 * (u14 + u19 * x + u20 * t68))));
  }
  dsp_drtx = a1 + (2e0 * a2 + (3e0 * a3 + (4e0 * a4 + 5e0 * a5 * rtx) * rtx) * rtx) * rtx + ft68 * (b1 + (2e0 * b2 + (3e0 * b3 + (4e0 * b4 + 5e0 * b5 * rtx) * rtx) * rtx) * rtx);
  if (sp < 2.0) {
    x = 400e0 * (rtx * rtx);
    sqrty = 10.0 * rtx;
    part1 = 1e0 + x * (1.5e0 + x);
    part2 = 1e0 + sqrty * (1e0 + sqrty * (1e0 + sqrty));
    hill_ratio = gsw_hill_ratio_at_sp2(t);
    dsp_drtx = dsp_drtx + a0 * 800e0 * rtx * (1.5e0 + 2e0 * x) / (part1 * part1) + b0 * ft68 * (10e0 + sqrty * (20e0 + 30e0 * sqrty)) / (part2 * part2);
    dsp_drtx = hill_ratio * dsp_drtx;
  }
  sp_est = a0 + (a1 + (a2 + (a3 + (a4 + a5 * rtx) * rtx) * rtx) * rtx) * rtx + ft68 * (b0 + (b1 + (b2 + (b3 + (b4 + b5 * rtx) * rtx) * rtx) * rtx) * rtx);
  if (sp_est < 2.0) {
    x = 400e0 * (rtx * rtx);
    sqrty = 10e0 * rtx;
    part1 = 1e0 + x * (1.5e0 + x);
    part2 = 1e0 + sqrty * (1e0 + sqrty * (1e0 + sqrty));
    sp_hill_raw = sp_est - a0 / part1 - b0 * ft68 / part2;
    hill_ratio = gsw_hill_ratio_at_sp2(t);
    sp_est = hill_ratio * sp_hill_raw;
  }
  rtx_old = rtx;
  rtx = rtx_old - (sp_est - sp) / dsp_drtx;
  rtxm = 0.5e0 * (rtx + rtx_old);
  dsp_drtx = a1 + (2e0 * a2 + (3e0 * a3 + (4e0 * a4 + 5e0 * a5 * rtxm) * rtxm) * rtxm) * rtxm + ft68 * (b1 + (2e0 * b2 + (3e0 * b3 + (4e0 * b4 + 5e0 * b5 * rtxm) * rtxm) * rtxm) * rtxm);
  if (sp_est < 2.0) {
    x = 400e0 * (rtxm * rtxm);
    sqrty = 10e0 * rtxm;
    part1 = 1e0 + x * (1.5e0 + x);
    part2 = 1e0 + sqrty * (1e0 + sqrty * (1e0 + sqrty));
    dsp_drtx = dsp_drtx + a0 * 800e0 * rtxm * (1.5e0 + 2e0 * x) / (part1 * part1) + b0 * ft68 * (10e0 + sqrty * (20e0 + 30e0 * sqrty)) / (part2 * part2);
    hill_ratio = gsw_hill_ratio_at_sp2(t);
    dsp_drtx = hill_ratio * dsp_drtx;
  }
  rtx = rtx_old - (sp_est - sp) / dsp_drtx;
  sp_est = a0 + (a1 + (a2 + (a3 + (a4 + a5 * rtx) * rtx) * rtx) * rtx) * rtx + ft68 * (b0 + (b1 + (b2 + (b3 + (b4 + b5 * rtx) * rtx) * rtx) * rtx) * rtx);
  if (sp_est < 2.0) {
    x = 400e0 * (rtx * rtx);
    sqrty = 10e0 * rtx;
    part1 = 1e0 + x * (1.5e0 + x);
    part2 = 1e0 + sqrty * (1e0 + sqrty * (1e0 + sqrty));
    sp_hill_raw = sp_est - a0 / part1 - b0 * ft68 / part2;
    hill_ratio = gsw_hill_ratio_at_sp2(t);
    sp_est = hill_ratio * sp_hill_raw;
  }
  rtx = rtx - (sp_est - sp) / dsp_drtx;
  rt = rtx * rtx;
  aa = d3 + d4 * t68;
  bb = 1e0 + t68 * (d1 + d2 * t68);
  cc = p * (e1 + p * (e2 + e3 * p));
  rt_lc = c0 + (c1 + (c2 + (c3 + c4 * t68) * t68) * t68) * t68;
  dd = bb - aa * rt_lc * rt;
  ee = rt_lc * rt * aa * (bb + cc);
  ra = sqrt(dd * dd + 4e0 * ee) - dd;
  r = 0.5e0 * ra / aa;
  return (42.9140e0 * r);
}
```