#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 *);
void printHelp() {
  printf("\n");
  printf("GnublinBootSplash help:\n\n");
  printf(" [--help              , -h         ] : Optional, prints this help "
         "message\n\n");
  printf(" [--verbose=<level>   , -v <level> ] : Optional, prints out some "
         "debug information\n");
  printf("                                       if there are any. Per default "
         "set to max.\n");
  printf("                                       can have value from 0 (no "
         "logging) to\n");
  printf("                                       7 maximum logging (yes syslog "
         "has 7 categories...)\n\n");
  printf(" [--configfile=<file> , -c <file>  ] : Optional, gives path and "
         "filename of\n");
  printf("                                       configuration file.\n\n");
  printf(" [--dontdaemonize     , -d         ] : don't daemonize, for testing "
         "especially\n");
  printf(
      "                                       on non embedded hardware.\n\n");
  printf(" [--forceunlock       , -f         ] : force to remove lockfile "
         "before start\n\n");
  printf(" [--dfb:<opts>                     ] : Optional, DirectFB "
         "parameters, see DFB\n");
  printf("                                       manual for more "
         "information.\n\n");
  printf("\n");
  exit(0);
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0x1089(%rip),%rdi
call   1030 <printf@plt>
lea    0xec9(%rip),%rdi
call   1030 <printf@plt>
lea    0xed7(%rip),%rdi
call   1030 <printf@plt>
lea    0xf17(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfa5(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1037(%rip),%rdi
call   1030 <printf@plt>
lea    0x1078(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a9(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ed(%rip),%rdi
call   1030 <printf@plt>
lea    0x1124(%rip),%rdi
call   1030 <printf@plt>
lea    0x1167(%rip),%rdi
call   1030 <printf@plt>
lea    0x11aa(%rip),%rdi
call   1030 <printf@plt>
lea    0xfe1(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xebe(%rip),%rdi
call   1040 <puts@plt>
lea    0xecb(%rip),%rdi
call   1040 <puts@plt>
lea    0xf0a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf51(%rip),%rdi
call   1040 <puts@plt>
lea    0xf96(%rip),%rdi
call   1040 <puts@plt>
lea    0xfd7(%rip),%rdi
call   1040 <puts@plt>
lea    0x1026(%rip),%rdi
call   1040 <puts@plt>
lea    0x1066(%rip),%rdi
call   1040 <puts@plt>
lea    0x1096(%rip),%rdi
call   1040 <puts@plt>
lea    0x10d9(%rip),%rdi
call   1040 <puts@plt>
lea    0x110f(%rip),%rdi
call   1040 <puts@plt>
lea    0x1151(%rip),%rdi
call   1040 <puts@plt>
lea    0x1193(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"\0A\00"
@.str.1 = [26 x i8] c"GnublinBootSplash help:\0A\0A\00"
@.str.2 = [76 x i8] c" [--help , -h ] : Optional, prints this help message\0A\0A\00"
@.str.3 = [84 x i8] c" [--verbose=<level> , -v <level> ] : Optional, prints out some debug information\0A\00"
@.str.4 = [82 x i8] c" if there are any. Per default set to max.\0A\00"
@.str.5 = [78 x i8] c" can have value from 0 (no logging) to\0A\00"
@.str.6 = [92 x i8] c" 7 maximum logging (yes syslog has 7 categories...)\0A\0A\00"
@.str.7 = [77 x i8] c" [--configfile=<file> , -c <file> ] : Optional, gives path and filename of\0A\00"
@.str.8 = [61 x i8] c" configuration file.\0A\0A\00"
@.str.9 = [80 x i8] c" [--dontdaemonize , -d ] : don't daemonize, for testing especially\0A\00"
@.str.10 = [67 x i8] c" on non embedded hardware.\0A\0A\00"
@.str.11 = [79 x i8] c" [--forceunlock , -f ] : force to remove lockfile before start\0A\0A\00"
@.str.12 = [79 x i8] c" [--dfb:<opts> ] : Optional, DirectFB parameters, see DFB\0A\00"
@.str.13 = [70 x i8] c" manual for more information.\0A\0A\00"
define void @printHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([82 x i8], [82 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0))
%16 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [25 x i8] c"GnublinBootSplash help:\0A\00"
@str.14 = [75 x i8] c" [--help , -h ] : Optional, prints this help message\0A\00"
@str.15 = [83 x i8] c" [--verbose=<level> , -v <level> ] : Optional, prints out some debug information\00"
@str.16 = [81 x i8] c" if there are any. Per default set to max.\00"
@str.17 = [77 x i8] c" can have value from 0 (no logging) to\00"
@str.18 = [91 x i8] c" 7 maximum logging (yes syslog has 7 categories...)\0A\00"
@str.19 = [76 x i8] c" [--configfile=<file> , -c <file> ] : Optional, gives path and filename of\00"
@str.20 = [60 x i8] c" configuration file.\0A\00"
@str.21 = [79 x i8] c" [--dontdaemonize , -d ] : don't daemonize, for testing especially\00"
@str.22 = [66 x i8] c" on non embedded hardware.\0A\00"
@str.23 = [78 x i8] c" [--forceunlock , -f ] : force to remove lockfile before start\0A\00"
@str.24 = [78 x i8] c" [--dfb:<opts> ] : Optional, DirectFB parameters, see DFB\00"
@str.25 = [69 x i8] c" manual for more information.\0A\00"
define void @printHelp() {
%1 = tail call i32 @putchar(i32 10)
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 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 ([83 x i8], [83 x i8]* @str.15, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([91 x i8], [91 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.19, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str.20, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.21, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 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 ([78 x i8], [78 x i8]* @str.24, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.25, i64 0, i64 0))
%15 = tail call i32 @putchar(i32 10)
%16 = tail call i32 @exit(i32 0)
unreachable
}