user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<odsq5>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rsi,%r15
  mov    %rcx,%rsi
  mov    %rcx,0x10(%rsp)
  mov    (%rdi),%ecx
  mov    (%r15),%eax
  sub    %ecx,%eax
  cmp    $0x1,%eax
  jle    L183
  mov    %r8,%r13
  mov    %r9,%rbp
  lea    -0x8(%rdx),%r14
  mov    (%rsi),%eax
  lea    (%rax,%rcx,4),%eax
  cltq
  add    $0x1,%rax
  mov    (%r14,%rax,8),%rbx
  lea    -0x20(%r14,%rax,8),%rax
  movsd  (%rax),%xmm0
  subsd  (%r8),%xmm0
  movsd  %xmm0,(%rsp)
  movsd  %xmm0,(%r9)
  movsd  (%rax),%xmm0
  xorpd  D1(%rip),%xmm0
  mov    0x60(%rsp),%rax
  movsd  %xmm0,(%rax)
  mov    0x88(%rsp),%rax
  cmpl   $0x0,(%rax)
  je     L65
  cmpl   $0x0,(%rsi)
  jne    L116
  mov    (%r15),%eax
  lea    -0xc(,%rax,4),%eax
  mov    (%rdi),%ecx
  shl    $0x2,%ecx
  cmp    %ecx,%eax
  jl     L153
  movslq %ecx,%rsi
  lea    (%rdx,%rsi,8),%r12
  sub    %ecx,%eax
  shr    $0x2,%eax
  mov    %eax,%eax
  lea    (%rsi,%rax,4),%rax
  lea    0x20(%rdx,%rax,8),%rax
  mov    %rax,0x18(%rsp)
L157:
  movsd  (%rsp),%xmm5
  movapd %xmm5,%xmm0
  addsd  -0x10(%r12),%xmm0
  movsd  %xmm0,-0x18(%r12)
  movsd  (%r12),%xmm1
  movapd %xmm1,%xmm6
  divsd  %xmm0,%xmm6
  movsd  %xmm6,0x8(%rsp)
  mulsd  %xmm6,%xmm5
  movapd %xmm5,%xmm7
  subsd  0x0(%r13),%xmm7
  movsd  %xmm7,(%rsp)
  movapd %xmm7,%xmm1
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  movsd  %xmm0,0x0(%rbp)
  movsd  0x8(%rsp),%xmm0
  mulsd  -0x10(%r12),%xmm0
  movsd  %xmm0,-0x8(%r12)
  movq   %rbx,%xmm1
  call   <fmin@plt>
  movq   %xmm0,%rbx
  add    $0x20,%r12
  cmp    %r12,0x18(%rsp)
  jne    L157
L153:
  mov    0x80(%rsp),%rax
  movsd  (%rsp),%xmm6
  movsd  %xmm6,(%rax)
  movsd  0x0(%rbp),%xmm0
  mov    0x68(%rsp),%rax
  movsd  %xmm0,(%rax)
  mov    0x10(%rsp),%rax
  mov    (%rax),%edx
  mov    (%r15),%eax
  lea    -0x8(,%rax,4),%eax
  mov    %eax,%r12d
  sub    %edx,%r12d
  lea    -0x1(%rdx,%rax,1),%eax
  cltq
  shl    $0x3,%rax
  lea    (%r14,%rax,1),%rsi
  movslq %r12d,%rcx
  lea    -0x10(%r14,%rcx,8),%rdx
  mov    0x80(%rsp),%rdi
  movsd  (%rdi),%xmm1
  addsd  (%rsi),%xmm1
  movsd  %xmm1,(%rdx)
  lea    0x10(%r14,%rax,1),%rax
  movsd  (%rsi),%xmm0
  divsd  %xmm1,%xmm0
  mulsd  (%rax),%xmm0
  movsd  %xmm0,(%r14,%rcx,8)
  movsd  (%rdi),%xmm1
  divsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  subsd  0x0(%r13),%xmm1
  mov    0x78(%rsp),%rdi
  movsd  %xmm1,(%rdi)
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  movsd  %xmm0,0x0(%rbp)
  mov    0x60(%rsp),%rdx
  movsd  %xmm0,(%rdx)
  lea    0x4(%r12),%edi
  mov    %edi,(%rsp)
  mov    0x10(%rsp),%rax
  mov    (%rax),%eax
  lea    0x3(%r12,%rax,2),%eax
  cltq
  shl    $0x3,%rax
  lea    (%r14,%rax,1),%rsi
  movslq %edi,%rcx
  lea    -0x10(%r14,%rcx,8),%rdx
  mov    0x78(%rsp),%rdi
  movsd  (%rdi),%xmm1
  addsd  (%rsi),%xmm1
  movsd  %xmm1,(%rdx)
  lea    0x10(%r14,%rax,1),%rax
  movsd  (%rsi),%xmm0
  divsd  %xmm1,%xmm0
  mulsd  (%rax),%xmm0
  movsd  %xmm0,(%r14,%rcx,8)
  movsd  (%rdi),%xmm1
  divsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  subsd  0x0(%r13),%xmm1
  mov    0x70(%rsp),%rax
  movsd  %xmm1,(%rax)
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
L97:
  movsd  %xmm0,0x0(%rbp)
  mov    0x70(%rsp),%rax
  movsd  (%rax),%xmm0
  movslq (%rsp),%rax
  movsd  %xmm0,0x10(%r14,%rax,8)
  mov    (%r15),%eax
  shl    $0x2,%eax
  mov    0x10(%rsp),%rdi
  sub    (%rdi),%eax
  cltq
  mov    %rbx,(%r14,%rax,8)
L183:
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L116:
  mov    (%r15),%eax
  lea    -0xc(,%rax,4),%eax
  mov    (%rdi),%ecx
  shl    $0x2,%ecx
  cmp    %ecx,%eax
  jl     L153
  movslq %ecx,%rsi
  lea    (%rdx,%rsi,8),%r12
  sub    %ecx,%eax
  shr    $0x2,%eax
  mov    %eax,%eax
  lea    (%rsi,%rax,4),%rax
  lea    0x20(%rdx,%rax,8),%rax
  mov    %rax,0x18(%rsp)
L14:
  movsd  (%rsp),%xmm7
  movapd %xmm7,%xmm0
  addsd  -0x8(%r12),%xmm0
  movsd  %xmm0,-0x20(%r12)
  movsd  0x8(%r12),%xmm1
  movapd %xmm1,%xmm5
  divsd  %xmm0,%xmm5
  movsd  %xmm5,0x8(%rsp)
  mulsd  %xmm5,%xmm7
  movapd %xmm7,%xmm2
  subsd  0x0(%r13),%xmm2
  movsd  %xmm2,(%rsp)
  movapd %xmm2,%xmm1
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  movsd  %xmm0,0x0(%rbp)
  movsd  0x8(%rsp),%xmm0
  mulsd  -0x8(%r12),%xmm0
  movsd  %xmm0,-0x10(%r12)
  movq   %rbx,%xmm1
  call   <fmin@plt>
  movq   %xmm0,%rbx
  add    $0x20,%r12
  cmp    0x18(%rsp),%r12
  jne    L14
  jmp    L153
L65:
  mov    0x10(%rsp),%rax
  cmpl   $0x0,(%rax)
  jne    L50
  mov    (%r15),%eax
  lea    -0xc(,%rax,4),%eax
  mov    (%rdi),%ecx
  shl    $0x2,%ecx
  cmp    %ecx,%eax
  jl     L13
  movslq %ecx,%rsi
  lea    (%rdx,%rsi,8),%r12
  sub    %ecx,%eax
  shr    $0x2,%eax
  mov    %eax,%eax
  lea    (%rsi,%rax,4),%rax
  lea    0x20(%rdx,%rax,8),%rax
  mov    %rax,0x8(%rsp)
L185:
  movsd  -0x10(%r12),%xmm0
  movsd  (%rsp),%xmm3
  movapd %xmm3,%xmm1
  addsd  %xmm0,%xmm1
  movsd  %xmm1,-0x18(%r12)
  pxor   %xmm6,%xmm6
  comisd %xmm3,%xmm6
  ja     L183
  movsd  (%r12),%xmm2
  divsd  %xmm1,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,-0x8(%r12)
  divsd  %xmm1,%xmm3
  movapd %xmm3,%xmm0
  mulsd  %xmm2,%xmm0
  subsd  0x0(%r13),%xmm0
  movapd %xmm0,%xmm1
  movsd  %xmm0,(%rsp)
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  movsd  %xmm0,0x0(%rbp)
  movsd  -0x8(%r12),%xmm1
  movq   %rbx,%xmm0
  call   <fmin@plt>
  movq   %xmm0,%rbx
  add    $0x20,%r12
  cmp    0x8(%rsp),%r12
  jne    L185
L13:
  mov    0x80(%rsp),%rax
  movsd  (%rsp),%xmm3
  movsd  %xmm3,(%rax)
  movsd  0x0(%rbp),%xmm0
  mov    0x68(%rsp),%rax
  movsd  %xmm0,(%rax)
  mov    0x10(%rsp),%rax
  mov    (%rax),%edx
  mov    (%r15),%eax
  lea    -0x8(,%rax,4),%eax
  mov    %eax,%r12d
  sub    %edx,%r12d
  lea    -0x1(%rdx,%rax,1),%eax
  cltq
  shl    $0x3,%rax
  lea    (%r14,%rax,1),%rsi
  movslq %r12d,%rcx
  lea    -0x10(%r14,%rcx,8),%rdx
  mov    0x80(%rsp),%rdi
  movsd  (%rdi),%xmm0
  addsd  (%rsi),%xmm0
  movsd  %xmm0,(%rdx)
  pxor   %xmm1,%xmm1
  comisd (%rdi),%xmm1
  ja     L183
  lea    0x10(%r14,%rax,1),%rax
  movsd  (%rsi),%xmm1
  divsd  %xmm0,%xmm1
  mulsd  (%rax),%xmm1
  movsd  %xmm1,(%r14,%rcx,8)
  movsd  (%rdi),%xmm1
  divsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  subsd  0x0(%r13),%xmm1
  mov    0x78(%rsp),%rdx
  movsd  %xmm1,(%rdx)
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  movsd  %xmm0,0x0(%rbp)
  mov    0x60(%rsp),%rdx
  movsd  %xmm0,(%rdx)
  lea    0x4(%r12),%edx
  mov    %edx,(%rsp)
  mov    0x10(%rsp),%rax
  mov    (%rax),%eax
  lea    0x3(%r12,%rax,2),%eax
  cltq
  shl    $0x3,%rax
  lea    (%r14,%rax,1),%rsi
  movslq %edx,%rcx
  lea    -0x10(%r14,%rcx,8),%rdx
  mov    0x78(%rsp),%rdi
  movsd  (%rdi),%xmm0
  addsd  (%rsi),%xmm0
  movsd  %xmm0,(%rdx)
  pxor   %xmm1,%xmm1
  comisd (%rdi),%xmm1
  ja     L183
  lea    0x10(%r14,%rax,1),%rax
  movsd  (%rsi),%xmm1
  divsd  %xmm0,%xmm1
  mulsd  (%rax),%xmm1
  movsd  %xmm1,(%r14,%rcx,8)
  movsd  (%rdi),%xmm1
  divsd  (%rdx),%xmm1
  mulsd  (%rax),%xmm1
  subsd  0x0(%r13),%xmm1
  mov    0x70(%rsp),%rax
  movsd  %xmm1,(%rax)
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  jmp    L97
L50:
  mov    (%r15),%eax
  lea    -0xc(,%rax,4),%eax
  mov    (%rdi),%ecx
  shl    $0x2,%ecx
  cmp    %ecx,%eax
  jl     L13
  movslq %ecx,%rsi
  lea    (%rdx,%rsi,8),%r12
  sub    %ecx,%eax
  shr    $0x2,%eax
  mov    %eax,%eax
  lea    (%rsi,%rax,4),%rax
  lea    0x20(%rdx,%rax,8),%rax
  mov    %rax,0x8(%rsp)
L122:
  movsd  -0x8(%r12),%xmm0
  movsd  (%rsp),%xmm4
  movapd %xmm4,%xmm1
  addsd  %xmm0,%xmm1
  movsd  %xmm1,-0x20(%r12)
  pxor   %xmm6,%xmm6
  comisd %xmm4,%xmm6
  ja     L183
  movsd  0x8(%r12),%xmm2
  divsd  %xmm1,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,-0x10(%r12)
  divsd  %xmm1,%xmm4
  movapd %xmm4,%xmm0
  mulsd  %xmm2,%xmm0
  subsd  0x0(%r13),%xmm0
  movapd %xmm0,%xmm1
  movsd  %xmm0,(%rsp)
  movsd  0x0(%rbp),%xmm0
  call   <fmin@plt>
  movsd  %xmm0,0x0(%rbp)
  movsd  -0x10(%r12),%xmm1
  movq   %rbx,%xmm0
  call   <fmin@plt>
  movq   %xmm0,%rbx
  add    $0x20,%r12
  cmp    0x8(%rsp),%r12
  jne    L122
  jmp    L13
```

tool_calls: name: extract_symbolic_data
arguments: tag: D1
datatype: f32[4]

tool: {"D1": [0.0,-0.0,0.0,0.0]}

assistant: ```c
int odsq5(int *i0, int *n0, double *z__, int *pp, double *tau, double *dmin__, double *dmin1, double *dmin2, double *dn, double *dnm1, double *dnm2, int *ieee) {
  int i__1;
  double d__1, d__2;
  double d__;
  int j4, j4p2;
  double emin, temp;
  --z__;
  if (*n0 - *i0 - 1 <= 0) {
    return 0;
  }
  j4 = (*i0 << 2) + *pp - 3;
  emin = z__[j4 + 4];
  d__ = z__[j4] - *tau;
  *dmin__ = d__;
  *dmin1 = -z__[j4];
  if (*ieee) {
    if (*pp == 0) {
      i__1 = *n0 - 3 << 2;
      for (j4 = *i0 << 2; j4 <= i__1; j4 += 4) {
        z__[j4 - 2] = d__ + z__[j4 - 1];
        temp = z__[j4 + 1] / z__[j4 - 2];
        d__ = d__ * temp - *tau;
        *dmin__ = fmin(*dmin__, d__);
        z__[j4] = z__[j4 - 1] * temp;
        d__1 = z__[j4];
        emin = fmin(d__1, emin);
      }
    } else {
      i__1 = *n0 - 3 << 2;
      for (j4 = *i0 << 2; j4 <= i__1; j4 += 4) {
        z__[j4 - 3] = d__ + z__[j4];
        temp = z__[j4 + 2] / z__[j4 - 3];
        d__ = d__ * temp - *tau;
        *dmin__ = fmin(*dmin__, d__);
        z__[j4 - 1] = z__[j4] * temp;
        d__1 = z__[j4 - 1];
        emin = fmin(d__1, emin);
      }
    }
    *dnm2 = d__;
    *dmin2 = *dmin__;
    j4 = (*n0 - 2 << 2) - *pp;
    j4p2 = j4 + (*pp << 1) - 1;
    z__[j4 - 2] = *dnm2 + z__[j4p2];
    z__[j4] = z__[j4p2 + 2] * (z__[j4p2] / z__[j4 - 2]);
    *dnm1 = z__[j4p2 + 2] * (*dnm2 / z__[j4 - 2]) - *tau;
    *dmin__ = fmin(*dmin__, *dnm1);
    *dmin1 = *dmin__;
    j4 += 4;
    j4p2 = j4 + (*pp << 1) - 1;
    z__[j4 - 2] = *dnm1 + z__[j4p2];
    z__[j4] = z__[j4p2 + 2] * (z__[j4p2] / z__[j4 - 2]);
    *dn = z__[j4p2 + 2] * (*dnm1 / z__[j4 - 2]) - *tau;
    *dmin__ = fmin(*dmin__, *dn);
  } else {
    if (*pp == 0) {
      i__1 = *n0 - 3 << 2;
      for (j4 = *i0 << 2; j4 <= i__1; j4 += 4) {
        z__[j4 - 2] = d__ + z__[j4 - 1];
        if (d__ < 0.) {
          return 0;
        } else {
          z__[j4] = z__[j4 + 1] * (z__[j4 - 1] / z__[j4 - 2]);
          d__ = z__[j4 + 1] * (d__ / z__[j4 - 2]) - *tau;
        }
        *dmin__ = fmin(*dmin__, d__);
        d__1 = emin, d__2 = z__[j4];
        emin = fmin(d__1, d__2);
      }
    } else {
      i__1 = *n0 - 3 << 2;
      for (j4 = *i0 << 2; j4 <= i__1; j4 += 4) {
        z__[j4 - 3] = d__ + z__[j4];
        if (d__ < 0.) {
          return 0;
        } else {
          z__[j4 - 1] = z__[j4 + 2] * (z__[j4] / z__[j4 - 3]);
          d__ = z__[j4 + 2] * (d__ / z__[j4 - 3]) - *tau;
        }
        *dmin__ = fmin(*dmin__, d__);
        d__1 = emin, d__2 = z__[j4 - 1];
        emin = fmin(d__1, d__2);
      }
    }
    *dnm2 = d__;
    *dmin2 = *dmin__;
    j4 = (*n0 - 2 << 2) - *pp;
    j4p2 = j4 + (*pp << 1) - 1;
    z__[j4 - 2] = *dnm2 + z__[j4p2];
    if (*dnm2 < 0.) {
      return 0;
    } else {
      z__[j4] = z__[j4p2 + 2] * (z__[j4p2] / z__[j4 - 2]);
      *dnm1 = z__[j4p2 + 2] * (*dnm2 / z__[j4 - 2]) - *tau;
    }
    *dmin__ = fmin(*dmin__, *dnm1);
    *dmin1 = *dmin__;
    j4 += 4;
    j4p2 = j4 + (*pp << 1) - 1;
    z__[j4 - 2] = *dnm1 + z__[j4p2];
    if (*dnm1 < 0.) {
      return 0;
    } else {
      z__[j4] = z__[j4p2 + 2] * (z__[j4p2] / z__[j4 - 2]);
      *dn = z__[j4p2 + 2] * (*dnm1 / z__[j4 - 2]) - *tau;
    }
    *dmin__ = fmin(*dmin__, *dn);
  }
  z__[j4 + 2] = *dn;
  z__[(*n0 << 2) - *pp] = emin;
  return 0;
}
```