#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*/ fprintf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ stderr;
void print_help(void) {
  fprintf(
      stderr,
      "Usage: xo [options] format [fields]\n"
      "    --close <path>        Close tags for the given path\n"
      "    --depth <num>         Set the depth for pretty printing\n"
      "    --help                Display this help text\n"
      "    --html OR -H          Generate HTML output\n"
      "    --json OR -J          Generate JSON output\n"
      "    --leading-xpath <path> OR -l <path> "
      "Add a prefix to generated XPaths (HTML)\n"
      "    --open <path>         Open tags for the given path\n"
      "    --option <opts> -or -O <opts>  Give formatting options\n"
      "    --pretty OR -p        Make 'pretty' output (add indent, newlines)\n"
      "    --style <style> OR -s <style>  "
      "Generate given style (xml, json, text, html)\n"
      "    --text OR -T          Generate text output (the default style)\n"
      "    --version             Display version information\n"
      "    --warn OR -W          Display warnings in text on stderr\n"
      "    --warn-xml            Display warnings in xml on stdout\n"
      "    --wrap <path>         Wrap output in a set of containers\n"
      "    --xml OR -X           Generate XML output\n"
      "    --xpath               Add XPath data to HTML output\n");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [1045 x i8] c"Usage: xo [options] format [fields]\0A --close <path> Close tags for the given path\0A --depth <num> Set the depth for pretty printing\0A --help Display this help text\0A --html OR -H Generate HTML output\0A --json OR -J Generate JSON output\0A --leading-xpath <path> OR -l <path> Add a prefix to generated XPaths (HTML)\0A --open <path> Open tags for the given path\0A --option <opts> -or -O <opts> Give formatting options\0A --pretty OR -p Make 'pretty' output (add indent, newlines)\0A --style <style> OR -s <style> Generate given style (xml, json, text, html)\0A --text OR -T Generate text output (the default style)\0A --version Display version information\0A --warn OR -W Display warnings in text on stderr\0A --warn-xml Display warnings in xml on stdout\0A --wrap <path> Wrap output in a set of containers\0A --xml OR -X Generate XML output\0A --xpath Add XPath data to HTML output\0A\00"
define void @print_help() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([1045 x i8], [1045 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [1045 x i8] c"Usage: xo [options] format [fields]\0A --close <path> Close tags for the given path\0A --depth <num> Set the depth for pretty printing\0A --help Display this help text\0A --html OR -H Generate HTML output\0A --json OR -J Generate JSON output\0A --leading-xpath <path> OR -l <path> Add a prefix to generated XPaths (HTML)\0A --open <path> Open tags for the given path\0A --option <opts> -or -O <opts> Give formatting options\0A --pretty OR -p Make 'pretty' output (add indent, newlines)\0A --style <style> OR -s <style> Generate given style (xml, json, text, html)\0A --text OR -T Generate text output (the default style)\0A --version Display version information\0A --warn OR -W Display warnings in text on stderr\0A --warn-xml Display warnings in xml on stdout\0A --wrap <path> Wrap output in a set of containers\0A --xml OR -X Generate XML output\0A --xpath Add XPath data to HTML output\0A\00"
define void @print_help() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([1045 x i8], [1045 x i8]* @.str, i64 0, i64 0))
ret void
}