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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  mov    %edi,%r12d
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x120,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x118(%rsp)
  xor    %eax,%eax
  call   <geteuid@plt>
  test   %rax,%rax
  jne    L50
  cmp    $0x1,%r12d
  jle    L101
L25:
  mov    $0x1,%ebx
  lea    D43(%rip),%r13
  nopl   0x0(%rax)
L49:
  mov    0x0(%rbp,%rbx,8),%rdi
  call   <_time_login@plt>
  mov    0x0(%rbp,%rbx,8),%rsi
  mov    %r13,%rdi
  add    $0x1,%rbx
  mov    %rax,%rdx
  xor    %eax,%eax
  call   <printf@plt>
  cmp    %ebx,%r12d
  jg     L49
  xor    %edi,%edi
  call   <exit@plt>
L101:
  lea    D7(%rip),%rsi
  lea    D57(%rip),%rdi
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L94
L34:
  lea    0x10(%rsp),%rbx
  lea    0x4(%rsp),%r13
  lea    D43(%rip),%r14
  lea    0x8(%rsp),%r12
  nopl   0x0(%rax)
L16:
  mov    %rbp,%rdx
  mov    $0x100,%esi
  mov    %rbx,%rdi
  call   <fgets@plt>
  test   %rax,%rax
  je     L60
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <_parse_line@plt>
  cmpl   $0x64,0x4(%rsp)
  jle    L16
  mov    0x8(%rsp),%rdi
  call   <_time_login@plt>
  pxor   %xmm0,%xmm0
  movsd  D9(%rip),%xmm1
  cvtsi2sd %rax,%xmm0
  mov    %rax,%rdx
  comisd %xmm0,%xmm1
  ja     L16
  mov    0x8(%rsp),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  lea    0x8(%rsp),%r12
  call   <printf@plt>
  jmp    L16
  nopl   0x0(%rax)
L60:
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    0x118(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L71
  add    $0x120,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L50:
  lea    D40(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  cmp    $0x1,%r12d
  jg     L25
  jmp    L101
L94:
  lea    D55(%rip),%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L34
L71:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D43
type_infered: string
name: extract_symbolic_data
arguments: label: D7
type_infered: string
name: extract_symbolic_data
arguments: label: D57
type_infered: string
name: extract_symbolic_data
arguments: label: D9
type_infered: byte[8]
name: extract_symbolic_data
arguments: label: D40
type_infered: string
name: extract_symbolic_data
arguments: label: D55
type_infered: string

tool: D43: user %-8s time %ld usec


tool: D7: r

tool: D57: /etc/passwd

tool: {"D9": [0x00,0x00,0x00,0x00,0x00,0x6a,0x58,0x41]}

tool: D40: need to run as user root

tool: D55: fopen(/etc/passwd)

assistant: ```c
main(int argc, char **argv) {
  FILE *passwd_fd;
  char in_line[256], *user_name;
  int i, user_id;
  long int delta_t;
  if (geteuid() != (uid_t)0) {
    printf("need to run as user root\n");
    exit(1);
  }
  for (i = 1; i < argc; i++) {
    delta_t = _time_login(argv[i]);
    printf("user %-8s time %ld usec\n", argv[i], delta_t);
  }
  if (i > 1)
    exit(0);
  passwd_fd = fopen("/etc/passwd", "r");
  if (!passwd_fd) {
    perror("fopen(/etc/passwd)");
    exit(1);
  }
  while (fgets(in_line, sizeof(in_line), passwd_fd)) {
    _parse_line(in_line, &user_name, &user_id);
    if (user_id <= 100)
      continue;
    delta_t = _time_login(user_name);
    if (delta_t < ((8000 * 0.8) * 1000))
      continue;
    printf("user %-8s time %ld usec\n", user_name, delta_t);
  }
  fclose(passwd_fd);
}
```