user: 下面的汇编指令对应的C源代码是什么:

```asm
<mesh_memcpy>:
  endbr64
  push   %r15
  mov    %rdi,%rax
  push   %r14
  xor    %rsi,%rax
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,0x8(%rsp)
  mov    %rsi,0x10(%rsp)
  test   $0x3,%al
  jne    L219
  test   %rdx,%rdx
  jne    L20
L130:
  mov    %rdi,%rbx
  mov    %r13,%r15
  mov    $0x1,%edi
  mov    %rbx,%r14
L51:
  call   <assert@plt>
  xor    %edi,%edi
  cmp    %rbx,%r14
  sete   %dil
  call   <assert@plt>
  mov    0x10(%rsp),%r13
  xor    %edi,%edi
  add    %r12,%r13
  cmp    %r15,%r13
  sete   %dil
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <assert@plt>
  nopw   0x0(%rax,%rax,1)
L219:
  test   $0x1,%al
  je     L274
  test   %rdx,%rdx
  je     L130
  lea    (%rdx,%rdi,1),%r14
  mov    %rdi,%rbp
  mov    %rsi,%r15
  mov    %r14,%rbx
  nopw   0x0(%rax,%rax,1)
L108:
  mov    %r15,%rsi
  mov    %rbp,%rdi
  mov    $0x1,%edx
  add    $0x1,%rbp
  call   <mesh_write@plt>
  add    $0x4,%r15
  cmp    %r14,%rbp
  jne    L108
  lea    0x0(%r13,%r12,4),%r15
  mov    $0x1,%edi
  jmp    L51
  nopl   0x0(%rax)
L20:
  mov    %rdi,%rbx
  and    $0x1,%edi
  mov    %rdx,%rbp
  jne    L314
L62:
  test   $0x2,%bl
  jne    L302
L153:
  mov    %rbp,%r14
  and    $0xfffffffffffffffc,%r14
  je     L66
  mov    %r14,%r15
  jmp    L310
  cs nopw 0x0(%rax,%rax,1)
L1:
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    $0x8,%edx
  sub    $0x8,%r15
  call   <mesh_write@plt>
  mov    %r14,%rax
  add    $0x8,%rbx
  add    $0x20,%r13
  sub    %r15,%rax
  sub    $0x8,%rbp
  cmp    %rax,%r14
  jbe    L66
L310:
  cmp    $0x7,%r15
  ja     L1
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    $0x4,%edx
  sub    $0x8,%r15
  call   <mesh_write@plt>
  mov    %r14,%rax
  add    $0x4,%rbx
  add    $0x10,%r13
  sub    %r15,%rax
  sub    $0x4,%rbp
  cmp    %rax,%r14
  ja     L310
L66:
  cmp    $0x2,%rbp
  je     L213
  cmp    $0x3,%rbp
  je     L100
  cmp    $0x1,%rbp
  je     L248
  mov    0x8(%rsp),%rax
  xor    %edi,%edi
  test   %rbp,%rbp
  mov    %r13,%r15
  sete   %dil
  lea    (%r12,%rax,1),%r14
  jmp    L51
  nopl   0x0(%rax)
L274:
  test   %rdx,%rdx
  je     L130
  mov    %rdi,%rbx
  testb  $0x1,0x8(%rsp)
  jne    L218
  mov    %rdx,%rbp
  cmp    $0x1,%rdx
  je     L248
L260:
  lea    0x0(%rbp,%rbx,1),%rax
  mov    %r13,%r14
  mov    %rbx,%r15
  mov    %rax,0x18(%rsp)
  nopl   0x0(%rax,%rax,1)
L191:
  mov    %r14,%rsi
  mov    %r15,%rdi
  mov    $0x2,%edx
  add    $0x2,%r15
  call   <mesh_write@plt>
  mov    0x18(%rsp),%rax
  add    $0x8,%r14
  sub    %r15,%rax
  cmp    $0x1,%rax
  ja     L191
  lea    -0x2(%rbp),%r15
  mov    %rbp,%rax
  mov    %r15,%rdx
  shr    %r15
  and    $0x1,%eax
  and    $0xfffffffffffffffe,%rdx
  lea    0x8(%r13,%r15,8),%r13
  lea    0x2(%rbx,%rdx,1),%rbx
L212:
  test   %rax,%rax
  je     L259
  nopl   (%rax)
L248:
  mov    %rbx,%rdi
  mov    $0x1,%edx
  mov    %r13,%rsi
  add    $0x1,%rbx
  call   <mesh_write@plt>
  mov    0x8(%rsp),%rax
  lea    0x4(%r13),%r15
  mov    $0x1,%edi
  lea    (%r12,%rax,1),%r14
  jmp    L51
  nopl   0x0(%rax,%rax,1)
L302:
  cmp    $0x1,%rbp
  jbe    L88
  mov    0x0(%r13),%eax
  add    $0x2,%rbx
  add    $0x8,%r13
  sub    $0x2,%rbp
  mov    %eax,-0x2(%rbx)
  jmp    L153
  nopw   0x0(%rax,%rax,1)
L314:
  mov    %rbx,%rdi
  mov    $0x1,%edx
  lea    0x1(%rbx),%rbx
  add    $0x4,%r13
  call   <mesh_write@plt>
  lea    -0x1(%r12),%rbp
  jmp    L62
  nopw   0x0(%rax,%rax,1)
L100:
  mov    %r13,%rsi
  mov    %rbx,%rdi
  mov    $0x2,%edx
  add    $0x2,%rbx
  call   <mesh_write@plt>
  add    $0x8,%r13
  jmp    L248
  nopl   (%rax)
L213:
  mov    %rbx,%rdi
  mov    $0x2,%edx
  mov    %r13,%rsi
  add    $0x2,%rbx
  call   <mesh_write@plt>
  mov    0x8(%rsp),%rax
  lea    0x8(%r13),%r15
  mov    $0x1,%edi
  lea    (%r12,%rax,1),%r14
  jmp    L51
L88:
  je     L248
L259:
  mov    0x8(%rsp),%rax
  mov    %r13,%r15
  mov    $0x1,%edi
  lea    (%r12,%rax,1),%r14
  jmp    L51
L218:
  mov    $0x1,%edx
  lea    -0x1(%r12),%rbp
  lea    0x1(%rbx),%rbx
  add    $0x4,%r13
  call   <mesh_write@plt>
  cmp    $0x1,%rbp
  ja     L260
  mov    %rbp,%rax
  jmp    L212
```

assistant: ```c
void mesh_memcpy(uintptr_t dst, const void *__restrict__ src, size_t size) {
  size_t n, aligned_n, i;
  uintptr_t d;
  const uint8_t *s;
  n = size;
  d = dst;
  s = (const uint8_t *)src;
  if (!(((uintptr_t)d ^ (uintptr_t)s) & 3)) {
    if (n && (((uintptr_t)d) & 1)) {
      mesh_write(d, s, 1);
      d++;
      s++;
      n--;
    }
    if (((uintptr_t)d) & 2) {
      if (n > 1) {
        *((uint16_t *)d) = *((const uint16_t *)s);
        d += 2;
        s += 2;
        n -= 2;
      } else if (n == 1) {
        mesh_write(d, s, 1);
        d++;
        s++;
        n--;
      }
    }
    aligned_n = n & (~3);
    for (i = 0; i < aligned_n;) {
      if (aligned_n - i >= 8) {
        mesh_write(d, s, 8);
        d += 8, s += 8, n -= 8, i += 8;
      } else {
        mesh_write(d, s, 4);
        d += 4, s += 4, n -= 4, i += 8;
      }
    }
    switch (n) {
    case 2:
      mesh_write(d, s, 2);
      d += 2;
      s += 2;
      n -= 2;
      break;
    case 3:
      mesh_write(d, s, 2);
      d += 2;
      s += 2;
      n -= 2;
    case 1:
      mesh_write(d, s, 1);
      d++;
      s++;
      n--;
    }
  } else if (!(((uintptr_t)d ^ (uintptr_t)s) & 1)) {
    if (n && ((uintptr_t)d) & 1) {
      mesh_write(d, s, 1);
      d++;
      s++;
      n--;
    }
    while (n > 1) {
      mesh_write(d, s, 2);
      d += 2;
      s += 2;
      n -= 2;
    }
    if (n) {
      mesh_write(d, s, 1);
      d++;
      s++;
      n--;
    }
  } else {
    while (n) {
      mesh_write(d, s, 1);
      d++;
      s++;
      n--;
    }
  }
  assert(n == 0);
  assert((uintptr_t)dst + size == (uintptr_t)d);
  assert((uintptr_t)src + size == (uintptr_t)s);
}
```