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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xe8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xd8(%rsp)
  xor    %eax,%eax
  call   <print_variants@plt>
  lea    D227(%rip),%rbx
  lea    D201(%rip),%r15
  jmp    L166
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <getline_my@plt>
  mov    %eax,%esi
  mov    %rbp,%rdx
  lea    D48(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L166:
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <clear_string@plt>
  mov    %rbp,%rdi
  call   <getline_my@plt>
  movzbl (%rsp),%eax
  cmp    $0x36,%al
  jg     L159
  cmp    $0x30,%al
  jle    L31
  sub    $0x31,%eax
  cmp    $0x5,%al
  ja     L31
  movzbl %al,%eax
  movslq (%rbx,%rax,4),%rax
  add    %rbx,%rax
  notrack jmp *%rax
  lea    D178(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <clear_string@plt>
  mov    %rbp,%rdi
  call   <getline_my@plt>
  lea    D160(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  lea    D163(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <check_string_at_digits@plt>
  test   %eax,%eax
  jne    L209
  mov    %rsp,%rdi
  mov    $0xa,%esi
  call   <atoi@plt>
  mov    %eax,%esi
  lea    D40(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D49(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L166
L209:
  lea    D120(%rip),%rdi
  call   <puts@plt>
  jmp    L166
  lea    D142(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <clear_string@plt>
  mov    %rbp,%rdi
  call   <getline_my@plt>
  mov    %eax,%r12d
  mov    %rbp,%rdi
  call   <check_string_at_digits@plt>
  test   %eax,%eax
  jne    L160
  mov    %r12d,%esi
  mov    %rbp,%rdi
  call   <itoa_my@plt>
  mov    %rbp,%rsi
  lea    D228(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L166
L160:
  lea    D199(%rip),%rdi
  call   <puts@plt>
  jmp    L166
  mov    %rsp,%r12
  mov    %r12,%rdi
  call   <clear_string@plt>
  lea    0x70(%rsp),%rbp
  mov    %rbp,%rdi
  call   <clear_string@plt>
  lea    D229(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r12,%rdi
  call   <getline_my@plt>
  mov    %rbp,%rsi
  mov    %r12,%rdi
  call   <reverse_my@plt>
  mov    %rbp,%rsi
  lea    D45(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L166
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <clear_string@plt>
  lea    0x70(%rsp),%r12
  mov    %r12,%rdi
  call   <clear_string@plt>
  lea    D218(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <getline_my@plt>
  lea    D74(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r12,%rdi
  call   <getline_my@plt>
  mov    %rbp,%rdi
  call   <strlen_my@plt>
  mov    %eax,%r13d
  mov    %eax,%esi
  lea    D125(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r12,%rdi
  call   <strlen_my@plt>
  mov    %eax,%r14d
  mov    %eax,%esi
  lea    D89(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strindex_my@plt>
  cmp    $0xffffffff,%eax
  je     L42
  mov    %rsp,%rcx
  lea    0x70(%rsp),%rsi
  mov    %eax,%edx
  lea    D139(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L166
L42:
  mov    %r12,%rdx
  mov    %rsp,%rsi
  lea    D183(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L166
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rsp,%rbp
  mov    %rbp,%rdi
  call   <clear_string@plt>
  mov    %rbp,%rdi
  call   <getop_my@plt>
  test   %eax,%eax
  je     L114
  cmp    $0x1,%eax
  jne    L166
  mov    %rsp,%rsi
  lea    D99(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L166
L114:
  lea    D16(%rip),%rdi
  call   <puts@plt>
  jmp    L166
L71:
  lea    D146(%rip),%rdi
  call   <puts@plt>
  mov    0xd8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L75
  add    $0xe8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L31:
  lea    D62(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <print_variants@plt>
  jmp    L166
L159:
  cmp    $0x71,%al
  je     L71
  cmp    $0x72,%al
  jne    L31
  mov    $0x0,%eax
  call   <print_variants@plt>
  jmp    L166
L75:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D201
type_infered: string
name: retrieve_data
arguments: label: D48
type_infered: string
name: retrieve_data
arguments: label: D178
type_infered: string
name: retrieve_data
arguments: label: D160
type_infered: string
name: retrieve_data
arguments: label: D163
type_infered: string
name: retrieve_data
arguments: label: D40
type_infered: string
name: retrieve_data
arguments: label: D49
type_infered: string
name: retrieve_data
arguments: label: D120
type_infered: string
name: retrieve_data
arguments: label: D142
type_infered: string
name: retrieve_data
arguments: label: D228
type_infered: string
name: retrieve_data
arguments: label: D199
type_infered: string
name: retrieve_data
arguments: label: D229
type_infered: string
name: retrieve_data
arguments: label: D45
type_infered: string
name: retrieve_data
arguments: label: D218
type_infered: string
name: retrieve_data
arguments: label: D74
type_infered: string
name: retrieve_data
arguments: label: D125
type_infered: string
name: retrieve_data
arguments: label: D89
type_infered: string
name: retrieve_data
arguments: label: D139
type_infered: string
name: retrieve_data
arguments: label: D183
type_infered: string
name: retrieve_data
arguments: label: D99
type_infered: string
name: retrieve_data
arguments: label: D16
type_infered: string
name: retrieve_data
arguments: label: D146
type_infered: string
name: retrieve_data
arguments: label: D62
type_infered: string

tool: D201: Input please operand:

tool: D48: rez = %d; and string1 = "%s";


tool: D178: 
Input please string of digits that you want 
to convert to integer value: 

tool: D160: --
-

tool: D163: Getted string:"%s";


tool: D40: After atoi result = %d;


tool: D49: So, what do you want to do now? Enter your choise (1-6,r,q):

tool: D120: String, that you inputed, is not only digital. You may try again.

tool: D142: Input please digital value, that you want to convert to character array:

tool: D228: After converting string with your inputed digit ="%s";


tool: D199: Number, that you inputed, is not only digital. You may try again.

tool: D229: Input please string to reverse:

tool: D45: After reverse string ="%s";


tool: D218: Input please first string, where search would be:

tool: D74: Input please second string, which would be searching:

tool: D125: Lenght of string_where = %d;


tool: D89: Lenght of string_what = %d;


tool: D139: Theres is second string = "%s"in position %d in first string = "%s";


tool: D183: There is no second string = "%s" in first string = "%s";


tool: D99: Geted operand = "%s";


tool: D16: Inputed symbol(s) is(are) not digital.

tool: D146: Exit. Goodbye!

tool: D62: Wrong input. You may choose next variants:

assistant: ```c
void main() {
  char string1[100];
  char string2[100];
  int rez = 0;
  int len1 = 0;
  int len2 = 0;
  int digit = 0;
  char choice = 0;
  short int exit = 0;
  print_variants();
  while (exit == 0) {
    clear_string(&string1);
    rez = getline_my(&string1);
    choice = string1[0];
    switch (choice) {
    case '1':
      rez = getline_my(&string1);
      printf("rez = %d; and string1 = \"%s\";\n", rez, string1);
      break;
    case '2':
      printf("\nInput please string of digits that you want \nto convert to integer value: ");
      clear_string(&string1);
      rez = getline_my(&string1);
      printf("--\n-");
      printf("Getted string:\"%s\";\n", string1);
      rez = check_string_at_digits(&string1);
      if (rez == 0) {
        rez = atoi(&string1, 10);
        printf("After atoi result = %d;\n", rez);
        printf("So, what do you want to do now? Enter your choise (1-6,r,q):");
      } else {
        printf("String, that you inputed, is not only digital. You may try again.\n");
      }
      break;
    case '3':
      printf("Input please digital value, that you want to convert to character array:");
      clear_string(&string1);
      digit = getline_my(&string1);
      rez = check_string_at_digits(&string1);
      if (rez == 0) {
        itoa_my(&string1, digit);
        printf("After converting string with your inputed digit =\"%s\";\n", string1);
      } else {
        printf("Number, that you inputed, is not only digital. You may try again.\n");
      }
      break;
    case '4':
      clear_string(&string1);
      clear_string(&string2);
      printf("Input please string to reverse:");
      getline_my(&string1);
      reverse_my(&string1, &string2);
      printf("After reverse string =\"%s\";\n", string2);
      break;
    case '5':
      clear_string(&string1);
      clear_string(&string2);
      printf("Input please first string, where search would be:");
      getline_my(&string1);
      printf("Input please second string, which would be searching:");
      getline_my(&string2);
      len1 = 0;
      len2 = 0;
      len1 = strlen_my(&string1);
      printf("Lenght of string_where = %d;\n", len1);
      len2 = strlen_my(&string2);
      printf("Lenght of string_what = %d;\n", len2);
      rez = strindex_my(&string1, &string2, len1, len2);
      if (rez == -1) {
        printf("There is no second string = \"%s\" in first string = \"%s\";\n", string1, string2);
      } else {
        printf("Theres is second string = \"%s\"in position %d in first string = \"%s\";\n", string2, rez, string1);
      }
      break;
    case '6':
      printf("Input please operand:");
      clear_string(&string1);
      rez = getop_my(&string1);
      switch (rez) {
      case 1:
        printf("Geted operand = \"%s\";\n", string1);
        break;
      case 0:
        printf("Inputed symbol(s) is(are) not digital.\n");
        break;
      };
      break;
    case 'q':
      printf("Exit. Goodbye!\n");
      exit = 1;
      break;
    case 'r':
      print_variants();
      break;
    default:
      printf("Wrong input. You may choose next variants:\n");
      print_variants();
    };
  };
}
```