#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*/ stdout;
void show_help(const char *cmd) {
  fprintf(stdout, "chirp_status [options] [ <name> <value> ]\n");
  fprintf(stdout, "where options are:\n");
  fprintf(stdout, " %-30s Query the catalog on this host.\n",
          "-c,--catalog=<host>");
  fprintf(stdout, " %-30s Enable debugging for this sybsystem\n",
          "-d,--debug=<flag>");
  fprintf(stdout,
          " %-30s Send debugging to this file. (can also be :stderr, :stdout, "
          ":syslog, or :journal)\n",
          "-o,--debug-file=<file>");
  fprintf(stdout,
          " %-30s Rotate file once it reaches this size. (default 10M, 0 "
          "disables)\n",
          "-O,--debug-rotate-max=<bytes>");
  fprintf(stdout,
          " %-30s Only show servers with this space available. (example: -A "
          "100MB)\n",
          "-A,--server-space=<size>");
  fprintf(stdout, " %-30s Only show servers with this project.\n",
          "   --server-project=<name>");
  fprintf(stdout, " %-30s Show all records, not just chirps and catalogs.\n",
          "-a,--all");
  fprintf(stdout, " %-30s Timeout.\n", "-t,--timeout=<time>");
  fprintf(stdout, " %-30s Short output.\n", "-s,--brief");
  fprintf(stdout, " %-30s Long output.\n", "-l,--verbose");
  fprintf(stdout, " %-30s Totals output.\n", "-T,--totals");
  fprintf(stdout, " %-30s Show version info.\n", "-v,--version");
  fprintf(stdout, " %-30s Filter results by this expression.\n",
          "   --where=<expr>");
  fprintf(stdout, " %-30s This message.\n", "-h,--help");
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
lea    0xed4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ea6(%rip),%rax
mov    (%rax),%edi
lea    0xee8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e8f(%rip),%rax
mov    (%rax),%edi
lea    0xee5(%rip),%rsi
lea    0xf06(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e71(%rip),%rax
mov    (%rax),%edi
lea    0xf03(%rip),%rsi
lea    0xf28(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e53(%rip),%rax
mov    (%rax),%edi
lea    0xf23(%rip),%rsi
lea    0xf76(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e35(%rip),%rax
mov    (%rax),%edi
lea    0xf76(%rip),%rsi
lea    0xfb8(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e17(%rip),%rax
mov    (%rax),%edi
lea    0xfbf(%rip),%rsi
lea    0x1001(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2df9(%rip),%rax
mov    (%rax),%edi
lea    0x1003(%rip),%rsi
lea    0x1029(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ddb(%rip),%rax
mov    (%rax),%edi
lea    0x102d(%rip),%rsi
lea    0x105e(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dbd(%rip),%rax
mov    (%rax),%edi
lea    0x1050(%rip),%rsi
lea    0x105a(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d9f(%rip),%rax
mov    (%rax),%edi
lea    0x1057(%rip),%rsi
lea    0x1066(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d81(%rip),%rax
mov    (%rax),%edi
lea    0x105a(%rip),%rsi
lea    0x1068(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d63(%rip),%rax
mov    (%rax),%edi
lea    0x105e(%rip),%rsi
lea    0x106e(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d45(%rip),%rax
mov    (%rax),%edi
lea    0x1063(%rip),%rsi
lea    0x1077(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d27(%rip),%rax
mov    (%rax),%edi
lea    0x106d(%rip),%rsi
lea    0x1091(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d09(%rip),%rax
mov    (%rax),%edi
lea    0x108c(%rip),%rsi
lea    0x109b(%rip),%rdx
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xefa(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xefe(%rip),%rsi
lea    0xf1f(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf23(%rip),%rsi
lea    0xf48(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf4a(%rip),%rsi
lea    0xf9d(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfa4(%rip),%rsi
lea    0xfe6(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xff4(%rip),%rsi
lea    0x1036(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x103f(%rip),%rsi
lea    0x1065(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1070(%rip),%rsi
lea    0x10a1(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x109a(%rip),%rsi
lea    0x10a4(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10a8(%rip),%rsi
lea    0x10b7(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10b2(%rip),%rsi
lea    0x10c0(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10bd(%rip),%rsi
lea    0x10cd(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10c9(%rip),%rsi
lea    0x10dd(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10da(%rip),%rsi
lea    0x10fe(%rip),%rdx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1100(%rip),%rsi
lea    0x110f(%rip),%rdx
xor    %eax,%eax
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [43 x i8] c"chirp_status [options] [ <name> <value> ]\0A\00"
@.str.1 = [20 x i8] c"where options are:\0A\00"
@.str.2 = [40 x i8] c" %-30s Query the catalog on this host.\0A\00"
@.str.3 = [20 x i8] c"-c,--catalog=<host>\00"
@.str.4 = [44 x i8] c" %-30s Enable debugging for this sybsystem\0A\00"
@.str.5 = [18 x i8] c"-d,--debug=<flag>\00"
@.str.6 = [90 x i8] c" %-30s Send debugging to this file. (can also be :stderr, :stdout, :syslog, or :journal)\0A\00"
@.str.7 = [23 x i8] c"-o,--debug-file=<file>\00"
@.str.8 = [73 x i8] c" %-30s Rotate file once it reaches this size. (default 10M, 0 disables)\0A\00"
@.str.9 = [30 x i8] c"-O,--debug-rotate-max=<bytes>\00"
@.str.10 = [73 x i8] c" %-30s Only show servers with this space available. (example: -A 100MB)\0A\00"
@.str.11 = [25 x i8] c"-A,--server-space=<size>\00"
@.str.12 = [45 x i8] c" %-30s Only show servers with this project.\0A\00"
@.str.13 = [27 x i8] c" --server-project=<name>\00"
@.str.14 = [56 x i8] c" %-30s Show all records, not just chirps and catalogs.\0A\00"
@.str.15 = [9 x i8] c"-a,--all\00"
@.str.16 = [17 x i8] c" %-30s Timeout.\0A\00"
@.str.17 = [20 x i8] c"-t,--timeout=<time>\00"
@.str.18 = [22 x i8] c" %-30s Short output.\0A\00"
@.str.19 = [11 x i8] c"-s,--brief\00"
@.str.20 = [21 x i8] c" %-30s Long output.\0A\00"
@.str.21 = [13 x i8] c"-l,--verbose\00"
@.str.22 = [23 x i8] c" %-30s Totals output.\0A\00"
@.str.23 = [12 x i8] c"-T,--totals\00"
@.str.24 = [27 x i8] c" %-30s Show version info.\0A\00"
@.str.25 = [13 x i8] c"-v,--version\00"
@.str.26 = [43 x i8] c" %-30s Filter results by this expression.\0A\00"
@.str.27 = [18 x i8] c" --where=<expr>\00"
@.str.28 = [22 x i8] c" %-30s This message.\0A\00"
@.str.29 = [10 x i8] c"-h,--help\00"
define void @show_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stdout
%4 = call i32 (i32, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%5 = load i32, i32* @stdout
%6 = call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = call i32 (i32, i8*, ...) @fprintf(i32 %7, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%9 = load i32, i32* @stdout
%10 = call i32 (i32, i8*, ...) @fprintf(i32 %9, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%11 = load i32, i32* @stdout
%12 = call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = call i32 (i32, i8*, ...) @fprintf(i32 %13, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0))
%15 = load i32, i32* @stdout
%16 = call i32 (i32, i8*, ...) @fprintf(i32 %15, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
%17 = load i32, i32* @stdout
%18 = call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
%21 = load i32, i32* @stdout
%22 = call i32 (i32, i8*, ...) @fprintf(i32 %21, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0))
%23 = load i32, i32* @stdout
%24 = call i32 (i32, i8*, ...) @fprintf(i32 %23, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0))
%25 = load i32, i32* @stdout
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%27 = load i32, i32* @stdout
%28 = call i32 (i32, i8*, ...) @fprintf(i32 %27, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.23, i64 0, i64 0))
%29 = load i32, i32* @stdout
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i64 0, i64 0))
%33 = load i32, i32* @stdout
%34 = call i32 (i32, i8*, ...) @fprintf(i32 %33, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [43 x i8] c"chirp_status [options] [ <name> <value> ]\0A\00"
@.str.1 = [20 x i8] c"where options are:\0A\00"
@.str.2 = [40 x i8] c" %-30s Query the catalog on this host.\0A\00"
@.str.3 = [20 x i8] c"-c,--catalog=<host>\00"
@.str.4 = [44 x i8] c" %-30s Enable debugging for this sybsystem\0A\00"
@.str.5 = [18 x i8] c"-d,--debug=<flag>\00"
@.str.6 = [90 x i8] c" %-30s Send debugging to this file. (can also be :stderr, :stdout, :syslog, or :journal)\0A\00"
@.str.7 = [23 x i8] c"-o,--debug-file=<file>\00"
@.str.8 = [73 x i8] c" %-30s Rotate file once it reaches this size. (default 10M, 0 disables)\0A\00"
@.str.9 = [30 x i8] c"-O,--debug-rotate-max=<bytes>\00"
@.str.10 = [73 x i8] c" %-30s Only show servers with this space available. (example: -A 100MB)\0A\00"
@.str.11 = [25 x i8] c"-A,--server-space=<size>\00"
@.str.12 = [45 x i8] c" %-30s Only show servers with this project.\0A\00"
@.str.13 = [27 x i8] c" --server-project=<name>\00"
@.str.14 = [56 x i8] c" %-30s Show all records, not just chirps and catalogs.\0A\00"
@.str.15 = [9 x i8] c"-a,--all\00"
@.str.16 = [17 x i8] c" %-30s Timeout.\0A\00"
@.str.17 = [20 x i8] c"-t,--timeout=<time>\00"
@.str.18 = [22 x i8] c" %-30s Short output.\0A\00"
@.str.19 = [11 x i8] c"-s,--brief\00"
@.str.20 = [21 x i8] c" %-30s Long output.\0A\00"
@.str.21 = [13 x i8] c"-l,--verbose\00"
@.str.22 = [23 x i8] c" %-30s Totals output.\0A\00"
@.str.23 = [12 x i8] c"-T,--totals\00"
@.str.24 = [27 x i8] c" %-30s Show version info.\0A\00"
@.str.25 = [13 x i8] c"-v,--version\00"
@.str.26 = [43 x i8] c" %-30s Filter results by this expression.\0A\00"
@.str.27 = [18 x i8] c" --where=<expr>\00"
@.str.28 = [22 x i8] c" %-30s This message.\0A\00"
@.str.29 = [10 x i8] c"-h,--help\00"
define void @show_help(i8* nocapture readnone %0) {
%2 = load i32, i32* @stdout
%3 = tail call i32 (i32, i8*, ...) @fprintf(i32 %2, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stdout
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%6 = load i32, i32* @stdout
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0))
%8 = load i32, i32* @stdout
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%10 = load i32, i32* @stdout
%11 = tail call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([90 x i8], [90 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.7, i64 0, i64 0))
%12 = load i32, i32* @stdout
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.9, i64 0, i64 0))
%14 = load i32, i32* @stdout
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.11, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
%18 = load i32, i32* @stdout
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0))
%20 = load i32, i32* @stdout
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.17, i64 0, i64 0))
%22 = load i32, i32* @stdout
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0))
%24 = load i32, i32* @stdout
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.21, i64 0, i64 0))
%26 = load i32, i32* @stdout
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.23, i64 0, i64 0))
%28 = load i32, i32* @stdout
%29 = tail call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.25, i64 0, i64 0))
%30 = load i32, i32* @stdout
%31 = tail call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.26, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.27, i64 0, i64 0))
%32 = load i32, i32* @stdout
%33 = tail call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.28, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i64 0, i64 0))
ret void
}