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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %edi,%r12d
  mov    %rsi,%rbx
  cmp    $0x2,%edi
  jle    L49
  mov    0x10(%rsi),%rax
  movzbl (%rax),%r13d
  movsbl %r13b,%esi
  mov    0x8(%rbx),%rdi
  call   <Database_open@plt>
  mov    %rax,%rbp
  mov    $0x0,%r14d
  cmp    $0x3,%r12d
  jg     L43
L126:
  sub    $0x63,%r13d
  cmp    $0x10,%r13b
  ja     L90
  movzbl %r13b,%r13d
  lea    D67(%rip),%rdx
  movslq (%rdx,%r13,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
L49:
  lea    D72(%rip),%rdi
  call   <die@plt>
  mov    0x10(%rbx),%rax
  movzbl (%rax),%r13d
  movsbl %r13b,%esi
  mov    0x8(%rbx),%rdi
  call   <Database_open@plt>
  mov    %rax,%rbp
  sub    $0x63,%r13d
  cmp    $0x10,%r13b
  ja     L90
  movzbl %r13b,%r13d
  lea    D62(%rip),%rdx
  movslq (%rdx,%r13,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
L43:
  mov    0x18(%rbx),%rdi
  call   <atoi@plt>
  mov    %eax,%r14d
  cmp    $0x63,%eax
  jle    L126
  lea    D5(%rip),%rdi
  call   <die@plt>
  jmp    L126
  mov    %rbp,%rdi
  call   <Database_create@plt>
  mov    %rbp,%rdi
  call   <Database_write@plt>
L124:
  mov    %rbp,%rdi
  call   <Database_close@plt>
  mov    $0x0,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  mov    $0x0,%r14d
  cmp    $0x4,%r12d
  jne    L109
L118:
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <Database_get@plt>
  jmp    L124
L109:
  lea    D38(%rip),%rdi
  call   <die@plt>
  jmp    L118
  mov    $0x0,%r14d
  cmp    $0x6,%r12d
  jne    L42
L75:
  mov    0x28(%rbx),%rcx
  mov    0x20(%rbx),%rdx
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <Database_set@plt>
  mov    %rbp,%rdi
  call   <Database_write@plt>
  jmp    L124
L42:
  lea    D69(%rip),%rdi
  call   <die@plt>
  jmp    L75
  cmp    $0x4,%r12d
  jne    L44
L163:
  mov    %r14d,%esi
  mov    %rbp,%rdi
  call   <Database_delete@plt>
  mov    %rbp,%rdi
  call   <Database_write@plt>
  jmp    L124
  mov    $0x0,%r14d
L44:
  lea    D17(%rip),%rdi
  call   <die@plt>
  jmp    L163
  mov    %rbp,%rdi
  call   <Database_list@plt>
  jmp    L124
L90:
  lea    D41(%rip),%rdi
  call   <die@plt>
  jmp    L124
```

tool_calls: name: parse_data
arguments: label: D72
type: string
name: parse_data
arguments: label: D5
type: string
name: parse_data
arguments: label: D38
type: string
name: parse_data
arguments: label: D69
type: string
name: parse_data
arguments: label: D17
type: string
name: parse_data
arguments: label: D41
type: string

tool: D72: USAGE: ex17 <dbfile> <action> [action params]

tool: D5: There's not that many records

tool: D38: Need an id to get

tool: D69: Need id, name, email to set

tool: D17: Need id to delete

tool: D41: Invalid action: c=create, g=get, s=set, d=del, l=list

assistant: ```c
int main(int argc, char *argv[]) {
  if (argc < 3) {
    die("USAGE: ex17 <dbfile> <action> [action params]");
  }
  char *filename = argv[1];
  char action = argv[2][0];
  struct Connection *conn = Database_open(filename, action);
  int id = 0;
  if (argc > 3)
    id = atoi(argv[3]);
  if (id >= 100)
    die("There's not that many records");
  switch (action) {
  case 'c':
    Database_create(conn);
    Database_write(conn);
    break;
  case 'g':
    if (argc != 4) {
      die("Need an id to get");
    }
    Database_get(conn, id);
    break;
  case 's':
    if (argc != 6) {
      die("Need id, name, email to set");
    }
    Database_set(conn, id, argv[4], argv[5]);
    Database_write(conn);
    break;
  case 'd':
    if (argc != 4) {
      die("Need id to delete");
    }
    Database_delete(conn, id);
    Database_write(conn);
    break;
  case 'l':
    Database_list(conn);
    break;
  default:
    die("Invalid action: c=create, g=get, s=set, d=del, l=list");
  }
  Database_close(conn);
  return 0;
}
```