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

```asm
<main>:
  endbr64
  push   %r15
  mov    $0x4,%esi
  mov    $0x32,%edi
  lea    D57(%rip),%r15
  push   %r14
  lea    D41(%rip),%r14
  push   %r13
  lea    D153(%rip),%r13
  push   %r12
  lea    D21(%rip),%r12
  push   %rbp
  lea    D59(%rip),%rbp
  push   %rbx
  lea    D15(%rip),%rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <calloc@plt>
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <refresh@plt>
  lea    D70(%rip),%rdi
  call   <printf@plt>
  lea    0x1c(%rsp),%rax
  mov    %rax,(%rsp)
  jmp    L38
  xchg   %ax,%ax
L69:
  cmp    $0x2,%eax
  jne    L46
  lea    D108(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  lea    0x20(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  xor    %eax,%eax
  call   <check@plt>
  cmp    $0x1,%eax
  je     L24
  mov    0x8(%rsp),%rsi
  mov    0x20(%rsp),%edi
  call   <delete@plt>
  xchg   %ax,%ax
L46:
  xor    %eax,%eax
  call   <refresh@plt>
L38:
  mov    %r15,%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r13,%rdi
  call   <printf@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  lea    D45(%rip),%rdi
  call   <printf@plt>
  mov    (%rsp),%rsi
  mov    %rbx,%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  mov    0x1c(%rsp),%eax
  cmp    $0x3,%eax
  je     L84
  jg     L9
  cmp    $0x1,%eax
  jne    L69
  lea    D38(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <check@plt>
  lea    D40(%rip),%rdi
  test   %eax,%eax
  je     L85
  lea    0x24(%rsp),%rdx
  lea    0x20(%rsp),%rsi
  xor    %eax,%eax
  lea    D116(%rip),%rdi
  call   <scanf@plt>
  mov    0x8(%rsp),%rdx
  mov    0x24(%rsp),%esi
  mov    0x20(%rsp),%edi
  call   <insert@plt>
  jmp    L46
  nopw   0x0(%rax,%rax,1)
L9:
  cmp    $0x4,%eax
  jne    L46
  lea    D88(%rip),%rdi
  call   <printf@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L84:
  lea    D48(%rip),%rdi
  call   <printf@plt>
  mov    0x8(%rsp),%rdi
  call   <display@plt>
L32:
  lea    D17(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  jmp    L46
L24:
  lea    D33(%rip),%rdi
L85:
  call   <printf@plt>
  jmp    L32
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D57
datatype: string
name: parse_data
arguments: label: D41
datatype: string
name: parse_data
arguments: label: D153
datatype: string
name: parse_data
arguments: label: D21
datatype: string
name: parse_data
arguments: label: D59
datatype: string
name: parse_data
arguments: label: D15
datatype: string
name: parse_data
arguments: label: D70
datatype: string
name: parse_data
arguments: label: D108
datatype: string
name: parse_data
arguments: label: D45
datatype: string
name: parse_data
arguments: label: D38
datatype: string
name: parse_data
arguments: label: D40
datatype: string
name: parse_data
arguments: label: D116
datatype: string
name: parse_data
arguments: label: D88
datatype: string
name: parse_data
arguments: label: D48
datatype: string
name: parse_data
arguments: label: D17
datatype: string
name: parse_data
arguments: label: D33
datatype: string

tool: D57:           Please choose from available options:-


tool: D41: ****************************************************


tool: D153:      ENTER 1 TO INSERT


tool: D21:      Enter 2 To delete


tool: D59:      ENTER 3 TO displaqy


tool: D15: %d

tool: D70:           WELCOME TO OUR PROGRAM


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


tool: D45:      Enter 4 To exit


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

tool: D40: Array is full


tool: D116: %d %d

tool: D88: Thanks for using program


tool: D48: Elements of arrays are as follows


tool: D17: Enter a character to continue :

tool: D33: Array is empty


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;
}
```