// File: Linkerist[P]xs/src/misc.cc
// Function: usage(int)
void
usage(int status)
{
 if (status != EXIT_SUCCESS)
  emit_try_help();
 else {
  fprintf(stderr, "xs version 0.0.1 command:\n");

  // xs imported.
  fprintf(stderr, "Just xs, forget cd - expanding the shell built-in cd\n\n");
  fprintf(stderr, "  Usually you don't call this program directly\n");
  fprintf(stderr, "  due to we cannot realize the same effect as the shell built-in command.\n");
  fprintf(stderr, "  invoke a shell alias we have already provided.\n");
  fprintf(stderr, "\n  For general usage press 'H' while running.\n\n\n");
  fprintf(stderr, "Usage:\n");
  fprintf(stderr, "  xs              \n");
  fprintf(stderr, "  xs [--noresolve] <Needle>\n");
  fprintf(stderr, "                      Needle is a filter for the list: each\n");
  fprintf(stderr, "                      entry is compared to the Needle and if it\n");
  fprintf(stderr, "                      doesn't match it won't show up.\n");
  fprintf(stderr, "                      The Needle performs some magic here. See\n");
  fprintf(stderr, "                      manpage for details.\n");
  fprintf(stderr, "                      If --noresolve is given the list will be shown\n");
  fprintf(stderr, "                      even if Needle matches a description exactly.\n");
  fprintf(stderr, "  xs <digit>      Needle is a digit: make digit the current entry\n\n");
  fprintf(stderr, "  xs [-a|--add]=[:desc:]path \n");
  fprintf(stderr, "                              add PATH to the list file using the\n");
  fprintf(stderr, "                              optional description between the colons\n");
  fprintf(stderr, "                              and exit\n");
  fprintf(stderr, "\n");
  fprintf(stderr, "Other Options\n");
  fprintf(stderr, "  -o,- -output=FILE  use FILE as result file\n"); 
  fprintf(stderr, "  -r, --nowrap       change the scrolling behaviour for long lists\n");
  fprintf(stderr, "  -b, --browse       start in BROWSE mode with the current dir\n"); 
  fprintf(stderr, "  -h, --help         print this help message and exit\n"); 
  fprintf(stderr, "  -v, --version      print version info and exit\n");
  fprintf(stderr, "\n");
 }

 exit(status);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
cmpl $0x0, -0x4(%rbp)
je 0xc57b
callq 0xc840
jmp 0xc833
movq 0xaa46(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3cbf(%rip), %rsi      # 0x1024b
movb $0x0, %al
callq 0x45d0
movq 0xaa2e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3cc2(%rip), %rsi      # 0x10266
movb $0x0, %al
callq 0x45d0
movq 0xaa16(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3ce1(%rip), %rsi      # 0x1029d
movb $0x0, %al
callq 0x45d0
movq 0xa9fe(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3cf9(%rip), %rsi      # 0x102cd
movb $0x0, %al
callq 0x45d0
movq 0xa9e6(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d2c(%rip), %rsi      # 0x10318
movb $0x0, %al
callq 0x45d0
movq 0xa9ce(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d46(%rip), %rsi      # 0x1034a
movb $0x0, %al
callq 0x45d0
movq 0xa9b6(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d5f(%rip), %rsi      # 0x1037b
movb $0x0, %al
callq 0x45d0
movq 0xa99e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d4f(%rip), %rsi      # 0x10383
movb $0x0, %al
callq 0x45d0
movq 0xa986(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d4b(%rip), %rsi      # 0x10397
movb $0x0, %al
callq 0x45d0
movq 0xa96e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d50(%rip), %rsi      # 0x103b4
movb $0x0, %al
callq 0x45d0
movq 0xa956(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d75(%rip), %rsi      # 0x103f1
movb $0x0, %al
callq 0x45d0
movq 0xa93e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3d9e(%rip), %rsi      # 0x10432
movb $0x0, %al
callq 0x45d0
movq 0xa926(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3dbd(%rip), %rsi      # 0x10469
movb $0x0, %al
callq 0x45d0
movq 0xa90e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3de5(%rip), %rsi      # 0x104a9
movb $0x0, %al
callq 0x45d0
movq 0xa8f6(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3df9(%rip), %rsi      # 0x104d5
movb $0x0, %al
callq 0x45d0
movq 0xa8de(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3e27(%rip), %rsi      # 0x1051b
movb $0x0, %al
callq 0x45d0
movq 0xa8c6(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3e54(%rip), %rsi      # 0x10560
movb $0x0, %al
callq 0x45d0
movq 0xa8ae(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3e80(%rip), %rsi      # 0x105a4
movb $0x0, %al
callq 0x45d0
movq 0xa896(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3e87(%rip), %rsi      # 0x105c3
movb $0x0, %al
callq 0x45d0
movq 0xa87e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3eb2(%rip), %rsi      # 0x10606
movb $0x0, %al
callq 0x45d0
movq 0xa866(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3ee1(%rip), %rsi      # 0x1064d
movb $0x0, %al
callq 0x45d0
movq 0xa84e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3bf5(%rip), %rsi      # 0x10379
movb $0x0, %al
callq 0x45d0
movq 0xa836(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3ed9(%rip), %rsi      # 0x10675
movb $0x0, %al
callq 0x45d0
movq 0xa81e(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3ed0(%rip), %rsi      # 0x10684
movb $0x0, %al
callq 0x45d0
movq 0xa806(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3ee6(%rip), %rsi      # 0x106b2
movb $0x0, %al
callq 0x45d0
movq 0xa7ee(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3f12(%rip), %rsi      # 0x106f6
movb $0x0, %al
callq 0x45d0
movq 0xa7d6(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3f3a(%rip), %rsi      # 0x10736
movb $0x0, %al
callq 0x45d0
movq 0xa7be(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3f59(%rip), %rsi      # 0x1076d
movb $0x0, %al
callq 0x45d0
movq 0xa7a6(%rip), %rax      # 0x16fc8
movq (%rax), %rdi
leaq 0x3b4d(%rip), %rsi      # 0x10379
movb $0x0, %al
callq 0x45d0
movl -0x4(%rbp), %edi
callq 0x44d0
nopl (%rax,%rax)