user: Please show me the C implementation that matches the assembly code listed below:

```asm
<twobody_XC_slip_17>:
  endbr64
  lea    0x8(%rdx),%rdi
  mov    %rdx,%rcx
  push   %rbp
  xor    %eax,%eax
  push   %rbx
  and    $0xfffffffffffffff8,%rdi
  mov    %rsi,%rbp
  mov    $0x7,%esi
  sub    %rdi,%rcx
  mov    %rdx,%rbx
  add    $0x90,%ecx
  sub    $0x18,%rsp
  shr    $0x3,%ecx
  movsd  %xmm0,0x8(%rsp)
  movq   $0x0,(%rdx)
  movq   $0x0,0x88(%rdx)
  rep stos %rax,%es:(%rdi)
  mov    $0xfffffffc,%edi
  call   <SL_G1@plt>
  xor    %edi,%edi
  mov    $0x3,%esi
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm2
  xor    %edi,%edi
  mov    $0x3,%esi
  movapd %xmm0,%xmm3
  movsd  D50(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G2@plt>
  movsd  (%rsp),%xmm5
  xor    %edi,%edi
  mov    $0x3,%esi
  mulsd  %xmm0,%xmm5
  movsd  %xmm5,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x6,%esi
  mov    $0xfffffffd,%edi
  movsd  %xmm0,0x30(%rbx)
  call   <SL_G1@plt>
  mov    $0x4,%esi
  mov    $0xffffffff,%edi
  movsd  %xmm0,(%rsp)
  call   <SL_G2@plt>
  movsd  (%rsp),%xmm2
  xor    %edi,%edi
  mov    $0x3,%esi
  movapd %xmm0,%xmm3
  movsd  D54(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm7
  xor    %edi,%edi
  mov    $0x3,%esi
  mulsd  %xmm0,%xmm7
  movsd  %xmm7,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x4,%esi
  mov    $0xffffffff,%edi
  movsd  %xmm0,0x40(%rbx)
  call   <SL_G1@plt>
  xor    %edi,%edi
  mov    $0x3,%esi
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm2
  xor    %edi,%edi
  mov    $0x3,%esi
  movapd %xmm0,%xmm3
  movsd  D47(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm6
  xor    %edi,%edi
  mov    $0x3,%esi
  mulsd  %xmm0,%xmm6
  movsd  %xmm6,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  xor    %edi,%edi
  mov    $0x3,%esi
  movsd  %xmm0,(%rsp)
  call   <SL_G2@plt>
  movsd  (%rsp),%xmm5
  xor    %edi,%edi
  mov    $0x3,%esi
  mulsd  %xmm0,%xmm5
  movsd  %xmm5,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x5,%esi
  mov    $0xfffffffe,%edi
  movsd  %xmm0,0x48(%rbx)
  call   <SL_G1@plt>
  mov    $0x5,%esi
  mov    $0xfffffffe,%edi
  movsd  %xmm0,(%rsp)
  call   <SL_G2@plt>
  movsd  (%rsp),%xmm2
  xor    %edi,%edi
  mov    $0x3,%esi
  mulsd  D45(%rip),%xmm2
  movapd %xmm0,%xmm3
  movapd %xmm2,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm4
  mov    $0x3,%esi
  xor    %edi,%edi
  mulsd  %xmm0,%xmm4
  movsd  %xmm4,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x4,%esi
  mov    $0xffffffff,%edi
  movsd  %xmm0,0x50(%rbx)
  call   <SL_G2@plt>
  mov    $0x3,%esi
  xor    %edi,%edi
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  D47(%rip),%xmm6
  mulsd  (%rsp),%xmm6
  xor    %edi,%edi
  movapd %xmm0,%xmm2
  mov    $0x3,%esi
  movapd %xmm6,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm3
  mov    $0x3,%esi
  xor    %edi,%edi
  mulsd  %xmm0,%xmm3
  movsd  %xmm3,(%rsp)
  call   <SL_G1@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x3,%esi
  xor    %edi,%edi
  movsd  %xmm0,(%rsp)
  call   <SL_G2@plt>
  movsd  (%rsp),%xmm5
  mov    $0x3,%esi
  xor    %edi,%edi
  mulsd  %xmm0,%xmm5
  movsd  %xmm5,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x6,%esi
  mov    $0xfffffffd,%edi
  movsd  %xmm0,0x58(%rbx)
  call   <SL_G2@plt>
  mov    $0x4,%esi
  mov    $0xffffffff,%edi
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  D54(%rip),%xmm6
  mulsd  (%rsp),%xmm6
  xor    %edi,%edi
  movapd %xmm0,%xmm2
  mov    $0x3,%esi
  movapd %xmm6,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm7
  mov    $0x3,%esi
  xor    %edi,%edi
  mulsd  %xmm0,%xmm7
  movsd  %xmm7,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  mov    $0x7,%esi
  mov    $0xfffffffc,%edi
  movsd  %xmm0,0x60(%rbx)
  call   <SL_G2@plt>
  mov    $0x3,%esi
  xor    %edi,%edi
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  D50(%rip),%xmm3
  mulsd  (%rsp),%xmm3
  xor    %edi,%edi
  movapd %xmm0,%xmm2
  mov    $0x3,%esi
  movapd %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rsp)
  call   <SL_G1@plt>
  movsd  (%rsp),%xmm6
  mov    $0x3,%esi
  xor    %edi,%edi
  mulsd  %xmm0,%xmm6
  movsd  %xmm6,(%rsp)
  call   <SL_G2@plt>
  mulsd  (%rsp),%xmm0
  movsd  0x8(%rsp),%xmm1
  lea    0x88(%rbx),%rax
  movsd  %xmm0,0x70(%rbx)
  pxor   %xmm0,%xmm0
  movq   $0x0,0x88(%rbp)
  nopl   0x0(%rax,%rax,1)
L9:
  mulsd  %xmm1,%xmm0
  mov    %rax,%rdx
  sub    $0x8,%rax
  addsd  0x8(%rax),%xmm0
  movsd  %xmm0,0x88(%rbp)
  cmp    %rdx,%rbx
  jne    L9
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  ret
```

tool_calls: name: unpack_data
arguments: tag: D50
type_infered: f64
name: unpack_data
arguments: tag: D54
type_infered: f64
name: unpack_data
arguments: tag: D47
type_infered: f64
name: unpack_data
arguments: tag: D45
type_infered: f64

tool: D50: 1966080

tool: D54: 7864320

tool: D47: 786432

tool: D45: 11796480

assistant: ```c
void twobody_XC_slip_17(int n, double l, double *f, double *fk) {
  int q;
  for (q = 0; q <= 17; q++)
    fk[q] = 0.0;
  fk[6] = 1966080.0 * SL_G1(-4, 7) * SL_G1(0, 3) * SL_G2(0, 3) * SL_G2(0, 3);
  fk[8] = 7864320.0 * SL_G1(-3, 6) * SL_G2(-1, 4) * SL_G1(0, 3) * SL_G2(0, 3);
  fk[9] = 786432.0 * SL_G1(-1, 4) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G2(0, 3) * SL_G2(0, 3) * SL_G2(0, 3);
  fk[10] = 11796480.0 * SL_G1(-2, 5) * SL_G2(-2, 5) * SL_G1(0, 3) * SL_G2(0, 3);
  fk[11] = 786432.0 * SL_G2(-1, 4) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G2(0, 3) * SL_G2(0, 3);
  fk[12] = 7864320.0 * SL_G2(-3, 6) * SL_G1(-1, 4) * SL_G1(0, 3) * SL_G2(0, 3);
  fk[14] = 1966080.0 * SL_G2(-4, 7) * SL_G1(0, 3) * SL_G1(0, 3) * SL_G2(0, 3);
  f[17] = 0.0;
  for (q = 0; q <= 17; q++)
    f[17] = f[17] * l + fk[17 - q];
}
```