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

```asm
<cxpose>:
  endbr64
  push   %r15
  lea    (%rsi,%rsi,1),%r10d
  push   %r14
  mov    %rdi,%r14
  lea    0x0(,%rsi,4),%edi
  push   %r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  push   %rbx
  mov    %r9d,%ebx
  sub    $0x40,%rsp
  test   %r8d,%r8d
  mov    %r9d,-0x70(%rsp)
  lea    0x3(%r8),%r9d
  cmovns %r8d,%r9d
  mov    %rdx,0x18(%rsp)
  lea    (%r10,%rdi,1),%edx
  mov    %esi,0x34(%rsp)
  sar    $0x2,%r9d
  mov    %ecx,0x30(%rsp)
  mov    %r8d,-0x34(%rsp)
  mov    %r10d,0x2c(%rsp)
  mov    %r9d,0x28(%rsp)
  cmp    $0x3,%r8d
  jle    L307
  lea    0x1(%r10),%r8d
  mov    %r9d,%ebp
  movslq %r10d,%r9
  mov    %esi,%r15d
  movslq %r8d,%r8
  mov    %ecx,%r13d
  lea    0x1(%rdi),%esi
  movslq %edi,%rdi
  lea    0x1(%rdx),%eax
  movslq %esi,%rsi
  movslq %edx,%rdx
  shl    $0x2,%rdi
  cltq
  shl    $0x2,%rsi
  mov    $0x1f,%r10d
  mov    %ebp,-0x6c(%rsp)
  lea    0x0(,%r9,4),%r11
  shl    $0x2,%rax
  mov    %ebx,%r9d
  mov    %rsi,(%rsp)
  mov    %r11,-0x18(%rsp)
  lea    0x0(,%r8,4),%r11
  lea    0x0(,%r15,8),%ecx
  xor    %r8d,%r8d
  mov    %r11,-0x10(%rsp)
  lea    0x0(%r13,%r13,1),%r11d
  movslq %ecx,%rcx
  lea    0x0(,%rdx,4),%rsi
  movslq %r11d,%r11
  mov    %rax,-0x30(%rsp)
  lea    -0x1(%r9),%rdx
  lea    0x0(,%rcx,4),%r13
  lea    0x0(,%r11,4),%rax
  mov    %rdi,-0x8(%rsp)
  lea    (%r14,%rcx,1),%rdi
  imul   %rax,%rdx
  mov    %rsi,0x8(%rsp)
  movslq %r15d,%rsi
  mov    %ebx,%r15d
  mov    %rsi,-0x78(%rsp)
  lea    (%rdi,%rcx,1),%rsi
  add    %rsi,%rcx
  test   %rax,%rax
  mov    %r14,0x20(%rsp)
  cmovs  %rdx,%r8
  add    $0x1f,%rdx
  test   %rax,%rax
  cmovs  %r10,%rdx
  shr    %ebx
  sub    %rax,%r10
  lea    -0x1(%rbx),%ebx
  mov    %r10,-0x50(%rsp)
  shl    $0x3,%r11
  add    $0x1,%rbx
  mov    %rdx,-0x60(%rsp)
  lea    -0x1(%r15),%edx
  shl    $0x4,%rbx
  mov    %r8,-0x68(%rsp)
  mov    %r12,%r8
  mov    %rbx,-0x40(%rsp)
  mov    %r15d,%ebx
  lea    0xf(%rax),%r15
  and    $0xfffffffe,%ebx
  mov    %r15,-0x58(%rsp)
  mov    %ebx,-0x38(%rsp)
  lea    0x8(,%rdx,8),%rbx
  mov    %r14,%rdx
  mov    -0x30(%rsp),%r14
  mov    %rbx,0x10(%rsp)
  lea    -0x1(,%r9,8),%rbx
  mov    $0x17,%r9d
  sub    %rax,%r9
  mov    %r9,-0x48(%rsp)
  xchg   %ax,%ax
L3:
  mov    -0x70(%rsp),%r9d
  test   %r9d,%r9d
  jle    L62
  cmpq   $0x1e,-0x58(%rsp)
  mov    -0x68(%rsp),%r15
  seta   %r10b
  cmpq   $0x16,-0x50(%rsp)
  seta   %r9b
  lea    (%r8,%r15,1),%r12
  mov    -0x60(%rsp),%r15
  and    %r10d,%r9d
  cmpq   $0xe,-0x48(%rsp)
  seta   %r10b
  lea    (%r8,%r15,1),%rbp
  and    %r10d,%r9d
  lea    (%rbx,%rdi,1),%r10
  cmp    %r10,%r12
  seta   %r10b
  cmp    %rdi,%rbp
  setb   %r15b
  or     %r15d,%r10d
  and    %r9d,%r10d
  lea    (%rbx,%rsi,1),%r9
  cmp    %r9,%r12
  seta   %r9b
  cmp    %rsi,%rbp
  setb   %r15b
  or     %r15d,%r9d
  and    %r10d,%r9d
  lea    (%rbx,%rcx,1),%r10
  cmp    %r10,%r12
  seta   %r10b
  cmp    %rcx,%rbp
  setb   %r15b
  or     %r15d,%r10d
  test   %r10b,%r9b
  je     L173
  lea    (%rbx,%rdx,1),%r9
  cmp    %r9,%r12
  seta   %r9b
  cmp    %rbp,%rdx
  seta   %r10b
  or     %r9b,%r10b
  je     L173
  cmpl   $0x1,-0x70(%rsp)
  je     L36
  mov    -0x40(%rsp),%rbp
  mov    %r8,%r9
  xor    %r10d,%r10d
  nopl   0x0(%rax,%rax,1)
L39:
  movups (%rdx,%r10,1),%xmm3
  movups (%rdi,%r10,1),%xmm2
  movups (%rsi,%r10,1),%xmm1
  movups (%rcx,%r10,1),%xmm0
  add    $0x10,%r10
  movq   %xmm3,(%r9)
  movhps %xmm3,(%r9,%rax,1)
  movq   %xmm2,0x8(%r9)
  movhps %xmm2,0x8(%rax,%r9,1)
  movq   %xmm1,0x10(%r9)
  movhps %xmm1,0x10(%rax,%r9,1)
  movq   %xmm0,0x18(%r9)
  movhps %xmm0,0x18(%rax,%r9,1)
  add    %r11,%r9
  cmp    %rbp,%r10
  jne    L39
  mov    -0x38(%rsp),%r15d
  mov    %r15d,%r9d
  cmp    %r15d,-0x70(%rsp)
  je     L62
L134:
  mov    -0x78(%rsp),%r15
  mov    %rax,%r10
  movq   (%rdx,%r9,8),%xmm0
  imul   %r9,%r10
  lea    (%r15,%r9,1),%r12
  lea    (%r15,%r12,1),%rbp
  mov    (%rdx,%r12,8),%r15
  mov    (%rdx,%rbp,8),%r12
  add    -0x78(%rsp),%rbp
  mov    (%rdx,%rbp,8),%r9
  mov    %r15,0x8(%r8,%r10,1)
  mov    %r12,0x10(%r8,%r10,1)
  mov    %r9,0x18(%r8,%r10,1)
  movlps %xmm0,(%r8,%r10,1)
L62:
  add    %r13,%rdx
  add    $0x20,%r8
  add    %r13,%rdi
  add    %r13,%rsi
  add    %r13,%rcx
  subl   $0x1,-0x6c(%rsp)
  jne    L3
  mov    0x28(%rsp),%eax
  mov    -0x34(%rsp),%ebx
  mov    $0x1,%edx
  mov    0x20(%rsp),%r14
  sub    $0x1,%eax
  add    $0x1,%rax
  cmp    $0x3,%ebx
  cmovg  %rax,%rdx
  shl    $0x5,%rax
  imul   %r13,%rdx
  add    %rdx,%r14
  cmp    $0x3,%ebx
  mov    $0x20,%edx
  cmovle %rdx,%rax
  add    %rax,0x18(%rsp)
L307:
  mov    -0x34(%rsp),%ebx
  test   $0x3,%bl
  je     L8
  mov    -0x70(%rsp),%eax
  test   %eax,%eax
  jle    L8
  mov    %ebx,%eax
  mov    0x30(%rsp),%edi
  movslq 0x2c(%rsp),%rsi
  sar    $0x1f,%eax
  shr    $0x1e,%eax
  add    %edi,%edi
  shl    $0x2,%rsi
  add    %eax,%ebx
  movslq %edi,%rdi
  mov    %ebx,%edx
  shl    $0x2,%rdi
  and    $0x3,%edx
  sub    %eax,%edx
  test   %edx,%edx
  jle    L8
  cmpl   $0x1,0x34(%rsp)
  jne    L303
  movslq -0x70(%rsp),%rax
  mov    $0x7,%r8d
  lea    (%r14,%rsi,1),%rcx
  lea    (%r14,%rax,8),%rbx
  movslq %edx,%rax
  lea    -0x1(%rax),%r10
  lea    -0x1(,%rax,8),%r11
  mov    0x18(%rsp),%rax
  imul   %rsi,%r10
  test   %rsi,%rsi
  lea    0x7(%r10),%rbp
  cmovs  %r8,%rbp
  mov    $0x0,%r8d
  cmovns %r8,%r10
  mov    %edx,%r8d
  and    $0xfffffffe,%r8d
  jmp    L289
  nopw   0x0(%rax,%rax,1)
L113:
  cmp    $0x1,%edx
  je     L245
  movq   (%r14),%xmm0
  mov    %r8d,%r9d
  movhps (%rcx),%xmm0
  movups %xmm0,(%rax)
  cmp    %r8d,%edx
  je     L304
L337:
  mov    %rsi,%r12
  imul   %r9,%r12
  mov    (%r14,%r12,1),%r12
  mov    %r12,(%rax,%r9,8)
L304:
  add    $0x8,%r14
  add    %rdi,%rax
  add    $0x8,%rcx
  cmp    %rbx,%r14
  je     L8
L289:
  lea    (%rax,%r11,1),%r12
  lea    (%r14,%r10,1),%r9
  cmp    %r9,%r12
  jb     L113
  lea    (%r14,%rbp,1),%r9
  cmp    %r9,%rax
  ja     L113
  mov    (%r14),%r9
  mov    %r9,(%rax)
  cmp    $0x1,%edx
  je     L304
  mov    (%rcx),%r9
  mov    %r9,0x8(%rax)
  cmp    $0x3,%edx
  jne    L304
  mov    (%rcx,%rsi,1),%r9
  add    $0x8,%r14
  add    $0x8,%rcx
  mov    %r9,0x10(%rax)
  add    %rdi,%rax
  cmp    %rbx,%r14
  jne    L289
L8:
  add    $0x40,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L173:
  mov    0x10(%rsp),%r15
  mov    %r13,-0x30(%rsp)
  mov    %r8,%r10
  mov    %rdx,%r9
  mov    -0x8(%rsp),%r12
  mov    (%rsp),%r13
  mov    %rdx,-0x28(%rsp)
  lea    (%rdx,%r15,1),%rbp
  mov    %r8,-0x20(%rsp)
  mov    0x8(%rsp),%r15
  mov    -0x18(%rsp),%rdx
  mov    -0x10(%rsp),%r8
  cs nopw 0x0(%rax,%rax,1)
L168:
  movss  (%r9,%r14,1),%xmm0
  movss  (%r9,%r15,1),%xmm1
  add    $0x8,%r9
  movss  -0x8(%r9,%r13,1),%xmm2
  movss  -0x4(%r9),%xmm3
  unpcklps %xmm0,%xmm1
  movss  -0x8(%r9,%r12,1),%xmm0
  unpcklps %xmm2,%xmm0
  movss  -0x8(%r9,%rdx,1),%xmm2
  movlhps %xmm1,%xmm0
  movss  -0x8(%r9,%r8,1),%xmm1
  unpcklps %xmm1,%xmm2
  movss  -0x8(%r9),%xmm1
  movups %xmm0,0x10(%r10)
  unpcklps %xmm3,%xmm1
  movlhps %xmm2,%xmm1
  movups %xmm1,(%r10)
  add    %rax,%r10
  cmp    %r9,%rbp
  jne    L168
  mov    -0x30(%rsp),%r13
  mov    -0x28(%rsp),%rdx
  mov    -0x20(%rsp),%r8
  jmp    L62
L36:
  xor    %r9d,%r9d
  jmp    L134
L245:
  xor    %r9d,%r9d
  jmp    L337
L303:
  movslq -0x70(%rsp),%rcx
  mov    $0x7,%r8d
  lea    (%r14,%rsi,1),%rax
  lea    (%r14,%rcx,8),%rbx
  movslq %edx,%rcx
  lea    -0x1(%rcx),%r10
  lea    -0x1(,%rcx,8),%r11
  mov    0x18(%rsp),%rcx
  imul   %rsi,%r10
  test   %rsi,%rsi
  lea    0x7(%r10),%rbp
  cmovs  %r8,%rbp
  mov    $0x0,%r8d
  cmovns %r8,%r10
  mov    %edx,%r8d
  and    $0xfffffffe,%r8d
  jmp    L232
L264:
  cmp    $0x1,%edx
  je     L338
  movq   (%r14),%xmm0
  mov    %r8d,%r9d
  movhps (%rax),%xmm0
  movups %xmm0,(%rcx)
  cmp    %r8d,%edx
  je     L298
L172:
  mov    %rsi,%r12
  imul   %r9,%r12
  mov    (%r14,%r12,1),%r12
  mov    %r12,(%rcx,%r9,8)
L298:
  add    $0x8,%r14
  add    %rdi,%rcx
  add    $0x8,%rax
  cmp    %rbx,%r14
  je     L8
L232:
  lea    (%rcx,%r11,1),%r12
  lea    (%r14,%r10,1),%r9
  cmp    %r9,%r12
  jb     L264
  lea    (%r14,%rbp,1),%r9
  cmp    %r9,%rcx
  ja     L264
  mov    (%r14),%r9
  mov    %r9,(%rcx)
  cmp    $0x1,%edx
  je     L298
  mov    (%rax),%r9
  mov    %r9,0x8(%rcx)
  cmp    $0x3,%edx
  jne    L298
  mov    (%rax,%rsi,1),%r9
  mov    %r9,0x10(%rcx)
  jmp    L298
L338:
  xor    %r9d,%r9d
  jmp    L172
```

assistant: ```c
void cxpose(float *indata, int iRsiz, float *outdata, int oRsiz, int Nrows, int Ncols) {
  float *irow;
  float *ocol;
  float *idata;
  float *odata;
  int RowCnt;
  int ColCnt;
  float T0r;
  float T0i;
  float T1r;
  float T1i;
  float T2r;
  float T2i;
  float T3r;
  float T3i;
  const int inRsizd1 = 2 * iRsiz;
  const int inRsizd1i = 2 * iRsiz + 1;
  const int inRsizd2 = 4 * iRsiz;
  const int inRsizd2i = 4 * iRsiz + 1;
  const int inRsizd3 = inRsizd2 + inRsizd1;
  const int inRsizd3i = inRsizd2 + inRsizd1 + 1;
  const int inRsizd4 = 8 * iRsiz;
  ocol = outdata;
  irow = indata;
  for (RowCnt = Nrows / 4; RowCnt > 0; RowCnt--) {
    idata = irow;
    odata = ocol;
    for (ColCnt = Ncols; ColCnt > 0; ColCnt--) {
      T0r = *idata;
      T0i = *(idata + 1);
      T1r = *(idata + inRsizd1);
      T1i = *(idata + inRsizd1i);
      T2r = *(idata + inRsizd2);
      T2i = *(idata + inRsizd2i);
      T3r = *(idata + inRsizd3);
      T3i = *(idata + inRsizd3i);
      *odata = T0r;
      *(odata + 1) = T0i;
      *(odata + 2) = T1r;
      *(odata + 3) = T1i;
      *(odata + 4) = T2r;
      *(odata + 5) = T2i;
      *(odata + 6) = T3r;
      *(odata + 7) = T3i;
      idata += 2;
      odata += 2 * oRsiz;
    }
    irow += inRsizd4;
    ocol += 8;
  }
  if (Nrows % 4 != 0) {
    for (ColCnt = Ncols; ColCnt > 0; ColCnt--) {
      idata = irow;
      odata = ocol;
      for (RowCnt = Nrows % 4; RowCnt > 0; RowCnt--) {
        T0r = *idata;
        T0i = *(idata + 1);
        *odata = T0r;
        *(odata + 1) = T0i;
        odata += 2;
        idata += 2 * iRsiz;
      }
      irow += 2;
      ocol += 2 * oRsiz;
    }
  }
}
```