#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *, char const *, double, double);
void print_help(const char *s_this_name) {
  printf("Usage: %s [option] (-e <executable_name> | -n <process_name>)\n"
         "\t Process identifier:\n"
         "\t -e, --executable: \tname of the executable\n"
         "\t -n, --processname:\tprocess name\n"
         "\n"
         "\tThresholds:\n"
         "\t -w, --warning:    \twarning threshold (percent)\n"
         "\t -c, --critical:   \tcritical threshold (percent)\n"
         "\n"
         "\tAdditional information:\n"
         "\t -h, --help:       \tprint this help message\n"
         "\t -V, --version:    \tprint version information\n"
         "\n"
         "\tDefault Values:\n"
         "\t warning:          \t%2.1lf %%\n"
         "\t critical:         \t%2.1lf %%\n",
         s_this_name, 70.0, 80.0);
  exit(0);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
movsd  0xec1(%rip),%xmm0
movsd  0xec1(%rip),%xmm1
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<print_help>:
push   %rax
mov    %rdi,%rsi
lea    0xee5(%rip),%rdi
movsd  0xecd(%rip),%xmm0
movsd  0xecd(%rip),%xmm1
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [474 x i8] c"Usage: %s [option] (-e <executable_name> | -n <process_name>)\0A\09 Process identifier:\0A\09 -e, --executable: \09name of the executable\0A\09 -n, --processname:\09process name\0A\0A\09Thresholds:\0A\09 -w, --warning: \09warning threshold (percent)\0A\09 -c, --critical: \09critical threshold (percent)\0A\0A\09Additional information:\0A\09 -h, --help: \09print this help message\0A\09 -V, --version: \09print version information\0A\0A\09Default Values:\0A\09 warning: \09%2.1lf %%\0A\09 critical: \09%2.1lf %%\0A\00"
define void @print_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([474 x i8], [474 x i8]* @.str, i64 0, i64 0), i8* %3, double 7.000000e+01, double 8.000000e+01)
%5 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [474 x i8] c"Usage: %s [option] (-e <executable_name> | -n <process_name>)\0A\09 Process identifier:\0A\09 -e, --executable: \09name of the executable\0A\09 -n, --processname:\09process name\0A\0A\09Thresholds:\0A\09 -w, --warning: \09warning threshold (percent)\0A\09 -c, --critical: \09critical threshold (percent)\0A\0A\09Additional information:\0A\09 -h, --help: \09print this help message\0A\09 -V, --version: \09print version information\0A\0A\09Default Values:\0A\09 warning: \09%2.1lf %%\0A\09 critical: \09%2.1lf %%\0A\00"
define void @print_help(i8* %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([474 x i8], [474 x i8]* @.str, i64 0, i64 0), i8* %0, double 7.000000e+01, double 8.000000e+01)
%3 = tail call i32 @exit(i32 0)
unreachable
}