user: What would the C source look like for the assembly code provided here:

```asm
<main>:
  endbr64
  push   %r15
  lea    D48(%rip),%r15
  push   %r14
  lea    D117(%rip),%r14
  push   %r13
  lea    D5(%rip),%r13
  push   %r12
  lea    D11(%rip),%r12
  push   %rbp
  lea    D82(%rip),%rbp
  push   %rbx
  lea    D12(%rip),%rbx
  sub    $0x1c8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x1b8(%rsp)
  xor    %eax,%eax
  lea    0x1f(%rsp),%rax
  mov    %rax,0x8(%rsp)
  nopl   0x0(%rax)
L69:
  mov    %r15,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <printf@plt>
  lea    D109(%rip),%rdi
  call   <printf@plt>
  lea    D31(%rip),%rdi
  call   <printf@plt>
  lea    D53(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  lea    D51(%rip),%rdi
  call   <scanf@plt>
  movzbl 0x1f(%rsp),%eax
  sub    $0x64,%eax
  cmp    $0xf,%al
  ja     L28
  lea    D21(%rip),%rdx
  movzbl %al,%eax
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  nopl   (%rax)
L28:
  lea    D106(%rip),%rdi
  call   <printf@plt>
  jmp    L69
  nopl   0x0(%rax)
  lea    0x20(%rsp),%rdi
  call   <sort@plt>
  jmp    L69
  nop
  mov    0x1b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L84
  add    $0x1c8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
  lea    0x20(%rsp),%rdi
  call   <print@plt>
  jmp    L69
  nop
  lea    0x20(%rsp),%rdi
  call   <input@plt>
  jmp    L69
  nop
  lea    0x20(%rsp),%rdi
  call   <search@plt>
  jmp    L69
  nop
  lea    0x20(%rsp),%rdi
  call   <edit@plt>
  jmp    L69
  nop
  lea    0x20(%rsp),%rdi
  call   <delete@plt>
  jmp    L69
L84:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D48
type: string
name: read_data
arguments: label: D117
type: string
name: read_data
arguments: label: D5
type: string
name: read_data
arguments: label: D11
type: string
name: read_data
arguments: label: D82
type: string
name: read_data
arguments: label: D12
type: string
name: read_data
arguments: label: D109
type: string
name: read_data
arguments: label: D31
type: string
name: read_data
arguments: label: D53
type: string
name: read_data
arguments: label: D51
type: string
name: read_data
arguments: label: D106
type: string

tool: D48: MENU


tool: D117: i:input


tool: D5: p:print


tool: D11: f:search


tool: D82: d:delete


tool: D12: e:edit


tool: D109: s:sort


tool: D31: q:quit


tool: D53: Enter your choice:

tool: D51: %c

tool: D106: Invalid choice


assistant: ```c
main() {
  char db[20][20], choice;
  while (1) {
    printf("MENU\n");
    printf("i:input\n");
    printf("p:print\n");
    printf("f:search\n");
    printf("d:delete\n");
    printf("e:edit\n");
    printf("s:sort\n");
    printf("q:quit\n");
    printf("Enter your choice:");
    scanf("%c", &choice);
    switch (choice) {
    case 'i':
      input(db);
      break;
    case 'p':
      print(db);
      break;
    case 'd':
      delete (db);
      break;
    case 'f':
      search(db);
      break;
    case 'e':
      edit(db);
      break;
    case 's':
      sort(db);
      break;
    case 'q':
      return;
    default:
      printf("Invalid choice\n");
    }
  }
  while (getchar() != 10)
    ;
}
```