user: Demonstrate the C code that generates the assembly output below:

```asm
<__aeabi_memset>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x34(%rbp),%eax
  and    $0xff,%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L118
L90:
  mov    -0x30(%rbp),%rax
  lea    -0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  test   %rax,%rax
  je     L97
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    -0x34(%rbp),%edx
  mov    %dl,(%rax)
L118:
  mov    -0x18(%rbp),%rax
  and    $0x7,%eax
  test   %rax,%rax
  jne    L90
  cmpq   $0x7,-0x30(%rbp)
  jbe    L31
  mov    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x1c(%rbp),%eax
  shl    $0x8,%eax
  or     -0x1c(%rbp),%eax
  mov    %eax,%eax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  shl    $0x10,%rax
  or     %rax,-0x10(%rbp)
  movl   $0x20,-0x20(%rbp)
  jmp    L65
L87:
  mov    -0x20(%rbp),%eax
  mov    -0x10(%rbp),%rdx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    %rdx,%rax
  or     %rax,-0x10(%rbp)
  shll   -0x20(%rbp)
L65:
  mov    -0x20(%rbp),%eax
  cmp    $0x3f,%eax
  jbe    L87
  jmp    L108
L43:
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    %rdx,(%rax)
  subq   $0x20,-0x30(%rbp)
L108:
  cmpq   $0x1f,-0x30(%rbp)
  ja     L43
  jmp    L99
L114:
  mov    -0x8(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x8(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    %rdx,(%rax)
  subq   $0x8,-0x30(%rbp)
L99:
  cmpq   $0x7,-0x30(%rbp)
  ja     L114
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  jmp    L31
L32:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  mov    -0x34(%rbp),%edx
  mov    %dl,(%rax)
L31:
  mov    -0x30(%rbp),%rax
  lea    -0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  test   %rax,%rax
  jne    L32
  jmp    L69
L97:
  nop
L69:
  pop    %rbp
  ret
```

assistant: ```c
void __aeabi_memset(void *m, unsigned long n, int c) {
  char *s = (char *)m;
  int i;
  unsigned long buffer;
  unsigned long *aligned_addr;
  unsigned int d = c & 0xff;
  while (((long)s & ((sizeof(long)) - 1))) {
    if (n--)
      *s++ = (char)c;
    else
      return;
  }
  if (!((n) < (sizeof(long)))) {
    aligned_addr = (unsigned long *)s;
    buffer = (d << 8) | d;
    buffer |= (buffer << 16);
    for (i = 32; i < (sizeof(long)) * 8; i <<= 1)
      buffer = (buffer << i) | buffer;
    while (n >= (sizeof(long)) * 4) {
      *aligned_addr++ = buffer;
      *aligned_addr++ = buffer;
      *aligned_addr++ = buffer;
      *aligned_addr++ = buffer;
      n -= 4 * (sizeof(long));
    }
    while (n >= (sizeof(long))) {
      *aligned_addr++ = buffer;
      n -= (sizeof(long));
    }
    s = (char *)aligned_addr;
  }
  while (n--)
    *s++ = (char)c;
}
```