user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %r15
  lea    D88(%rip),%r15
  push   %r14
  lea    D1(%rip),%r14
  push   %r13
  lea    D69(%rip),%r13
  push   %r12
  lea    D71(%rip),%r12
  push   %rbp
  push   %rbx
  lea    D55(%rip),%rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rbp
  jmp    L80
  nopw   0x0(%rax,%rax,1)
L61:
  cmp    $0x2,%eax
  jne    L70
  xor    %eax,%eax
  call   <delete@plt>
  mov    %eax,0x4(%rsp)
  mov    %eax,%esi
  cmp    $0xffffffff,%eax
  je     L107
  lea    D8(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  nopl   0x0(%rax)
L107:
  cmpl   $0x4,(%rsp)
  je     L64
L80:
  mov    %r14,%rdi
  call   <puts@plt>
  mov    %r13,%rdi
  call   <puts@plt>
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    (%rsp),%eax
  cmp    $0x3,%eax
  je     L112
  jg     L57
  cmp    $0x1,%eax
  jne    L61
  lea    D13(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    0x4(%rsp),%edi
  call   <insert@plt>
  cmpl   $0x4,(%rsp)
  jne    L80
L64:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L110
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L57:
  cmp    $0x4,%eax
  jne    L70
  lea    D17(%rip),%rdi
  call   <puts@plt>
  jmp    L107
  cs nopw 0x0(%rax,%rax,1)
L70:
  lea    D24(%rip),%rdi
  call   <puts@plt>
  jmp    L107
  nopl   0x0(%rax)
L112:
  mov    %r15,%rdi
  call   <puts@plt>
  xor    %eax,%eax
  call   <display@plt>
  jmp    L107
L110:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D88
type_infered: string
name: read_data
arguments: label: D1
type_infered: string
name: read_data
arguments: label: D69
type_infered: string
name: read_data
arguments: label: D71
type_infered: string
name: read_data
arguments: label: D55
type_infered: string
name: read_data
arguments: label: D8
type_infered: string
name: read_data
arguments: label: D13
type_infered: string
name: read_data
arguments: label: D17
type_infered: string
name: read_data
arguments: label: D24
type_infered: string

tool: D88: Linked List Implementation of Queue: Status:

tool: D1: Linked List Implementation of QUEUE Operations ### 


tool: D69: Press 1-Insert, 2-Delete, 3-Display,4-Exit

tool: D71: Your option ? 

tool: D55: %d

tool: D8: Deleted node: %d


tool: D13: Insert value of node: 

tool: D17: Terminating.

tool: D24: Invalid option

assistant: ```c
int main(void) {
  int opn, elem;
  do {
    printf("Linked List Implementation of QUEUE Operations ### \n\n");
    printf("Press 1-Insert, 2-Delete, 3-Display,4-Exit\n");
    printf("Your option ? ");
    scanf("%d", &opn);
    switch (opn) {
    case 1:
      printf("Insert value of node: ");
      scanf("%d", &elem);
      insert(elem);
      break;
    case 2:
      elem = delete ();
      if (elem != -1)
        printf("Deleted node: %d\n", elem);
      break;
    case 3:
      printf("Linked List Implementation of Queue: Status:\n");
      display();
      break;
    case 4:
      printf("Terminating.\n");
      break;
    default:
      printf("Invalid option\n");
    }
  } while (opn != 4);
}
```