user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  sub    $0x8,%rsp
  cmp    $0x1,%edi
  jg     L3
  xor    %eax,%eax
  call   <config_load@plt>
  test   %rax,%rax
  jne    L23
  xor    %eax,%eax
  call   <util_daemonize@plt>
  test   %rax,%rax
  jne    L2
  xor    %eax,%eax
  pop    %rcx
  jmp    10a0 <dm_run@plt>
L3:
  lea    D18(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  pop    %rdx
  ret
L23:
  lea    D6(%rip),%rdi
  call   <printf@plt>
  mov    $0x2,%eax
  pop    %rdx
  ret
L2:
  lea    D3(%rip),%rdi
  call   <printf@plt>
  mov    $0x3,%eax
  pop    %rdx
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D18
type_infered: string
name: disassemble_data
arguments: data_tag: D6
type_infered: string
name: disassemble_data
arguments: data_tag: D3
type_infered: string

tool: D18: error: expected to run without parameters.

  orthos the versatile X11 display manager version 0.3
  is distributed and shall be used under the terms of GNU GPLv3.

  To correctly startup orthos, please provide default configuration file at
   /etc/orthos.conf
  or select yours by setting environment variable like this:
   export ORTHOS_CONF=/my/o.conf

  More documentation should be available at manual page orthos(1).



tool: D6: error: loading configuration file failed.

  orthos the versatile X11 display manager version 0.3
  is distributed and shall be used under the terms of GNU GPLv3.

  To correctly startup orthos, please provide default configuration file at
   /etc/orthos.conf
  or select yours by setting environment variable like this:
   export ORTHOS_CONF=/my/o.conf

  More documentation should be available at manual page orthos(1).



tool: D3: error: couldn't daemonize

assistant: ```c
int main(int argc, char **argv) {
  if (argc > 1) {
    printf("error: expected to run without parameters.\n"
           "\n"
           "  orthos the versatile X11 display manager version "
           "0.3"
           "\n"
           "  is distributed and shall be used under the terms of GNU GPLv3.\n"
           "\n"
           "  To correctly startup orthos, please provide default configuration file at\n"
           "   "
           "/etc/orthos.conf"
           "\n"
           "  or select yours by setting environment variable like this:\n"
           "   export ORTHOS_CONF=/my/o.conf\n"
           "\n"
           "  More documentation should be available at manual page orthos(1).\n"
           "\n");
    return 1;
  }
  if (config_load()) {
    printf("error: loading configuration file failed.\n"
           "\n"
           "  orthos the versatile X11 display manager version "
           "0.3"
           "\n"
           "  is distributed and shall be used under the terms of GNU GPLv3.\n"
           "\n"
           "  To correctly startup orthos, please provide default configuration file at\n"
           "   "
           "/etc/orthos.conf"
           "\n"
           "  or select yours by setting environment variable like this:\n"
           "   export ORTHOS_CONF=/my/o.conf\n"
           "\n"
           "  More documentation should be available at manual page orthos(1).\n"
           "\n");
    return 2;
  }
  if (util_daemonize()) {
    printf("error: couldn't daemonize");
    return 3;
  }
  return dm_run();
}
```