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

```asm
<fn_invFDaubechiesWT2p2_NoaK>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%r10
  mov    %rsi,%r9
  mov    %edx,%ebx
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %edx,%eax
  lea    0xf(,%rax,4),%rax
  shr    $0x4,%rax
  shl    $0x4,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rsi
  mov    %rsp,%rdx
  sub    %rsi,%rdx
L19:
  cmp    %rdx,%rsp
  je     L72
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L19
L72:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L22
  orq    $0x0,-0x8(%rsp,%rdx,1)
L22:
  mov    %rsp,%rsi
  test   %ecx,%ecx
  je     L31
  cmp    $0x1,%ecx
  jne    L180
  test   %ebx,%ebx
  je     L31
  mov    $0x0,%edx
  movsd  D26(%rip),%xmm1
L122:
  mov    %edx,%eax
  shr    %eax
  mov    %eax,%eax
  mov    %edx,%ecx
  lea    (%r10,%rcx,4),%rsi
  mov    0x8(%r9),%rcx
  pxor   %xmm0,%xmm0
  cvtss2sd (%rcx,%rax,4),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rsi)
  lea    0x1(%rdx),%ecx
  lea    (%r10,%rcx,4),%rcx
  mov    0x8(%r9),%rdi
  pxor   %xmm0,%xmm0
  cvtss2sd (%rdi,%rax,4),%xmm0
  mulsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rcx)
  mov    (%r9),%rdi
  pxor   %xmm0,%xmm0
  cvtss2sd (%rdi,%rax,4),%xmm0
  mulsd  %xmm1,%xmm0
  pxor   %xmm2,%xmm2
  cvtss2sd (%rsi),%xmm2
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rsi)
  pxor   %xmm0,%xmm0
  cvtss2sd (%rcx),%xmm0
  mov    (%r9),%rsi
  pxor   %xmm2,%xmm2
  cvtss2sd (%rsi,%rax,4),%xmm2
  mulsd  %xmm1,%xmm2
  subsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rcx)
  add    $0x2,%edx
  cmp    %edx,%ebx
  ja     L122
L31:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L86
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L180:
  mov    %ebx,%edi
  shr    %cl,%edi
  add    %edi,%edi
  je     L105
  mov    %ecx,%eax
  mov    (%r9,%rax,8),%r8
  lea    -0x1(%rcx),%eax
  mov    (%r9,%rax,8),%rdx
  mov    $0x0,%eax
  movsd  D26(%rip),%xmm2
L168:
  mov    %eax,%r12d
  shr    %r12d
  mov    %r12d,%r12d
  pxor   %xmm0,%xmm0
  cvtss2sd (%r8,%r12,4),%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  lea    0x1(%rax),%r11d
  lea    (%rsi,%r11,4),%r11
  movss  %xmm0,(%r11)
  pxor   %xmm1,%xmm1
  cvtss2sd (%rdx,%r12,4),%xmm1
  mulsd  %xmm2,%xmm1
  mov    %eax,%r12d
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rsi,%r12,4)
  pxor   %xmm0,%xmm0
  cvtss2sd (%r11),%xmm0
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%r11)
  add    $0x2,%eax
  cmp    %eax,%edi
  ja     L168
L105:
  mov    %rsi,%r8
  lea    -0x1(%rcx),%r12d
  cmp    $0x1,%r12d
  jbe    L153
  mov    %ebx,%eax
  shr    %eax
  mov    %eax,%eax
  lea    (%rsi,%rax,4),%rsi
  lea    -0x2(%rcx),%r11d
  movsd  D26(%rip),%xmm2
  jmp    L166
L123:
  mov    %r8,%rax
  mov    %rsi,%r8
  mov    %rax,%rsi
L166:
  add    %edi,%edi
  je     L7
  mov    %r11d,%eax
  mov    (%r9,%rax,8),%rcx
  mov    $0x0,%eax
L114:
  mov    %eax,%r14d
  shr    %r14d
  mov    %r14d,%r14d
  lea    (%r8,%r14,4),%r15
  mov    %eax,%edx
  lea    (%rsi,%rdx,4),%r13
  pxor   %xmm0,%xmm0
  cvtss2sd (%r15),%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x0(%r13)
  lea    0x1(%rax),%edx
  lea    (%rsi,%rdx,4),%rdx
  pxor   %xmm0,%xmm0
  cvtss2sd (%r15),%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rdx)
  pxor   %xmm1,%xmm1
  cvtss2sd (%rcx,%r14,4),%xmm1
  mulsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%r13),%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,0x0(%r13)
  pxor   %xmm0,%xmm0
  cvtss2sd (%rdx),%xmm0
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rdx)
  add    $0x2,%eax
  cmp    %eax,%edi
  ja     L114
L7:
  sub    $0x1,%r11d
  jne    L123
  mov    %r12d,%eax
L80:
  test   %ebx,%ebx
  je     L31
  sub    %eax,%r12d
  lea    (%r9,%r12,8),%rdi
  mov    $0x0,%eax
  movsd  D26(%rip),%xmm2
L118:
  mov    %eax,%edx
  shr    %edx
  mov    %edx,%edx
  mov    %eax,%ecx
  lea    (%r10,%rcx,4),%r8
  pxor   %xmm0,%xmm0
  cvtss2sd (%rsi,%rdx,4),%xmm0
  mulsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%r8)
  lea    0x1(%rax),%ecx
  lea    (%r10,%rcx,4),%rcx
  movss  %xmm0,(%rcx)
  mov    (%rdi),%r9
  pxor   %xmm1,%xmm1
  cvtss2sd (%r9,%rdx,4),%xmm1
  mulsd  %xmm2,%xmm1
  cvtss2sd %xmm0,%xmm0
  addsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%r8)
  pxor   %xmm0,%xmm0
  cvtss2sd (%rcx),%xmm0
  mov    (%rdi),%r8
  pxor   %xmm1,%xmm1
  cvtss2sd (%r8,%rdx,4),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rcx)
  add    $0x2,%eax
  cmp    %eax,%ebx
  ja     L118
  jmp    L31
L153:
  mov    $0x1,%eax
  jmp    L80
L86:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D26
datatype: f64

tool: D26: 0.707106781

assistant: ```c
void fn_invFDaubechiesWT2p2_NoaK(float *a_da, float *a4p_ka[], const unsigned int const cuci_N, unsigned int cuic_w) {
  float ai_buff[cuci_N];
  unsigned int ui_j;
  unsigned int ui_i;
  unsigned int ui_ord = cuci_N;
  float *p_p1 = &ai_buff[0];
  float *p_p2 = &ai_buff[cuci_N >> 1];
  float *p_temp;
  switch (cuic_w) {
  case 0:
    break;
  case 1:
    for (ui_j = 0; ui_j < cuci_N; ui_j = ui_j + 2) {
      a_da[ui_j] = (*(a4p_ka[1] + (ui_j >> 1))) * 0.707106781;
      a_da[ui_j + 1] = (*(a4p_ka[1] + (ui_j >> 1))) * 0.707106781;
      a_da[ui_j] = a_da[ui_j] + (*(a4p_ka[0] + (ui_j >> 1))) * 0.707106781;
      a_da[ui_j + 1] = a_da[ui_j + 1] - (*(a4p_ka[0] + (ui_j >> 1))) * 0.707106781;
    }
    break;
  default:
    ui_ord >>= cuic_w;
    ui_ord <<= 1;
    for (ui_j = 0; ui_j < ui_ord; ui_j = ui_j + 2) {
      ai_buff[ui_j] = (*(a4p_ka[cuic_w] + (ui_j >> 1))) * 0.707106781;
      ai_buff[ui_j + 1] = (*(a4p_ka[cuic_w] + (ui_j >> 1))) * 0.707106781;
      ai_buff[ui_j] = ai_buff[ui_j] + (*(a4p_ka[cuic_w - 1] + (ui_j >> 1))) * 0.707106781;
      ai_buff[ui_j + 1] = ai_buff[ui_j + 1] - (*(a4p_ka[cuic_w - 1] + (ui_j >> 1))) * 0.707106781;
    }
    for (ui_i = 1; ui_i < (cuic_w - 1); ui_i++) {
      ui_ord <<= 1;
      for (ui_j = 0; ui_j < ui_ord; ui_j = ui_j + 2) {
        p_p2[ui_j] = (p_p1[ui_j >> 1]) * 0.707106781;
        p_p2[ui_j + 1] = (p_p1[ui_j >> 1]) * 0.707106781;
        p_p2[ui_j] = p_p2[ui_j] + (*(a4p_ka[cuic_w - ui_i - 1] + (ui_j >> 1))) * 0.707106781;
        p_p2[ui_j + 1] = p_p2[ui_j + 1] - (*(a4p_ka[cuic_w - ui_i - 1] + (ui_j >> 1))) * 0.707106781;
      }
      p_temp = p_p1;
      p_p1 = p_p2;
      p_p2 = p_temp;
    }
    for (ui_j = 0; ui_j < cuci_N; ui_j = ui_j + 2) {
      a_da[ui_j] = (p_p1[ui_j >> 1]) * 0.707106781;
      a_da[ui_j + 1] = (p_p1[ui_j >> 1]) * 0.707106781;
      a_da[ui_j] = a_da[ui_j] + (*(a4p_ka[cuic_w - ui_i - 1] + (ui_j >> 1))) * 0.707106781;
      a_da[ui_j + 1] = a_da[ui_j + 1] - (*(a4p_ka[cuic_w - ui_i - 1] + (ui_j >> 1))) * 0.707106781;
    }
    break;
  }
  return;
}
```