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

```asm
<rkqs>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %edx,-0x54(%rbp)
  mov    %rcx,-0x60(%rbp)
  movsd  %xmm0,-0x68(%rbp)
  movsd  %xmm1,-0x70(%rbp)
  mov    %r8,-0x78(%rbp)
  mov    %r9,-0x80(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x54(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x18(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x54(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x18(%rbp)
  movsd  -0x68(%rbp),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    0x20(%rbp),%rax
  movl   $0x0,(%rax)
L35:
  mov    -0x60(%rbp),%rax
  mov    (%rax),%rdi
  mov    -0x18(%rbp),%r9
  mov    -0x28(%rbp),%r8
  mov    -0x20(%rbp),%rcx
  movsd  -0x30(%rbp),%xmm0
  mov    -0x54(%rbp),%edx
  mov    -0x50(%rbp),%rsi
  mov    -0x48(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <rkck@plt>
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movl   $0x0,-0x3c(%rbp)
  jmp    L204
L100:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  divsd  %xmm1,%xmm0
  movq   D105(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  -0x38(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L49
  movsd  -0x38(%rbp),%xmm0
  jmp    L144
L49:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  divsd  %xmm1,%xmm0
  movq   D105(%rip),%xmm1
  andpd  %xmm1,%xmm0
L144:
  movsd  %xmm0,-0x38(%rbp)
  addl   $0x1,-0x3c(%rbp)
L204:
  mov    -0x3c(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L100
  movsd  -0x38(%rbp),%xmm0
  divsd  -0x70(%rbp),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movsd  D23(%rip),%xmm1
  comisd %xmm1,%xmm0
  jbe    L59
  movsd  -0x30(%rbp),%xmm1
  movsd  D0(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x88(%rbp)
  movsd  D37(%rip),%xmm0
  mov    -0x38(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  mulsd  -0x88(%rbp),%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movsd  -0x30(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jb     L125
  movsd  -0x30(%rbp),%xmm1
  movsd  D22(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  -0x10(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L129
  movsd  -0x10(%rbp),%xmm0
  jmp    L93
L129:
  movsd  -0x30(%rbp),%xmm1
  movsd  D22(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  jmp    L93
L125:
  movsd  -0x30(%rbp),%xmm1
  movsd  D22(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  comisd -0x10(%rbp),%xmm0
  jbe    L163
  movsd  -0x10(%rbp),%xmm0
  jmp    L93
L163:
  movsd  -0x30(%rbp),%xmm1
  movsd  D22(%rip),%xmm0
  mulsd  %xmm1,%xmm0
L93:
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  -0x30(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  ucomisd -0x8(%rbp),%xmm0
  jp     L203
  ucomisd -0x8(%rbp),%xmm0
  je     L52
  jmp    L203
L52:
  mov    0x20(%rbp),%rax
  movl   $0x1,(%rax)
  mov    $0xffffffff,%eax
  jmp    L119
L59:
  movsd  -0x38(%rbp),%xmm0
  comisd D77(%rip),%xmm0
  jbe    L55
  movsd  -0x30(%rbp),%xmm1
  movsd  D0(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x88(%rbp)
  movsd  D26(%rip),%xmm0
  mov    -0x38(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  mulsd  -0x88(%rbp),%xmm0
  mov    0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  jmp    L70
L55:
  movsd  -0x30(%rbp),%xmm1
  movsd  D56(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  mov    0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
L70:
  mov    -0x80(%rbp),%rax
  movsd  -0x30(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x80(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x60(%rbp),%rax
  movsd  (%rax),%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x60(%rbp),%rax
  movsd  %xmm0,(%rax)
  movl   $0x0,-0x3c(%rbp)
  jmp    L79
L132:
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x20(%rbp),%rax
  add    %rax,%rdx
  mov    -0x3c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x48(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x3c(%rbp)
L79:
  mov    -0x3c(%rbp),%eax
  cmp    -0x54(%rbp),%eax
  jl     L132
  jmp    L43
L203:
  nop
  jmp    L35
L43:
  mov    $0x0,%eax
L119:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D105
data_type: qword
name: extract_symbolic_data
arguments: data_tag: D23
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D0
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D37
data_type: f32[2]
name: extract_symbolic_data
arguments: data_tag: D22
data_type: f64
name: extract_symbolic_data
arguments: data_tag: D77
data_type: byte[16]
name: extract_symbolic_data
arguments: data_tag: D26
data_type: byte[8]
name: extract_symbolic_data
arguments: data_tag: D56
data_type: f64

tool: D105: 9223372036854775807

tool: D23: 1

tool: D0: 0.9

tool: {"D37": [0.0,-1.625]}

tool: D22: 0.1

tool: {"D77": [0xc3,0xa0,0x4c,0xa3,0xc9,0xc5,0x28,0x3f,0x9a,0x99,0x99,0x99,0x99,0x99,0xc9,0xbf]}

tool: {"D26": [0x9a,0x99,0x99,0x99,0x99,0x99,0xc9,0xbf]}

tool: D56: 5

assistant: ```c
int rkqs(y, dydx, n, x, htry, eps, yscal, hdid, hnext, work, ier)
double *hdid, *hnext, *x, *dydx, eps, htry, *y, *yscal, *work;
int n, *ier;
{
  int i;
  double errmax, h, htemp, xnew, *yerr, *ytemp;
  double *work2;
  yerr = work;
  ytemp = work + n;
  work2 = ytemp + n;
  h = htry;
  *ier = 0;
  for (;;) {
    rkck(y, dydx, n, *x, h, ytemp, yerr, work2);
    errmax = 0.0;
    for (i = 0; i < n; i++)
      errmax = ((errmax) > (fabs(yerr[i] / yscal[i])) ? (errmax) : (fabs(yerr[i] / yscal[i])));
    errmax /= eps;
    if (errmax > 1.0) {
      htemp = 0.9 * h * pow(errmax, -0.25);
      h = (h >= 0.0 ? ((htemp) > (0.1 * h) ? (htemp) : (0.1 * h)) : ((htemp) < (0.1 * h) ? (htemp) : (0.1 * h)));
      xnew = (*x) + h;
      if (xnew == *x) {
        *ier = 1;
        return -1;
      }
      continue;
    } else {
      if (errmax > 1.89e-4)
        *hnext = 0.9 * h * pow(errmax, -0.2);
      else
        *hnext = 5.0 * h;
      *x += (*hdid = h);
      for (i = 0; i < n; i++)
        y[i] = ytemp[i];
      break;
    }
  }
  return 0;
}
```