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

```asm
<gen_random_global_name>:
  endbr64
  push   %r13
  mov    %rdi,%r13
  mov    $0x4,%edi
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movb   $0x0,(%rsi)
  call   <xrandom@plt>
  test   %eax,%eax
  je     L245
  cmp    $0x1,%eax
  je     L81
  xor    %eax,%eax
  call   <random_computer_word@plt>
  mov    %rbp,%rdi
  mov    %rax,%rsi
  call   <strcat@plt>
L198:
  test   %r13,%r13
  je     L217
  lea    D1(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
L217:
  mov    $0x5,%edi
  call   <xrandom@plt>
  cmp    $0x1,%eax
  je     L108
  cmp    $0x2,%eax
  je     L236
  lea    D1(%rip),%rsi
  mov    %rbp,%rdi
  test   %eax,%eax
  je     L191
  call   <strcat@plt>
  xor    %eax,%eax
  call   <random_computer_word@plt>
  mov    %rbp,%rdi
  mov    %rax,%rsi
  call   <strcat@plt>
L242:
  mov    $0x5,%edi
  call   <xrandom@plt>
  test   %eax,%eax
  je     L16
L145:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L189
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   0x0(%rax)
L245:
  mov    $0x1a,%edi
  call   <xrandom@plt>
  movb   $0x0,0x1(%rbp)
  add    $0x61,%eax
  mov    %al,0x0(%rbp)
  jmp    L198
  nopl   0x0(%rax)
L81:
  mov    $0x2710,%edi
  call   <xrandom@plt>
  mov    %eax,%r12d
  test   %eax,%eax
  jle    L203
  xor    %ebx,%ebx
  nopw   0x0(%rax,%rax,1)
L259:
  mov    $0x6,%edi
  call   <xrandom@plt>
  test   %eax,%eax
  jne    L13
L264:
  movslq %ebx,%rax
  mov    %r12d,%ecx
  lea    0x1(%rbx),%edx
  add    $0x2,%ebx
  movb   $0x5f,0x0(%rbp,%rax,1)
  mov    %r12d,%eax
  movslq %edx,%rdx
  imul   $0x4ec4ec4f,%rax,%rax
  shr    $0x23,%rax
  imul   $0x1a,%eax,%esi
  sub    %esi,%ecx
  add    $0x61,%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  cmp    $0x19,%r12d
  jle    L204
  mov    $0x6,%edi
  mov    %eax,%r12d
  call   <xrandom@plt>
  test   %eax,%eax
  je     L264
L13:
  mov    %r12d,%eax
  mov    %r12d,%edx
  lea    0x1(%rbx),%ecx
  movslq %ebx,%rbx
  imul   $0x4ec4ec4f,%rax,%rax
  shr    $0x23,%rax
  imul   $0x1a,%eax,%esi
  sub    %esi,%edx
  add    $0x61,%edx
  mov    %dl,0x0(%rbp,%rbx,1)
  cmp    $0x19,%r12d
  jle    L160
  mov    %eax,%r12d
  mov    %ecx,%ebx
  jmp    L259
  nopw   0x0(%rax,%rax,1)
L16:
  lea    D1(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rsp,%r12
  call   <strcat@plt>
  mov    $0x2710,%edi
  call   <xrandom@plt>
  mov    %r12,%rdi
  lea    D55(%rip),%rsi
  mov    %eax,%edx
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  jmp    L145
  nopl   (%rax)
L160:
  mov    %ecx,%ebx
L204:
  movslq %ebx,%rbx
  add    %rbp,%rbx
L101:
  movb   $0x0,(%rbx)
  jmp    L198
L191:
  call   <strcat@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    $0x1a,%edi
  mov    %eax,%ebx
  call   <xrandom@plt>
  movslq %ebx,%rdx
  add    $0x61,%eax
  movb   $0x0,0x1(%rbp,%rdx,1)
  mov    %al,0x0(%rbp,%rdx,1)
  jmp    L242
  nopl   (%rax)
L236:
  mov    $0x2710,%edi
  call   <xrandom@plt>
  mov    %rbp,%rdi
  mov    %eax,%r12d
  call   <strlen@plt>
  mov    %eax,%ebx
  test   %r12d,%r12d
  jle    L266
L45:
  mov    $0x6,%edi
  call   <xrandom@plt>
  test   %eax,%eax
  jne    L25
L207:
  movslq %ebx,%rax
  mov    %r12d,%ecx
  lea    0x1(%rbx),%edx
  add    $0x2,%ebx
  movb   $0x5f,0x0(%rbp,%rax,1)
  mov    %r12d,%eax
  movslq %edx,%rdx
  imul   $0x4ec4ec4f,%rax,%rax
  shr    $0x23,%rax
  imul   $0x1a,%eax,%esi
  sub    %esi,%ecx
  add    $0x61,%ecx
  mov    %cl,0x0(%rbp,%rdx,1)
  cmp    $0x19,%r12d
  jle    L266
  mov    $0x6,%edi
  mov    %eax,%r12d
  call   <xrandom@plt>
  test   %eax,%eax
  je     L207
L25:
  mov    %r12d,%eax
  mov    %r12d,%edx
  lea    0x1(%rbx),%ecx
  movslq %ebx,%rbx
  imul   $0x4ec4ec4f,%rax,%rax
  shr    $0x23,%rax
  imul   $0x1a,%eax,%esi
  sub    %esi,%edx
  add    $0x61,%edx
  mov    %dl,0x0(%rbp,%rbx,1)
  cmp    $0x19,%r12d
  jle    L247
  mov    %eax,%r12d
  mov    %ecx,%ebx
  jmp    L45
  cs nopw 0x0(%rax,%rax,1)
L247:
  mov    %ecx,%ebx
L266:
  movslq %ebx,%rbx
  movb   $0x0,0x0(%rbp,%rbx,1)
  jmp    L242
  nop
L108:
  lea    D1(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rsp,%r12
  call   <strcat@plt>
  mov    $0x2710,%edi
  call   <xrandom@plt>
  mov    %r12,%rdi
  lea    D55(%rip),%rsi
  mov    %eax,%edx
  call   <sprintf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  jmp    L242
  nopl   (%rax)
L203:
  mov    %rbp,%rbx
  jmp    L101
L189:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D1
type_guessed: string
name: disassemble_data
arguments: tag: D55
type_guessed: string

tool: D1: _

tool: D55: %d

assistant: ```c
void gen_random_global_name(char *root, char *namebuf) {
  char smallbuf[100];
  int n, i, len;
  namebuf[0] = '\0';
  switch (xrandom(4)) {
  case 0:
    namebuf[0] = 'a' + xrandom(26);
    namebuf[1] = '\0';
    break;
  case 1:
    n = xrandom(10000);
    i = 0;
    while (n > 0) {
      if (xrandom(6) == 0)
        namebuf[i++] = '_';
      namebuf[i++] = 'a' + (n % 26);
      n /= 26;
    }
    namebuf[i] = '\0';
    break;
  default:
    strcat(namebuf, random_computer_word());
    break;
  }
  if (root != NULL) {
    strcat(namebuf, "_");
    strcat(namebuf, root);
  }
  switch (xrandom(5)) {
  case 0:
    strcat(namebuf, "_");
    len = strlen(namebuf);
    namebuf[len] = 'a' + xrandom(26);
    namebuf[len + 1] = '\0';
    break;
  case 1:
    strcat(namebuf, "_");
    sprintf(smallbuf, "%d", xrandom(10000));
    strcat(namebuf, smallbuf);
    break;
  case 2:
    n = xrandom(10000);
    len = strlen(namebuf);
    i = len;
    while (n > 0) {
      if (xrandom(6) == 0)
        namebuf[i++] = '_';
      namebuf[i++] = 'a' + (n % 26);
      n /= 26;
    }
    namebuf[i] = '\0';
    break;
  default:
    strcat(namebuf, "_");
    strcat(namebuf, random_computer_word());
    break;
  }
  if (xrandom(5) == 0) {
    strcat(namebuf, "_");
    sprintf(smallbuf, "%d", xrandom(10000));
    strcat(namebuf, smallbuf);
  }
}
```