#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 usage() {
  printf(
      "rteval-parserd:  Parses new reports recieved via XML-RPC\n"
      "\n"
      "This program will wait for changes to the rteval 'submissionqueue' "
      "table.\n"
      "When a new report is registered here, it will send this report to one "
      "of\n"
      "the worker threads which will insert the parsed result into the "
      "database.\n"
      "\n"
      "** Program arguments:\n"
      "  -d | --daemon                    Run as a daemon\n"
      "  -l | --log        <log dest>     Where to put log data\n"
      "  -L | --log-level  <verbosity>    What to log\n"
      "  -f | --config     <config file>  Which configuration file to use\n"
      "  -t | --threads    <num. threads> How many worker threads to start "
      "(def: 4)\n"
      "  -h | --help                      This help screen\n"
      "\n"
      "** Configuration file\n"
      "By default the program will look for /etc/rteval.conf.  This can be\n"
      "overriden by using --config <config file>.\n"
      "\n"
      "** Logging\n"
      "When the program is started as a daemon, it will log to syslog by "
      "default.\n"
      "The default log level is 'info'.  When not started as a daemon, all "
      "logging\n"
      "will go to stderr by default.\n"
      "\n"
      "The --log argument takes either 'destination' or a file name.  Unknown\n"
      "destinations are treated as filenames.  Valid 'destinations' are:\n"
      "\n"
      "    stderr:             - Log to stderr\n"
      "    stdout:             - Log to stdout\n"
      "    syslog:[facility]   - Log to syslog\n"
      "    <file name>         - Log to given file\n"
      "\n"
      "For syslog the default facility is 'daemon', but can be overriden by "
      "using\n"
      "one of the following facility values:\n"
      "    daemon, user and local0 to local7\n"
      "\n"
      "Log verbosity is set by the --log-level.  The valid values here are:\n"
      "\n"
      "    emerg, emergency    - Only log errors which causes the program to "
      "stop\n"
      "    alert               - Incidents which needs immediate attention\n"
      "    crit, critical      - Unexpected incidents which is not urgent\n"
      "    err, error          - Parsing errors.  Issues with input data\n"
      "    warn, warning       - Incidents which may influence performance\n"
      "    notice              - Less important warnings\n"
      "    info                - General run information\n"
      "    debug               - Detailed run information, incl. thread "
      "operations\n"
      "\n");
}


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

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

LLVM IR (-O0):
@.str = [2028 x i8] c"rteval-parserd: Parses new reports recieved via XML-RPC\0A\0AThis program will wait for changes to the rteval 'submissionqueue' table.\0AWhen a new report is registered here, it will send this report to one of\0Athe worker threads which will insert the parsed result into the database.\0A\0A** Program arguments:\0A -d | --daemon Run as a daemon\0A -l | --log <log dest> Where to put log data\0A -L | --log-level <verbosity> What to log\0A -f | --config <config file> Which configuration file to use\0A -t | --threads <num. threads> How many worker threads to start (def: 4)\0A -h | --help This help screen\0A\0A** Configuration file\0ABy default the program will look for /etc/rteval.conf. This can be\0Aoverriden by using --config <config file>.\0A\0A** Logging\0AWhen the program is started as a daemon, it will log to syslog by default.\0AThe default log level is 'info'. When not started as a daemon, all logging\0Awill go to stderr by default.\0A\0AThe --log argument takes either 'destination' or a file name. Unknown\0Adestinations are treated as filenames. Valid 'destinations' are:\0A\0A stderr: - Log to stderr\0A stdout: - Log to stdout\0A syslog:[facility] - Log to syslog\0A <file name> - Log to given file\0A\0AFor syslog the default facility is 'daemon', but can be overriden by using\0Aone of the following facility values:\0A daemon, user and local0 to local7\0A\0ALog verbosity is set by the --log-level. The valid values here are:\0A\0A emerg, emergency - Only log errors which causes the program to stop\0A alert - Incidents which needs immediate attention\0A crit, critical - Unexpected incidents which is not urgent\0A err, error - Parsing errors. Issues with input data\0A warn, warning - Incidents which may influence performance\0A notice - Less important warnings\0A info - General run information\0A debug - Detailed run information, incl. thread operations\0A\0A\00"
define void @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([2028 x i8], [2028 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [2027 x i8] c"rteval-parserd: Parses new reports recieved via XML-RPC\0A\0AThis program will wait for changes to the rteval 'submissionqueue' table.\0AWhen a new report is registered here, it will send this report to one of\0Athe worker threads which will insert the parsed result into the database.\0A\0A** Program arguments:\0A -d | --daemon Run as a daemon\0A -l | --log <log dest> Where to put log data\0A -L | --log-level <verbosity> What to log\0A -f | --config <config file> Which configuration file to use\0A -t | --threads <num. threads> How many worker threads to start (def: 4)\0A -h | --help This help screen\0A\0A** Configuration file\0ABy default the program will look for /etc/rteval.conf. This can be\0Aoverriden by using --config <config file>.\0A\0A** Logging\0AWhen the program is started as a daemon, it will log to syslog by default.\0AThe default log level is 'info'. When not started as a daemon, all logging\0Awill go to stderr by default.\0A\0AThe --log argument takes either 'destination' or a file name. Unknown\0Adestinations are treated as filenames. Valid 'destinations' are:\0A\0A stderr: - Log to stderr\0A stdout: - Log to stdout\0A syslog:[facility] - Log to syslog\0A <file name> - Log to given file\0A\0AFor syslog the default facility is 'daemon', but can be overriden by using\0Aone of the following facility values:\0A daemon, user and local0 to local7\0A\0ALog verbosity is set by the --log-level. The valid values here are:\0A\0A emerg, emergency - Only log errors which causes the program to stop\0A alert - Incidents which needs immediate attention\0A crit, critical - Unexpected incidents which is not urgent\0A err, error - Parsing errors. Issues with input data\0A warn, warning - Incidents which may influence performance\0A notice - Less important warnings\0A info - General run information\0A debug - Detailed run information, incl. thread operations\0A\00"
define void @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2027 x i8], [2027 x i8]* @str, i64 0, i64 0))
ret void
}