#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 printHelp(void) {
  printf("Usage: RasPi_PowerPack [OPTION...]\n");
  printf("\n");
  printf("  -d, --divisor=DIVISOR     set the divisor for PWM clock\n");
  printf("  -h, --help                give this help list\n");
  printf("  -k, --keymap              give the key map\n");
  printf("  -s, --simple              start in simple display mode\n");
  printf("  -t, --timer=PERIOD        set the time-out period (sec) to "
         "automatic stop\n");
  printf("                            default value is 600\n");
  printf(
      "                              0:            disable automatic stop\n");
  printf("                              1 - 3600:     available time-out "
         "period\n");
  printf("  -v, --version             print program version\n");
  return;
}


x86 assembly (clang, -O0):
<printHelp>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0x104e(%rip),%rdi
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
lea    0xf67(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd6(%rip),%rdi
call   1030 <printf@plt>
lea    0xffc(%rip),%rdi
call   1030 <printf@plt>
lea    0x1034(%rip),%rdi
call   1030 <printf@plt>
lea    0x106f(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<printHelp>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee5(%rip),%rdi
call   1040 <puts@plt>
lea    0xf13(%rip),%rdi
call   1040 <puts@plt>
lea    0xf37(%rip),%rdi
call   1040 <puts@plt>
lea    0xf58(%rip),%rdi
call   1040 <puts@plt>
lea    0xf85(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1040 <puts@plt>
lea    0xfea(%rip),%rdi
call   1040 <puts@plt>
lea    0x1021(%rip),%rdi
call   1040 <puts@plt>
lea    0x105b(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [36 x i8] c"Usage: RasPi_PowerPack [OPTION...]\0A\00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [59 x i8] c" -d, --divisor=DIVISOR set the divisor for PWM clock\0A\00"
@.str.3 = [49 x i8] c" -h, --help give this help list\0A\00"
@.str.4 = [46 x i8] c" -k, --keymap give the key map\0A\00"
@.str.5 = [58 x i8] c" -s, --simple start in simple display mode\0A\00"
@.str.6 = [77 x i8] c" -t, --timer=PERIOD set the time-out period (sec) to automatic stop\0A\00"
@.str.7 = [50 x i8] c" default value is 600\0A\00"
@.str.8 = [68 x i8] c" 0: disable automatic stop\0A\00"
@.str.9 = [71 x i8] c" 1 - 3600: available time-out period\0A\00"
@.str.10 = [51 x i8] c" -v, --version print program version\0A\00"
define void @printHelp() {
%1 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [35 x i8] c"Usage: RasPi_PowerPack [OPTION...]\00"
@str.11 = [58 x i8] c" -d, --divisor=DIVISOR set the divisor for PWM clock\00"
@str.12 = [48 x i8] c" -h, --help give this help list\00"
@str.13 = [45 x i8] c" -k, --keymap give the key map\00"
@str.14 = [57 x i8] c" -s, --simple start in simple display mode\00"
@str.15 = [76 x i8] c" -t, --timer=PERIOD set the time-out period (sec) to automatic stop\00"
@str.16 = [49 x i8] c" default value is 600\00"
@str.17 = [67 x i8] c" 0: disable automatic stop\00"
@str.18 = [70 x i8] c" 1 - 3600: available time-out period\00"
@str.19 = [50 x i8] c" -v, --version print program version\00"
define void @printHelp() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @putchar(i32 10)
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.11, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.12, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.13, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.14, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.15, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.16, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.17, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.18, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.19, i64 0, i64 0))
ret void
}