#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 usage() {
  fprintf(stderr,
          "'random-hab' publishes random Bionet traffic.\n"
          "\n"
          "Makes up Nodes and Resources, and reports them to Bionet.\n"
          "The Resources change over time, and Nodes come and go,\n"
          "providing a reasonable test load.\n"
          "\n"
          "usage:  random-hab [OPTIONS]\n"
          "\n"
          " -?,--help                     Show this usage information.\n"
          " -v,--version                  Show the version number\n"
          " -e,--require-security         Require security\n"
          " -i,--id <ID>                  Use ID as the HAB-ID (defaults to\n"
          "                               hostname if omitted).\n"
          " -m,--min-nodes <N>            If there are fewer than N nodes, "
          "make up\n"
          "                               some more.\n"
          " -o,--output-mode <mode>       Available modes are 'normal',\n"
          "                               'bdm-client', and 'bionet-watcher'\n"
          " -s,--security-dir <dir>       Directory containing security "
          "certificates\n"
          " -x,--max-delay <X>            After taking each action (adding or\n"
          "                               removing a Node, or updating a "
          "Resource),\n"
          "                               the random-hab sleeps up to this "
          "long (in\n"
          "                               seconds).\n"
          "\n"
          "Security can only be required when a security directory has been "
          "specified.\n"
          "  random-hab [--security-dir <dir> [--require-security]]\n");
}


x86 assembly (clang, -O0):
<usage>:
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):
<usage>:
mov    0x2ec9(%rip),%rax
mov    (%rax),%edi
lea    0xee0(%rip),%rsi
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [1210 x i8] c"'random-hab' publishes random Bionet traffic.\0A\0AMakes up Nodes and Resources, and reports them to Bionet.\0AThe Resources change over time, and Nodes come and go,\0Aproviding a reasonable test load.\0A\0Ausage: random-hab [OPTIONS]\0A\0A -?,--help Show this usage information.\0A -v,--version Show the version number\0A -e,--require-security Require security\0A -i,--id <ID> Use ID as the HAB-ID (defaults to\0A hostname if omitted).\0A -m,--min-nodes <N> If there are fewer than N nodes, make up\0A some more.\0A -o,--output-mode <mode> Available modes are 'normal',\0A 'bdm-client', and 'bionet-watcher'\0A -s,--security-dir <dir> Directory containing security certificates\0A -x,--max-delay <X> After taking each action (adding or\0A removing a Node, or updating a Resource),\0A the random-hab sleeps up to this long (in\0A seconds).\0A\0ASecurity can only be required when a security directory has been specified.\0A random-hab [--security-dir <dir> [--require-security]]\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([1210 x i8], [1210 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [1210 x i8] c"'random-hab' publishes random Bionet traffic.\0A\0AMakes up Nodes and Resources, and reports them to Bionet.\0AThe Resources change over time, and Nodes come and go,\0Aproviding a reasonable test load.\0A\0Ausage: random-hab [OPTIONS]\0A\0A -?,--help Show this usage information.\0A -v,--version Show the version number\0A -e,--require-security Require security\0A -i,--id <ID> Use ID as the HAB-ID (defaults to\0A hostname if omitted).\0A -m,--min-nodes <N> If there are fewer than N nodes, make up\0A some more.\0A -o,--output-mode <mode> Available modes are 'normal',\0A 'bdm-client', and 'bionet-watcher'\0A -s,--security-dir <dir> Directory containing security certificates\0A -x,--max-delay <X> After taking each action (adding or\0A removing a Node, or updating a Resource),\0A the random-hab sleeps up to this long (in\0A seconds).\0A\0ASecurity can only be required when a security directory has been specified.\0A random-hab [--security-dir <dir> [--require-security]]\0A\00"
define void @usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([1210 x i8], [1210 x i8]* @.str, i64 0, i64 0))
ret void
}