user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<radf2>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%r9d
  mov    %esi,%ebx
  mov    %rdx,%r10
  mov    %rcx,%r11
  test   %esi,%esi
  jle    L63
  movslq %edi,%rbp
  shl    $0x3,%rbp
  mov    %rdx,%rax
  lea    (%rdi,%rdi,1),%esi
  movslq %esi,%rsi
  shl    $0x3,%rsi
  mov    %rcx,%rdx
  mov    %ebx,%edi
  imul   %r9d,%edi
  movslq %edi,%rdi
  mov    $0x0,%ecx
L36:
  movsd  (%rax),%xmm0
  addsd  (%rax,%rdi,8),%xmm0
  movsd  %xmm0,(%rdx)
  movsd  (%rax),%xmm0
  subsd  (%rax,%rdi,8),%xmm0
  movsd  %xmm0,-0x8(%rdx,%rsi,1)
  add    $0x1,%ecx
  add    %rbp,%rax
  add    %rsi,%rdx
  cmp    %ecx,%ebx
  jne    L36
L63:
  cmp    $0x1,%r9d
  jle    L65
  cmp    $0x2,%r9d
  je     L90
  test   %ebx,%ebx
  jle    L65
  movslq %r9d,%r14
  shl    $0x3,%r14
  mov    %ebx,%r12d
  imul   %r9d,%r12d
  movslq %r12d,%r12
  lea    (%r10,%r12,8),%rdi
  lea    (%r9,%r9,1),%r13d
  movslq %r13d,%r13
  shl    $0x3,%r13
  mov    %r11,%rsi
  neg    %r12
  shl    $0x3,%r12
  mov    $0x0,%ebp
  lea    -0x18(%r13),%r15
L32:
  lea    (%rdi,%r12,1),%rdx
  lea    (%r15,%rsi,1),%rcx
  mov    $0x2,%eax
L3:
  movsd  -0x10(%r8,%rax,8),%xmm0
  movsd  -0x8(%rdi,%rax,8),%xmm2
  movsd  -0x8(%r8,%rax,8),%xmm3
  movsd  (%rdi,%rax,8),%xmm4
  movapd %xmm0,%xmm1
  mulsd  %xmm2,%xmm1
  movapd %xmm3,%xmm5
  mulsd  %xmm4,%xmm5
  addsd  %xmm5,%xmm1
  mulsd  %xmm4,%xmm0
  mulsd  %xmm3,%xmm2
  subsd  %xmm2,%xmm0
  movapd %xmm0,%xmm2
  addsd  0x10(%rdx),%xmm2
  movsd  %xmm2,(%rsi,%rax,8)
  subsd  0x10(%rdx),%xmm0
  movsd  %xmm0,0x8(%rcx)
  movapd %xmm1,%xmm0
  addsd  0x8(%rdx),%xmm0
  movsd  %xmm0,-0x8(%rsi,%rax,8)
  movsd  0x8(%rdx),%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm0,(%rcx)
  add    $0x2,%rax
  add    $0x10,%rdx
  sub    $0x10,%rcx
  cmp    %eax,%r9d
  jg     L3
  add    $0x1,%ebp
  add    %r14,%rdi
  add    %r13,%rsi
  cmp    %ebp,%ebx
  jne    L32
  mov    %r9d,%edx
  shr    $0x1f,%edx
  lea    (%r9,%rdx,1),%eax
  and    $0x1,%eax
  sub    %edx,%eax
  cmp    $0x1,%eax
  je     L65
L13:
  lea    (%r9,%r9,1),%ecx
  movslq %ecx,%rcx
  shl    $0x3,%rcx
  movslq %r9d,%rdx
  shl    $0x3,%rdx
  add    %rdx,%r11
  add    %rdx,%r10
  imul   %ebx,%r9d
  movslq %r9d,%rsi
  mov    $0x0,%eax
  movq   D8(%rip),%xmm1
L106:
  movsd  -0x8(%r10,%rsi,8),%xmm0
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%r11)
  movsd  -0x8(%r10),%xmm0
  movsd  %xmm0,-0x8(%r11)
  add    $0x1,%eax
  add    %rcx,%r11
  add    %rdx,%r10
  cmp    %eax,%ebx
  jg     L106
L65:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L90:
  test   %ebx,%ebx
  jg     L13
  jmp    L65
```

tool_calls: name: disassemble_data
arguments: data_tag: D8
data_type: byte[8]

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

assistant: ```c
void radf2(int ido, int l1, const double cc[], double ch[], const double wa1[]) {
  int i, k, ic;
  double ti2, tr2;
  for (k = 0; k < l1; k++) {
    ch[2 * k * ido] = cc[k * ido] + cc[(k + l1) * ido];
    ch[(2 * k + 1) * ido + ido - 1] = cc[k * ido] - cc[(k + l1) * ido];
  }
  if (ido < 2)
    return;
  if (ido != 2) {
    for (k = 0; k < l1; k++) {
      for (i = 2; i < ido; i += 2) {
        ic = ido - i;
        tr2 = wa1[i - 2] * cc[i - 1 + (k + l1) * ido] + wa1[i - 1] * cc[i + (k + l1) * ido];
        ti2 = wa1[i - 2] * cc[i + (k + l1) * ido] - wa1[i - 1] * cc[i - 1 + (k + l1) * ido];
        ch[i + 2 * k * ido] = cc[i + k * ido] + ti2;
        ch[ic + (2 * k + 1) * ido] = ti2 - cc[i + k * ido];
        ch[i - 1 + 2 * k * ido] = cc[i - 1 + k * ido] + tr2;
        ch[ic - 1 + (2 * k + 1) * ido] = cc[i - 1 + k * ido] - tr2;
      }
    }
    if (ido % 2 == 1)
      return;
  }
  for (k = 0; k < l1; k++) {
    ch[(2 * k + 1) * ido] = -cc[ido - 1 + (k + l1) * ido];
    ch[ido - 1 + 2 * k * ido] = cc[ido - 1 + k * ido];
  }
}
```