user: 请将以下的汇编代码转换成C语言代码:

```asm
<cswapc2n>:
  endbr64
  push   %r15
  mov    %rsi,%r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa0,%rsp
  mov    %ecx,-0x74(%rsp)
  mov    0xe8(%rsp),%ebp
  mov    %r9d,0x2c(%rsp)
  test   %edx,%edx
  js     L240
  je     L371
  lea    -0x1(%r8),%ecx
  mov    %ecx,0x20(%rsp)
  cmp    0x2c(%rsp),%ecx
  jge    L371
  mov    0xd8(%rsp),%eax
  imul   %ebp,%eax
  imul   %eax,%ecx
  lea    (%rax,%rax,1),%edi
  cltq
  lea    (%rax,%rax,1),%rbx
  mov    %rax,0x58(%rsp)
  mov    %edi,0x48(%rsp)
  mov    %ecx,%edx
  lea    (%rcx,%rcx,1),%r14d
  movslq %edi,%rcx
  mov    %rbx,0x60(%rsp)
  movslq %edx,%rax
  movslq %r14d,%rdi
  mov    %rcx,0x50(%rsp)
  lea    (%rax,%rax,1),%rdx
  mov    %rax,0x38(%rsp)
  mov    %rcx,%rax
  movslq %ebp,%rcx
  sub    %rbx,%rax
  mov    %rdi,0x10(%rsp)
  lea    0x0(,%rcx,4),%rbx
  shl    $0x2,%rax
  mov    %rdx,-0x28(%rsp)
  mov    %rax,0x68(%rsp)
  mov    %rdi,%rax
  lea    0x0(,%rcx,8),%rdi
  sub    %rdx,%rax
  mov    %rdi,-0x60(%rsp)
  lea    (%rsi,%rbx,1),%rdi
  lea    (%rcx,%rcx,1),%rdx
  shl    $0x2,%rax
  mov    %rdi,0x70(%rsp)
  mov    %ebp,%edi
  neg    %rcx
  mov    %rax,0x30(%rsp)
  lea    0x0(%rbp,%rbp,1),%eax
  and    $0xfffffffc,%edi
  movslq %eax,%rsi
  mov    %eax,-0x64(%rsp)
  lea    0x0(,%rsi,4),%rax
  mov    %edi,-0x68(%rsp)
  mov    %rax,-0x58(%rsp)
  mov    %ebp,%eax
  shr    $0x2,%eax
  mov    %rbx,-0x10(%rsp)
  sub    $0x1,%eax
  mov    %rsi,-0x8(%rsp)
  add    $0x1,%rax
  mov    %rcx,0x40(%rsp)
  shl    $0x4,%rax
  mov    %rax,%r11
  lea    0x1(%rdi),%eax
  mov    %eax,-0x3c(%rsp)
  lea    0x2(%rdi),%eax
  mov    %eax,-0x38(%rsp)
  mov    %rsi,%rax
  sub    %rdx,%rax
  shl    $0x2,%rax
  mov    %rax,-0x20(%rsp)
  lea    -0x4(%rbx),%rax
  mov    %rax,0x78(%rsp)
  mov    %ebp,%eax
  lea    (%r15,%rax,8),%rdx
  shl    $0x2,%rax
  mov    %rdx,0x80(%rsp)
  lea    (%rbx,%r13,1),%rdx
  mov    %rdx,0x90(%rsp)
  lea    -0x1(%rbp),%edx
  mov    %rax,-0x18(%rsp)
  lea    (%rdi,%rdi,1),%eax
  lea    0x2(%rax),%edi
  mov    %edx,-0x40(%rsp)
  mov    %rdx,0x18(%rsp)
  lea    0x8(%r15,%rdx,8),%rdx
  mov    %eax,(%rsp)
  add    $0x4,%eax
  mov    %rdx,0x88(%rsp)
  mov    %edi,0x28(%rsp)
  mov    %eax,0x8(%rsp)
L183:
  mov    -0x74(%rsp),%eax
  test   %eax,%eax
  jle    L412
  mov    0x10(%rsp),%rax
  mov    %r14d,-0x70(%rsp)
  mov    %ebp,%r8d
  xor    %edi,%edi
  movl   $0x0,-0x78(%rsp)
  mov    %r15,%r14
  lea    0x0(%r13,%rax,4),%r9
  mov    0x38(%rsp),%rax
  shl    $0x3,%rax
  lea    0x0(%r13,%rax,1),%rdx
  mov    %rax,-0x30(%rsp)
  mov    0x70(%rsp),%rax
  mov    %rdx,-0x48(%rsp)
  mov    %rdx,%rcx
L498:
  test   %ebp,%ebp
  jle    L75
  cmpl   $0x2,-0x40(%rsp)
  mov    %rax,%rdx
  lea    0x4(%rcx),%rbx
  seta   %r10b
  sub    -0x10(%rsp),%rdx
  mov    %rdx,%rsi
  sub    %rbx,%rsi
  cmp    $0x8,%rsi
  jbe    L16
  test   %r10b,%r10b
  je     L16
  xor    %esi,%esi
  nopl   0x0(%rax,%rax,1)
L300:
  movups (%rcx,%rsi,1),%xmm5
  movups %xmm5,(%rdx,%rsi,1)
  add    $0x10,%rsi
  cmp    %r11,%rsi
  jne    L300
  mov    -0x68(%rsp),%edx
  cmp    %ebp,%edx
  je     L325
  mov    -0x70(%rsp),%ebx
  add    %edi,%edx
  lea    (%rbx,%rdx,1),%esi
  movslq %edx,%rdx
  movslq %esi,%rsi
  movss  0x0(%r13,%rsi,4),%xmm0
  movss  %xmm0,(%r15,%rdx,4)
  mov    -0x3c(%rsp),%edx
  cmp    %edx,%ebp
  jle    L325
  add    %edi,%edx
  lea    (%rbx,%rdx,1),%esi
  movslq %edx,%rdx
  movslq %esi,%rsi
  movss  0x0(%r13,%rsi,4),%xmm0
  movss  %xmm0,(%r15,%rdx,4)
  mov    -0x38(%rsp),%edx
  cmp    %edx,%ebp
  jle    L325
  add    %edi,%edx
  lea    (%rbx,%rdx,1),%esi
  movslq %edx,%rdx
  movslq %esi,%rsi
  movss  0x0(%r13,%rsi,4),%xmm0
  movss  %xmm0,(%r15,%rdx,4)
L325:
  mov    -0x28(%rsp),%rbx
  movslq %r8d,%rsi
  lea    0x0(%rbp,%rdi,1),%edx
  mov    %rsi,-0x50(%rsp)
  lea    0x1(%rsi,%rbx,1),%rsi
  mov    %rax,%rbx
  shl    $0x2,%rsi
  lea    0x0(%r13,%rsi,1),%r12
  sub    %r12,%rbx
  cmp    $0x8,%rbx
  jbe    L229
  lea    -0x4(%r13,%rsi,1),%r12
  xor    %esi,%esi
  test   %r10b,%r10b
  je     L229
  nopl   0x0(%rax)
L317:
  movups (%r12,%rsi,1),%xmm6
  movups %xmm6,(%rax,%rsi,1)
  add    $0x10,%rsi
  cmp    %r11,%rsi
  jne    L317
  mov    -0x68(%rsp),%ebx
  cmp    %ebp,%ebx
  je     L75
  mov    -0x70(%rsp),%r10d
  lea    (%r8,%rbx,1),%esi
  add    %r10d,%esi
  movslq %esi,%rsi
  movss  0x0(%r13,%rsi,4),%xmm0
  lea    (%rbx,%rdx,1),%esi
  mov    -0x3c(%rsp),%ebx
  movslq %esi,%rsi
  movss  %xmm0,(%r15,%rsi,4)
  cmp    %ebx,%ebp
  jle    L75
  lea    (%r8,%rbx,1),%esi
  add    %r10d,%esi
  movslq %esi,%rsi
  movss  0x0(%r13,%rsi,4),%xmm0
  lea    (%rbx,%rdx,1),%esi
  mov    -0x38(%rsp),%ebx
  movslq %esi,%rsi
  movss  %xmm0,(%r15,%rsi,4)
  cmp    %ebx,%ebp
  jle    L75
  lea    (%r8,%rbx,1),%esi
  add    %ebx,%edx
  add    %r10d,%esi
  movslq %edx,%rdx
  movslq %esi,%rsi
  movss  0x0(%r13,%rsi,4),%xmm0
  movss  %xmm0,(%r15,%rdx,4)
L75:
  mov    -0x64(%rsp),%ebx
  mov    -0x60(%rsp),%rsi
  mov    -0x78(%rsp),%edx
  add    %ebx,%r8d
  add    %ebx,%edi
  mov    -0x58(%rsp),%rbx
  add    %rsi,%rax
  add    $0x1,%edx
  add    %rsi,%rcx
  add    %rbx,%r9
  add    %rbx,%r14
  cmp    %edx,-0x74(%rsp)
  je     L637
  mov    %edx,-0x78(%rsp)
  jmp    L498
L240:
  lea    -0x1(%r8),%ecx
  mov    %ecx,0x28(%rsp)
  cmp    %ecx,%r9d
  jle    L371
  mov    0xd8(%rsp),%eax
  imul   %ebp,%eax
  imul   %eax,%ecx
  lea    (%rax,%rax,1),%edi
  cltq
  lea    (%rax,%rax,1),%rbx
  mov    %rax,0x30(%rsp)
  mov    %edi,0x40(%rsp)
  mov    %ecx,%edx
  lea    (%rcx,%rcx,1),%r14d
  movslq %edi,%rcx
  mov    %rbx,0x38(%rsp)
  movslq %edx,%rax
  movslq %r14d,%rdi
  mov    %rcx,0x20(%rsp)
  lea    (%rax,%rax,1),%rdx
  mov    %rax,0x10(%rsp)
  mov    %rcx,%rax
  sub    %rbx,%rax
  mov    %rdx,-0x30(%rsp)
  shl    $0x2,%rax
  mov    %rdi,(%rsp)
  mov    %rax,0x48(%rsp)
  mov    %rdi,%rax
  sub    %rdx,%rax
  movslq %ebp,%rdx
  shl    $0x2,%rax
  lea    0x0(,%rdx,4),%rcx
  mov    %rax,0x18(%rsp)
  lea    0x0(%rbp,%rbp,1),%eax
  mov    %eax,-0x64(%rsp)
  cltq
  mov    %rax,-0x20(%rsp)
  shl    $0x2,%rax
  mov    %rax,-0x58(%rsp)
  lea    (%rcx,%r13,1),%rax
  add    %r15,%rcx
  mov    %rax,0x68(%rsp)
  lea    0x0(,%rdx,8),%rax
  neg    %rdx
  mov    %rax,-0x60(%rsp)
  mov    %ebp,%eax
  lea    (%rsi,%rax,8),%rdi
  shl    $0x2,%rax
  mov    %rcx,0x50(%rsp)
  mov    %rdi,0x60(%rsp)
  lea    -0x1(%rbp),%edi
  mov    %edi,-0x40(%rsp)
  mov    %rdi,0x8(%rsp)
  lea    0x8(%rsi,%rdi,8),%rdi
  mov    %rdi,0x58(%rsp)
  mov    %ebp,%edi
  and    $0xfffffffc,%edi
  mov    %rax,-0x28(%rsp)
  mov    %ebp,%eax
  lea    (%rdi,%rdi,1),%ebx
  lea    0x1(%rdi),%esi
  mov    %edi,-0x68(%rsp)
  add    $0x2,%edi
  mov    %esi,-0x48(%rsp)
  shr    $0x2,%eax
  lea    0x2(%rbx),%esi
  mov    %edi,-0x3c(%rsp)
  lea    0x4(%rbx),%edi
  sub    $0x1,%eax
  mov    %ebx,-0x18(%rsp)
  add    $0x1,%rax
  mov    %esi,-0x10(%rsp)
  shl    $0x4,%rax
  mov    %edi,-0x8(%rsp)
  mov    %rdx,0x70(%rsp)
  xchg   %ax,%ax
L633:
  mov    -0x74(%rsp),%edx
  test   %edx,%edx
  jle    L551
  test   %ebp,%ebp
  jle    L274
  mov    0x70(%rsp),%r8
  mov    0x10(%rsp),%rcx
  xor    %r12d,%r12d
  mov    %r15,%rdx
  mov    0x68(%rsp),%rdi
  mov    0x58(%rsp),%rbx
  mov    %r12d,-0x78(%rsp)
  mov    %r8,-0x70(%rsp)
  shl    $0x3,%rcx
  mov    0x60(%rsp),%r9
  movq   $0x0,-0x38(%rsp)
  lea    (%rdi,%rcx,1),%rsi
  add    %r13,%rcx
  xor    %edi,%edi
  nopl   0x0(%rax,%rax,1)
L534:
  mov    -0x28(%rsp),%r12
  lea    0x0(%rbp,%rdi,1),%r8d
  lea    (%r12,%rcx,1),%r10
  cmp    %r10,%rdx
  setae  %r11b
  cmp    %r9,%rcx
  setae  %r10b
  or     %r10d,%r11d
  mov    %r12,%r10
  add    %rsi,%r10
  cmp    %r10,%rdx
  setae  %r10b
  cmp    %rsi,%r9
  setbe  -0x50(%rsp)
  movzbl -0x50(%rsp),%r12d
  or     %r12d,%r10d
  test   %r10b,%r11b
  je     L549
  cmpl   $0x2,-0x40(%rsp)
  jbe    L549
  mov    -0x70(%rsp),%r12
  xor    %r10d,%r10d
  nopl   0x0(%rax)
L134:
  movups (%rcx,%r10,1),%xmm0
  movups (%rsi,%r10,1),%xmm1
  movaps %xmm0,%xmm2
  unpckhps %xmm1,%xmm0
  unpcklps %xmm1,%xmm2
  movups %xmm0,0x10(%rdx,%r10,2)
  movups %xmm2,(%rdx,%r10,2)
  add    $0x10,%r10
  cmp    %r10,%rax
  jne    L134
  mov    %r12,-0x70(%rsp)
  mov    -0x68(%rsp),%r12d
  mov    %r12d,%r10d
  cmp    %r12d,%ebp
  je     L103
  add    %edi,%r10d
  mov    -0x18(%rsp),%r11d
  add    %r14d,%r10d
  movslq %r10d,%r10
  add    %edi,%r11d
  movss  0x0(%r13,%r10,4),%xmm0
  mov    %r12d,%r10d
  movslq %r11d,%r11
  mov    -0x48(%rsp),%r12d
  add    %r8d,%r10d
  add    %r14d,%r10d
  movss  %xmm0,(%r15,%r11,4)
  movslq %r10d,%r10
  movss  0x0(%r13,%r10,4),%xmm0
  mov    %r12d,%r10d
  movss  %xmm0,0x4(%r15,%r11,4)
  cmp    %ebp,%r12d
  jge    L103
  add    %edi,%r10d
  mov    -0x10(%rsp),%r11d
  add    %r14d,%r10d
  movslq %r10d,%r10
  add    %edi,%r11d
  movss  0x0(%r13,%r10,4),%xmm0
  mov    %r12d,%r10d
  movslq %r11d,%r11
  mov    -0x3c(%rsp),%r12d
  add    %r8d,%r10d
  add    %r14d,%r10d
  movss  %xmm0,(%r15,%r11,4)
  movslq %r10d,%r10
  movss  0x0(%r13,%r10,4),%xmm0
  mov    %r12d,%r10d
  movss  %xmm0,0x4(%r15,%r11,4)
  cmp    %r12d,%ebp
  jle    L103
  add    %edi,%r10d
  mov    -0x8(%rsp),%r11d
  add    %r12d,%r8d
  add    %r14d,%r10d
  add    %r14d,%r8d
  movslq %r10d,%r10
  add    %edi,%r11d
  movslq %r8d,%r8
  movss  0x0(%r13,%r10,4),%xmm0
  movslq %r11d,%r11
  movss  %xmm0,(%r15,%r11,4)
  movss  0x0(%r13,%r8,4),%xmm0
  movss  %xmm0,0x4(%r15,%r11,4)
L103:
  mov    -0x60(%rsp),%r8
  mov    -0x58(%rsp),%r10
  addl   $0x1,-0x78(%rsp)
  mov    -0x20(%rsp),%r12
  mov    -0x78(%rsp),%r11d
  add    %r12,-0x38(%rsp)
  add    %r10,%rsi
  add    %r8,%r9
  add    %r8,%rdx
  add    %r8,%rcx
  add    -0x64(%rsp),%edi
  add    %r10,%rbx
  cmp    %r11d,-0x74(%rsp)
  jne    L534
L274:
  mov    (%rsp),%rcx
  lea    0x4(%r15),%rdx
  mov    %r14d,-0x50(%rsp)
  mov    %r15,%r10
  movl   $0x0,-0x78(%rsp)
  mov    %ebp,%r9d
  xor    %r8d,%r8d
  lea    0x0(%r13,%rcx,4),%rdi
  mov    0x10(%rsp),%rcx
  mov    %rdx,-0x70(%rsp)
  mov    0x50(%rsp),%rdx
  mov    %rdi,%r14
  lea    0x0(%r13,%rcx,8),%rcx
  nopw   0x0(%rax,%rax,1)
L332:
  test   %ebp,%ebp
  jle    L267
  mov    -0x70(%rsp),%rbx
  cmpl   $0x2,-0x40(%rsp)
  mov    %rcx,%rsi
  seta   %r11b
  sub    %rbx,%rsi
  cmp    $0x8,%rsi
  jbe    L520
  test   %r11b,%r11b
  je     L520
  lea    -0x4(%rbx),%rdi
  xor    %esi,%esi
  nopl   (%rax)
L536:
  movups (%rdi,%rsi,1),%xmm3
  movups %xmm3,(%rcx,%rsi,1)
  add    $0x10,%rsi
  cmp    %rsi,%rax
  jne    L536
  mov    -0x68(%rsp),%ebx
  cmp    %ebx,%ebp
  je     L64
  lea    (%r8,%rbx,1),%esi
  mov    -0x50(%rsp),%ebx
  movslq %esi,%rdi
  movss  (%r15,%rdi,4),%xmm0
  add    %ebx,%esi
  mov    -0x48(%rsp),%edi
  movslq %esi,%rsi
  movss  %xmm0,0x0(%r13,%rsi,4)
  cmp    %ebp,%edi
  jge    L64
  lea    (%rdi,%r8,1),%esi
  movslq %esi,%rdi
  add    %ebx,%esi
  movss  (%r15,%rdi,4),%xmm0
  mov    -0x3c(%rsp),%edi
  movslq %esi,%rsi
  movss  %xmm0,0x0(%r13,%rsi,4)
  cmp    %edi,%ebp
  jle    L64
  lea    (%r8,%rdi,1),%esi
  movslq %esi,%rdi
  add    %ebx,%esi
  movss  (%r15,%rdi,4),%xmm0
  movslq %esi,%rsi
  movss  %xmm0,0x0(%r13,%rsi,4)
L64:
  mov    -0x30(%rsp),%rbx
  movslq %r9d,%rsi
  lea    0x4(%rdx),%r12
  lea    0x0(%rbp,%r8,1),%edi
  mov    %rsi,-0x38(%rsp)
  add    %rbx,%rsi
  lea    0x0(%r13,%rsi,4),%rsi
  mov    %rsi,%rbx
  sub    %r12,%rbx
  cmp    $0x8,%rbx
  jbe    L220
  xor    %r12d,%r12d
  test   %r11b,%r11b
  je     L220
  nopw   0x0(%rax,%rax,1)
L455:
  movups (%rdx,%r12,1),%xmm4
  movups %xmm4,(%rsi,%r12,1)
  add    $0x10,%r12
  cmp    %r12,%rax
  jne    L455
  mov    -0x68(%rsp),%ebx
  cmp    %ebx,%ebp
  je     L267
  lea    (%rbx,%rdi,1),%esi
  mov    -0x50(%rsp),%r11d
  movslq %esi,%rsi
  movss  (%r15,%rsi,4),%xmm0
  lea    (%r9,%rbx,1),%esi
  mov    -0x48(%rsp),%ebx
  add    %r11d,%esi
  movslq %esi,%rsi
  movss  %xmm0,0x0(%r13,%rsi,4)
  cmp    %ebp,%ebx
  jge    L267
  lea    (%rbx,%rdi,1),%esi
  movslq %esi,%rsi
  movss  (%r15,%rsi,4),%xmm0
  lea    (%r9,%rbx,1),%esi
  add    %r11d,%esi
  movslq %esi,%rsi
  movss  %xmm0,0x0(%r13,%rsi,4)
  mov    -0x3c(%rsp),%esi
  cmp    %esi,%ebp
  jle    L267
  add    %esi,%edi
  add    %r9d,%esi
  movslq %edi,%rdi
  add    %r11d,%esi
  movss  (%r15,%rdi,4),%xmm0
  movslq %esi,%rsi
  movss  %xmm0,0x0(%r13,%rsi,4)
L267:
  mov    -0x64(%rsp),%esi
  mov    -0x60(%rsp),%rdi
  addl   $0x1,-0x78(%rsp)
  mov    -0x78(%rsp),%ebx
  add    %esi,%r9d
  add    %esi,%r8d
  mov    -0x58(%rsp),%rsi
  add    %rdi,-0x70(%rsp)
  add    %rdi,%rdx
  add    %rdi,%rcx
  add    %rsi,%r10
  add    %rsi,%r14
  cmp    %ebx,-0x74(%rsp)
  jne    L332
  mov    -0x50(%rsp),%r14d
L551:
  mov    0x20(%rsp),%rdx
  addl   $0x1,0x28(%rsp)
  add    %rdx,(%rsp)
  mov    0x28(%rsp),%ecx
  mov    0x38(%rsp),%rdx
  add    0x40(%rsp),%r14d
  add    %rdx,-0x30(%rsp)
  mov    0x30(%rsp),%rdx
  add    %rdx,0x10(%rsp)
  mov    0x48(%rsp),%rdx
  add    %rdx,0x18(%rsp)
  cmp    %ecx,0x2c(%rsp)
  jne    L633
L371:
  add    $0xa0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L229:
  movslq %edx,%rdx
  mov    -0x50(%rsp),%rbx
  mov    0x18(%rsp),%r12
  add    0x10(%rsp),%rbx
  lea    0x0(%r13,%rbx,4),%r10
  lea    (%r15,%rdx,4),%rbx
  xor    %edx,%edx
  nopl   (%rax)
L513:
  movss  (%r10,%rdx,4),%xmm0
  mov    %rdx,%rsi
  movss  %xmm0,(%rbx,%rdx,4)
  add    $0x1,%rdx
  cmp    %rsi,%r12
  jne    L513
  jmp    L75
  nopl   0x0(%rax)
L16:
  mov    0x18(%rsp),%rbx
  xor    %edx,%edx
  nop
L416:
  movss  (%r9,%rdx,4),%xmm0
  mov    %rdx,%rsi
  movss  %xmm0,(%r14,%rdx,4)
  add    $0x1,%rdx
  cmp    %rsi,%rbx
  jne    L416
  jmp    L325
L344:
  mov    -0x70(%rsp),%r11
L412:
  mov    0x50(%rsp),%rdi
  addl   $0x1,0x20(%rsp)
  add    %rdi,0x10(%rsp)
  mov    0x20(%rsp),%eax
  mov    0x60(%rsp),%rdi
  add    0x48(%rsp),%r14d
  add    %rdi,-0x28(%rsp)
  mov    0x58(%rsp),%rdi
  add    %rdi,0x38(%rsp)
  mov    0x68(%rsp),%rdi
  add    %rdi,0x30(%rsp)
  cmp    %eax,0x2c(%rsp)
  jne    L183
  jmp    L371
L637:
  mov    -0x48(%rsp),%rdx
  mov    -0x70(%rsp),%r14d
  test   %ebp,%ebp
  jle    L412
  mov    0x78(%rsp),%rdi
  mov    -0x30(%rsp),%rcx
  mov    %r15,%rax
  xor    %esi,%esi
  mov    %r11,-0x70(%rsp)
  mov    0x88(%rsp),%rbx
  xor    %r12d,%r12d
  mov    %rdi,-0x50(%rsp)
  mov    0x80(%rsp),%r8
  movq   $0x0,-0x30(%rsp)
  add    0x90(%rsp),%rcx
  nopw   0x0(%rax,%rax,1)
L139:
  mov    -0x18(%rsp),%r11
  lea    (%rsi,%rbp,1),%edi
  mov    %r11,%r9
  add    %rcx,%r9
  cmp    %r9,%rax
  setae  %r10b
  cmp    %r8,%rcx
  setae  %r9b
  or     %r9d,%r10d
  cmpl   $0x2,-0x40(%rsp)
  seta   %r9b
  cmpq   $0x8,-0x50(%rsp)
  seta   -0x48(%rsp)
  and    -0x48(%rsp),%r9b
  test   %r9b,%r10b
  je     L552
  mov    %r11,%r9
  add    %rdx,%r9
  cmp    %r9,%rax
  setae  %r10b
  cmp    %r8,%rdx
  setae  %r9b
  or     %r10b,%r9b
  je     L552
  mov    -0x70(%rsp),%r11
  xor    %r9d,%r9d
  xchg   %ax,%ax
L607:
  movups (%rax,%r9,2),%xmm0
  movups 0x10(%rax,%r9,2),%xmm1
  movaps %xmm0,%xmm2
  shufps $0xdd,%xmm1,%xmm0
  shufps $0x88,%xmm1,%xmm2
  movups %xmm2,(%rdx,%r9,1)
  movups %xmm0,(%rcx,%r9,1)
  add    $0x10,%r9
  cmp    %r11,%r9
  jne    L607
  mov    -0x68(%rsp),%r9d
  mov    %r11,-0x70(%rsp)
  cmp    %ebp,%r9d
  je     L338
  mov    (%rsp),%r11d
  lea    (%rsi,%r11,1),%r10d
  mov    %r9d,%r11d
  add    %esi,%r9d
  movslq %r10d,%r10
  add    %r14d,%r9d
  movss  (%r15,%r10,4),%xmm0
  movslq %r9d,%r9
  movss  %xmm0,0x0(%r13,%r9,4)
  mov    %r11d,%r9d
  movss  0x4(%r15,%r10,4),%xmm0
  add    %edi,%r9d
  add    %r14d,%r9d
  movslq %r9d,%r9
  movss  %xmm0,0x0(%r13,%r9,4)
  mov    -0x3c(%rsp),%r9d
  cmp    %r9d,%ebp
  jle    L338
  mov    0x28(%rsp),%r11d
  lea    (%rsi,%r11,1),%r10d
  mov    %r9d,%r11d
  add    %esi,%r9d
  movslq %r10d,%r10
  add    %r14d,%r9d
  movss  (%r15,%r10,4),%xmm0
  movslq %r9d,%r9
  movss  %xmm0,0x0(%r13,%r9,4)
  mov    %r11d,%r9d
  movss  0x4(%r15,%r10,4),%xmm0
  add    %edi,%r9d
  add    %r14d,%r9d
  movslq %r9d,%r9
  movss  %xmm0,0x0(%r13,%r9,4)
  mov    -0x38(%rsp),%r9d
  cmp    %r9d,%ebp
  jle    L338
  mov    0x8(%rsp),%r11d
  lea    (%rsi,%r11,1),%r10d
  mov    %r9d,%r11d
  add    %esi,%r9d
  movslq %r10d,%r10
  add    %r14d,%r9d
  add    %r11d,%edi
  movss  (%r15,%r10,4),%xmm0
  movslq %r9d,%r9
  add    %r14d,%edi
  movslq %edi,%rdi
  movss  %xmm0,0x0(%r13,%r9,4)
  movss  0x4(%r15,%r10,4),%xmm0
  movss  %xmm0,0x0(%r13,%rdi,4)
L338:
  mov    -0x60(%rsp),%r9
  mov    -0x20(%rsp),%r10
  lea    0x1(%r12),%edi
  add    %r10,-0x50(%rsp)
  mov    -0x58(%rsp),%r10
  mov    -0x8(%rsp),%r11
  add    %r9,%r8
  add    %r11,-0x30(%rsp)
  add    %r9,%rax
  add    %r10,%rcx
  add    %r9,%rdx
  add    -0x64(%rsp),%esi
  add    %r10,%rbx
  cmp    %r12d,-0x78(%rsp)
  je     L344
  mov    %edi,%r12d
  jmp    L139
  cs nopw 0x0(%rax,%rax,1)
L552:
  mov    0x30(%rsp),%r11
  mov    -0x30(%rsp),%rdi
  mov    0x40(%rsp),%r10
  lea    (%rcx,%r11,1),%r9
  mov    -0x70(%rsp),%r11
  lea    (%r15,%rdi,4),%rdi
  nopl   0x0(%rax)
L642:
  movss  (%rdi),%xmm0
  add    $0x8,%rdi
  movss  %xmm0,(%r9,%r10,4)
  movss  -0x4(%rdi),%xmm0
  add    $0x4,%r9
  movss  %xmm0,-0x4(%r9)
  cmp    %rbx,%rdi
  jne    L642
  mov    %r11,-0x70(%rsp)
  jmp    L338
  nopl   0x0(%rax)
L220:
  mov    -0x38(%rsp),%rbx
  movslq %edi,%rdi
  add    (%rsp),%rbx
  xor    %esi,%esi
  mov    0x8(%rsp),%r12
  lea    (%r15,%rdi,4),%r11
  lea    0x0(%r13,%rbx,4),%rbx
  nopl   0x0(%rax)
L47:
  movss  (%r11,%rsi,4),%xmm0
  mov    %rsi,%rdi
  movss  %xmm0,(%rbx,%rsi,4)
  add    $0x1,%rsi
  cmp    %rdi,%r12
  jne    L47
  jmp    L267
  nopl   0x0(%rax)
L549:
  mov    -0x38(%rsp),%r8
  mov    0x18(%rsp),%r11
  mov    -0x70(%rsp),%r12
  lea    (%r15,%r8,4),%r8
  lea    (%rsi,%r11,1),%r10
  nopw   0x0(%rax,%rax,1)
L307:
  movss  (%r10,%r12,4),%xmm0
  add    $0x8,%r8
  add    $0x4,%r10
  movss  %xmm0,-0x8(%r8)
  movss  -0x4(%r10),%xmm0
  movss  %xmm0,-0x4(%r8)
  cmp    %r8,%rbx
  jne    L307
  mov    %r12,-0x70(%rsp)
  jmp    L103
  nop
L520:
  mov    0x8(%rsp),%rbx
  xor    %esi,%esi
  nopw   0x0(%rax,%rax,1)
L516:
  movss  (%r10,%rsi,4),%xmm0
  mov    %rsi,%rdi
  movss  %xmm0,(%r14,%rsi,4)
  add    $0x1,%rsi
  cmp    %rdi,%rbx
  jne    L516
  jmp    L64
```

assistant: ```c
void cswapc2n(float f[], float s[], int isign, int nxh, int nyi, int nyt, int nxhd, int nyd, int ndim) {
  int i, j, k, ioff, nk;
  if (isign < 0) {
    for (k = nyi - 1; k < nyt; k++) {
      nk = 2 * ndim * nxhd * k;
      for (j = 0; j < nxh; j++) {
        ioff = 2 * ndim * j;
        for (i = 0; i < ndim; i++) {
          s[2 * i + ioff] = f[i + ndim * (2 * j) + nk];
          s[2 * i + ioff + 1] = f[i + ndim * (2 * j + 1) + nk];
        }
      }
      for (j = 0; j < nxh; j++) {
        ioff = 2 * ndim * j;
        for (i = 0; i < ndim; i++) {
          f[i + ndim * (2 * j) + nk] = s[i + ioff];
        }
        ioff += ndim;
        for (i = 0; i < ndim; i++) {
          f[i + ndim * (2 * j + 1) + nk] = s[i + ioff];
        }
      }
    }
  } else if (isign > 0) {
    for (k = nyi - 1; k < nyt; k++) {
      nk = 2 * ndim * nxhd * k;
      for (j = 0; j < nxh; j++) {
        ioff = 2 * ndim * j;
        for (i = 0; i < ndim; i++) {
          s[i + ioff] = f[i + ndim * (2 * j) + nk];
        }
        ioff += ndim;
        for (i = 0; i < ndim; i++) {
          s[i + ioff] = f[i + ndim * (2 * j + 1) + nk];
        }
      }
      for (j = 0; j < nxh; j++) {
        ioff = 2 * ndim * j;
        for (i = 0; i < ndim; i++) {
          f[i + ndim * (2 * j) + nk] = s[2 * i + ioff];
          f[i + ndim * (2 * j + 1) + nk] = s[2 * i + ioff + 1];
        }
      }
    }
  }
  return;
}
```