user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<memcpy_cached_store_sse>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  add    $0xffffffffffffff80,%rsp
  mov    %rdi,-0x68(%rbp)
  mov    %rsi,-0x70(%rbp)
  mov    %rdx,-0x78(%rbp)
  movl   $0x0,-0x54(%rbp)
  mov    -0x68(%rbp),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x30(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x70(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x78(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x10(%rbp),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L108
  mov    -0x10(%rbp),%rax
  and    $0xf,%eax
  mov    $0x10,%edx
  sub    %rax,%rdx
  mov    -0x18(%rbp),%rax
  cmp    %rdx,%rax
  cmova  %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rdx
  mov    -0x28(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x8(%rbp),%rax
  add    %rax,-0x30(%rbp)
  mov    -0x8(%rbp),%rax
  add    %rax,-0x10(%rbp)
  mov    -0x8(%rbp),%rax
  add    %rax,-0x28(%rbp)
  mov    -0x8(%rbp),%rax
  add    %rax,-0x20(%rbp)
  mov    -0x8(%rbp),%rax
  sub    %rax,-0x18(%rbp)
L108:
  mov    -0x20(%rbp),%rax
  and    $0xf,%eax
  test   %rax,%rax
  je     L13
  jmp    L61
L21:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,-0x40(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,-0x3c(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x20,%rax
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,-0x38(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x30,%rax
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,-0x34(%rbp)
  mov    -0x40(%rbp),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <_mm_store_ps@plt>
  mov    -0x30(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x3c(%rbp),%eax
  mov    %eax,%esi
  mov    %rdx,%rdi
  call   <_mm_store_ps@plt>
  mov    -0x30(%rbp),%rax
  lea    0x20(%rax),%rdx
  mov    -0x38(%rbp),%eax
  mov    %eax,%esi
  mov    %rdx,%rdi
  call   <_mm_store_ps@plt>
  mov    -0x30(%rbp),%rax
  lea    0x30(%rax),%rdx
  mov    -0x34(%rbp),%eax
  mov    %eax,%esi
  mov    %rdx,%rdi
  call   <_mm_store_ps@plt>
  addq   $0x40,-0x28(%rbp)
  addq   $0x40,-0x30(%rbp)
  subq   $0x40,-0x18(%rbp)
L61:
  cmpq   $0x3f,-0x18(%rbp)
  ja     L21
  jmp    L4
L76:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,-0x40(%rbp)
  mov    -0x40(%rbp),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <_mm_store_ps@plt>
  addq   $0x10,-0x28(%rbp)
  addq   $0x10,-0x30(%rbp)
  subq   $0x10,-0x18(%rbp)
L4:
  cmpq   $0xf,-0x18(%rbp)
  ja     L76
  jmp    L29
L46:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,-0x50(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mov    %rax,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,-0x4c(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x20,%rax
  mov    %rax,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,-0x48(%rbp)
  mov    -0x28(%rbp),%rax
  add    $0x30,%rax
  mov    %rax,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,-0x44(%rbp)
  mov    -0x50(%rbp),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <_mm_store_ps@plt>
  mov    -0x30(%rbp),%rax
  lea    0x10(%rax),%rdx
  mov    -0x4c(%rbp),%eax
  mov    %eax,%esi
  mov    %rdx,%rdi
  call   <_mm_store_ps@plt>
  mov    -0x30(%rbp),%rax
  lea    0x20(%rax),%rdx
  mov    -0x48(%rbp),%eax
  mov    %eax,%esi
  mov    %rdx,%rdi
  call   <_mm_store_ps@plt>
  mov    -0x30(%rbp),%rax
  lea    0x30(%rax),%rdx
  mov    -0x44(%rbp),%eax
  mov    %eax,%esi
  mov    %rdx,%rdi
  call   <_mm_store_ps@plt>
  addq   $0x40,-0x28(%rbp)
  addq   $0x40,-0x30(%rbp)
  subq   $0x40,-0x18(%rbp)
L13:
  cmpq   $0x3f,-0x18(%rbp)
  ja     L46
  jmp    L88
L2:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,-0x50(%rbp)
  mov    -0x50(%rbp),%edx
  mov    -0x30(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <_mm_store_ps@plt>
  addq   $0x10,-0x28(%rbp)
  addq   $0x10,-0x30(%rbp)
  subq   $0x10,-0x18(%rbp)
L88:
  cmpq   $0xf,-0x18(%rbp)
  ja     L2
L29:
  cmpq   $0x0,-0x18(%rbp)
  je     L44
  mov    -0x18(%rbp),%rdx
  mov    -0x28(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
L44:
  mov    $0x0,%eax
  call   <_mm_sfence@plt>
  mov    -0x54(%rbp),%eax
  leave
  ret
```

assistant: ```c
int memcpy_cached_store_sse(void *dest, const void *src, size_t n_bytes) {
  int ret = 0;
  char *d = (char *)dest;
  uintptr_t d_int = (uintptr_t)d;
  const char *s = (const char *)src;
  uintptr_t s_int = (uintptr_t)s;
  size_t n = n_bytes;
  if (d_int & 0xf) {
    size_t nh = ((0x10 - (d_int & 0x0f)) < (n) ? (0x10 - (d_int & 0x0f)) : (n));
    memcpy(d, s, nh);
    d += nh;
    d_int += nh;
    s += nh;
    s_int += nh;
    n -= nh;
  }
  if (s_int & 0xf) {
    __m128 r0, r1, r2, r3;
    while (n >= 4 * 4 * sizeof(float)) {
      r0 = _mm_loadu_ps((float *)(s + 0 * 4 * sizeof(float)));
      r1 = _mm_loadu_ps((float *)(s + 1 * 4 * sizeof(float)));
      r2 = _mm_loadu_ps((float *)(s + 2 * 4 * sizeof(float)));
      r3 = _mm_loadu_ps((float *)(s + 3 * 4 * sizeof(float)));
      _mm_store_ps((float *)(d + 0 * 4 * sizeof(float)), r0);
      _mm_store_ps((float *)(d + 1 * 4 * sizeof(float)), r1);
      _mm_store_ps((float *)(d + 2 * 4 * sizeof(float)), r2);
      _mm_store_ps((float *)(d + 3 * 4 * sizeof(float)), r3);
      s += 4 * 4 * sizeof(float);
      d += 4 * 4 * sizeof(float);
      n -= 4 * 4 * sizeof(float);
    }
    while (n >= 4 * sizeof(float)) {
      r0 = _mm_loadu_ps((float *)(s));
      _mm_store_ps((float *)(d), r0);
      s += 4 * sizeof(float);
      d += 4 * sizeof(float);
      n -= 4 * sizeof(float);
    }
  } else {
    __m128 r0, r1, r2, r3;
    while (n >= 4 * 4 * sizeof(float)) {
      r0 = _mm_load_ps((float *)(s + 0 * 4 * sizeof(float)));
      r1 = _mm_load_ps((float *)(s + 1 * 4 * sizeof(float)));
      r2 = _mm_load_ps((float *)(s + 2 * 4 * sizeof(float)));
      r3 = _mm_load_ps((float *)(s + 3 * 4 * sizeof(float)));
      _mm_store_ps((float *)(d + 0 * 4 * sizeof(float)), r0);
      _mm_store_ps((float *)(d + 1 * 4 * sizeof(float)), r1);
      _mm_store_ps((float *)(d + 2 * 4 * sizeof(float)), r2);
      _mm_store_ps((float *)(d + 3 * 4 * sizeof(float)), r3);
      s += 4 * 4 * sizeof(float);
      d += 4 * 4 * sizeof(float);
      n -= 4 * 4 * sizeof(float);
    }
    while (n >= 4 * sizeof(float)) {
      r0 = _mm_load_ps((float *)(s));
      _mm_store_ps((float *)(d), r0);
      s += 4 * sizeof(float);
      d += 4 * sizeof(float);
      n -= 4 * sizeof(float);
    }
  }
  if (n)
    memcpy(d, s, n);
  _mm_sfence();
  return ret;
}
```