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

```asm
<bitrv2conj>:
  endbr64
  push   %r15
  mov    %rsi,%r8
  mov    %rdx,%rax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  movl   $0x0,(%rsi)
  cmp    $0x8,%edi
  jle    L166
  mov    %edi,%r10d
  lea    0x4(%rsi),%r9
  mov    $0x1,%edi
  nop
L178:
  sar    %r10d
  test   %edi,%edi
  jle    L63
  movslq %edi,%rcx
  lea    -0x1(%rdi),%r11d
  lea    0x0(,%rcx,4),%rsi
  lea    -0x4(%rsi),%rdx
  cmp    $0x8,%rdx
  jbe    L0
  cmp    $0x2,%r11d
  jbe    L0
  mov    %edi,%ecx
  movd   %r10d,%xmm4
  add    %r8,%rsi
  xor    %edx,%edx
  shr    $0x2,%ecx
  pshufd $0x0,%xmm4,%xmm1
  shl    $0x4,%rcx
  nopw   0x0(%rax,%rax,1)
L213:
  movdqu (%r8,%rdx,1),%xmm0
  paddd  %xmm1,%xmm0
  movups %xmm0,(%rsi,%rdx,1)
  add    $0x10,%rdx
  cmp    %rdx,%rcx
  jne    L213
  mov    %edi,%edx
  and    $0xfffffffc,%edx
  test   $0x3,%dil
  je     L63
  mov    %edx,%r11d
  lea    (%rdi,%rdx,1),%ecx
  mov    (%r8,%r11,4),%ebx
  movslq %ecx,%rcx
  lea    0x0(,%r11,4),%rsi
  add    %r10d,%ebx
  mov    %ebx,(%r8,%rcx,4)
  lea    0x1(%rdx),%ecx
  cmp    %ecx,%edi
  jle    L63
  mov    0x4(%r8,%rsi,1),%r11d
  add    %edi,%ecx
  add    $0x2,%edx
  movslq %ecx,%rcx
  add    %r10d,%r11d
  mov    %r11d,(%r8,%rcx,4)
  cmp    %edx,%edi
  jle    L63
  mov    0x8(%r8,%rsi,1),%ecx
  add    %edi,%edx
  movslq %edx,%rdx
  add    %r10d,%ecx
  mov    %ecx,(%r8,%rdx,4)
L63:
  mov    %edi,%edx
  lea    (%rdi,%rdi,1),%r14d
  shl    $0x4,%edx
  cmp    %r10d,%edx
  jge    L198
L31:
  mov    %r14d,%edi
  jmp    L178
  nopl   0x0(%rax)
L0:
  mov    %r8,%rdx
  lea    (%r9,%r11,4),%r11
  nop
L43:
  mov    (%rdx),%esi
  add    %r10d,%esi
  mov    %esi,(%rdx,%rcx,4)
  add    $0x4,%rdx
  cmp    %rdx,%r11
  jne    L43
  mov    %edi,%edx
  lea    (%rdi,%rdi,1),%r14d
  shl    $0x4,%edx
  cmp    %r10d,%edx
  jl     L31
  nop
L198:
  lea    0x0(,%rdi,4),%r9d
  je     L70
  movsd  0x8(%rax),%xmm1
  movq   D23(%rip),%xmm0
  movslq %r9d,%rbp
  lea    0x8(%rax,%rbp,8),%rdx
  xorpd  %xmm0,%xmm1
  movsd  %xmm1,0x8(%rax)
  movsd  (%rdx),%xmm1
  xorpd  %xmm0,%xmm1
  movsd  %xmm1,(%rdx)
  cmp    $0x1,%r14d
  jle    L39
  lea    0x4(%r8),%r11
  mov    %r9d,%r12d
  mov    $0x2,%r10d
  nop
L88:
  movslq (%r11),%rdx
  mov    %r8,%rdi
  mov    %rdx,%rbx
  lea    (%rax,%rdx,8),%rsi
  add    %rbp,%rdx
  lea    (%rax,%rdx,8),%rcx
  nopl   0x0(%rax)
L93:
  mov    (%rdi),%edx
  movsd  0x8(%rsi),%xmm1
  add    $0x4,%rdi
  add    $0x10,%rsi
  movsd  -0x10(%rsi),%xmm2
  add    $0x10,%rcx
  add    %r10d,%edx
  xorpd  %xmm0,%xmm1
  movslq %edx,%r13
  unpcklpd %xmm1,%xmm2
  add    %r9d,%edx
  shl    $0x3,%r13
  movslq %edx,%rdx
  movsd  0x8(%rax,%r13,1),%xmm1
  movsd  (%rax,%r13,1),%xmm3
  shl    $0x3,%rdx
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,-0x10(%rsi)
  movups %xmm2,(%rax,%r13,1)
  movsd  -0x8(%rcx),%xmm1
  movsd  -0x10(%rcx),%xmm2
  movsd  (%rax,%rdx,1),%xmm3
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm2
  movsd  0x8(%rax,%rdx,1),%xmm1
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,-0x10(%rcx)
  movups %xmm2,(%rax,%rdx,1)
  cmp    %rdi,%r11
  jne    L93
  add    %r10d,%ebx
  add    $0x2,%r10d
  add    $0x4,%r11
  movslq %ebx,%rdx
  add    %r9d,%ebx
  lea    0x8(%rax,%rdx,8),%rdx
  movslq %ebx,%rbx
  movsd  (%rdx),%xmm1
  xorpd  %xmm0,%xmm1
  movsd  %xmm1,(%rdx)
  lea    0x8(%rax,%rbx,8),%rdx
  movsd  (%rdx),%xmm1
  xorpd  %xmm0,%xmm1
  movsd  %xmm1,(%rdx)
  cmp    %r12d,%r10d
  jne    L88
L39:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L70:
  shl    $0x3,%edi
  test   %r14d,%r14d
  jle    L39
L167:
  lea    0x10(%rax),%rcx
  movslq %r9d,%r11
  xor    %esi,%esi
  mov    %r14d,-0x14(%rsp)
  mov    %rcx,-0x10(%rsp)
  mov    %r11,%rbp
  lea    (%r11,%r11,2),%rbx
  xor    %r15d,%r15d
  movq   D23(%rip),%xmm0
  shl    $0x4,%rbp
  shl    $0x3,%rbx
  mov    %esi,%r14d
  nopw   0x0(%rax,%rax,1)
L173:
  mov    (%r8,%r15,2),%edx
  add    $0x1,%r14d
  add    %r15d,%edx
  movslq %edx,%rcx
  add    %r9d,%edx
  lea    0x8(%rax,%rcx,8),%rcx
  movsd  (%rcx),%xmm1
  xorpd  %xmm0,%xmm1
  movsd  %xmm1,(%rcx)
  lea    (%r9,%rdx,1),%ecx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  movslq %ecx,%rsi
  add    %r9d,%ecx
  movsd  0x8(%rax,%rdx,1),%xmm1
  movsd  (%rax,%rdx,1),%xmm2
  shl    $0x3,%rsi
  movslq %ecx,%rcx
  movsd  (%rax,%rsi,1),%xmm3
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm2
  movsd  0x8(%rax,%rsi,1),%xmm1
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,(%rax,%rdx,1)
  lea    0x8(%rax,%rcx,8),%rdx
  movups %xmm2,(%rax,%rsi,1)
  movsd  (%rdx),%xmm1
  xorpd  %xmm0,%xmm1
  movsd  %xmm1,(%rdx)
  cmp    %r14d,-0x14(%rsp)
  jle    L39
  movslq 0x4(%r8,%r15,2),%rdx
  mov    -0x10(%rsp),%rsi
  lea    (%r14,%r14,1),%r13d
  mov    %r8,%r10
  lea    (%rax,%rdx,8),%rcx
  add    %r15,%rdx
  lea    (%rsi,%rdx,8),%r12
  nopl   0x0(%rax,%rax,1)
L115:
  mov    (%r10),%edx
  movsd  0x8(%rcx),%xmm1
  add    $0x4,%r10
  movsd  (%rcx),%xmm2
  add    %r13d,%edx
  xorpd  %xmm0,%xmm1
  movslq %edx,%rsi
  unpcklpd %xmm1,%xmm2
  add    %edi,%edx
  shl    $0x3,%rsi
  movsd  0x8(%rax,%rsi,1),%xmm1
  movsd  (%rax,%rsi,1),%xmm3
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,(%rcx)
  movups %xmm2,(%rax,%rsi,1)
  movsd  0x8(%rcx,%r11,8),%xmm1
  movsd  (%rcx,%r11,8),%xmm2
  movslq %edx,%rsi
  shl    $0x3,%rsi
  sub    %r9d,%edx
  xorpd  %xmm0,%xmm1
  movsd  (%rax,%rsi,1),%xmm3
  unpcklpd %xmm1,%xmm2
  movsd  0x8(%rax,%rsi,1),%xmm1
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,(%rcx,%r11,8)
  add    $0x10,%rcx
  movups %xmm2,(%rax,%rsi,1)
  movsd  -0x8(%rcx,%rbp,1),%xmm1
  movsd  -0x10(%rcx,%rbp,1),%xmm2
  movslq %edx,%rsi
  shl    $0x3,%rsi
  add    %edi,%edx
  xorpd  %xmm0,%xmm1
  movsd  (%rax,%rsi,1),%xmm3
  movslq %edx,%rdx
  unpcklpd %xmm1,%xmm2
  movsd  0x8(%rax,%rsi,1),%xmm1
  shl    $0x3,%rdx
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,-0x10(%rcx,%rbp,1)
  movups %xmm2,(%rax,%rsi,1)
  movsd  -0x8(%rcx,%rbx,1),%xmm1
  movsd  -0x10(%rcx,%rbx,1),%xmm2
  movsd  (%rax,%rdx,1),%xmm3
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm2
  movsd  0x8(%rax,%rdx,1),%xmm1
  xorpd  %xmm0,%xmm1
  unpcklpd %xmm1,%xmm3
  movups %xmm3,-0x10(%rcx,%rbx,1)
  movups %xmm2,(%rax,%rdx,1)
  cmp    %r12,%rcx
  jne    L115
  add    $0x2,%r15
  jmp    L173
L166:
  je     L196
  movsd  0x8(%rdx),%xmm0
  movq   D23(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,0x8(%rdx)
  movsd  0x18(%rdx),%xmm0
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,0x18(%rdx)
  jmp    L39
L196:
  mov    $0x4,%edi
  mov    $0x1,%r14d
  mov    $0x2,%r9d
  jmp    L167
```

tool_calls: name: extract_symbolic_data
arguments: label: D23
datatype: byte[8]

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

assistant: ```c
void bitrv2conj(int n, int *ip, double *a) {
  int j, j1, k, k1, l, m, m2;
  double xr, xi, yr, yi;
  ip[0] = 0;
  l = n;
  m = 1;
  while ((m << 3) < l) {
    l >>= 1;
    for (j = 0; j < m; j++) {
      ip[m + j] = ip[j] + l;
    }
    m <<= 1;
  }
  m2 = 2 * m;
  if ((m << 3) == l) {
    for (k = 0; k < m; k++) {
      for (j = 0; j < k; j++) {
        j1 = 2 * j + ip[k];
        k1 = 2 * k + ip[j];
        xr = a[j1];
        xi = -a[j1 + 1];
        yr = a[k1];
        yi = -a[k1 + 1];
        a[j1] = yr;
        a[j1 + 1] = yi;
        a[k1] = xr;
        a[k1 + 1] = xi;
        j1 += m2;
        k1 += 2 * m2;
        xr = a[j1];
        xi = -a[j1 + 1];
        yr = a[k1];
        yi = -a[k1 + 1];
        a[j1] = yr;
        a[j1 + 1] = yi;
        a[k1] = xr;
        a[k1 + 1] = xi;
        j1 += m2;
        k1 -= m2;
        xr = a[j1];
        xi = -a[j1 + 1];
        yr = a[k1];
        yi = -a[k1 + 1];
        a[j1] = yr;
        a[j1 + 1] = yi;
        a[k1] = xr;
        a[k1 + 1] = xi;
        j1 += m2;
        k1 += 2 * m2;
        xr = a[j1];
        xi = -a[j1 + 1];
        yr = a[k1];
        yi = -a[k1 + 1];
        a[j1] = yr;
        a[j1 + 1] = yi;
        a[k1] = xr;
        a[k1 + 1] = xi;
      }
      k1 = 2 * k + ip[k];
      a[k1 + 1] = -a[k1 + 1];
      j1 = k1 + m2;
      k1 = j1 + m2;
      xr = a[j1];
      xi = -a[j1 + 1];
      yr = a[k1];
      yi = -a[k1 + 1];
      a[j1] = yr;
      a[j1 + 1] = yi;
      a[k1] = xr;
      a[k1 + 1] = xi;
      k1 += m2;
      a[k1 + 1] = -a[k1 + 1];
    }
  } else {
    a[1] = -a[1];
    a[m2 + 1] = -a[m2 + 1];
    for (k = 1; k < m; k++) {
      for (j = 0; j < k; j++) {
        j1 = 2 * j + ip[k];
        k1 = 2 * k + ip[j];
        xr = a[j1];
        xi = -a[j1 + 1];
        yr = a[k1];
        yi = -a[k1 + 1];
        a[j1] = yr;
        a[j1 + 1] = yi;
        a[k1] = xr;
        a[k1 + 1] = xi;
        j1 += m2;
        k1 += m2;
        xr = a[j1];
        xi = -a[j1 + 1];
        yr = a[k1];
        yi = -a[k1 + 1];
        a[j1] = yr;
        a[j1 + 1] = yi;
        a[k1] = xr;
        a[k1 + 1] = xi;
      }
      k1 = 2 * k + ip[k];
      a[k1 + 1] = -a[k1 + 1];
      a[k1 + m2 + 1] = -a[k1 + m2 + 1];
    }
  }
}
```