user: Demonstrate the C code that generates the assembly output below:

```asm
<reb_drift_kepmd>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  movapd %xmm0,%xmm7
  movapd %xmm1,%xmm4
  movapd %xmm2,%xmm5
  mov    %rdi,%rbp
  mov    %rsi,%rbx
  mov    %rdx,%r12
  movsd  D182(%rip),%xmm1
  subsd  %xmm2,%xmm1
  movsd  D182(%rip),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm7,0x8(%rsp)
  movapd %xmm7,%xmm2
  mulsd  %xmm0,%xmm2
  movapd %xmm4,%xmm1
  mulsd  %xmm4,%xmm1
  mulsd  %xmm0,%xmm1
  movsd  %xmm5,0x18(%rsp)
  movapd %xmm5,%xmm3
  divsd  D213(%rip),%xmm3
  subsd  %xmm3,%xmm1
  mulsd  %xmm2,%xmm1
  movsd  %xmm4,0x10(%rsp)
  movapd %xmm4,%xmm3
  subsd  %xmm1,%xmm3
  mulsd  D201(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  mulsd  %xmm3,%xmm0
  movsd  D182(%rip),%xmm1
  subsd  %xmm0,%xmm1
  mulsd  %xmm2,%xmm1
  movsd  %xmm1,(%rdi)
  movapd %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D59(%rip),%xmm6
  subsd  %xmm0,%xmm6
  movapd %xmm6,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D232(%rip),%xmm6
  subsd  %xmm3,%xmm6
  movapd %xmm6,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  D74(%rip),%xmm6
  subsd  %xmm2,%xmm6
  movapd %xmm6,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D175(%rip),%xmm6
  subsd  %xmm3,%xmm6
  movapd %xmm6,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  D103(%rip),%xmm0
  subsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  divsd  D103(%rip),%xmm0
  movsd  %xmm0,(%rsi)
  mulsd  %xmm0,%xmm0
  movsd  D182(%rip),%xmm1
  subsd  %xmm0,%xmm1
  cvttsd2si %xmm1,%edi
  call   <sqrt@plt>
  movsd  %xmm0,(%r12)
  movsd  0x0(%rbp),%xmm4
  movsd  (%rbx),%xmm7
  movsd  0x18(%rsp),%xmm5
  movapd %xmm5,%xmm3
  mulsd  %xmm7,%xmm3
  mulsd  %xmm0,%xmm5
  movapd %xmm5,%xmm2
  movsd  0x10(%rsp),%xmm8
  mulsd  %xmm8,%xmm7
  movsd  D182(%rip),%xmm5
  subsd  %xmm2,%xmm5
  addsd  %xmm7,%xmm5
  movapd %xmm8,%xmm6
  mulsd  %xmm0,%xmm6
  addsd  %xmm3,%xmm6
  movsd  D182(%rip),%xmm1
  subsd  %xmm0,%xmm1
  movapd %xmm8,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm4,%xmm1
  subsd  %xmm3,%xmm1
  addsd  %xmm1,%xmm0
  subsd  0x8(%rsp),%xmm0
  xorpd  D45(%rip),%xmm0
  movapd %xmm0,%xmm3
  divsd  %xmm5,%xmm3
  mulsd  D201(%rip),%xmm3
  mulsd  %xmm6,%xmm3
  addsd  %xmm5,%xmm3
  movapd %xmm0,%xmm1
  divsd  %xmm3,%xmm1
  movapd %xmm1,%xmm3
  mulsd  D173(%rip),%xmm3
  mulsd  %xmm1,%xmm3
  subsd  %xmm7,%xmm2
  mulsd  %xmm3,%xmm2
  mulsd  D201(%rip),%xmm1
  mulsd  %xmm6,%xmm1
  addsd  %xmm5,%xmm1
  addsd  %xmm1,%xmm2
  divsd  %xmm2,%xmm0
  addsd  %xmm4,%xmm0
  movsd  %xmm0,0x0(%rbp)
  movapd %xmm0,%xmm3
  mulsd  %xmm0,%xmm3
  movsd  D59(%rip),%xmm1
  subsd  %xmm3,%xmm1
  mulsd  %xmm3,%xmm1
  movsd  D232(%rip),%xmm2
  subsd  %xmm1,%xmm2
  mulsd  %xmm3,%xmm2
  movsd  D74(%rip),%xmm1
  subsd  %xmm2,%xmm1
  mulsd  %xmm3,%xmm1
  movsd  D175(%rip),%xmm2
  subsd  %xmm1,%xmm2
  mulsd  %xmm3,%xmm2
  movsd  D103(%rip),%xmm1
  subsd  %xmm2,%xmm1
  mulsd  %xmm0,%xmm1
  divsd  D103(%rip),%xmm1
  movsd  %xmm1,(%rbx)
  mulsd  %xmm1,%xmm1
  movsd  D182(%rip),%xmm0
  subsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edi
  call   <sqrt@plt>
  movsd  %xmm0,(%r12)
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
```

tool_calls: name: parse_data
arguments: tag: D182
datatype: f64
name: parse_data
arguments: tag: D213
datatype: f64
name: parse_data
arguments: tag: D201
datatype: f64
name: parse_data
arguments: tag: D59
datatype: f64
name: parse_data
arguments: tag: D232
datatype: f64
name: parse_data
arguments: tag: D74
datatype: f64
name: parse_data
arguments: tag: D175
datatype: f64
name: parse_data
arguments: tag: D103
datatype: f64
name: parse_data
arguments: tag: D45
datatype: byte[16]
name: parse_data
arguments: tag: D173
datatype: f64

tool: D182: 1

tool: D213: 3

tool: D201: 0.5

tool: D59: 110

tool: D232: 7920

tool: D74: 332640

tool: D175: 6652800

tool: D103: 39916800

tool: {"D45": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D173: 0.16666666666666666

assistant: ```c
void reb_drift_kepmd(double dm, double es, double ec, double *x, double *s, double *c) {
  const double A0 = 39916800.;
  const double A1 = 6652800.;
  const double A2 = 332640.;
  const double A3 = 7920.;
  const double A4 = 110.;
  double fac1 = 1. / (1. - ec);
  double q = fac1 * dm;
  double fac2 = es * es * fac1 - ec / 3.;
  *x = q * (1. - 0.5 * fac1 * q * (es - q * fac2));
  double y = (*x) * (*x);
  *s = (*x) * (A0 - y * (A1 - y * (A2 - y * (A3 - y * (A4 - y))))) / A0;
  *c = sqrt(1. - (*s) * (*s));
  double f = (*x) - ec * (*s) + es * (1. - (*c)) - dm;
  double fp = 1. - ec * (*c) + es * (*s);
  double fpp = ec * (*s) + es * (*c);
  double fppp = ec * (*c) - es * (*s);
  double dx = -f / fp;
  dx = -f / (fp + 0.5 * dx * fpp);
  dx = -f / (fp + 0.5 * dx * fpp + 0.16666666666666666666 * dx * dx * fppp);
  *x = (*x) + dx;
  y = (*x) * (*x);
  *s = (*x) * (A0 - y * (A1 - y * (A2 - y * (A3 - y * (A4 - y))))) / A0;
  *c = sqrt(1. - (*s) * (*s));
}
```