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

```asm
<main>:
  endbr64
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x38,%rsp
  mov    0x8(%rsi),%r8
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  lea    D133(%rip),%rax
  movq   $0x0,0x8(%rsp)
  movq   $0x0,0x10(%rsp)
  movq   $0x0,0x18(%rsp)
  mov    %rax,(%rsp)
  cmp    $0x3,%edi
  jne    L63
  test   %r8,%r8
  jne    L25
L63:
  lea    D101(%rip),%rdx
  mov    %rdx,0x8(%rbx)
L96:
  mov    (%rbx),%rsi
  lea    D72(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0x1,%eax
L12:
  mov    0x28(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L83
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  ret
L25:
  mov    %r8,%rdi
  call   <get_serv@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L18
  mov    0x10(%rbx),%rdi
  lea    D111(%rip),%rsi
  call   <strcmp@plt>
  mov    %rax,%r8
  lea    D130(%rip),%rax
  test   %r8,%r8
  jne    L105
L15:
  movq   %rax,%xmm0
  movq   %rbp,%xmm1
  mov    (%rsp),%rdi
  xor    %edx,%edx
  punpcklqdq %xmm1,%xmm0
  mov    %rsp,%rsi
  movups %xmm0,0x8(%rsp)
  call   <execve@plt>
  xor    %eax,%eax
  jmp    L12
L105:
  mov    0x10(%rbx),%rdi
  lea    D113(%rip),%rsi
  call   <strcmp@plt>
  mov    %rax,%r8
  lea    D125(%rip),%rax
  test   %r8,%r8
  je     L15
  mov    0x10(%rbx),%rdi
  lea    D52(%rip),%rsi
  call   <strcmp@plt>
  mov    %rax,%r8
  lea    D8(%rip),%rax
  test   %r8,%r8
  je     L15
  mov    0x10(%rbx),%rdi
  lea    D88(%rip),%rsi
  call   <strcmp@plt>
  mov    %rax,%r8
  lea    D7(%rip),%rax
  test   %r8,%r8
  je     L15
  mov    0x10(%rbx),%rdi
  lea    D36(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L73
  lea    D20(%rip),%rax
  jmp    L15
L18:
  lea    D26(%rip),%rdi
  call   <puts@plt>
  mov    $0x1,%eax
  jmp    L12
L73:
  mov    0x8(%rbx),%rdx
  jmp    L96
L83:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D133
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D101
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D72
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D111
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D130
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D113
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D125
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D52
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D8
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D88
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D7
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D36
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D20
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D26
type_infered: string

tool: D133: /sbin/ngc

tool: D101: ifile

tool: D72: Usage: %s %s {start|stop|restart|status|zap}


tool: D111: start

tool: D130: -u

tool: D113: stop

tool: D125: -d

tool: D52: status

tool: D8: -s

tool: D88: zap

tool: D7: -z

tool: D36: restart

tool: D20: -r

tool: D26: unkown service

assistant: ```c
int main(int argc, const char *argv[], char *env[]) {
  const char *new_argv[] = {"/sbin/ngc", NULL, NULL, NULL};
  char **environ = {NULL};
  if (!argv[1] || argc != 3) {
    argv[1] = "ifile";
    goto print_usage;
  }
  char *fixed_path = get_serv(argv[1]);
  if (!fixed_path) {
    printf("unkown service\n");
    return 1;
  }
  if (strcmp(argv[2], "start") == 0) {
    new_argv[1] = "-u";
  } else if (strcmp(argv[2], "stop") == 0) {
    new_argv[1] = "-d";
  } else if (strcmp(argv[2], "status") == 0) {
    new_argv[1] = "-s";
  } else if (strcmp(argv[2], "zap") == 0) {
    new_argv[1] = "-z";
  } else if (strcmp(argv[2], "restart") == 0) {
    new_argv[1] = "-r";
  } else {
    goto print_usage;
  }
  new_argv[2] = fixed_path;
  execve((char *)new_argv[0], (char **)new_argv, environ);
  return 0;
print_usage:
  printf("Usage: %s %s {start|stop|restart|status|zap}\n", argv[0], argv[1]);
  return 1;
}
```