user: 提供的汇编代码用C语言表示会是什么样子：

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
L82:
  lea    D107(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D109(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x10(%rbp),%eax
  cmp    $0x4,%eax
  ja     L14
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D42(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D42(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    $0x0,%eax
  call   <init@plt>
  lea    D119(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L50
  lea    D47(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x14(%rbp),%rax
  mov    %rax,%rsi
  lea    D109(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <add@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x1,-0xc(%rbp)
  jne    L6
  lea    D63(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L50
L6:
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L50
  mov    $0x0,%eax
  call   <show@plt>
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  call   <system@plt>
  jmp    L50
  mov    $0x0,%eax
  call   <deltop@plt>
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L50
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L64
  jmp    L85
L14:
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L50:
  jmp    L82
L85:
  call   <__stack_chk_fail@plt>
L64:
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D107
data_type: string
name: parse_data
arguments: data_tag: D109
data_type: string
name: parse_data
arguments: data_tag: D119
data_type: string
name: parse_data
arguments: data_tag: D47
data_type: string
name: parse_data
arguments: data_tag: D63
data_type: string
name: parse_data
arguments: data_tag: D98
data_type: string
name: parse_data
arguments: data_tag: D99
data_type: string
name: parse_data
arguments: data_tag: D75
data_type: string
name: parse_data
arguments: data_tag: D78
data_type: string

tool: D107: 1.Inisiasi Double link list
2.Tambah data
3.cetak semua data
4.Hapus data
0.Exit


tool: D109: %d

tool: D119: Double linklist terinisialisasi


tool: D47: Ketik angka

tool: D63: Data berhasil ditambahkan


tool: D98: Data gagal diinput


tool: D99: pause

tool: D75: Data berhasil dihapus


tool: D78: Salah pilihan,ulangi lagi


assistant: ```c
int main() {
  int id;
  while (1) {
    printf("1.Inisiasi Double link list\n2.Tambah data\n3.cetak semua data\n4.Hapus data\n0.Exit\n");
    int pilihan;
    scanf("%d", &pilihan);
    switch (pilihan) {
    case 1:
      init();
      printf("Double linklist terinisialisasi\n");
      break;
    case 2:
      printf("Ketik angka");
      scanf("%d", &id);
      int hasil = add(id);
      if (hasil == 1)
        printf("Data berhasil ditambahkan\n");
      else
        printf("Data gagal diinput\n");
      break;
    case 3:
      show();
      system("pause");
      break;
    case 4:
      deltop();
      printf("Data berhasil dihapus\n");
      break;
    case 0:
      return 0;
      break;
    default:
      printf("Salah pilihan,ulangi lagi\n");
    }
  }
}
```