user: What is the c source code of the assembly code below:

```asm
<main>:
  endbr64
  lea    -0x4(%rdi),%eax
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  mov    %rsi,%rbx
  cmp    $0x1,%eax
  jbe    L147
  cmp    $0x2,%edi
  jne    L144
L147:
  mov    0x8(%rbx),%r12
  lea    D81(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L55
  mov    $0x1,%r14d
  mov    $0x8,%r13d
L85:
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rsi
  cmp    $0x5,%ebp
  je     L99
L42:
  xor    %r8d,%r8d
  mov    %r13d,%edx
  mov    %r14d,%edi
  call   <start_client@plt>
L32:
  pop    %rbx
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L55:
  lea    D32(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L119
  mov    $0x1,%r14d
  mov    $0x9,%r13d
  jmp    L85
L144:
  lea    D47(%rip),%rdi
  call   <print_error@plt>
  mov    0x8(%rbx),%r12
  lea    D81(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L37
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rsi
  mov    $0x1,%r14d
  mov    $0x8,%r13d
  jmp    L42
L119:
  lea    D10(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L162
  lea    D64(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L165
  lea    D1(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  je     L112
  lea    D47(%rip),%rdi
  call   <print_error@plt>
  jmp    L85
L99:
  mov    0x20(%rbx),%r8
  mov    %r13d,%edx
  mov    %r14d,%edi
  call   <start_client@plt>
  jmp    L32
L162:
  mov    $0x2,%r14d
  mov    $0x8,%r13d
  jmp    L85
L37:
  lea    D32(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L119
  mov    0x18(%rbx),%rcx
  mov    0x10(%rbx),%rsi
  mov    $0x1,%r14d
  mov    $0x9,%r13d
  jmp    L42
L165:
  mov    $0x2,%r14d
  mov    $0x9,%r13d
  jmp    L85
L112:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    10b0 <print_help@plt>
```

tool_calls: name: parse_data
arguments: data_label: D81
datatype: string
name: parse_data
arguments: data_label: D32
datatype: string
name: parse_data
arguments: data_label: D47
datatype: string
name: parse_data
arguments: data_label: D10
datatype: string
name: parse_data
arguments: data_label: D64
datatype: string
name: parse_data
arguments: data_label: D1
datatype: string

tool: D81: -ra

tool: D32: -ro

tool: D47: Invalid arguments provided. Use -h for help

tool: D10: -wa

tool: D64: -wo

tool: D1: -h

assistant: ```c
int main(int argc, char **argv) {
  int mode;
  int type;
  if (argc != 4 && argc != 2 && argc != 5)
    print_error("Invalid arguments provided. Use -h for help");
  if (!strcmp(argv[1], "-ra")) {
    type = 1;
    mode = 8;
  } else if (!strcmp(argv[1], "-ro")) {
    type = 1;
    mode = 9;
  } else if (!strcmp(argv[1], "-wa")) {
    type = 2;
    mode = 8;
  } else if (!strcmp(argv[1], "-wo")) {
    type = 2;
    mode = 9;
  } else if (!strcmp(argv[1], "-h")) {
    print_help();
    return;
  } else {
    print_error("Invalid arguments provided. Use -h for help");
  }
  if (argc == 5) {
    start_client(type, argv[2], mode, argv[3], argv[4]);
  } else
    start_client(type, argv[2], mode, argv[3], NULL);
  return 0;
}
```