user: Please show me the C implementation that matches the assembly code listed below:

```asm
<c_ccopy>:
  endbr64
  test   %edi,%edi
  jle    L230
  mov    %rsi,%rax
  mov    %edx,%esi
  mov    %rcx,%rdx
  cmp    $0x1,%esi
  jne    L7
  cmp    $0x1,%r8d
  jne    L7
  lea    0xf(%rax),%rcx
  add    %edi,%edi
  sub    %rdx,%rcx
  cmp    $0x1e,%rcx
  jbe    L184
  sub    $0x1,%edi
  mov    %edi,%r8d
  shr    %r8d
  add    $0x1,%r8d
  cmp    $0x1,%edi
  je     L117
  mov    %r8d,%esi
  xor    %ecx,%ecx
  shr    %esi
  shl    $0x4,%rsi
  nopl   0x0(%rax,%rax,1)
L141:
  movups (%rax,%rcx,1),%xmm1
  movups %xmm1,(%rdx,%rcx,1)
  add    $0x10,%rcx
  cmp    %rsi,%rcx
  jne    L141
  mov    %r8d,%ecx
  and    $0xfffffffe,%ecx
  and    $0x1,%r8d
  jne    L119
  ret
  nopw   0x0(%rax,%rax,1)
L7:
  test   %esi,%esi
  js     L46
  test   %r8d,%r8d
  js     L255
  lea    (%rsi,%rsi,1),%r11d
  lea    (%r8,%r8,1),%r10d
  cmp    $0x1,%r8d
  jne    L96
  cmp    $0x1,%esi
  jne    L96
  movslq %edi,%rcx
  lea    -0x4(,%rcx,8),%rcx
  lea    (%rax,%rcx,1),%rsi
  cmp    %rsi,%rdx
  ja     L44
  add    %rdx,%rcx
  cmp    %rcx,%rax
  jbe    L83
L44:
  cmp    $0x1,%edi
  je     L117
  mov    %edi,%r9d
  mov    %rax,%rsi
  mov    %rdx,%rcx
  xor    %r8d,%r8d
  shr    %r9d
L92:
  movq   (%rsi),%xmm0
  add    $0x1,%r8d
  add    $0x10,%rsi
  add    $0x10,%rcx
  movhps -0x8(%rsi),%xmm0
  movq   %xmm0,-0x10(%rcx)
  movhps %xmm0,-0x8(%rcx)
  cmp    %r8d,%r9d
  jne    L92
  mov    %edi,%ecx
  and    $0xfffffffe,%ecx
  and    $0x1,%edi
  je     L11
L119:
  mov    (%rax,%rcx,8),%rax
  mov    %rax,(%rdx,%rcx,8)
  ret
  nopl   (%rax)
L11:
  ret
  nopl   0x0(%rax)
L83:
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L228:
  movss  (%rax),%xmm0
  add    $0x1,%ecx
  add    $0x8,%rax
  add    $0x8,%rdx
  movss  %xmm0,-0x8(%rdx)
  movss  -0x4(%rax),%xmm0
  movss  %xmm0,-0x4(%rdx)
  cmp    %ecx,%edi
  jne    L228
  ret
  nopl   0x0(%rax,%rax,1)
L117:
  xor    %ecx,%ecx
  jmp    L119
  nopl   0x0(%rax)
L46:
  mov    $0x1,%ecx
  sub    %edi,%ecx
  imul   %esi,%ecx
  lea    (%rcx,%rcx,1),%r9d
  test   %r8d,%r8d
  jns    L211
L269:
  mov    $0x1,%ecx
  lea    (%rsi,%rsi,1),%r11d
  lea    (%r8,%r8,1),%r10d
  sub    %edi,%ecx
  imul   %r8d,%ecx
  add    %ecx,%ecx
L245:
  push   %r15
  movslq %edi,%r8
  movslq %ecx,%rcx
  mov    $0x4,%r15d
  push   %r14
  sub    $0x1,%r8
  push   %r13
  movslq %r10d,%r13
  push   %r12
  lea    0x0(,%r13,4),%r12
  push   %rbp
  push   %rbx
  movslq %r9d,%rbx
  lea    0x0(,%rbx,4),%rsi
  mov    %rbx,-0x18(%rsp)
  movslq %r11d,%rbx
  mov    %rbx,%r9
  mov    %rcx,-0x10(%rsp)
  shl    $0x2,%rcx
  imul   %r8,%r9
  imul   %r13,%r8
  lea    0x4(,%r9,4),%r14
  shl    $0x2,%r8
  test   %r10d,%r10d
  mov    %r14,-0x20(%rsp)
  lea    0x4(%r8),%rbp
  cmovs  %r15,%rbp
  xor    %r14d,%r14d
  shl    $0x2,%r9
  add    %rcx,%rbp
  add    %rdx,%rbp
  test   %r11d,%r11d
  cmovns %r14,%r9
  add    %rsi,%r9
  add    %rax,%r9
  cmp    %r9,%rbp
  setb   %r9b
  test   %r11d,%r11d
  mov    -0x20(%rsp),%r11
  cmovs  %r15,%r11
  add    %rsi,%r11
  add    %rax,%r11
  test   %r10d,%r10d
  cmovns %r14,%r8
  add    %rcx,%r8
  add    %rdx,%r8
  cmp    %r8,%r11
  setb   %r8b
  or     %r9b,%r8b
  je     L55
  lea    0x7(%r12),%r8
  cmp    $0xe,%r8
  jbe    L55
  cmp    $0x1,%edi
  je     L248
  mov    %edi,%r11d
  lea    0x0(,%rbx,8),%r10
  add    %rax,%rsi
  xor    %ebp,%ebp
  shr    %r11d
  lea    0x0(,%rbx,4),%r9
  lea    0x0(,%r13,8),%r8
  add    %rdx,%rcx
  nopw   0x0(%rax,%rax,1)
L253:
  movq   (%rsi),%xmm0
  add    $0x1,%ebp
  movhps (%rsi,%r9,1),%xmm0
  add    %r10,%rsi
  movq   %xmm0,(%rcx)
  movhps %xmm0,(%rcx,%r12,1)
  add    %r8,%rcx
  cmp    %r11d,%ebp
  jne    L253
  mov    %edi,%ecx
  and    $0xfffffffe,%ecx
  and    $0x1,%edi
  je     L301
L0:
  imul   %rcx,%rbx
  mov    -0x18(%rsp),%rsi
  imul   %rcx,%r13
  add    %rbx,%rsi
  mov    (%rax,%rsi,4),%rsi
  mov    -0x10(%rsp),%rax
  add    %r13,%rax
  mov    %rsi,(%rdx,%rax,4)
L301:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L184:
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L287:
  movss  (%rax,%rcx,4),%xmm0
  movss  %xmm0,(%rdx,%rcx,4)
  movss  0x4(%rax,%rcx,4),%xmm0
  movss  %xmm0,0x4(%rdx,%rcx,4)
  add    $0x2,%rcx
  cmp    %ecx,%edi
  jg     L287
  ret
L55:
  add    %rax,%rsi
  shl    $0x2,%rbx
  add    %rdx,%rcx
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L109:
  movss  (%rsi),%xmm0
  add    $0x1,%eax
  movss  %xmm0,(%rcx)
  movss  0x4(%rsi),%xmm0
  add    %rbx,%rsi
  movss  %xmm0,0x4(%rcx)
  add    %r12,%rcx
  cmp    %eax,%edi
  jne    L109
  jmp    L301
L248:
  xor    %ecx,%ecx
  jmp    L0
L211:
  lea    (%rsi,%rsi,1),%r11d
  lea    (%r8,%r8,1),%r10d
  xor    %ecx,%ecx
  jmp    L245
L255:
  xor    %r9d,%r9d
  jmp    L269
L96:
  xor    %r9d,%r9d
  xor    %ecx,%ecx
  jmp    L245
L230:
  ret
```

assistant: ```c
void c_ccopy(const int N, const void *X, const int strideX, void *Y, const int strideY) {
  float *x = (float *)X;
  float *y = (float *)Y;
  int ix;
  int iy;
  int i;
  if (N <= 0) {
    return;
  }
  if (strideX == 1 && strideY == 1) {
    for (i = 0; i < N * 2; i += 2) {
      y[i] = x[i];
      y[i + 1] = x[i + 1];
    }
    return;
  }
  if (strideX < 0) {
    ix = 2 * (1 - N) * strideX;
  } else {
    ix = 0;
  }
  if (strideY < 0) {
    iy = 2 * (1 - N) * strideY;
  } else {
    iy = 0;
  }
  for (i = 0; i < N; i++) {
    y[iy] = x[ix];
    y[iy + 1] = x[ix + 1];
    ix += strideX * 2;
    iy += strideY * 2;
  }
  return;
}
```