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

```asm
<main>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x360,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x358(%rsp)
  xor    %eax,%eax
  lea    D63(%rip),%rdi
  call   <puts@plt>
  lea    D188(%rip),%rdi
  call   <puts@plt>
  lea    D168(%rip),%rdi
  call   <puts@plt>
  lea    D21(%rip),%rdi
  call   <puts@plt>
  lea    D32(%rip),%rdi
  call   <puts@plt>
  lea    D48(%rip),%rdi
  call   <puts@plt>
  lea    D93(%rip),%rdi
  call   <puts@plt>
  lea    D140(%rip),%rdi
  call   <puts@plt>
  lea    D67(%rip),%rbx
L47:
  lea    0x1b0(%rsp),%rdi
  call   <getline_my@plt>
  movzbl 0x1b0(%rsp),%eax
  cmp    $0x35,%al
  jg     L122
  cmp    $0x30,%al
  jle    L42
  sub    $0x31,%eax
  cmp    $0x4,%al
  ja     L42
  movzbl %al,%eax
  lea    D123(%rip),%rdx
  movslq (%rdx,%rax,4),%rax
  add    %rdx,%rax
  notrack jmp *%rax
  lea    0x1b0(%rsp),%rbx
  mov    $0x64,%esi
  mov    %rbx,%rdi
  call   <clean_text@plt>
  lea    D10(%rip),%rdi
  call   <puts@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rdi
  call   <atoi_2@plt>
  mov    %eax,%esi
  lea    D36(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L89
  lea    0x1b0(%rsp),%rsi
  mov    %rsp,%rbx
  mov    %rbx,%rdi
  call   <getarray_sort@plt>
  mov    %eax,%ebp
  mov    %eax,%esi
  mov    %rbx,%rdi
  call   <shellsort@plt>
  lea    D70(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  test   %ebp,%ebp
  jle    L117
  lea    -0x1(%rbp),%eax
  lea    0x4(%rsp,%rax,4),%r12
  lea    D116(%rip),%rbp
L53:
  mov    (%rbx),%esi
  mov    %rbp,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  add    $0x4,%rbx
  cmp    %r12,%rbx
  jne    L53
L117:
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L89
  lea    D160(%rip),%rdi
  call   <puts@plt>
  lea    0x1b0(%rsp),%rbx
  mov    $0x64,%esi
  mov    %rbx,%rdi
  call   <clean_text@plt>
  mov    %rbx,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rdi
  call   <reverse_string@plt>
  mov    %rbx,%rsi
  lea    D181(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L89
  lea    D139(%rip),%rdi
  call   <puts@plt>
  lea    0x190(%rsp),%rbp
  mov    $0x1e,%esi
  mov    %rbp,%rdi
  call   <clean_text@plt>
  lea    0x220(%rsp),%rbx
  mov    $0x12c,%esi
  mov    %rbx,%rdi
  call   <clean_text@plt>
  mov    %rbp,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <expand_my@plt>
  mov    %rbx,%rsi
  lea    D4(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L89
  lea    D34(%rip),%rdi
  call   <puts@plt>
  lea    0x1b0(%rsp),%rbx
  mov    %rbx,%rdi
  call   <getline_my@plt>
  mov    %rbx,%rdi
  call   <atoi_2@plt>
  mov    %rax,%rbx
  lea    0x220(%rsp),%rbp
  mov    $0x12c,%esi
  mov    %rbp,%rdi
  call   <clean_text@plt>
  movswl %bx,%edi
  mov    %rbp,%rsi
  call   <itoa_dw@plt>
  mov    %rbp,%rsi
  lea    D42(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L89
L42:
  mov    %rbx,%rdi
  call   <puts@plt>
  jmp    L47
L122:
  cmp    $0x71,%al
  jne    L42
L89:
  mov    0x358(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L86
  add    $0x360,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L86:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D63
datatype: string
name: extract_symbolic_data
arguments: data_label: D188
datatype: string
name: extract_symbolic_data
arguments: data_label: D168
datatype: string
name: extract_symbolic_data
arguments: data_label: D21
datatype: string
name: extract_symbolic_data
arguments: data_label: D32
datatype: string
name: extract_symbolic_data
arguments: data_label: D48
datatype: string
name: extract_symbolic_data
arguments: data_label: D93
datatype: string
name: extract_symbolic_data
arguments: data_label: D140
datatype: string
name: extract_symbolic_data
arguments: data_label: D67
datatype: string
name: extract_symbolic_data
arguments: data_label: D10
datatype: string
name: extract_symbolic_data
arguments: data_label: D36
datatype: string
name: extract_symbolic_data
arguments: data_label: D70
datatype: string
name: extract_symbolic_data
arguments: data_label: D116
datatype: string
name: extract_symbolic_data
arguments: data_label: D160
datatype: string
name: extract_symbolic_data
arguments: data_label: D181
datatype: string
name: extract_symbolic_data
arguments: data_label: D139
datatype: string
name: extract_symbolic_data
arguments: data_label: D4
datatype: string
name: extract_symbolic_data
arguments: data_label: D34
datatype: string
name: extract_symbolic_data
arguments: data_label: D42
datatype: string

tool: D63: 



















































tool: D188: Choose please what you want to do (press q to exit):

tool: D168: Variants :

tool: D21: 1. Convert from char to integer.

tool: D32: 2. Shellsorting.

tool: D48: 3. Reverse string.

tool: D93: 4. Expand string.

tool: D140: 5. Convert digit to string.

tool: D67: Wrong input, try again.

tool: D10: Input please chars to convert to integer:

tool: D36: Getted digit from char = %d;


tool: D70: After sorting array seems so:

tool: D116: %d,

tool: D160: Enter please line to reverse:

tool: D181: After reverse string seens so:
%s


tool: D139: Enter please string:

tool: D4: After expand line seems so:%s


tool: D34: Input please digit which you want to convert to string:

tool: D42: Getted string is:
%s;


assistant: ```c
void main() {
  char line[100];
  char short_line[30];
  char long_line[300];
  int sort[100];
  int digit = 0;
  int len = 0;
  int i = 0;
  char choise = 0;
  char exit = 0;
  short int converted;
  printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
  printf("Choose please what you want to do (press q to exit):\n");
  printf("Variants :\n");
  printf("1. Convert from char to integer.\n");
  printf("2. Shellsorting.\n");
  printf("3. Reverse string.\n");
  printf("4. Expand string.\n");
  printf("5. Convert digit to string.\n");
  exit = 0;
  while (exit == 0) {
    getline_my(line);
    choise = line[0];
    switch (choise) {
    case '1':
      clean_text(line, 100);
      printf("Input please chars to convert to integer:\n");
      getline_my(line);
      digit = atoi_2(line);
      printf("Getted digit from char = %d;\n", digit);
      exit = 1;
      break;
    case '2':
      len = getarray_sort(sort, line);
      shellsort(sort, len);
      printf("After sorting array seems so:");
      for (i = 0; i < len; ++i) {
        printf("%d,", sort[i]);
      };
      printf("\n");
      exit = 1;
      break;
    case '3':
      printf("Enter please line to reverse:\n");
      clean_text(line, 100);
      getline_my(line);
      reverse_string(line);
      printf("After reverse string seens so:\n%s\n", line);
      exit = 1;
      break;
    case '4':
      printf("Enter please string:\n");
      clean_text(short_line, 30);
      clean_text(long_line, 300);
      getline_my(short_line);
      expand_my(short_line, long_line);
      printf("After expand line seems so:%s\n", long_line);
      exit = 1;
      break;
    case '5':
      printf("Input please digit which you want to convert to string:\n");
      getline_my(line);
      converted = atoi_2(line);
      clean_text(long_line, 300);
      itoa_dw(converted, long_line);
      printf("Getted string is:\n%s;\n", long_line);
      exit = 1;
      break;
    case 'q':
      exit = 1;
      break;
    default:
      printf("Wrong input, try again.\n");
      break;
    };
  }
}
```