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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  lea    D106(%rip),%r14
  push   %r13
  lea    D230(%rip),%r13
  push   %r12
  lea    D53(%rip),%r12
  push   %rbp
  lea    D182(%rip),%rbp
  push   %rbx
  sub    $0xf8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xe8(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%rbx
  call   <print_variants@plt>
  xchg   %ax,%ax
L43:
  mov    %rbx,%rdi
  call   <clear_string@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  movzbl 0x10(%rsp),%eax
  cmp    $0x36,%al
  jg     L175
  cmp    $0x30,%al
  jle    L68
  sub    $0x32,%eax
  cmp    $0x4,%al
  ja     L27
  movzbl %al,%eax
  movslq 0x0(%rbp,%rax,4),%rax
  add    %rbp,%rax
  notrack jmp *%rax
  xchg   %ax,%ax
  lea    0x80(%rsp),%r15
  mov    %rbx,%rdi
  call   <clear_string@plt>
  mov    %r15,%rdi
  call   <clear_string@plt>
  lea    D132(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <reverse_my@plt>
  mov    %r15,%rsi
  lea    D100(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
  nop
  lea    D222(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <clear_string@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rdi
  mov    %eax,%r15d
  call   <check_string_at_digits@plt>
  test   %eax,%eax
  jne    L91
  mov    %r15d,%esi
  mov    %rbx,%rdi
  call   <itoa_my@plt>
  mov    %rbx,%rsi
  lea    D90(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
  nopw   0x0(%rax,%rax,1)
  lea    D144(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <clear_string@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  lea    D14(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D50(%rip),%rdi
  xor    %eax,%eax
  mov    %rbx,%rsi
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <check_string_at_digits@plt>
  test   %eax,%eax
  jne    L209
  mov    %rbx,%rdi
  mov    $0xa,%esi
  call   <atoi@plt>
  lea    D145(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D141(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
  nopl   (%rax)
  lea    0x80(%rsp),%r15
  mov    %rbx,%rdi
  call   <clear_string@plt>
  mov    %r15,%rdi
  call   <clear_string@plt>
  lea    D118(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  lea    D82(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r15,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rdi
  call   <strlen_my@plt>
  lea    D48(%rip),%rdi
  mov    %eax,%esi
  mov    %eax,0xc(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r15,%rdi
  call   <strlen_my@plt>
  lea    D153(%rip),%rdi
  mov    %eax,%esi
  mov    %eax,0x8(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%edx
  mov    0x8(%rsp),%ecx
  mov    %r15,%rsi
  mov    %rbx,%rdi
  call   <strindex_my@plt>
  mov    %eax,%edx
  cmp    $0xffffffff,%eax
  je     L123
  mov    %rbx,%rcx
  mov    %r15,%rsi
  lea    D186(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
  nopl   0x0(%rax,%rax,1)
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <clear_string@plt>
  mov    %rbx,%rdi
  call   <getop_my@plt>
  test   %eax,%eax
  je     L36
  cmp    $0x1,%eax
  jne    L43
  mov    %rbx,%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
  nopl   (%rax)
L175:
  cmp    $0x71,%al
  je     L30
  cmp    $0x72,%al
  jne    L68
L195:
  xor    %eax,%eax
  call   <print_variants@plt>
  jmp    L43
  nopl   0x0(%rax)
L27:
  mov    %rbx,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rdx
  lea    D10(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
  nopl   0x0(%rax,%rax,1)
L68:
  lea    D2(%rip),%rdi
  call   <puts@plt>
  jmp    L195
  xchg   %ax,%ax
L30:
  lea    D27(%rip),%rdi
  call   <puts@plt>
  mov    0xe8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L70
  add    $0xf8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L91:
  lea    D11(%rip),%rdi
  call   <puts@plt>
  jmp    L43
L209:
  lea    D104(%rip),%rdi
  call   <puts@plt>
  jmp    L43
L123:
  mov    %r15,%rdx
  mov    %rbx,%rsi
  lea    D156(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L43
L36:
  mov    %r14,%rdi
  call   <puts@plt>
  jmp    L43
L70:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D106
datatype: string
name: parse_data
arguments: data_label: D230
datatype: string
name: parse_data
arguments: data_label: D53
datatype: string
name: parse_data
arguments: data_label: D132
datatype: string
name: parse_data
arguments: data_label: D100
datatype: string
name: parse_data
arguments: data_label: D222
datatype: string
name: parse_data
arguments: data_label: D90
datatype: string
name: parse_data
arguments: data_label: D144
datatype: string
name: parse_data
arguments: data_label: D14
datatype: string
name: parse_data
arguments: data_label: D50
datatype: string
name: parse_data
arguments: data_label: D145
datatype: string
name: parse_data
arguments: data_label: D141
datatype: string
name: parse_data
arguments: data_label: D118
datatype: string
name: parse_data
arguments: data_label: D82
datatype: string
name: parse_data
arguments: data_label: D48
datatype: string
name: parse_data
arguments: data_label: D153
datatype: string
name: parse_data
arguments: data_label: D186
datatype: string
name: parse_data
arguments: data_label: D10
datatype: string
name: parse_data
arguments: data_label: D2
datatype: string
name: parse_data
arguments: data_label: D27
datatype: string
name: parse_data
arguments: data_label: D11
datatype: string
name: parse_data
arguments: data_label: D104
datatype: string
name: parse_data
arguments: data_label: D156
datatype: string

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

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


tool: D53: Input please operand:

tool: D132: Input please string to reverse:

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


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

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


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

tool: D14: --
-

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


tool: D145: After atoi result = %d;


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

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

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

tool: D48: Lenght of string_where = %d;


tool: D153: Lenght of string_what = %d;


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


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


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

tool: D27: Exit. Goodbye!

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

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

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


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();
    };
  };
}
```