#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
void print_help() {
  printf("Usage: wd [command] <point>\n"
         "\n"
         "Example:\n"
         "\t$ wd --add foo \t\t# points to current dir\n"
         "\t$ cd ~/far/far/away\n"
         "\t$ wd foo \t\t# and you're back!\n"
         "\n"
         "Commands:\n"
         "-a | --add <point>\tAdds the current working directory to your warp "
         "points\n"
         "-r | --remove <point>\tRemoves the given warp point\n"
         "-l | --list\t\tPrint all stored warp points\n"
         "-s | --show\t\tPrint warp points to current directory\n"
         "-p | --path <point>\tShow the path to given warp point\n"
         "\n"
         "Other:\n"
         "-h, --help\t\tShow this extremely helpful text\n"
         "-v, --version\t\tPrint version\n"
         "-c, --config <file>\tSpecify config file (default ~/.warprc)\n"
         "-q, --quiet\t\tSuppress all output\n"
         "\n"
         "Licenced under MIT\n"
         "Report bugs to github.com/mfaerevaag/wd-c\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
lea    0xee9(%rip),%rdi
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [654 x i8] c"Usage: wd [command] <point>\0A\0AExample:\0A\09$ wd --add foo \09\09# points to current dir\0A\09$ cd ~/far/far/away\0A\09$ wd foo \09\09# and you're back!\0A\0ACommands:\0A-a | --add <point>\09Adds the current working directory to your warp points\0A-r | --remove <point>\09Removes the given warp point\0A-l | --list\09\09Print all stored warp points\0A-s | --show\09\09Print warp points to current directory\0A-p | --path <point>\09Show the path to given warp point\0A\0AOther:\0A-h, --help\09\09Show this extremely helpful text\0A-v, --version\09\09Print version\0A-c, --config <file>\09Specify config file (default ~/.warprc)\0A-q, --quiet\09\09Suppress all output\0A\0ALicenced under MIT\0AReport bugs to github.com/mfaerevaag/wd-c\0A\00"
define void @print_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([654 x i8], [654 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [653 x i8] c"Usage: wd [command] <point>\0A\0AExample:\0A\09$ wd --add foo \09\09# points to current dir\0A\09$ cd ~/far/far/away\0A\09$ wd foo \09\09# and you're back!\0A\0ACommands:\0A-a | --add <point>\09Adds the current working directory to your warp points\0A-r | --remove <point>\09Removes the given warp point\0A-l | --list\09\09Print all stored warp points\0A-s | --show\09\09Print warp points to current directory\0A-p | --path <point>\09Show the path to given warp point\0A\0AOther:\0A-h, --help\09\09Show this extremely helpful text\0A-v, --version\09\09Print version\0A-c, --config <file>\09Specify config file (default ~/.warprc)\0A-q, --quiet\09\09Suppress all output\0A\0ALicenced under MIT\0AReport bugs to github.com/mfaerevaag/wd-c\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([653 x i8], [653 x i8]* @str, i64 0, i64 0))
ret void
}