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

```asm
<namegen>:
  endbr64
  push   %r15
  add    %rdi,%rsi
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x248,%rsp
  mov    %rdi,0x28(%rsp)
  mov    %rcx,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x238(%rsp)
  xor    %eax,%eax
  movzbl (%rdx),%eax
  mov    %rsi,(%rsp)
  movq   $0x1,0x130(%rsp)
  mov    %rdi,0x30(%rsp)
  test   %al,%al
  je     L90
  mov    %rdi,%r10
  mov    %rdx,%rbp
  xor    %r12d,%r12d
  xor    %r15d,%r15d
  xor    %r13d,%r13d
  xor    %r8d,%r8d
  xor    %ebx,%ebx
  mov    $0x1,%r9d
  lea    D8(%rip),%r14
  cs nopw 0x0(%rax,%rax,1)
L281:
  cmp    $0x3e,%al
  jg     L228
  cmp    $0x20,%al
  jle    L43
  lea    -0x21(%rax),%edx
  cmp    $0x1d,%dl
  ja     L43
  movzbl %dl,%edx
  movslq (%r14,%rdx,4),%rdx
  add    %r14,%rdx
  notrack jmp *%rdx
  nopl   0x0(%rax)
L43:
  mov    %r9,%rdx
  mov    %ebx,%ecx
  shl    %cl,%rdx
  test   %r13,%rdx
  jne    L122
  movsbl %al,%edi
  test   %r15,%rdx
  je     L0
  cmp    %r10,(%rsp)
  je     L122
  mov    %r8d,%esi
  mov    %r10,0x10(%rsp)
  call   <namegen_cap@plt>
  mov    0x10(%rsp),%r10
  xor    %r8d,%r8d
  mov    $0x1,%r9d
  mov    %al,(%r10)
  add    $0x1,%r10
  nopl   0x0(%rax)
L11:
  movzbl 0x1(%rbp),%eax
  add    $0x1,%rbp
  test   %al,%al
  jne    L281
  test   %ebx,%ebx
  jne    L133
L51:
  cmp    (%rsp),%r10
  je     L153
  movb   $0x0,(%r10)
  xor    %eax,%eax
L212:
  mov    0x238(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L118
  add    $0x248,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
  test   %ebx,%ebx
  je     L133
  mov    %r9,%rax
  mov    %ebx,%ecx
  lea    -0x1(%rbx),%edx
  shl    %cl,%rax
  test   %r15,%rax
  jne    L133
L171:
  mov    %edx,%ebx
  jmp    L11
  nopl   0x0(%rax)
  add    $0x1,%ebx
  cmp    $0x20,%ebx
  je     L24
  mov    %ebx,%ecx
  mov    %r9,%rax
  shl    %cl,%rax
  mov    %rax,%rcx
  movslq %ebx,%rax
  movq   $0x1,0x130(%rsp,%rax,8)
  mov    %r10,0x30(%rsp,%rax,8)
  mov    %rcx,%rax
  not    %rax
  and    %rax,%r15
L213:
  and    %rax,%r13
  and    %r12,%rax
  movslq %r8d,%r12
  lea    0x0(%r13,%r13,1),%rdx
  and    %rcx,%rdx
  mov    %ebx,%ecx
  shl    %cl,%r12
  or     %rdx,%r13
  or     %rax,%r12
  jmp    L11
  nopl   (%rax)
  test   %ebx,%ebx
  je     L133
  mov    %r9,%rax
  mov    %ebx,%ecx
  lea    -0x1(%rbx),%edx
  shl    %cl,%rax
  test   %r15,%rax
  jne    L171
  nopl   0x0(%rax)
L133:
  mov    0x28(%rsp),%rax
  movb   $0x0,(%rax)
  mov    $0x2,%eax
  jmp    L212
  nopw   0x0(%rax,%rax,1)
  add    $0x1,%ebx
  cmp    $0x20,%ebx
  je     L24
  mov    %ebx,%ecx
  mov    %r9,%rax
  shl    %cl,%rax
  mov    %rax,%rcx
  movslq %ebx,%rax
  movq   $0x1,0x130(%rsp,%rax,8)
  or     %rcx,%r15
  mov    %r10,0x30(%rsp,%rax,8)
  mov    %rcx,%rax
  not    %rax
  jmp    L213
  nopl   0x0(%rax)
  mov    $0x1,%r8d
  jmp    L11
  nopl   0x0(%rax,%rax,1)
L228:
  cmp    $0x7c,%al
  jne    L43
  mov    %ebx,%ecx
  mov    %r9,%rax
  shl    %cl,%rax
  mov    %rax,%rcx
  shr    %rax
  test   %r13,%rax
  jne    L11
  mov    0x8(%rsp),%rdi
  mov    %r8d,0x24(%rsp)
  mov    %r10,0x18(%rsp)
  mov    %rcx,0x10(%rsp)
  call   <namegen_rand32@plt>
  movslq %ebx,%r11
  xor    %edx,%edx
  mov    0x10(%rsp),%rcx
  mov    0x130(%rsp,%r11,8),%rsi
  movslq %eax,%rdi
  mov    $0xffffffff,%eax
  mov    0x18(%rsp),%r10
  mov    0x24(%rsp),%r8d
  mov    $0x1,%r9d
  add    $0x1,%rsi
  div    %rsi
  mov    %rsi,0x130(%rsp,%r11,8)
  cmp    %rax,%rdi
  jae    L316
  mov    %rcx,%rax
  xor    %r8d,%r8d
  mov    0x30(%rsp,%r11,8),%r10
  not    %rax
  and    %rax,%r13
  test   %r12,%rcx
  setne  %r8b
  jmp    L11
  nopl   0x0(%rax,%rax,1)
L122:
  xor    %r8d,%r8d
  jmp    L11
  nopl   0x0(%rax,%rax,1)
L0:
  mov    0x8(%rsp),%rcx
  mov    (%rsp),%rsi
  mov    %edi,%edx
  mov    %r10,%rdi
  call   <namegen_copy@plt>
  xor    %r8d,%r8d
  mov    $0x1,%r9d
  mov    %rax,%r10
  jmp    L11
  nopl   0x0(%rax)
L316:
  or     %rcx,%r13
  jmp    L11
L24:
  mov    0x28(%rsp),%rax
  movb   $0x0,(%rax)
  mov    $0x3,%eax
  jmp    L212
L153:
  movb   $0x0,-0x1(%r10)
  mov    $0x1,%eax
  jmp    L212
L90:
  mov    0x28(%rsp),%r10
  jmp    L51
L118:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int namegen(char *dst, unsigned long len, const char *pattern, unsigned long *seed) {
  int depth = 0;
  char *p = dst;
  char *e = dst + len;
  int capitalize = 0;
  char *reset[32];
  unsigned long n[32];
  unsigned long silent = 0;
  unsigned long literal = 0;
  unsigned long capstack = 0;
  n[0] = 1;
  reset[0] = dst;
  for (; *pattern; pattern++) {
    unsigned long bit;
    int c = *pattern;
    switch (c) {
    case '<':
      if (++depth == 32) {
        *dst = 0;
        return 3;
      }
      bit = 1UL << depth;
      n[depth] = 1;
      reset[depth] = p;
      literal &= ~bit;
      silent &= ~bit;
      silent |= (silent << 1) & bit;
      capstack &= ~bit;
      capstack |= (unsigned long)capitalize << depth;
      break;
    case '(':
      if (++depth == 32) {
        *dst = 0;
        return 3;
      }
      bit = 1UL << depth;
      n[depth] = 1;
      reset[depth] = p;
      literal |= bit;
      silent &= ~bit;
      silent |= (silent << 1) & bit;
      capstack &= ~bit;
      capstack |= (unsigned long)capitalize << depth;
      break;
    case '>':
      if (depth == 0) {
        *dst = 0;
        return 2;
      }
      bit = 1UL << depth--;
      if (literal & bit) {
        *dst = 0;
        return 2;
      }
      break;
    case ')':
      if (depth == 0) {
        *dst = 0;
        return 2;
      }
      bit = 1UL << depth--;
      if (!(literal & bit)) {
        *dst = 0;
        return 2;
      }
      break;
    case '|':
      bit = 1UL << depth;
      if (!(silent & (bit >> 1))) {
        if (namegen_rand32(seed) < 0xffffffffUL / ++n[depth]) {
          p = reset[depth];
          silent &= ~bit;
          capitalize = !!(capstack & bit);
        } else {
          silent |= bit;
        }
      }
      break;
    case '!':
      capitalize = 1;
      break;
    default:
      bit = 1UL << depth;
      if (!(silent & bit)) {
        if (literal & bit) {
          if (p != e)
            *p++ = namegen_cap(c, capitalize);
        } else {
          p = namegen_copy(p, e, c, seed, capitalize);
        }
      }
      capitalize = 0;
    }
  }
  if (depth) {
    *dst = 0;
    return 2;
  } else if (p == e) {
    p[-1] = 0;
    return 1;
  } else {
    *p = 0;
    return 0;
  }
}
```