user: 下面的汇编指令对应的C源代码是什么:

```asm
<scd>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  movq   %xmm0,%rbx
  movsd  %xmm1,0x10(%rsp)
  mov    %rdi,%rbp
  mov    %rsi,%r12
  mov    %rdx,%r13
  mulsd  %xmm2,%xmm2
  movsd  %xmm2,0x8(%rsp)
  pxor   %xmm0,%xmm0
  movq   %rbx,%xmm3
  mov    $0x0,%r14d
  comisd %xmm3,%xmm0
  ja     L10
L21:
  movsd  0x10(%rsp),%xmm7
  mulsd  D82(%rip),%xmm7
  movq   %rbx,%xmm0
  movsd  %xmm7,0x18(%rsp)
  divsd  %xmm7,%xmm0
  call   <floor@plt>
  pxor   %xmm1,%xmm1
  cvtsi2sd %eax,%xmm1
  mulsd  0x18(%rsp),%xmm1
  movq   %rbx,%xmm0
  subsd  %xmm1,%xmm0
  movsd  0x10(%rsp),%xmm7
  movapd %xmm7,%xmm1
  addsd  %xmm7,%xmm1
  mov    $0x0,%r15d
  comisd %xmm1,%xmm0
  jbe    L71
  subsd  %xmm1,%xmm0
  mov    $0x1,%r15d
L71:
  movsd  0x10(%rsp),%xmm1
  mulsd  D48(%rip),%xmm1
  mov    $0x0,%ebx
  movsd  D48(%rip),%xmm2
  comisd %xmm1,%xmm0
  jb     L106
L83:
  mulsd  %xmm2,%xmm0
  add    $0x1,%ebx
  comisd %xmm1,%xmm0
  jae    L83
  movsd  D62(%rip),%xmm1
  subsd  0x8(%rsp),%xmm1
  cvttsd2si %xmm1,%edi
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  call   <scd2@plt>
  test   %rax,%rax
  jne    L82
  test   %ebx,%ebx
  je     L126
  movsd  0x8(%rsp),%xmm7
  movapd %xmm7,%xmm4
  addsd  %xmm7,%xmm4
  movsd  D62(%rip),%xmm3
L119:
  movsd  0x0(%rbp),%xmm1
  movsd  0x8(%rsp),%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm3,%xmm6
  subsd  %xmm0,%xmm6
  movapd %xmm1,%xmm5
  addsd  %xmm1,%xmm5
  movapd %xmm5,%xmm2
  mulsd  (%r12),%xmm2
  mulsd  0x0(%r13),%xmm2
  divsd  %xmm6,%xmm2
  movsd  %xmm2,0x0(%rbp)
  mulsd  %xmm1,%xmm5
  movapd %xmm3,%xmm2
  subsd  %xmm5,%xmm2
  addsd  %xmm0,%xmm2
  divsd  %xmm6,%xmm2
  movsd  %xmm2,(%r12)
  movapd %xmm1,%xmm2
  mulsd  %xmm4,%xmm2
  mulsd  %xmm1,%xmm2
  movapd %xmm3,%xmm1
  subsd  %xmm2,%xmm1
  addsd  %xmm0,%xmm1
  divsd  %xmm6,%xmm1
  movsd  %xmm1,0x0(%r13)
  sub    $0x1,%ebx
  jne    L119
L126:
  test   %r15d,%r15d
  je     L104
  movsd  0x0(%rbp),%xmm0
  movq   D54(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,0x0(%rbp)
  movsd  (%r12),%xmm0
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%r12)
L104:
  test   %r14d,%r14d
  je     L56
  movsd  0x0(%rbp),%xmm0
  xorpd  D54(%rip),%xmm0
  movsd  %xmm0,0x0(%rbp)
  mov    $0x0,%r14d
L56:
  mov    %r14d,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L10:
  movq   %rbx,%xmm7
  andpd  D23(%rip),%xmm7
  movq   %xmm7,%rbx
  mov    $0x1,%r14d
  jmp    L21
L82:
  mov    $0x1,%r14d
  jmp    L56
L106:
  movsd  D62(%rip),%xmm1
  subsd  0x8(%rsp),%xmm1
  cvttsd2si %xmm1,%edi
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  call   <scd2@plt>
  test   %rax,%rax
  je     L126
  mov    $0x1,%r14d
  jmp    L56
```

tool_calls: name: parse_data
arguments: data_label: D82
data_type: byte[8]
name: parse_data
arguments: data_label: D48
data_type: byte[8]
name: parse_data
arguments: data_label: D62
data_type: byte[8]
name: parse_data
arguments: data_label: D54
data_type: byte[16]
name: parse_data
arguments: data_label: D23
data_type: qword[2]

tool: {"D82": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x40]}

tool: {"D48": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: {"D62": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

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

tool: {"D23": [0x7fffffffffffffff,0x0000000000000000]}

assistant: ```c
int scd(double u, double K, double k, double *s, double *c, double *d) {
  double m;
  int Ndiv2 = 0;
  int N4K = 0;
  int K2 = 0;
  int NEG = 0;
  m = k * k;
  if (u < 0) {
    NEG = 1;
    u = fabs(u);
  }
  N4K = (int)floor(u / (4 * K));
  u -= 4 * K * ((double)N4K);
  if (u > 2.0 * K) {
    u -= 2.0 * K;
    K2 = 1;
  }
  while (u >= K / 2.0) {
    u /= 2;
    Ndiv2++;
  }
  if (scd2(u, 1 - m, s, c, d))
    return 1;
  else {
    if (Ndiv2) {
      double ss, cc, dd;
      double nom;
      while (Ndiv2) {
        nom = (1 - m * (*s) * (*s) * (*s) * (*s));
        ss = 2 * (*s) * (*c) * (*d) / nom;
        cc = (1 - 2 * (*s) * (*s) + m * (*s) * (*s) * (*s) * (*s)) / nom;
        dd = (1 - 2 * m * (*s) * (*s) + m * (*s) * (*s) * (*s) * (*s)) / nom;
        (*s) = ss;
        (*c) = cc;
        (*d) = dd;
        Ndiv2--;
      }
    }
    if (K2) {
      (*s) = -(*s);
      (*c) = -(*c);
    }
    if (NEG) {
      (*s) = -(*s);
      (*c) = (*c);
    }
  }
  return 0;
}
```