user: Demonstrate the C code that generates the assembly output below:

```asm
<main>:
  endbr64
  push   %r15
  lea    D87(%rip),%r15
  push   %r14
  lea    D54(%rip),%r14
  push   %r13
  lea    D42(%rip),%r13
  push   %r12
  push   %rbp
  lea    D19(%rip),%rbp
  push   %rbx
  lea    D81(%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)
L75:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  cmpl   $0x4,0x4(%rsp)
  ja     L56
  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    D5(%rip),%rdi
  call   <system@plt>
  jmp    L75
  nopl   (%rax)
  lea    D75(%rip),%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  mov    %rsp,%rsi
  call   <scanf@plt>
  mov    (%rsp),%edi
  call   <add@plt>
  cmp    $0x1,%eax
  je     L18
  lea    D49(%rip),%rdi
  call   <printf@plt>
  jmp    L75
  nopw   0x0(%rax,%rax,1)
  xor    %eax,%eax
  call   <init@plt>
  lea    D76(%rip),%rdi
  call   <printf@plt>
  jmp    L75
  nopl   0x0(%rax,%rax,1)
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  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    L75
L56:
  mov    %r15,%rdi
  call   <printf@plt>
  jmp    L75
L18:
  lea    D38(%rip),%rdi
  call   <printf@plt>
  jmp    L75
L7:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D87
type_infered: string
name: parse_data
arguments: label: D54
type_infered: string
name: parse_data
arguments: label: D42
type_infered: string
name: parse_data
arguments: label: D19
type_infered: string
name: parse_data
arguments: label: D5
type_infered: string
name: parse_data
arguments: label: D75
type_infered: string
name: parse_data
arguments: label: D49
type_infered: string
name: parse_data
arguments: label: D76
type_infered: string
name: parse_data
arguments: label: D38
type_infered: string

tool: D87: Salah pilihan,ulangi lagi


tool: D54: Data berhasil dihapus


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


tool: D19: %d

tool: D5: pause

tool: D75: Ketik angka

tool: D49: Data gagal diinput


tool: D76: Double linklist terinisialisasi


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