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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  cmp    $0x3,%edi
  jne    L124
L103:
  mov    0x8(%rbx),%r12
  mov    0x10(%rbx),%r15
  lea    D49(%rip),%rsi
  mov    %r12,%rdi
  call   <fopen@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L142
L14:
  lea    D23(%rip),%rsi
  mov    %r15,%rdi
  call   <fopen@plt>
  mov    %rax,(%rsp)
  test   %rax,%rax
  je     L45
L127:
  mov    (%rsp),%rcx
  mov    $0x2b,%edx
  mov    $0x1,%esi
  lea    D17(%rip),%rdi
  call   <fwrite@plt>
  movl   $0x0,0xc(%rsp)
  lea    D18(%rip),%r14
  lea    D59(%rip),%r13
L53:
  lea    0x20(%rsp),%r12
  jmp    L70
L124:
  lea    D86(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L103
L142:
  mov    %r12,%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L14
L45:
  mov    %r15,%rdi
  call   <perror@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L127
L60:
  mov    %r13,%rsi
  mov    0x18(%rsp),%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L144
L70:
  lea    0x18(%rsp),%rsi
  mov    %r12,%rdx
  mov    %rbp,%rdi
  call   <get_line@plt>
  mov    0x18(%rsp),%rsi
  test   %rsi,%rsi
  je     L51
  mov    0x20(%rsp),%rdx
  mov    %r14,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x20(%rsp),%rbx
  mov    %rbx,%rdi
  call   <strlen@plt>
  cltq
  movsbl -0x1(%rbx,%rax,1),%edi
  call   <isspace@plt>
  test   %rax,%rax
  je     L60
  mov    0x20(%rsp),%rsi
  lea    D58(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r15,%rdi
  call   <unlink@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L60
L144:
  mov    0x20(%rsp),%rdi
  call   <new_unique_id@plt>
  test   %eax,%eax
  je     L12
L75:
  mov    0xc(%rsp),%ebx
  mov    %ebx,%ecx
  mov    0x20(%rsp),%rdx
  lea    D83(%rip),%rsi
  mov    (%rsp),%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    %ebx,%eax
  add    $0x1,%eax
  mov    %eax,0xc(%rsp)
  jmp    L53
L12:
  mov    %r15,%rdi
  call   <unlink@plt>
  mov    $0x1,%edi
  call   <exit@plt>
  jmp    L75
L51:
  mov    0xc(%rsp),%edx
  lea    D66(%rip),%rsi
  mov    (%rsp),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    %rbp,%rdi
  call   <fclose@plt>
  mov    %rbx,%rdi
  call   <fclose@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L54
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L54:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D49
type: string
name: unpack_data
arguments: data_tag: D23
type: string
name: unpack_data
arguments: data_tag: D17
type: string
name: unpack_data
arguments: data_tag: D18
type: string
name: unpack_data
arguments: data_tag: D59
type: string
name: unpack_data
arguments: data_tag: D86
type: string
name: unpack_data
arguments: data_tag: D58
type: string
name: unpack_data
arguments: data_tag: D83
type: string
name: unpack_data
arguments: data_tag: D66
type: string

tool: D49: r

tool: D23: w

tool: D17: /* generated file, do not edit by hand */



tool: D18: name '%s' value '%s'


tool: D59: ID

tool: D86: gimme <source> <dest>

tool: D58: bad value '%s' (no space at the end please!)


tool: D83: #define T_%s T_ID(%d)


tool: D66: #define T_NUMBER_OF_IDS %d


assistant: ```c
int main(int n, char **v) {
  FILE *in;
  FILE *out;
  char *name;
  char *value;
  char *in_name;
  char *out_name;
  if (n != 3) {
    printf("gimme <source> <dest>\n");
    exit(1);
  }
  n = 0;
  in_name = v[1];
  out_name = v[2];
  in = fopen(in_name, "r");
  if (in == NULL) {
    perror(in_name);
    exit(1);
  }
  out = fopen(out_name, "w");
  if (out == NULL) {
    perror(out_name);
    exit(1);
  }
  fprintf(out, "/* generated file, do not edit by hand */\n\n");
  while (1) {
    get_line(in, &name, &value);
    if (name == NULL)
      break;
    printf("name '%s' value '%s'\n", name, value);
    if (isspace(value[strlen(value) - 1])) {
      printf("bad value '%s' (no space at the end please!)\n", value);
      unlink(out_name);
      exit(1);
    }
    if (!strcmp(name, "ID")) {
      if (!new_unique_id(value)) {
        unlink(out_name);
        exit(1);
      }
      fprintf(out, "#define T_%s T_ID(%d)\n", value, n);
      n++;
    }
  }
  fprintf(out, "#define T_NUMBER_OF_IDS %d\n", n);
  fclose(in);
  fclose(out);
  return 0;
}
```