user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %r15
  xor    %eax,%eax
  lea    D63(%rip),%r15
  push   %r14
  lea    D21(%rip),%r14
  push   %r13
  lea    D38(%rip),%r13
  push   %r12
  lea    D55(%rip),%r12
  push   %rbp
  lea    D5(%rip),%rbp
  push   %rbx
  lea    D50(%rip),%rbx
  sub    $0x8,%rsp
  call   <calculator_operations@plt>
  nopl   0x0(%rax,%rax,1)
L15:
  mov    $0xa,%edi
  call   <putchar@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <getch@plt>
  sub    $0x21,%eax
  cmp    $0x50,%al
  ja     L32
  movzbl %al,%eax
  movslq (%rbx,%rax,4),%rax
  add    %rbx,%rax
  notrack jmp *%rax
  nopw   0x0(%rax,%rax,1)
L32:
  mov    %r13,%rdi
  call   <system@plt>
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14,%rdi
  call   <puts@plt>
  lea    D29(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D4(%rip),%rdi
  call   <puts@plt>
  xor    %eax,%eax
  call   <calculator_operations@plt>
  jmp    L15
  nopl   (%rax)
  mov    %r13,%rdi
  call   <system@plt>
  xor    %eax,%eax
  call   <calculator_operations@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %edi,%edi
  call   <exit@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <power@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <modulus@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <division@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <subtraction@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <addition@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <multiplication@plt>
  jmp    L15
  nopl   0x0(%rax)
  xor    %eax,%eax
  call   <factorial@plt>
  jmp    L15
```

tool_calls: name: parse_data
arguments: data_label: D63
datatype: string
name: parse_data
arguments: data_label: D21
datatype: string
name: parse_data
arguments: data_label: D38
datatype: string
name: parse_data
arguments: data_label: D55
datatype: string
name: parse_data
arguments: data_label: D5
datatype: string
name: parse_data
arguments: data_label: D29
datatype: string
name: parse_data
arguments: data_label: D4
datatype: string

tool: D63: 
**********You have entered unavailable option

tool: D21: ***********

tool: D38: cls

tool: D55: Enter the calculator Operation you want to do:

tool: D5: %s : 

tool: D29: 
*****Please Enter any one of below available 

tool: D4: options****

assistant: ```c
int main() {
  int X = 1;
  char Calc_oprn;
  int pid = calculator_operations();
  while (X) {
    printf("\n");
    printf("%s : ", "Enter the calculator Operation you want to do:");
    Calc_oprn = getch();
    switch (Calc_oprn) {
    case '+':
      addition();
      break;
    case '-':
      subtraction();
      break;
    case '*':
      multiplication();
      break;
    case '/':
      division();
      break;
    case '?':
      modulus();
      break;
    case '!':
      factorial();
      break;
    case '^':
      power();
      break;
    case 'H':
    case 'h':
      calculator_operations();
      break;
    case 'Q':
    case 'q':
      exit(0);
      break;
    case 'c':
    case 'C':
      system("cls");
      calculator_operations();
      break;
    default:
      system("cls");
      printf("\n**********You have entered unavailable option");
      printf("***********\n");
      printf("\n*****Please Enter any one of below available ");
      printf("options****\n");
      calculator_operations();
    }
  }
}
```