#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 showhelp(void) {
  printf(" vnStat daemon %s by Teemu Toivola <tst at iki dot fi>\n\n",
         "1.13 beta");
  printf("         -d, --daemon         fork process to background\n");
  printf("         -n, --nodaemon       stay in foreground attached to the "
         "terminal\n\n");
  printf("         -s, --sync           sync interface counters on first "
         "update\n");
  printf("         -D, --debug          show additional debug and disable "
         "daemon\n");
  printf("         -?, --help           show this help\n");
  printf("         -v, --version        show version\n");
  printf("         -p, --pidfile        select used pid file\n");
  printf("         -u, --user           set daemon process user\n");
  printf("         -g, --group          set daemon process group\n");
  printf("         --config             select used config file\n");
  printf("         --noadd              don't add found interfaces if no dbs "
         "are found\n\n");
  printf("See also \"man vnstatd\".\n");
}


x86 assembly (clang, -O0):
<showhelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
lea    0xf17(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf13(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1010(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x102e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1054(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x107d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10d0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1111(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<showhelp>:
push   %rax
lea    0xed8(%rip),%rdi
lea    0xf0a(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf06(%rip),%rdi
call   1030 <puts@plt>
lea    0xf33(%rip),%rdi
call   1030 <puts@plt>
lea    0xf72(%rip),%rdi
call   1030 <puts@plt>
lea    0xfac(%rip),%rdi
call   1030 <puts@plt>
lea    0xfe7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1008(%rip),%rdi
call   1030 <puts@plt>
lea    0x1027(%rip),%rdi
call   1030 <puts@plt>
lea    0x104e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1078(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a3(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cd(%rip),%rdi
call   1030 <puts@plt>
lea    0x110f(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [57 x i8] c" vnStat daemon %s by Teemu Toivola <tst at iki dot fi>\0A\0A\00"
@.str.1 = [10 x i8] c"1.13 beta\00"
@.str.2 = [58 x i8] c" -d, --daemon fork process to background\0A\00"
@.str.3 = [76 x i8] c" -n, --nodaemon stay in foreground attached to the terminal\0A\0A\00"
@.str.4 = [71 x i8] c" -s, --sync sync interface counters on first update\0A\00"
@.str.5 = [72 x i8] c" -D, --debug show additional debug and disable daemon\0A\00"
@.str.6 = [46 x i8] c" -?, --help show this help\0A\00"
@.str.7 = [44 x i8] c" -v, --version show version\0A\00"
@.str.8 = [52 x i8] c" -p, --pidfile select used pid file\0A\00"
@.str.9 = [55 x i8] c" -u, --user set daemon process user\0A\00"
@.str.10 = [56 x i8] c" -g, --group set daemon process group\0A\00"
@.str.11 = [55 x i8] c" --config select used config file\0A\00"
@.str.12 = [79 x i8] c" --noadd don't add found interfaces if no dbs are found\0A\0A\00"
@.str.13 = [25 x i8] c"See also \22man vnstatd\22.\0A\00"
define void @showhelp() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.3, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.4, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.5, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.6, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.7, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.8, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.9, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.11, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.12, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.13, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [57 x i8] c" vnStat daemon %s by Teemu Toivola <tst at iki dot fi>\0A\0A\00"
@.str.1 = [10 x i8] c"1.13 beta\00"
@str = [57 x i8] c" -d, --daemon fork process to background\00"
@str.14 = [75 x i8] c" -n, --nodaemon stay in foreground attached to the terminal\0A\00"
@str.15 = [70 x i8] c" -s, --sync sync interface counters on first update\00"
@str.16 = [71 x i8] c" -D, --debug show additional debug and disable daemon\00"
@str.17 = [45 x i8] c" -?, --help show this help\00"
@str.18 = [43 x i8] c" -v, --version show version\00"
@str.19 = [51 x i8] c" -p, --pidfile select used pid file\00"
@str.20 = [54 x i8] c" -u, --user set daemon process user\00"
@str.21 = [55 x i8] c" -g, --group set daemon process group\00"
@str.22 = [54 x i8] c" --config select used config file\00"
@str.23 = [78 x i8] c" --noadd don't add found interfaces if no dbs are found\0A\00"
@str.24 = [24 x i8] c"See also \22man vnstatd\22.\00"
define void @showhelp() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.14, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.22, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.23, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.24, i64 0, i64 0))
ret void
}