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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D117(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D138(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D84(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D58(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D59(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D188(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x10(%rbp),%eax
  cmp    $0x6,%eax
  jne    L57
  lea    D144(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L57:
  lea    D123(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D211(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x14(%rbp),%rax
  mov    %rax,%rsi
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x10(%rbp),%eax
  cmp    $0x5,%eax
  ja     L64
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D210(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D210(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm1,%xmm1
  cvtss2sd -0xc(%rbp),%xmm1
  movq   %xmm1,%rax
  movq   %rax,%xmm0
  lea    D37(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L64
  mov    -0x18(%rbp),%eax
  mov    -0x14(%rbp),%edx
  sub    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm2,%xmm2
  cvtss2sd -0xc(%rbp),%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D173(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L64
  mov    -0x18(%rbp),%edx
  mov    -0x14(%rbp),%eax
  imul   %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm3,%xmm3
  cvtss2sd -0xc(%rbp),%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L64
  mov    -0x18(%rbp),%eax
  mov    -0x14(%rbp),%ecx
  cltd
  idiv   %ecx
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm4,%xmm4
  cvtss2sd -0xc(%rbp),%xmm4
  movq   %xmm4,%rax
  movq   %rax,%xmm0
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L64
  mov    -0x18(%rbp),%eax
  mov    -0x14(%rbp),%ecx
  cltd
  idiv   %ecx
  mov    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm5,%xmm5
  cvtss2sd -0xc(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  lea    D200(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  nop
L64:
  lea    D117(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L20
  call   <__stack_chk_fail@plt>
L20:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D117
datatype: string
name: disassemble_data
arguments: tag: D138
datatype: string
name: disassemble_data
arguments: tag: D84
datatype: string
name: disassemble_data
arguments: tag: D78
datatype: string
name: disassemble_data
arguments: tag: D58
datatype: string
name: disassemble_data
arguments: tag: D59
datatype: string
name: disassemble_data
arguments: tag: D111
datatype: string
name: disassemble_data
arguments: tag: D188
datatype: string
name: disassemble_data
arguments: tag: D21
datatype: string
name: disassemble_data
arguments: tag: D144
datatype: string
name: disassemble_data
arguments: tag: D123
datatype: string
name: disassemble_data
arguments: tag: D211
datatype: string
name: disassemble_data
arguments: tag: D37
datatype: string
name: disassemble_data
arguments: tag: D173
datatype: string
name: disassemble_data
arguments: tag: D14
datatype: string
name: disassemble_data
arguments: tag: D42
datatype: string
name: disassemble_data
arguments: tag: D200
datatype: string

tool: D117: 
---------------------------------

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

tool: D84: * 1 = Addition 

tool: D78: * 2 = Subtraction 

tool: D58: * 3 = Multiplication 

tool: D59: * 4 = Division 

tool: D111: * 5 = MOD 

tool: D188: * 6 = Exit 

tool: D21: %d

tool: D144: -----BYE----- 

tool: D123: Please, insert the number primary: 

tool: D211: 
Please, insert the number secondary: 

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


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


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


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


tool: D200: 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);
  switch (option) {
  case 1:
    result = ((numberPrimary) + (numberSecondary));
    printf("Result addition is: %.2f \n", result);
    break;
  case 2:
    result = ((numberPrimary) - (numberSecondary));
    printf("Result subtraction is: %.2f \n", result);
    break;
  case 3:
    result = ((numberPrimary) * (numberSecondary));
    printf("Result multiplication is: %.2f \n", result);
    break;
  case 4:
    result = ((numberPrimary) / (numberSecondary));
    printf("Result division is: %.2f \n", result);
    break;
  case 5:
    result = (numberPrimary % numberSecondary);
    printf("Result the mod is: %.2f \n", result);
    break;
  }
  printf("\n---------------------------------\n");
}
```