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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xf0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x5,-0xe8(%rbp)
  lea    D91(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0xe0(%rbp),%rax
  mov    %rax,%rsi
  lea    D123(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movl   $0x0,-0xe4(%rbp)
  jmp    L14
L30:
  addl   $0x1,-0xe4(%rbp)
L14:
  mov    -0xe4(%rbp),%eax
  cltq
  movzbl -0xe0(%rbp,%rax,1),%eax
  test   %al,%al
  jne    L30
  mov    -0xe4(%rbp),%eax
  mov    %eax,%esi
  lea    D101(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L145
L11:
  lea    D74(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D108(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D77(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D24(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0xec(%rbp),%rax
  mov    %rax,%rsi
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0xec(%rbp),%eax
  cmp    $0x4,%eax
  je     L119
  cmp    $0x4,%eax
  jg     L55
  cmp    $0x3,%eax
  je     L80
  cmp    $0x3,%eax
  jg     L55
  cmp    $0x1,%eax
  je     L20
  cmp    $0x2,%eax
  je     L102
  jmp    L55
L20:
  lea    -0xe0(%rbp),%rax
  mov    %rax,%rdi
  call   <copy@plt>
  jmp    L51
L102:
  mov    -0xe4(%rbp),%edx
  lea    -0xe0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <rev@plt>
  jmp    L51
L80:
  mov    -0xe4(%rbp),%edx
  lea    -0xe0(%rbp),%rax
  mov    %edx,%esi
  mov    %rax,%rdi
  call   <pal@plt>
  jmp    L51
L119:
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x70(%rbp),%rax
  mov    %rax,%rsi
  lea    D123(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0xe4(%rbp),%edx
  lea    -0x70(%rbp),%rcx
  lea    -0xe0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <concat@plt>
  jmp    L51
L55:
  lea    D81(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L51:
  lea    D35(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0xe8(%rbp),%rax
  mov    %rax,%rsi
  lea    D6(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
L145:
  mov    -0xe8(%rbp),%eax
  cmp    $0x5,%eax
  je     L11
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L151
  call   <__stack_chk_fail@plt>
L151:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D91
type_guessed: string
name: parse_data
arguments: tag: D123
type_guessed: string
name: parse_data
arguments: tag: D101
type_guessed: string
name: parse_data
arguments: tag: D74
type_guessed: string
name: parse_data
arguments: tag: D108
type_guessed: string
name: parse_data
arguments: tag: D77
type_guessed: string
name: parse_data
arguments: tag: D33
type_guessed: string
name: parse_data
arguments: tag: D24
type_guessed: string
name: parse_data
arguments: tag: D6
type_guessed: string
name: parse_data
arguments: tag: D53
type_guessed: string
name: parse_data
arguments: tag: D81
type_guessed: string
name: parse_data
arguments: tag: D35
type_guessed: string

tool: D91: 
Enter string s1: 

tool: D123: %s

tool: D101: Length of string: %d


tool: D74: 
1) To copy a string

tool: D108: 
2) To reverse a string

tool: D77: 
3) To find whether it is palindrome or not

tool: D33: 
4) To concatenate two strings

tool: D24: 
Enter 1,2,3 or 4: 

tool: D6: %d

tool: D53: Enter second string: 

tool: D81: 
Invalid Choice

tool: D35: 
Enter 5 to continue, else exit: 

assistant: ```c
int main() {
  char s1[100], s2[100];
  int choice, len, ans = 5;
  printf("\nEnter string s1: ");
  scanf("%s", s1);
  for (len = 0; s1[len] != '\0'; ++len)
    ;
  printf("Length of string: %d\n", len);
  while (ans == 5) {
    printf("\n1) To copy a string");
    printf("\n2) To reverse a string");
    printf("\n3) To find whether it is palindrome or not");
    printf("\n4) To concatenate two strings");
    printf("\nEnter 1,2,3 or 4: ");
    scanf("%d", &choice);
    switch (choice) {
    case 1:
      copy(s1);
      break;
    case 2:
      rev(s1, len);
      break;
    case 3:
      pal(s1, len);
      break;
    case 4:
      printf("Enter second string: ");
      scanf("%s", s2);
      concat(s1, s2, len);
      break;
    default:
      printf("\nInvalid Choice");
    }
    printf("\nEnter 5 to continue, else exit: ");
    scanf("%d", &ans);
  }
  return 0;
}
```