user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D86(%rip),%rdi
  call   <puts@plt>
  lea    D48(%rip),%rdi
  call   <puts@plt>
  lea    D73(%rip),%rdi
  call   <puts@plt>
  lea    D95(%rip),%rdi
  call   <puts@plt>
  lea    D171(%rip),%rdi
  call   <puts@plt>
  lea    D195(%rip),%rdi
  call   <puts@plt>
  lea    D166(%rip),%rdi
  call   <puts@plt>
  lea    D94(%rip),%rdi
  call   <puts@plt>
  lea    0x14(%rsp),%rsi
  lea    D52(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x6,0x14(%rsp)
  je     L30
  lea    D106(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0xc(%rsp),%rsi
  lea    D52(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D19(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0x14(%rsp),%eax
  cmp    $0x1,%eax
  je     L81
  cmp    $0x2,%eax
  je     L11
  cmp    $0x3,%eax
  je     L15
  cmp    $0x4,%eax
  je     L13
  cmp    $0x5,%eax
  je     L39
  lea    D13(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L30:
  lea    D13(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L81:
  mov    0x10(%rsp),%eax
  add    0xc(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D134(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L108:
  lea    D86(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L72
  mov    $0x0,%eax
  add    $0x20,%rsp
  pop    %rbx
  ret
L11:
  mov    0xc(%rsp),%eax
  sub    0x10(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D117(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L108
L15:
  mov    0xc(%rsp),%eax
  imul   0x10(%rsp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D113(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L108
L13:
  mov    0xc(%rsp),%eax
  cltd
  idivl  0x10(%rsp)
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D79(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L108
L39:
  mov    0xc(%rsp),%eax
  cltd
  idivl  0x10(%rsp)
  pxor   %xmm0,%xmm0
  cvtsi2ss %edx,%xmm0
  cvtss2sd %xmm0,%xmm0
  lea    D85(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L108
L72:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D86
type_guessed: string
name: parse_data
arguments: data_label: D48
type_guessed: string
name: parse_data
arguments: data_label: D73
type_guessed: string
name: parse_data
arguments: data_label: D95
type_guessed: string
name: parse_data
arguments: data_label: D171
type_guessed: string
name: parse_data
arguments: data_label: D195
type_guessed: string
name: parse_data
arguments: data_label: D166
type_guessed: string
name: parse_data
arguments: data_label: D94
type_guessed: string
name: parse_data
arguments: data_label: D52
type_guessed: string
name: parse_data
arguments: data_label: D106
type_guessed: string
name: parse_data
arguments: data_label: D19
type_guessed: string
name: parse_data
arguments: data_label: D13
type_guessed: string
name: parse_data
arguments: data_label: D134
type_guessed: string
name: parse_data
arguments: data_label: D117
type_guessed: string
name: parse_data
arguments: data_label: D113
type_guessed: string
name: parse_data
arguments: data_label: D79
type_guessed: string
name: parse_data
arguments: data_label: D85
type_guessed: string

tool: D86: 
---------------------------------

tool: D48: Please, choose an option of operation: 

tool: D73: * 1 = Addition 

tool: D95: * 2 = Subtraction 

tool: D171: * 3 = Multiplication 

tool: D195: * 4 = Division 

tool: D166: * 5 = MOD 

tool: D94: * 6 = Exit 

tool: D52: %d

tool: D106: Please, insert the number primary: 

tool: D19: 
Please, insert the number secondary: 

tool: D13: -----BYE----- 

tool: D134: Result addition is: %.2f 


tool: D117: Result subtraction is: %.2f 


tool: D113: Result multiplication is: %.2f 


tool: D79: Result division is: %.2f 


tool: D85: Result the mod is: %.2f 


assistant: ```c
int main() {
  int numberPrimary;
  int numberSecondary;
  int option;
  float result;
  printf("\n---------------------------------\n");
  printf("Please, choose an option of operation: \n");
  printf("* 1 = Addition \n");
  printf("* 2 = Subtraction \n");
  printf("* 3 = Multiplication \n");
  printf("* 4 = Division \n");
  printf("* 5 = MOD \n");
  printf("* 6 = Exit \n");
  scanf("%d", &option);
  if (option == 6) {
    printf("-----BYE----- \n");
    exit(0);
  }
  printf("Please, insert the number primary: ");
  scanf("%d", &numberPrimary);
  printf("\nPlease, insert the number secondary: ");
  scanf("%d", &numberSecondary);
  if (option == 1) {
    result = ((numberPrimary) + (numberSecondary));
    printf("Result addition is: %.2f \n", result);
  } else if (option == 2) {
    result = ((numberPrimary) - (numberSecondary));
    printf("Result subtraction is: %.2f \n", result);
  } else if (option == 3) {
    result = ((numberPrimary) * (numberSecondary));
    printf("Result multiplication is: %.2f \n", result);
  } else if (option == 4) {
    result = ((numberPrimary) / (numberSecondary));
    printf("Result division is: %.2f \n", result);
  } else if (option == 5) {
    result = (numberPrimary % numberSecondary);
    printf("Result the mod is: %.2f \n", result);
  } else {
    printf("-----BYE----- \n");
    exit(0);
  }
  printf("\n---------------------------------\n");
}
```