user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D23(%rip),%r15
  push   %r14
  lea    D10(%rip),%r14
  push   %r13
  lea    D69(%rip),%r13
  push   %r12
  push   %rbp
  lea    D84(%rip),%rbp
  push   %rbx
  lea    D25(%rip),%rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%r12
  nopw   0x0(%rax,%rax,1)
L63:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  cmpl   $0x4,0x4(%rsp)
  ja     L28
  mov    0x4(%rsp),%eax
  movslq (%rbx,%rax,4),%rax
  add    %rbx,%rax
  notrack jmp *%rax
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <show@plt>
  lea    D96(%rip),%rdi
  call   <system@plt>
  jmp    L63
  nopl   (%rax)
  lea    D89(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  mov    %rsp,%rsi
  call   <scanf@plt>
  mov    (%rsp),%edi
  call   <add@plt>
  cmp    $0x1,%eax
  je     L29
  lea    D46(%rip),%rdi
  call   <printf@plt>
  jmp    L63
  nopw   0x0(%rax,%rax,1)
  xor    %eax,%eax
  call   <init@plt>
  lea    D77(%rip),%rdi
  call   <printf@plt>
  jmp    L63
  nopl   0x0(%rax,%rax,1)
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L47
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <deltop@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  jmp    L63
L28:
  mov    %r15,%rdi
  call   <printf@plt>
  jmp    L63
L29:
  lea    D6(%rip),%rdi
  call   <printf@plt>
  jmp    L63
L47:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D23
type_guessed: string
name: extract_symbolic_data
arguments: label: D10
type_guessed: string
name: extract_symbolic_data
arguments: label: D69
type_guessed: string
name: extract_symbolic_data
arguments: label: D84
type_guessed: string
name: extract_symbolic_data
arguments: label: D96
type_guessed: string
name: extract_symbolic_data
arguments: label: D89
type_guessed: string
name: extract_symbolic_data
arguments: label: D46
type_guessed: string
name: extract_symbolic_data
arguments: label: D77
type_guessed: string
name: extract_symbolic_data
arguments: label: D6
type_guessed: string

tool: D23: Salah pilihan,ulangi lagi


tool: D10: Data berhasil dihapus


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


tool: D84: %d

tool: D96: pause

tool: D89: Ketik angka

tool: D46: Data gagal diinput


tool: D77: Double linklist terinisialisasi


tool: D6: Data berhasil ditambahkan


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");
    }
  }
}
```