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

```asm
<memcpy_cached_store_sse>:
  endbr64
  push   %r15
  mov    %rdi,%rax
  push   %r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x28,%rsp
  mov    %rsi,0x10(%rsp)
  and    $0xf,%eax
  jne    L91
L4:
  and    $0xf,%r13d
  jne    L140
  mov    %rbx,%r13
  cmp    $0x3f,%r12
  jbe    L98
  lea    -0x40(%r12),%rax
  mov    0x10(%rsp),%rbp
  and    $0xffffffffffffffc0,%rax
  add    $0x40,%rax
  mov    %rax,0x18(%rsp)
  lea    (%rbx,%rax,1),%r13
  xchg   %ax,%ax
L42:
  mov    %rbp,%rdi
  call   <_mm_load_ps@plt>
  lea    0x10(%rbp),%rdi
  mov    %eax,0xc(%rsp)
  call   <_mm_load_ps@plt>
  lea    0x20(%rbp),%rdi
  mov    %eax,0x8(%rsp)
  call   <_mm_load_ps@plt>
  lea    0x30(%rbp),%rdi
  add    $0x40,%rbp
  mov    %eax,%r14d
  call   <_mm_load_ps@plt>
  mov    0xc(%rsp),%esi
  mov    %rbx,%rdi
  mov    %eax,%r15d
  call   <_mm_store_ps@plt>
  mov    0x8(%rsp),%esi
  lea    0x10(%rbx),%rdi
  call   <_mm_store_ps@plt>
  lea    0x20(%rbx),%rdi
  mov    %r14d,%esi
  call   <_mm_store_ps@plt>
  lea    0x30(%rbx),%rdi
  mov    %r15d,%esi
  add    $0x40,%rbx
  call   <_mm_store_ps@plt>
  cmp    %r13,%rbx
  jne    L42
  mov    0x18(%rsp),%rcx
  add    %rcx,0x10(%rsp)
  and    $0x3f,%r12d
L98:
  cmp    $0xf,%r12
  jbe    L57
  mov    0x10(%rsp),%rax
  mov    %r12,%rbx
  lea    0x0(%r13,%r12,1),%rbp
  lea    (%rax,%r12,1),%r15
L74:
  mov    %r15,%rdi
  sub    %rbx,%rdi
  call   <_mm_load_ps@plt>
  mov    %rbp,%rdi
  sub    %rbx,%rdi
  mov    %eax,%esi
  sub    $0x10,%rbx
  call   <_mm_store_ps@plt>
  cmp    $0xf,%rbx
  ja     L74
L135:
  lea    -0x10(%r12),%rax
  and    $0xf,%r12d
  and    $0xfffffffffffffff0,%rax
  add    $0x10,%rax
  add    %rax,0x10(%rsp)
  add    %rax,%r13
L57:
  test   %r12,%r12
  jne    L100
L96:
  xor    %eax,%eax
  call   <_mm_sfence@plt>
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L140:
  cmp    $0x3f,%r12
  jbe    L103
  lea    -0x40(%r12),%rax
  mov    0x10(%rsp),%rbp
  and    $0xffffffffffffffc0,%rax
  add    $0x40,%rax
  mov    %rax,0x18(%rsp)
  lea    (%rbx,%rax,1),%r13
  nopl   (%rax)
L21:
  mov    %rbp,%rdi
  call   <_mm_loadu_ps@plt>
  lea    0x10(%rbp),%rdi
  mov    %eax,0xc(%rsp)
  call   <_mm_loadu_ps@plt>
  lea    0x20(%rbp),%rdi
  mov    %eax,0x8(%rsp)
  call   <_mm_loadu_ps@plt>
  lea    0x30(%rbp),%rdi
  add    $0x40,%rbp
  mov    %eax,%r15d
  call   <_mm_loadu_ps@plt>
  mov    0xc(%rsp),%esi
  mov    %rbx,%rdi
  mov    %eax,%r14d
  call   <_mm_store_ps@plt>
  mov    0x8(%rsp),%esi
  lea    0x10(%rbx),%rdi
  call   <_mm_store_ps@plt>
  lea    0x20(%rbx),%rdi
  mov    %r15d,%esi
  call   <_mm_store_ps@plt>
  lea    0x30(%rbx),%rdi
  mov    %r14d,%esi
  add    $0x40,%rbx
  call   <_mm_store_ps@plt>
  cmp    %r13,%rbx
  jne    L21
  mov    0x18(%rsp),%rcx
  add    %rcx,0x10(%rsp)
  and    $0x3f,%r12d
L20:
  cmp    $0xf,%r12
  jbe    L57
  mov    0x10(%rsp),%rax
  mov    %r12,%rbx
  lea    0x0(%r13,%r12,1),%rbp
  lea    (%rax,%r12,1),%r15
L79:
  mov    %r15,%rdi
  sub    %rbx,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %rbp,%rdi
  sub    %rbx,%rdi
  mov    %eax,%esi
  sub    $0x10,%rbx
  call   <_mm_store_ps@plt>
  cmp    $0xf,%rbx
  ja     L79
  jmp    L135
  nopw   0x0(%rax,%rax,1)
L100:
  mov    0x10(%rsp),%rsi
  mov    %r12,%rdx
  mov    %r13,%rdi
  call   <memcpy@plt>
  jmp    L96
  nopl   (%rax)
L91:
  mov    $0x10,%ebp
  sub    %rax,%rbp
  cmp    %rdx,%rbp
  cmova  %rdx,%rbp
  mov    %rbp,%rdx
  add    %rbp,%rbx
  sub    %rbp,%r12
  call   <memcpy@plt>
  mov    %r13,%rax
  add    %rbp,%rax
  mov    %rax,0x10(%rsp)
  mov    %rax,%r13
  jmp    L4
  nopl   0x0(%rax,%rax,1)
L103:
  mov    %rbx,%r13
  jmp    L20
```

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;
}
```