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

```asm
<pretty>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  test   %rdi,%rdi
  je     L78
  mov    (%rdi),%rsi
  mov    %rdi,%rbp
  xor    %eax,%eax
  lea    D109(%rip),%rdi
  call   <printf@plt>
  lea    D91(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  pop    %rbx
  mov    %rbp,%rdi
  mov    $0x1,%esi
  pop    %rbp
  pop    %r12
  jmp    1170 <group@plt>
L78:
  xor    %eax,%eax
  call   <getlogin@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L66
L114:
  xor    %eax,%eax
  call   <getuid@plt>
  mov    %eax,%edi
  mov    %eax,%ebx
  call   <getpwuid@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L141
  mov    (%rax),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L28
L36:
  mov    0x0(%rbp),%rsi
  lea    D109(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
L2:
  xor    %eax,%eax
  call   <geteuid@plt>
  mov    %eax,%ebp
  cmp    %eax,%ebx
  jne    L44
L102:
  xor    %eax,%eax
  call   <getgid@plt>
  mov    %eax,%ebp
  xor    %eax,%eax
  call   <getegid@plt>
  cmp    %eax,%ebp
  jne    L149
L49:
  lea    D91(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  pop    %rbx
  mov    $0x1,%esi
  pop    %rbp
  xor    %edi,%edi
  pop    %r12
  jmp    1170 <group@plt>
  nopl   0x0(%rax)
L149:
  mov    %ebp,%edi
  call   <getgrgid@plt>
  test   %rax,%rax
  je     L57
  mov    (%rax),%rsi
  lea    D117(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L49
  nopl   0x0(%rax,%rax,1)
L44:
  mov    %eax,%edi
  call   <getpwuid@plt>
  test   %rax,%rax
  je     L16
  mov    (%rax),%rsi
  lea    D34(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L102
  cs nopw 0x0(%rax,%rax,1)
L28:
  mov    %r12,%rsi
  lea    D22(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L36
  cs nopw 0x0(%rax,%rax,1)
L141:
  mov    %r12,%rsi
  lea    D22(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %ebx,%esi
  lea    D37(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L2
  cs nopw 0x0(%rax,%rax,1)
L66:
  lea    D76(%rip),%rsi
  mov    $0x1,%edi
  call   <err@plt>
  jmp    L114
  cs nopw 0x0(%rax,%rax,1)
L57:
  mov    %ebp,%esi
  lea    D97(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L49
  nopl   (%rax)
L16:
  mov    %ebp,%esi
  lea    D6(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L102
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D109
type: string
name: extract_symbolic_data
arguments: data_label: D91
type: string
name: extract_symbolic_data
arguments: data_label: D117
type: string
name: extract_symbolic_data
arguments: data_label: D34
type: string
name: extract_symbolic_data
arguments: data_label: D22
type: string
name: extract_symbolic_data
arguments: data_label: D37
type: string
name: extract_symbolic_data
arguments: data_label: D76
type: string
name: extract_symbolic_data
arguments: data_label: D97
type: string
name: extract_symbolic_data
arguments: data_label: D6
type: string

tool: D109: uid	%s


tool: D91: groups	

tool: D117: rgid	%s


tool: D34: euid	%s


tool: D22: login	%s


tool: D37: uid	%u


tool: D76: getlogin

tool: D97: rgid	%u


tool: D6: euid	%u


assistant: ```c
void pretty(struct passwd *pw) {
  struct group *gr;
  u_int eid, rid;
  char *login;
  if (pw) {
    (void)printf("uid\t%s\n", pw->pw_name);
    (void)printf("groups\t");
    group(pw, 1);
  } else {
    if ((login = getlogin()) == NULL)
      err(1, "getlogin");
    pw = getpwuid(rid = getuid());
    if (pw == NULL || strcmp(login, pw->pw_name))
      (void)printf("login\t%s\n", login);
    if (pw)
      (void)printf("uid\t%s\n", pw->pw_name);
    else
      (void)printf("uid\t%u\n", rid);
    if ((eid = geteuid()) != rid) {
      if ((pw = getpwuid(eid)) != NULL)
        (void)printf("euid\t%s\n", pw->pw_name);
      else
        (void)printf("euid\t%u\n", eid);
    }
    if ((rid = getgid()) != (eid = getegid())) {
      if ((gr = getgrgid(rid)) != NULL)
        (void)printf("rgid\t%s\n", gr->gr_name);
      else
        (void)printf("rgid\t%u\n", rid);
    }
    (void)printf("groups\t");
    group(NULL, 1);
  }
}
```