user: What would the C source look like for the assembly code provided here?

```asm
<memcpy_cached_store_sse>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%r15
  mov    %rdx,%r12
  mov    %rsi,%r13
  mov    %rdi,%rax
  and    $0xf,%eax
  jne    L133
L22:
  test   $0xf,%r13b
  jne    L134
  mov    %rbx,%r14
  cmp    $0x3f,%r12
  jbe    L107
  lea    -0x40(%r12),%rax
  and    $0xffffffffffffffc0,%rax
  lea    0x40(%rax),%rax
  mov    %rax,0x18(%rsp)
  lea    (%rbx,%rax,1),%r14
  mov    %r15,%rbp
L124:
  mov    %rbp,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,%r13d
  lea    0x10(%rbp),%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,0xc(%rsp)
  lea    0x20(%rbp),%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,0x10(%rsp)
  lea    0x30(%rbp),%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,0x14(%rsp)
  mov    %r13d,%esi
  mov    %rbx,%rdi
  call   <_mm_store_ps@plt>
  lea    0x10(%rbx),%rdi
  mov    0xc(%rsp),%esi
  call   <_mm_store_ps@plt>
  lea    0x20(%rbx),%rdi
  mov    0x10(%rsp),%esi
  call   <_mm_store_ps@plt>
  lea    0x30(%rbx),%rdi
  mov    0x14(%rsp),%esi
  call   <_mm_store_ps@plt>
  add    $0x40,%rbp
  add    $0x40,%rbx
  cmp    %r14,%rbx
  jne    L124
  add    0x18(%rsp),%r15
  and    $0x3f,%r12d
L107:
  cmp    $0xf,%r12
  jbe    L126
  mov    %r12,%rbx
  lea    (%r15,%r12,1),%rbp
L128:
  mov    %rbp,%rdi
  sub    %rbx,%rdi
  call   <_mm_load_ps@plt>
  mov    %eax,%esi
  lea    (%r14,%r12,1),%rdi
  sub    %rbx,%rdi
  call   <_mm_store_ps@plt>
  sub    $0x10,%rbx
  cmp    $0xf,%rbx
  ja     L128
  lea    -0x10(%r12),%rax
  and    $0xfffffffffffffff0,%rax
  lea    0x10(%rax),%rax
  add    %rax,%r15
  add    %rax,%r14
  and    $0xf,%r12d
  jmp    L126
L133:
  mov    $0x10,%ebp
  sub    %rax,%rbp
  cmp    %rdx,%rbp
  cmova  %rdx,%rbp
  mov    %rbp,%rdx
  call   <memcpy@plt>
  add    %rbp,%rbx
  add    %rbp,%r15
  mov    %r15,%r13
  sub    %rbp,%r12
  jmp    L22
L134:
  cmp    $0x3f,%r12
  jbe    L17
  lea    -0x40(%r12),%rax
  and    $0xffffffffffffffc0,%rax
  lea    0x40(%rax),%rax
  mov    %rax,0x18(%rsp)
  lea    (%rbx,%rax,1),%r14
  mov    %r15,%rbp
L45:
  mov    %rbp,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,%r13d
  lea    0x10(%rbp),%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0xc(%rsp)
  lea    0x20(%rbp),%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0x10(%rsp)
  lea    0x30(%rbp),%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,0x14(%rsp)
  mov    %r13d,%esi
  mov    %rbx,%rdi
  call   <_mm_store_ps@plt>
  lea    0x10(%rbx),%rdi
  mov    0xc(%rsp),%esi
  call   <_mm_store_ps@plt>
  lea    0x20(%rbx),%rdi
  mov    0x10(%rsp),%esi
  call   <_mm_store_ps@plt>
  lea    0x30(%rbx),%rdi
  mov    0x14(%rsp),%esi
  call   <_mm_store_ps@plt>
  add    $0x40,%rbp
  add    $0x40,%rbx
  cmp    %r14,%rbx
  jne    L45
  add    0x18(%rsp),%r15
  and    $0x3f,%r12d
L74:
  cmp    $0xf,%r12
  jbe    L126
  mov    %r12,%rbx
  lea    (%r15,%r12,1),%rbp
L101:
  mov    %rbp,%rdi
  sub    %rbx,%rdi
  call   <_mm_loadu_ps@plt>
  mov    %eax,%esi
  lea    (%r14,%r12,1),%rdi
  sub    %rbx,%rdi
  call   <_mm_store_ps@plt>
  sub    $0x10,%rbx
  cmp    $0xf,%rbx
  ja     L101
  lea    -0x10(%r12),%rax
  and    $0xfffffffffffffff0,%rax
  lea    0x10(%rax),%rax
  add    %rax,%r15
  add    %rax,%r14
  and    $0xf,%r12d
L126:
  test   %r12,%r12
  jne    L52
L140:
  mov    $0x0,%eax
  call   <_mm_sfence@plt>
  mov    $0x0,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L17:
  mov    %rbx,%r14
  jmp    L74
L52:
  mov    %r12,%rdx
  mov    %r15,%rsi
  mov    %r14,%rdi
  call   <memcpy@plt>
  jmp    L140
```

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