user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<main>:
  endbr64
  push   %r15
  lea    D91(%rip),%r15
  push   %r14
  lea    D42(%rip),%r14
  push   %r13
  lea    D55(%rip),%r13
  push   %r12
  lea    D83(%rip),%r12
  push   %rbp
  lea    D61(%rip),%rbp
  push   %rbx
  lea    D13(%rip),%rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rax
  mov    %rax,(%rsp)
  lea    0x14(%rsp),%rax
  mov    %rax,0x8(%rsp)
  jmp    L53
  nopl   0x0(%rax)
L16:
  cmp    $0x1,%eax
  jne    L57
  lea    D78(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x14(%rsp),%edi
  call   <qinsert@plt>
  mov    0x10(%rsp),%eax
L45:
  test   %eax,%eax
  je     L71
L53:
  mov    %r15,%rdi
  call   <puts@plt>
  mov    %r14,%rdi
  call   <puts@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  mov    %r12,%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  call   <puts@plt>
  lea    D26(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x10(%rsp),%eax
  cmp    $0x2,%eax
  je     L99
  jg     L108
  test   %eax,%eax
  jne    L16
L71:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L74
  add    $0x28,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L108:
  cmp    $0x3,%eax
  jne    L57
  xor    %eax,%eax
  call   <display@plt>
  mov    0x10(%rsp),%eax
  jmp    L45
  nopl   (%rax)
L99:
  xor    %eax,%eax
  call   <qdelete@plt>
  mov    %eax,0x14(%rsp)
  mov    %eax,%esi
  cmp    $0xffffffff,%eax
  je     L38
  lea    D37(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x10(%rsp),%eax
  jmp    L45
  nopl   0x0(%rax)
L57:
  lea    D21(%rip),%rdi
  call   <puts@plt>
L38:
  mov    0x10(%rsp),%eax
  jmp    L45
L74:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D91
data_type: string
name: extract_symbolic_data
arguments: data_tag: D42
data_type: string
name: extract_symbolic_data
arguments: data_tag: D55
data_type: string
name: extract_symbolic_data
arguments: data_tag: D83
data_type: string
name: extract_symbolic_data
arguments: data_tag: D61
data_type: string
name: extract_symbolic_data
arguments: data_tag: D13
data_type: string
name: extract_symbolic_data
arguments: data_tag: D78
data_type: string
name: extract_symbolic_data
arguments: data_tag: D26
data_type: string
name: extract_symbolic_data
arguments: data_tag: D37
data_type: string
name: extract_symbolic_data
arguments: data_tag: D21
data_type: string

tool: D91: 
-------------------

tool: D42: 1. Insert

tool: D55: 2. Delete

tool: D83: 3. Display

tool: D61: 0. Exit

tool: D13: %d

tool: D78: Enter an item: 

tool: D26: Enter choice: 

tool: D37: Item removed: %d 


tool: D21: Invalid Choice!

assistant: ```c
int main() {
  int ch, item;
  do {
    printf("\n-------------------\n");
    printf("1. Insert\n");
    printf("2. Delete\n");
    printf("3. Display\n");
    printf("0. Exit\n");
    printf("Enter choice: ");
    scanf("%d", &ch);
    switch (ch) {
    case 1:
      printf("Enter an item: ");
      scanf("%d", &item);
      qinsert(item);
      break;
    case 2:
      item = qdelete();
      if (item != -1)
        printf("Item removed: %d \n", item);
      break;
    case 3:
      display();
      break;
    case 0:
      break;
    default:
      printf("Invalid Choice!\n");
    }
  } while (ch != 0);
  return 0;
}
```