user: 请从给定的汇编指令推导出C源代码：

```asm
<main>:
  endbr64
  push   %r15
  lea    D63(%rip),%r15
  push   %r14
  lea    D147(%rip),%r14
  push   %r13
  push   %r12
  lea    D197(%rip),%r12
  push   %rbp
  lea    D170(%rip),%rbp
  push   %rbx
  lea    D35(%rip),%rbx
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  lea    0x4(%rsp),%r13
  nopw   0x0(%rax,%rax,1)
L158:
  mov    %r15,%rdi
  call   <printf@plt>
  lea    D141(%rip),%rdi
  call   <printf@plt>
  lea    D50(%rip),%rdi
  call   <printf@plt>
  lea    D13(%rip),%rdi
  call   <printf@plt>
  lea    D74(%rip),%rdi
  call   <printf@plt>
  lea    D159(%rip),%rdi
  call   <printf@plt>
  lea    D109(%rip),%rdi
  call   <printf@plt>
  lea    D163(%rip),%rdi
  call   <printf@plt>
  lea    D97(%rip),%rdi
  call   <printf@plt>
  lea    D22(%rip),%rdi
  call   <printf@plt>
  lea    D64(%rip),%rdi
  call   <printf@plt>
  lea    D193(%rip),%rdi
  call   <printf@plt>
  lea    D26(%rip),%rdi
  call   <printf@plt>
  lea    D61(%rip),%rdi
  call   <printf@plt>
  lea    D1(%rip),%rdi
  call   <printf@plt>
  lea    D21(%rip),%rdi
  call   <printf@plt>
  mov    %r14,%rdi
  call   <printf@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    %rbp,%rdi
  call   <printf@plt>
  cmpl   $0xe,0x4(%rsp)
  ja     L105
  mov    0x4(%rsp),%eax
  movslq (%rbx,%rax,4),%rax
  add    %rbx,%rax
  notrack jmp *%rax
L105:
  lea    D44(%rip),%rdi
  call   <printf@plt>
  nopl   0x0(%rax,%rax,1)
L133:
  mov    0x4(%rsp),%eax
  test   %eax,%eax
  jne    L158
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L127
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xor    %eax,%eax
  call   <fourteen@plt>
  jmp    L133
  xor    %eax,%eax
  call   <thirteen@plt>
  jmp    L133
  xor    %eax,%eax
  call   <twelve@plt>
  jmp    L133
  xor    %eax,%eax
  call   <eleven@plt>
  jmp    L133
  xor    %eax,%eax
  call   <ten@plt>
  jmp    L133
  xor    %eax,%eax
  call   <nine@plt>
  jmp    L133
  xor    %eax,%eax
  call   <eight@plt>
  jmp    L133
  xor    %eax,%eax
  call   <seven@plt>
  jmp    L133
  xor    %eax,%eax
  call   <six@plt>
  jmp    L133
  xor    %eax,%eax
  call   <five@plt>
  jmp    L133
  xor    %eax,%eax
  call   <four@plt>
  jmp    L133
  xor    %eax,%eax
  call   <three@plt>
  jmp    L133
  xor    %eax,%eax
  call   <two@plt>
  jmp    L133
  xor    %eax,%eax
  call   <one@plt>
  jmp    L133
L127:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D63
datatype: string
name: unpack_data
arguments: data_label: D147
datatype: string
name: unpack_data
arguments: data_label: D197
datatype: string
name: unpack_data
arguments: data_label: D170
datatype: string
name: unpack_data
arguments: data_label: D141
datatype: string
name: unpack_data
arguments: data_label: D50
datatype: string
name: unpack_data
arguments: data_label: D13
datatype: string
name: unpack_data
arguments: data_label: D74
datatype: string
name: unpack_data
arguments: data_label: D159
datatype: string
name: unpack_data
arguments: data_label: D109
datatype: string
name: unpack_data
arguments: data_label: D163
datatype: string
name: unpack_data
arguments: data_label: D97
datatype: string
name: unpack_data
arguments: data_label: D22
datatype: string
name: unpack_data
arguments: data_label: D64
datatype: string
name: unpack_data
arguments: data_label: D193
datatype: string
name: unpack_data
arguments: data_label: D26
datatype: string
name: unpack_data
arguments: data_label: D61
datatype: string
name: unpack_data
arguments: data_label: D1
datatype: string
name: unpack_data
arguments: data_label: D21
datatype: string
name: unpack_data
arguments: data_label: D44
datatype: string

tool: D63: 
MAIN MENU



tool: D147: 
select option (int): 

tool: D197: %d

tool: D170: 


tool: D141:  0.	exit


tool: D50:  1.	program to generate a mathematical table


tool: D13:  2.	program to generate the roman numeral representation


tool: D74:  3.	program to solve a biquadratic equation


tool: D159:  4.	program to generate the sine curve


tool: D109:  5.	program to generate statistical markers


tool: D163:  6.	program to generate the prime factorisation


tool: D97:  7.	program to generate a formatted date


tool: D22:  8.	program to gauge the accuracy of computation


tool: D64:  9.	program to generate the binary equivalent


tool: D193: 10.	program to generate the sine


tool: D26: 11.	program to demostrate linear search


tool: D61: 12.	program to demostrate insertion sort


tool: D1: 13.	program to manipulate complex numbers


tool: D21: 14.	program to generate terms of a polynomial series


tool: D44: invalid input


assistant: ```c
int main() {
  int index;
  do {
    printf("\nMAIN MENU\n\n");
    printf(" 0.\texit\n");
    printf(" 1.\tprogram to generate a mathematical table\n");
    printf(" 2.\tprogram to generate the roman numeral representation\n");
    printf(" 3.\tprogram to solve a biquadratic equation\n");
    printf(" 4.\tprogram to generate the sine curve\n");
    printf(" 5.\tprogram to generate statistical markers\n");
    printf(" 6.\tprogram to generate the prime factorisation\n");
    printf(" 7.\tprogram to generate a formatted date\n");
    printf(" 8.\tprogram to gauge the accuracy of computation\n");
    printf(" 9.\tprogram to generate the binary equivalent\n");
    printf("10.\tprogram to generate the sine\n");
    printf("11.\tprogram to demostrate linear search\n");
    printf("12.\tprogram to demostrate insertion sort\n");
    printf("13.\tprogram to manipulate complex numbers\n");
    printf("14.\tprogram to generate terms of a polynomial series\n");
    printf("\nselect option (int): ");
    scanf("%d", &index);
    printf("\n");
    switch (index) {
    case 0:
      break;
    case 1:
      one();
      break;
    case 2:
      two();
      break;
    case 3:
      three();
      break;
    case 4:
      four();
      break;
    case 5:
      five();
      break;
    case 6:
      six();
      break;
    case 7:
      seven();
      break;
    case 8:
      eight();
      break;
    case 9:
      nine();
      break;
    case 10:
      ten();
      break;
    case 11:
      eleven();
      break;
    case 12:
      twelve();
      break;
    case 13:
      thirteen();
      break;
    case 14:
      fourteen();
      break;
    default:
      printf("invalid input\n");
    }
  } while (index);
  return 0;
}
```