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

```asm
<main>:
  endbr64
  push   %r13
  lea    D90(%rip),%rdi
  push   %r12
  push   %rbp
  lea    D128(%rip),%rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%r12
  call   <printf@plt>
  lea    D42(%rip),%rdi
  call   <printf@plt>
  lea    D41(%rip),%rdi
  call   <printf@plt>
  lea    D96(%rip),%rdi
  call   <printf@plt>
  lea    D127(%rip),%rdi
  call   <printf@plt>
  lea    D6(%rip),%rdi
  call   <printf@plt>
  lea    D50(%rip),%rdi
  call   <printf@plt>
  lea    D11(%rip),%rdi
  call   <printf@plt>
  lea    D77(%rip),%rdi
  call   <printf@plt>
  lea    D29(%rip),%rdi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%eax
  cmp    $0x9,%eax
  jg     L68
  lea    D46(%rip),%r13
  lea    D111(%rip),%rbx
  nopl   0x0(%rax)
L7:
  cmp    $0x9,%eax
  ja     L103
  movslq (%rbx,%rax,4),%rax
  add    %rbx,%rax
  notrack jmp *%rax
  nopw   0x0(%rax,%rax,1)
  xor    %eax,%eax
  call   <insert_node@plt>
  nopw   0x0(%rax,%rax,1)
L103:
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%eax
  cmp    $0x9,%eax
  jle    L7
L68:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L15
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nopl   (%rax)
  xor    %eax,%eax
  call   <sort@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <display@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <insert_pos@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <insert_info@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <insert_last@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <insert_first@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <delete_last@plt>
  jmp    L103
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <delete_first@plt>
  jmp    L103
L15:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D90
type: string
name: disassemble_data
arguments: data_tag: D128
type: string
name: disassemble_data
arguments: data_tag: D42
type: string
name: disassemble_data
arguments: data_tag: D41
type: string
name: disassemble_data
arguments: data_tag: D96
type: string
name: disassemble_data
arguments: data_tag: D127
type: string
name: disassemble_data
arguments: data_tag: D6
type: string
name: disassemble_data
arguments: data_tag: D50
type: string
name: disassemble_data
arguments: data_tag: D11
type: string
name: disassemble_data
arguments: data_tag: D77
type: string
name: disassemble_data
arguments: data_tag: D29
type: string
name: disassemble_data
arguments: data_tag: D46
type: string

tool: D90: MAIN MENU 


tool: D128: %d

tool: D42: 1.INSERT AT BEGINING 


tool: D41: 2.INSERT AT LAST 


tool: D96: 3.DELETE AT BEGINING 


tool: D127: 4.DELETE AT LAST 


tool: D6: 5.SEARCH INFO


tool: D50: 6.SEARCH POSITION 


tool: D11: 7.DISPLAY 


tool: D77: 8.SORT 


tool: D29: ENTER YOUR CHOICE 


tool: D46: 
 ENTER YOUR CHOICE 


assistant: ```c
int main() {
  char ch;
  int choice;
  printf("MAIN MENU \n");
  printf("1.INSERT AT BEGINING \n");
  printf("2.INSERT AT LAST \n");
  printf("3.DELETE AT BEGINING \n");
  printf("4.DELETE AT LAST \n");
  printf("5.SEARCH INFO\n");
  printf("6.SEARCH POSITION \n");
  printf("7.DISPLAY \n");
  printf("8.SORT \n");
  printf("ENTER YOUR CHOICE \n");
  scanf("%d", &choice);
  while (choice < 10) {
    switch (choice) {
    case 1:
      insert_first();
      break;
    case 2:
      insert_last();
      break;
    case 3:
      delete_first();
      break;
    case 4:
      delete_last();
      break;
    case 5:
      insert_info();
      break;
    case 6:
      insert_pos();
      break;
    case 7:
      display();
      break;
    case 8:
      sort();
      break;
    case 9:
      insert_node();
      break;
    }
    printf("\n ENTER YOUR CHOICE \n");
    scanf("%d", &choice);
  }
  return 0;
}
```