user: Translate the below assembly code into C programming language:

```asm
<_deBoor_D>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,0x10(%rsp)
  movsd  %xmm0,(%rsp)
  mov    %esi,0xc(%rsp)
  mov    %edx,0x18(%rsp)
  mov    %ecx,0x1c(%rsp)
  mov    %r8,%rbx
  movslq %esi,%rax
  lea    0x8(%r8,%rax,8),%rbp
  mov    D4(%rip),%rax
  mov    %rax,(%r8)
  sub    %ecx,%esi
  mov    %esi,0x8(%rsp)
  test   %esi,%esi
  jle    L30
  movslq %edx,%r14
  shl    $0x3,%r14
  lea    -0x8(%rdi,%r14,1),%r13
  add    %rdi,%r14
  mov    $0x2,%r12d
  mov    $0x1,%r15d
  jmp    L86
L45:
  movapd %xmm0,%xmm3
  subsd  %xmm1,%xmm3
  movsd  -0x8(%rbp,%rax,8),%xmm2
  divsd  %xmm3,%xmm2
  movsd  (%rsp),%xmm4
  subsd  %xmm4,%xmm0
  mulsd  %xmm2,%xmm0
  addsd  -0x8(%rbx,%rax,8),%xmm0
  movsd  %xmm0,-0x8(%rbx,%rax,8)
  subsd  %xmm1,%xmm4
  movapd %xmm4,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
L23:
  add    $0x1,%rax
  cmp    %r12,%rax
  je     L81
L155:
  movsd  (%r14,%rax,8),%xmm0
  movsd  0x0(%r13,%rax,8),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L45
  jne    L45
  movq   $0x0,(%rbx,%rax,8)
  jmp    L23
L81:
  add    $0x1,%r15d
  add    $0x1,%r12
  sub    $0x8,%r13
  cmp    0x8(%rsp),%r15d
  jg     L30
L86:
  lea    0x0(,%r15,8),%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <memcpy@plt>
  movq   $0x0,(%rbx)
  test   %r15d,%r15d
  jle    L81
  mov    $0x1,%eax
  jmp    L155
L30:
  mov    0x8(%rsp),%r12d
  add    $0x1,%r12d
  cmp    %r12d,0xc(%rsp)
  jl     L168
  movslq 0x1c(%rsp),%rax
  lea    (%rbx,%rax,8),%r15
  movslq %r12d,%rax
  lea    0x0(,%r12,8),%ecx
  mov    %ecx,(%rsp)
  movslq 0x18(%rsp),%r14
  shl    $0x3,%r14
  neg    %rax
  lea    (%r14,%rax,8),%r13
  mov    0x10(%rsp),%rax
  add    %rax,%r13
  add    %rax,%r14
  jmp    L147
L114:
  pxor   %xmm1,%xmm1
  cvtsi2sd %r12d,%xmm1
  mulsd  -0x8(%rbp,%rax,8),%xmm1
  subsd  %xmm2,%xmm0
  divsd  %xmm0,%xmm1
  movsd  -0x8(%rbx,%rax,8),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbx,%rax,8)
  movsd  %xmm1,(%rbx,%rax,8)
L67:
  add    $0x1,%rax
  cmp    %rax,%rdx
  je     L73
L69:
  movsd  (%r14,%rax,8),%xmm0
  movsd  0x0(%r13,%rax,8),%xmm2
  ucomisd %xmm2,%xmm0
  jp     L114
  jne    L114
  movq   $0x0,(%r15)
  jmp    L67
L73:
  add    $0x1,%r12d
  addl   $0x8,(%rsp)
  sub    $0x8,%r13
  cmp    %r12d,0xc(%rsp)
  jl     L168
L147:
  mov    (%rsp),%edx
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <memcpy@plt>
  movq   $0x0,(%rbx)
  test   %r12d,%r12d
  jle    L73
  lea    0x1(%r12),%edx
  mov    $0x1,%eax
  jmp    L69
L168:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D4
data_type: f64

tool: D4: 1

assistant: ```c
void _deBoor_D(double *t, double x, int k, int ell, int m, double *result) {
  double *hh = result + k + 1;
  double *h = result;
  double xb, xa, w;
  int ind, j, n;
  result[0] = 1.0;
  for (j = 1; j <= k - m; j++) {
    memcpy(hh, h, j * sizeof(double));
    h[0] = 0.0;
    for (n = 1; n <= j; n++) {
      ind = ell + n;
      xb = t[ind];
      xa = t[ind - j];
      if (xb == xa) {
        h[n] = 0.0;
        continue;
      }
      w = hh[n - 1] / (xb - xa);
      h[n - 1] += w * (xb - x);
      h[n] = w * (x - xa);
    }
  }
  for (j = k - m + 1; j <= k; j++) {
    memcpy(hh, h, j * sizeof(double));
    h[0] = 0.0;
    for (n = 1; n <= j; n++) {
      ind = ell + n;
      xb = t[ind];
      xa = t[ind - j];
      if (xb == xa) {
        h[m] = 0.0;
        continue;
      }
      w = j * hh[n - 1] / (xb - xa);
      h[n - 1] -= w;
      h[n] = w;
    }
  }
}
```