user: Translate the below assembly code into C programming language:

```asm
<dradb4>:
  endbr64
  push   %r15
  mov    %rdx,%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%ebx
  mov    %esi,%edi
  lea    0x0(,%rbx,4),%edx
  mov    %edi,%eax
  imul   %ebx,%eax
  mov    %edx,-0x8(%rsp)
  lea    (%rbx,%rbx,1),%edx
  mov    %esi,-0x28(%rsp)
  mov    0x38(%rsp),%rsi
  mov    %rcx,-0x20(%rsp)
  mov    %edx,-0x24(%rsp)
  test   %edi,%edi
  jle    L123
  mov    %rcx,%rdx
  cmp    $0x1,%ebx
  jne    L32
  lea    -0x1(%rax),%esi
  cltq
  lea    0x10(%r15),%rcx
  lea    0x8(%rdx,%rsi,8),%r8
  mov    %rax,%rdi
  lea    (%rax,%rax,2),%rsi
  shl    $0x4,%rdi
  shl    $0x3,%rsi
  nopl   0x0(%rax,%rax,1)
L91:
  movsd  -0x10(%rcx),%xmm4
  movsd  0x8(%rcx),%xmm0
  add    $0x20,%rcx
  movsd  -0x28(%rcx),%xmm2
  movsd  -0x20(%rcx),%xmm1
  movapd %xmm4,%xmm3
  subsd  %xmm0,%xmm3
  addsd  %xmm4,%xmm0
  addsd  %xmm2,%xmm2
  addsd  %xmm1,%xmm1
  movapd %xmm0,%xmm4
  addsd  %xmm2,%xmm4
  subsd  %xmm2,%xmm0
  movsd  %xmm4,(%rdx)
  movapd %xmm3,%xmm4
  subsd  %xmm1,%xmm4
  addsd  %xmm3,%xmm1
  movsd  %xmm4,(%rdx,%rax,8)
  add    $0x8,%rdx
  movsd  %xmm0,-0x8(%rdx,%rdi,1)
  movsd  %xmm1,-0x8(%rdx,%rsi,1)
  cmp    %rdx,%r8
  jne    L91
L103:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L32:
  movslq %ebx,%rdi
  movslq -0x24(%rsp),%rbp
  movslq -0x8(%rsp),%r11
  mov    %eax,-0x30(%rsp)
  lea    0x0(,%rdi,8),%r12
  movslq %eax,%rdi
  mov    %rsi,0x38(%rsp)
  mov    -0x28(%rsp),%esi
  mov    %rdi,-0x18(%rsp)
  mov    %rdi,%r13
  mov    -0x18(%rsp),%rax
  lea    (%rdi,%rdi,2),%rdi
  lea    0x0(,%rbp,8),%r10
  lea    0x0(,%rdi,8),%r14
  shl    $0x3,%r11
  shl    $0x4,%r13
  lea    (%r15,%r10,1),%rcx
  xor    %edi,%edi
  neg    %r10
  nopl   0x0(%rax)
L69:
  movsd  -0x8(%rcx),%xmm2
  movsd  -0x8(%rcx,%rbp,8),%xmm4
  add    $0x1,%edi
  movsd  (%rcx,%r10,1),%xmm1
  movsd  (%rcx),%xmm0
  add    %r11,%rcx
  addsd  %xmm2,%xmm2
  movapd %xmm1,%xmm3
  addsd  %xmm4,%xmm1
  addsd  %xmm0,%xmm0
  subsd  %xmm4,%xmm3
  movapd %xmm2,%xmm4
  addsd  %xmm1,%xmm4
  subsd  %xmm2,%xmm1
  movsd  %xmm4,(%rdx)
  movapd %xmm3,%xmm4
  subsd  %xmm0,%xmm4
  addsd  %xmm3,%xmm0
  movsd  %xmm4,(%rdx,%rax,8)
  movsd  %xmm1,(%rdx,%r13,1)
  movsd  %xmm0,(%rdx,%r14,1)
  add    %r12,%rdx
  cmp    %edi,%esi
  jne    L69
  mov    -0x30(%rsp),%eax
  mov    0x38(%rsp),%rsi
L123:
  cmp    $0x1,%ebx
  jle    L103
  cmp    $0x2,%ebx
  je     L98
  mov    %ebx,%edi
  mov    -0x28(%rsp),%ecx
  and    $0x1,%edi
  mov    %edi,-0x4(%rsp)
  test   %ecx,%ecx
  jle    L103
  mov    -0x20(%rsp),%rcx
  cltq
  movslq %ebx,%rdi
  movl   $0x0,-0x2c(%rsp)
  mov    %rdi,-0x10(%rsp)
  lea    0x0(,%rdi,8),%r14
  mov    %rax,%rdi
  mov    %rax,-0x18(%rsp)
  lea    (%rcx,%rax,8),%r11
  shl    $0x4,%rdi
  mov    %rcx,%rbp
  movl   $0x0,-0x30(%rsp)
  lea    (%rax,%rax,2),%rax
  add    %rcx,%rdi
  lea    (%rcx,%rax,8),%r10
L44:
  mov    -0x2c(%rsp),%eax
  mov    -0x24(%rsp),%ecx
  shl    $0x2,%eax
  lea    (%rcx,%rax,1),%edx
  cltq
  add    %edx,%ecx
  movslq %edx,%rdx
  lea    (%r15,%rax,8),%r13
  mov    $0x2,%eax
  movslq %ecx,%rcx
  lea    (%r15,%rdx,8),%r12
  lea    (%r15,%rcx,8),%rcx
  mov    %r12,%rdx
  nopl   0x0(%rax)
L108:
  movsd  0x0(%r13,%rax,8),%xmm1
  movsd  -0x10(%rcx),%xmm2
  sub    $0x10,%rdx
  sub    $0x10,%rcx
  movsd  (%rdx),%xmm3
  movsd  -0x8(%r13,%rax,8),%xmm4
  movapd %xmm1,%xmm0
  subsd  %xmm2,%xmm1
  movsd  -0x8(%rdx),%xmm5
  addsd  %xmm2,%xmm0
  movsd  (%r12,%rax,8),%xmm2
  movapd %xmm4,%xmm6
  movapd %xmm2,%xmm8
  addsd  %xmm3,%xmm2
  subsd  %xmm3,%xmm8
  movsd  -0x8(%rcx),%xmm3
  subsd  %xmm3,%xmm6
  addsd  %xmm3,%xmm4
  movsd  -0x8(%r12,%rax,8),%xmm3
  movapd %xmm3,%xmm7
  addsd  %xmm5,%xmm3
  subsd  %xmm5,%xmm7
  movapd %xmm4,%xmm5
  addsd  %xmm3,%xmm5
  subsd  %xmm3,%xmm4
  movapd %xmm1,%xmm3
  addsd  %xmm8,%xmm3
  subsd  %xmm8,%xmm1
  movsd  %xmm5,-0x8(%rbp,%rax,8)
  movapd %xmm6,%xmm5
  addsd  %xmm2,%xmm6
  subsd  %xmm2,%xmm5
  movapd %xmm0,%xmm2
  movsd  %xmm3,0x0(%rbp,%rax,8)
  subsd  %xmm7,%xmm0
  addsd  %xmm7,%xmm2
  movsd  -0x10(%r8,%rax,8),%xmm3
  movsd  -0x8(%r8,%rax,8),%xmm7
  mulsd  %xmm5,%xmm3
  mulsd  %xmm2,%xmm7
  subsd  %xmm7,%xmm3
  movsd  %xmm3,-0x8(%r11,%rax,8)
  mulsd  -0x8(%r8,%rax,8),%xmm5
  mulsd  -0x10(%r8,%rax,8),%xmm2
  addsd  %xmm5,%xmm2
  movsd  %xmm2,(%r11,%rax,8)
  movsd  -0x10(%r9,%rax,8),%xmm2
  movsd  -0x8(%r9,%rax,8),%xmm5
  mulsd  %xmm4,%xmm2
  mulsd  %xmm1,%xmm5
  subsd  %xmm5,%xmm2
  movsd  %xmm2,-0x8(%rdi,%rax,8)
  mulsd  -0x10(%r9,%rax,8),%xmm1
  mulsd  -0x8(%r9,%rax,8),%xmm4
  addsd  %xmm4,%xmm1
  movsd  %xmm1,(%rdi,%rax,8)
  movsd  -0x10(%rsi,%rax,8),%xmm1
  movsd  -0x8(%rsi,%rax,8),%xmm2
  mulsd  %xmm6,%xmm1
  mulsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm1
  movsd  %xmm1,-0x8(%r10,%rax,8)
  mulsd  -0x10(%rsi,%rax,8),%xmm0
  mulsd  -0x8(%rsi,%rax,8),%xmm6
  addsd  %xmm6,%xmm0
  movsd  %xmm0,(%r10,%rax,8)
  add    $0x2,%rax
  cmp    %eax,%ebx
  jg     L108
  addl   $0x1,-0x30(%rsp)
  add    %r14,%rbp
  mov    -0x30(%rsp),%eax
  add    %r14,%r11
  add    %ebx,-0x2c(%rsp)
  add    %r14,%rdi
  add    %r14,%r10
  cmp    %eax,-0x28(%rsp)
  jne    L44
  mov    -0x4(%rsp),%eax
  test   %eax,%eax
  jne    L103
  lea    -0x1(%rbx),%ecx
  lea    (%rbx,%rbx,2),%esi
L102:
  mov    -0x10(%rsp),%r14
  mov    -0x18(%rsp),%rbx
  movslq %ecx,%rcx
  movslq %esi,%rsi
  movslq -0x8(%rsp),%rdi
  mov    -0x20(%rsp),%rax
  mov    %rbx,%r10
  lea    (%rbx,%rbx,2),%r9
  mov    -0x28(%rsp),%r11d
  sub    %r14,%rsi
  lea    0x0(,%r14,8),%r8
  lea    (%rax,%rcx,8),%rax
  shl    $0x3,%rdi
  shl    $0x4,%r10
  movsd  D10(%rip),%xmm7
  lea    (%r15,%r8,1),%rdx
  shl    $0x3,%r9
  xor    %ecx,%ecx
  movsd  D19(%rip),%xmm6
  nopl   0x0(%rax,%rax,1)
L110:
  movsd  -0x8(%rdx),%xmm1
  movsd  -0x8(%rdx,%rsi,8),%xmm5
  add    $0x1,%ecx
  movsd  (%rdx),%xmm4
  movsd  (%rdx,%rsi,8),%xmm0
  add    %rdi,%rdx
  movapd %xmm1,%xmm3
  addsd  %xmm5,%xmm1
  subsd  %xmm5,%xmm3
  movapd %xmm4,%xmm2
  addsd  %xmm0,%xmm2
  subsd  %xmm4,%xmm0
  addsd  %xmm1,%xmm1
  addsd  %xmm0,%xmm0
  movsd  %xmm1,(%rax)
  movapd %xmm3,%xmm1
  subsd  %xmm2,%xmm1
  addsd  %xmm3,%xmm2
  mulsd  %xmm7,%xmm1
  mulsd  %xmm6,%xmm2
  movsd  %xmm1,(%rax,%rbx,8)
  movsd  %xmm0,(%rax,%r10,1)
  movsd  %xmm2,(%rax,%r9,1)
  add    %r8,%rax
  cmp    %ecx,%r11d
  jg     L110
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L98:
  mov    -0x28(%rsp),%edx
  test   %edx,%edx
  jle    L103
  cltq
  mov    $0x6,%esi
  mov    $0x1,%ecx
  movq   $0x2,-0x10(%rsp)
  mov    %rax,-0x18(%rsp)
  jmp    L102
```

tool_calls: name: unpack_data
arguments: tag: D10
datatype: f64
name: unpack_data
arguments: tag: D19
datatype: byte[8]

tool: D10: 1.4142135623730951

tool: {"D19": [0xcd,0x3b,0x7f,0x66,0x9e,0xa0,0xf6,0xbf]}

assistant: ```c
void dradb4(int ido, int l1, double *cc, double *ch, double *wa1, double *wa2, double *wa3) {
  static double sqrt2 = 1.4142135623730950488016887242097;
  int i, k, t0, t1, t2, t3, t4, t5, t6, t7, t8;
  double ci2, ci3, ci4, cr2, cr3, cr4, ti1, ti2, ti3, ti4, tr1, tr2, tr3, tr4;
  t0 = l1 * ido;
  t1 = 0;
  t2 = ido << 2;
  t3 = 0;
  t6 = ido << 1;
  for (k = 0; k < l1; k++) {
    t4 = t3 + t6;
    t5 = t1;
    tr3 = cc[t4 - 1] + cc[t4 - 1];
    tr4 = cc[t4] + cc[t4];
    tr1 = cc[t3] - cc[(t4 += t6) - 1];
    tr2 = cc[t3] + cc[t4 - 1];
    ch[t5] = tr2 + tr3;
    ch[t5 += t0] = tr1 - tr4;
    ch[t5 += t0] = tr2 - tr3;
    ch[t5 += t0] = tr1 + tr4;
    t1 += ido;
    t3 += t2;
  }
  if (ido < 2)
    return;
  if (ido == 2)
    goto L105;
  t1 = 0;
  for (k = 0; k < l1; k++) {
    t5 = (t4 = (t3 = (t2 = t1 << 2) + t6)) + t6;
    t7 = t1;
    for (i = 2; i < ido; i += 2) {
      t2 += 2;
      t3 += 2;
      t4 -= 2;
      t5 -= 2;
      t7 += 2;
      ti1 = cc[t2] + cc[t5];
      ti2 = cc[t2] - cc[t5];
      ti3 = cc[t3] - cc[t4];
      tr4 = cc[t3] + cc[t4];
      tr1 = cc[t2 - 1] - cc[t5 - 1];
      tr2 = cc[t2 - 1] + cc[t5 - 1];
      ti4 = cc[t3 - 1] - cc[t4 - 1];
      tr3 = cc[t3 - 1] + cc[t4 - 1];
      ch[t7 - 1] = tr2 + tr3;
      cr3 = tr2 - tr3;
      ch[t7] = ti2 + ti3;
      ci3 = ti2 - ti3;
      cr2 = tr1 - tr4;
      cr4 = tr1 + tr4;
      ci2 = ti1 + ti4;
      ci4 = ti1 - ti4;
      ch[(t8 = t7 + t0) - 1] = wa1[i - 2] * cr2 - wa1[i - 1] * ci2;
      ch[t8] = wa1[i - 2] * ci2 + wa1[i - 1] * cr2;
      ch[(t8 += t0) - 1] = wa2[i - 2] * cr3 - wa2[i - 1] * ci3;
      ch[t8] = wa2[i - 2] * ci3 + wa2[i - 1] * cr3;
      ch[(t8 += t0) - 1] = wa3[i - 2] * cr4 - wa3[i - 1] * ci4;
      ch[t8] = wa3[i - 2] * ci4 + wa3[i - 1] * cr4;
    }
    t1 += ido;
  }
  if (ido % 2 == 1)
    return;
L105:
  t1 = ido;
  t2 = ido << 2;
  t3 = ido - 1;
  t4 = ido + (ido << 1);
  for (k = 0; k < l1; k++) {
    t5 = t3;
    ti1 = cc[t1] + cc[t4];
    ti2 = cc[t4] - cc[t1];
    tr1 = cc[t1 - 1] - cc[t4 - 1];
    tr2 = cc[t1 - 1] + cc[t4 - 1];
    ch[t5] = tr2 + tr2;
    ch[t5 += t0] = sqrt2 * (tr1 - ti1);
    ch[t5 += t0] = ti2 + ti2;
    ch[t5 += t0] = -sqrt2 * (tr1 + ti1);
    t3 += ido;
    t1 += t2;
    t4 += t2;
  }
}
```