#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 args_help() {
  printf("USAGE: resources [OPTIONS]\n"
         "OPTIONS:\n"
         "    -c|--collect\n"
         "        Run resources on collect mode\n"
         "    -g|--graph\n"
         "        Generate graphs\n"
         "    -t|--test\n"
         "        Run resources on test mode\n"
         "    -d|--daemon\n"
         "        Run resources as a deamon\n"
         "    -r|--rrdopt\n"
         "        Give specific options to rrdtool when generating graphs\n"
         "    -v|--version\n"
         "        Print version\n"
         "    -gp|--gpath\n"
         "        Specify a path for the graphs (png) files\n"
         "        Higher precedence than configuration file\n"
         "    -rp|--rpath\n"
         "        Specify a path for the rrd files\n"
         "        Higher precedence than configuration file\n"
         "    -f|--conffile\n"
         "        Specify the configuration file location with name, default "
         "config.conf\n"
         "    -l|--log\n"
         "        Specify path and name of log file\n"
         "        Higher precedence than configuration file\n");
}


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

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

LLVM IR (-O0):
@.str = [774 x i8] c"USAGE: resources [OPTIONS]\0AOPTIONS:\0A -c|--collect\0A Run resources on collect mode\0A -g|--graph\0A Generate graphs\0A -t|--test\0A Run resources on test mode\0A -d|--daemon\0A Run resources as a deamon\0A -r|--rrdopt\0A Give specific options to rrdtool when generating graphs\0A -v|--version\0A Print version\0A -gp|--gpath\0A Specify a path for the graphs (png) files\0A Higher precedence than configuration file\0A -rp|--rpath\0A Specify a path for the rrd files\0A Higher precedence than configuration file\0A -f|--conffile\0A Specify the configuration file location with name, default config.conf\0A -l|--log\0A Specify path and name of log file\0A Higher precedence than configuration file\0A\00"
define void @args_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([774 x i8], [774 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [773 x i8] c"USAGE: resources [OPTIONS]\0AOPTIONS:\0A -c|--collect\0A Run resources on collect mode\0A -g|--graph\0A Generate graphs\0A -t|--test\0A Run resources on test mode\0A -d|--daemon\0A Run resources as a deamon\0A -r|--rrdopt\0A Give specific options to rrdtool when generating graphs\0A -v|--version\0A Print version\0A -gp|--gpath\0A Specify a path for the graphs (png) files\0A Higher precedence than configuration file\0A -rp|--rpath\0A Specify a path for the rrd files\0A Higher precedence than configuration file\0A -f|--conffile\0A Specify the configuration file location with name, default config.conf\0A -l|--log\0A Specify path and name of log file\0A Higher precedence than configuration file\00"
define void @args_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([773 x i8], [773 x i8]* @str, i64 0, i64 0))
ret void
}