user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x4,%esi
  mov    $0x32,%edi
  call   <calloc@plt>
  mov    %rax,-0x10(%rbp)
  mov    $0x0,%eax
  call   <refresh@plt>
  lea    D116(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L64:
  lea    D82(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D138(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D124(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D137(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x24(%rbp),%rax
  mov    %rax,%rsi
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x24(%rbp),%eax
  cmp    $0x4,%eax
  je     L120
  cmp    $0x4,%eax
  jg     L161
  cmp    $0x3,%eax
  je     L153
  cmp    $0x3,%eax
  jg     L161
  cmp    $0x1,%eax
  je     L60
  cmp    $0x2,%eax
  je     L127
  jmp    L161
L60:
  lea    D51(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <check@plt>
  mov    %eax,-0x14(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  jne    L79
  lea    D8(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D151(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  jmp    L161
L79:
  lea    -0x1c(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D94(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x1c(%rbp),%ecx
  mov    -0x20(%rbp),%eax
  mov    -0x10(%rbp),%rdx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <insert@plt>
  jmp    L161
L127:
  lea    D180(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    $0x0,%eax
  call   <check@plt>
  mov    %eax,-0x18(%rbp)
  cmpl   $0x1,-0x18(%rbp)
  jne    L34
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D151(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  jmp    L161
L34:
  mov    -0x20(%rbp),%eax
  mov    -0x10(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <delete@plt>
  jmp    L161
L153:
  lea    D67(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x10(%rbp),%rax
  mov    %rax,%rdi
  call   <display@plt>
  lea    D151(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  jmp    L161
L120:
  lea    D187(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L27
  jmp    L54
L161:
  mov    $0x0,%eax
  call   <refresh@plt>
  jmp    L64
L54:
  call   <__stack_chk_fail@plt>
L27:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D116
type_guessed: string
name: extract_symbolic_data
arguments: tag: D82
type_guessed: string
name: extract_symbolic_data
arguments: tag: D138
type_guessed: string
name: extract_symbolic_data
arguments: tag: D54
type_guessed: string
name: extract_symbolic_data
arguments: tag: D124
type_guessed: string
name: extract_symbolic_data
arguments: tag: D25
type_guessed: string
name: extract_symbolic_data
arguments: tag: D137
type_guessed: string
name: extract_symbolic_data
arguments: tag: D66
type_guessed: string
name: extract_symbolic_data
arguments: tag: D51
type_guessed: string
name: extract_symbolic_data
arguments: tag: D8
type_guessed: string
name: extract_symbolic_data
arguments: tag: D151
type_guessed: string
name: extract_symbolic_data
arguments: tag: D94
type_guessed: string
name: extract_symbolic_data
arguments: tag: D180
type_guessed: string
name: extract_symbolic_data
arguments: tag: D48
type_guessed: string
name: extract_symbolic_data
arguments: tag: D67
type_guessed: string
name: extract_symbolic_data
arguments: tag: D187
type_guessed: string

tool: D116:           WELCOME TO OUR PROGRAM


tool: D82:           Please choose from available options:-


tool: D138: ****************************************************


tool: D54:      ENTER 1 TO INSERT


tool: D124:      Enter 2 To delete


tool: D25:      ENTER 3 TO displaqy


tool: D137:      Enter 4 To exit


tool: D66: %d

tool: D51: Enter position and value to be inserted :  

tool: D8: Array is full


tool: D151: Enter a character to continue :

tool: D94: %d %d

tool: D180: Enter position from which we need to perform deletion: 


tool: D48: Array is empty


tool: D67: Elements of arrays are as follows


tool: D187: Thanks for using program


assistant: ```c
int main() {
  int *ARR = calloc(50, sizeof(int));
  int i, pos, val;
  refresh();
  printf("          WELCOME TO OUR PROGRAM\n");
  while (1) {
    printf("          Please choose from available options:-\n");
    printf("****************************************************\n");
    printf("     ENTER 1 TO INSERT\n");
    printf("     Enter 2 To delete\n");
    printf("     ENTER 3 TO displaqy\n");
    printf("     Enter 4 To exit\n");
    scanf("%d", &i);
    switch (i) {
    case 1:
      printf("Enter position and value to be inserted :  ");
      int flag = check();
      if (flag == 0) {
        printf("Array is full\n");
        printf("Enter a character to continue :");
        getchar();
        getchar();
        break;
      }
      scanf("%d %d", &pos, &val);
      insert(pos, val, ARR);
      break;
    case 2:
      printf("Enter position from which we need to perform deletion: \n");
      scanf("%d", &pos);
      int flag1 = check();
      if (flag1 == 1) {
        printf("Array is empty\n");
        printf("Enter a character to continue :");
        getchar();
        getchar();
        break;
      }
      delete (pos, ARR);
      break;
    case 3:
      printf("Elements of arrays are as follows\n");
      display(ARR);
      printf("Enter a character to continue :");
      getchar();
      getchar();
      break;
    case 4:
      printf("Thanks for using program\n");
      return 0;
    }
    refresh();
  }
  return 0;
}
```