#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 ipmi_picmg_help(void) {
  printf(" properties           - get PICMG properties\n");
  printf(" frucontrol           - FRU control\n");
  printf(" addrinfo             - get address information\n");
  printf(" activate             - activate a FRU\n");
  printf(" deactivate           - deactivate a FRU\n");
  printf(" policy get           - get the FRU activation policy\n");
  printf(" policy set           - set the FRU activation policy\n");
  printf(" portstate get        - get port state \n");
  printf(" portstate getdenied  - get all denied[disabled] port description\n");
  printf(" portstate getgranted - get all granted[enabled] port description\n");
  printf(" portstate getall     - get all port state description\n");
  printf(" portstate set        - set port state \n");
  printf(" amcportstate get     - get port state \n");
  printf(" amcportstate set     - set port state \n");
  printf(" led prop             - get led properties\n");
  printf(" led cap              - get led color capabilities\n");
  printf(" led get              - get led state\n");
  printf(" led set              - set led state\n");
  printf(" power get            - get power level info\n");
  printf(" power set            - set power level\n");
  printf(" clk get              - get clk state\n");
  printf(" clk getdenied        - get all(up to 16) denied[disabled] clock "
         "descriptions\n");
  printf(" clk getgranted       - get all(up to 16) granted[enabled] clock "
         "descriptions\n");
  printf(" clk getall           - get all(up to 16) clock descriptions\n");
  printf(" clk set              - set clk state\n");
  printf(" busres summary       - display brief bused resource status info \n");
}


x86 assembly (clang, -O0):
<ipmi_picmg_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf20(%rip),%rdi
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfaa(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <printf@plt>
lea    0xff2(%rip),%rdi
call   1030 <printf@plt>
lea    0x1029(%rip),%rdi
call   1030 <printf@plt>
lea    0x1060(%rip),%rdi
call   1030 <printf@plt>
lea    0x108c(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a9(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c6(%rip),%rdi
call   1030 <printf@plt>
lea    0x10e3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1103(%rip),%rdi
call   1030 <printf@plt>
lea    0x112b(%rip),%rdi
call   1030 <printf@plt>
lea    0x1146(%rip),%rdi
call   1030 <printf@plt>
lea    0x1161(%rip),%rdi
call   1030 <printf@plt>
lea    0x1183(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a0(%rip),%rdi
call   1030 <printf@plt>
lea    0x11bb(%rip),%rdi
call   1030 <printf@plt>
lea    0x11fe(%rip),%rdi
call   1030 <printf@plt>
lea    0x1241(%rip),%rdi
call   1030 <printf@plt>
lea    0x1273(%rip),%rdi
call   1030 <printf@plt>
lea    0x128e(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipmi_picmg_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf60(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7d(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa7(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd1(%rip),%rdi
call   1030 <puts@plt>
lea    0xfed(%rip),%rdi
call   1030 <puts@plt>
lea    0x1023(%rip),%rdi
call   1030 <puts@plt>
lea    0x1059(%rip),%rdi
call   1030 <puts@plt>
lea    0x1084(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a0(%rip),%rdi
call   1030 <puts@plt>
lea    0x10bc(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d8(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f7(%rip),%rdi
call   1030 <puts@plt>
lea    0x111e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1138(%rip),%rdi
call   1030 <puts@plt>
lea    0x1152(%rip),%rdi
call   1030 <puts@plt>
lea    0x1173(%rip),%rdi
call   1030 <puts@plt>
lea    0x118f(%rip),%rdi
call   1030 <puts@plt>
lea    0x11a9(%rip),%rdi
call   1030 <puts@plt>
lea    0x11eb(%rip),%rdi
call   1030 <puts@plt>
lea    0x122d(%rip),%rdi
call   1030 <puts@plt>
lea    0x125e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1278(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [46 x i8] c" properties - get PICMG properties\0A\00"
@.str.1 = [37 x i8] c" frucontrol - FRU control\0A\00"
@.str.2 = [49 x i8] c" addrinfo - get address information\0A\00"
@.str.3 = [40 x i8] c" activate - activate a FRU\0A\00"
@.str.4 = [42 x i8] c" deactivate - deactivate a FRU\0A\00"
@.str.5 = [55 x i8] c" policy get - get the FRU activation policy\0A\00"
@.str.6 = [55 x i8] c" policy set - set the FRU activation policy\0A\00"
@.str.7 = [41 x i8] c" portstate get - get port state \0A\00"
@.str.8 = [67 x i8] c" portstate getdenied - get all denied[disabled] port description\0A\00"
@.str.9 = [67 x i8] c" portstate getgranted - get all granted[enabled] port description\0A\00"
@.str.10 = [56 x i8] c" portstate getall - get all port state description\0A\00"
@.str.11 = [41 x i8] c" portstate set - set port state \0A\00"
@.str.12 = [41 x i8] c" amcportstate get - get port state \0A\00"
@.str.13 = [41 x i8] c" amcportstate set - set port state \0A\00"
@.str.14 = [44 x i8] c" led prop - get led properties\0A\00"
@.str.15 = [52 x i8] c" led cap - get led color capabilities\0A\00"
@.str.16 = [39 x i8] c" led get - get led state\0A\00"
@.str.17 = [39 x i8] c" led set - set led state\0A\00"
@.str.18 = [46 x i8] c" power get - get power level info\0A\00"
@.str.19 = [41 x i8] c" power set - set power level\0A\00"
@.str.20 = [39 x i8] c" clk get - get clk state\0A\00"
@.str.21 = [79 x i8] c" clk getdenied - get all(up to 16) denied[disabled] clock descriptions\0A\00"
@.str.22 = [79 x i8] c" clk getgranted - get all(up to 16) granted[enabled] clock descriptions\0A\00"
@.str.23 = [62 x i8] c" clk getall - get all(up to 16) clock descriptions\0A\00"
@.str.24 = [39 x i8] c" clk set - set clk state\0A\00"
@.str.25 = [67 x i8] c" busres summary - display brief bused resource status info \0A\00"
define void @ipmi_picmg_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.21, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.22, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.23, i64 0, i64 0))
%25 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.24, i64 0, i64 0))
%26 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.25, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [45 x i8] c" properties - get PICMG properties\00"
@str.26 = [36 x i8] c" frucontrol - FRU control\00"
@str.27 = [48 x i8] c" addrinfo - get address information\00"
@str.28 = [39 x i8] c" activate - activate a FRU\00"
@str.29 = [41 x i8] c" deactivate - deactivate a FRU\00"
@str.30 = [54 x i8] c" policy get - get the FRU activation policy\00"
@str.31 = [54 x i8] c" policy set - set the FRU activation policy\00"
@str.32 = [40 x i8] c" portstate get - get port state \00"
@str.33 = [66 x i8] c" portstate getdenied - get all denied[disabled] port description\00"
@str.34 = [66 x i8] c" portstate getgranted - get all granted[enabled] port description\00"
@str.35 = [55 x i8] c" portstate getall - get all port state description\00"
@str.36 = [40 x i8] c" portstate set - set port state \00"
@str.37 = [40 x i8] c" amcportstate get - get port state \00"
@str.38 = [40 x i8] c" amcportstate set - set port state \00"
@str.39 = [43 x i8] c" led prop - get led properties\00"
@str.40 = [51 x i8] c" led cap - get led color capabilities\00"
@str.41 = [38 x i8] c" led get - get led state\00"
@str.42 = [38 x i8] c" led set - set led state\00"
@str.43 = [45 x i8] c" power get - get power level info\00"
@str.44 = [40 x i8] c" power set - set power level\00"
@str.45 = [38 x i8] c" clk get - get clk state\00"
@str.46 = [78 x i8] c" clk getdenied - get all(up to 16) denied[disabled] clock descriptions\00"
@str.47 = [78 x i8] c" clk getgranted - get all(up to 16) granted[enabled] clock descriptions\00"
@str.48 = [61 x i8] c" clk getall - get all(up to 16) clock descriptions\00"
@str.49 = [38 x i8] c" clk set - set clk state\00"
@str.50 = [66 x i8] c" busres summary - display brief bused resource status info \00"
define void @ipmi_picmg_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.26, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.27, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.28, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.29, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.30, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.31, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.32, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.33, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.34, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.35, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.36, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.37, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.38, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.39, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.40, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.41, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.42, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.43, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.44, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.45, i64 0, i64 0))
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.46, i64 0, i64 0))
%23 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([78 x i8], [78 x i8]* @str.47, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.48, i64 0, i64 0))
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.49, i64 0, i64 0))
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.50, i64 0, i64 0))
ret void
}