user: 请将以下的汇编代码转换成C语言代码：

```asm
<polint>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  movss  %xmm0,-0x84(%rbp)
  mov    %rdx,-0x90(%rbp)
  mov    %rcx,-0x98(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x5c(%rbp)
  mov    -0x78(%rbp),%rax
  movss  (%rax),%xmm1
  movss  -0x84(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <fabs@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x58(%rbp)
  movl   $0x1,-0x64(%rbp)
  jmp    L45
L22:
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  movss  -0x84(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <fabs@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x44(%rbp)
  movss  -0x58(%rbp),%xmm0
  comiss -0x44(%rbp),%xmm0
  jbe    L67
  mov    -0x64(%rbp),%eax
  mov    %eax,-0x5c(%rbp)
  movss  -0x44(%rbp),%xmm0
  movss  %xmm0,-0x58(%rbp)
L67:
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    -0x64(%rbp),%edx
  sub    $0x1,%edx
  movss  (%rax),%xmm0
  movslq %edx,%rax
  movss  %xmm0,-0x40(%rbp,%rax,4)
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  mov    -0x64(%rbp),%edx
  sub    $0x1,%edx
  movss  (%rax),%xmm0
  movslq %edx,%rax
  movss  %xmm0,-0x20(%rbp,%rax,4)
  addl   $0x1,-0x64(%rbp)
L45:
  cmpl   $0x5,-0x64(%rbp)
  jle    L22
  mov    -0x5c(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x5c(%rbp)
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x80(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mov    -0x90(%rbp),%rax
  movss  %xmm0,(%rax)
  movl   $0x1,-0x60(%rbp)
  jmp    L46
L27:
  movl   $0x1,-0x64(%rbp)
  jmp    L109
L116:
  mov    -0x64(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  subss  -0x84(%rbp),%xmm0
  movss  %xmm0,-0x54(%rbp)
  mov    -0x64(%rbp),%edx
  mov    -0x60(%rbp),%eax
  add    %edx,%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  subss  -0x84(%rbp),%xmm0
  movss  %xmm0,-0x50(%rbp)
  mov    -0x64(%rbp),%eax
  cltq
  movss  -0x40(%rbp,%rax,4),%xmm0
  mov    -0x64(%rbp),%eax
  sub    $0x1,%eax
  cltq
  movss  -0x20(%rbp,%rax,4),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x4c(%rbp)
  movss  -0x54(%rbp),%xmm0
  subss  -0x50(%rbp),%xmm0
  movss  %xmm0,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  ucomiss -0x48(%rbp),%xmm0
  jp     L29
  pxor   %xmm0,%xmm0
  ucomiss -0x48(%rbp),%xmm0
  jne    L29
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L29:
  movss  -0x4c(%rbp),%xmm0
  divss  -0x48(%rbp),%xmm0
  movss  %xmm0,-0x48(%rbp)
  mov    -0x64(%rbp),%eax
  sub    $0x1,%eax
  movss  -0x50(%rbp),%xmm0
  mulss  -0x48(%rbp),%xmm0
  cltq
  movss  %xmm0,-0x20(%rbp,%rax,4)
  mov    -0x64(%rbp),%eax
  sub    $0x1,%eax
  movss  -0x54(%rbp),%xmm0
  mulss  -0x48(%rbp),%xmm0
  cltq
  movss  %xmm0,-0x40(%rbp,%rax,4)
  addl   $0x1,-0x64(%rbp)
L109:
  mov    $0x5,%eax
  sub    -0x60(%rbp),%eax
  cmp    %eax,-0x64(%rbp)
  jle    L116
  mov    -0x5c(%rbp),%eax
  lea    (%rax,%rax,1),%edx
  mov    $0x5,%eax
  sub    -0x60(%rbp),%eax
  cmp    %eax,%edx
  jge    L115
  mov    -0x5c(%rbp),%eax
  cltq
  movss  -0x40(%rbp,%rax,4),%xmm0
  jmp    L118
L115:
  mov    -0x5c(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x5c(%rbp)
  sub    $0x1,%eax
  cltq
  movss  -0x20(%rbp,%rax,4),%xmm0
L118:
  mov    -0x98(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x98(%rbp),%rax
  movss  (%rax),%xmm1
  mov    -0x90(%rbp),%rax
  movss  (%rax),%xmm0
  addss  %xmm1,%xmm0
  mov    -0x90(%rbp),%rax
  movss  %xmm0,(%rax)
  addl   $0x1,-0x60(%rbp)
L46:
  cmpl   $0x4,-0x60(%rbp)
  jle    L27
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L26
  call   <__stack_chk_fail@plt>
L26:
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D4
type_guessed: string

tool: D4: problem in polint


assistant: ```c
void polint(float *xa, float *ya, float x, float *y, float *dy) {
  int i, m, ns = 0;
  float den, dif, dift, ho, hp, w;
  float c[5], d[5];
  dif = fabs(x - xa[0]);
  for (i = 1; i <= 5; i++) {
    if ((dift = fabs(x - xa[i - 1])) < dif) {
      ns = i;
      dif = dift;
    }
    c[i - 1] = ya[i - 1];
    d[i - 1] = ya[i - 1];
  }
  *y = ya[ns--];
  for (m = 1; m < 5; m++) {
    for (i = 1; i <= (5 - m); i++) {
      ho = xa[i - 1] - x;
      hp = xa[i + m - 1] - x;
      w = c[i] - d[i - 1];
      if ((den = ho - hp) == 0.0)
        printf("problem in polint\n");
      den = w / den;
      d[i - 1] = hp * den;
      c[i - 1] = ho * den;
    }
    *y += (*dy = (2 * ns < (5 - m) ? c[ns] : d[(ns--) - 1]));
  }
}
```