#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*/ lprintf(int, char *);
void ipmi_powermonitor_usage(void) {
  lprintf(5, "");
  lprintf(5, "   powermonitor");
  lprintf(5, "      Shows power tracking statistics ");
  lprintf(5, "");
  lprintf(5, "   powermonitor clear cumulativepower");
  lprintf(5, "      Reset cumulative power reading");
  lprintf(5, "");
  lprintf(5, "   powermonitor clear peakpower");
  lprintf(5, "      Reset peak power reading");
  lprintf(5, "");
  lprintf(5, "   powermonitor powerconsumption");
  lprintf(5, "      Displays power consumption in <watt|btuphr>");
  lprintf(5, "");
  lprintf(5, "   powermonitor powerconsumptionhistory <watt|btuphr>");
  lprintf(5, "      Displays power consumption history ");
  lprintf(5, "");
  lprintf(5, "   powermonitor getpowerbudget");
  lprintf(5, "      Displays power cap in <watt|btuphr>");
  lprintf(5, "");
  lprintf(5, "   powermonitor setpowerbudget <val><watt|btuphr|percent>");
  lprintf(
      5, "      Allows user to set the  power cap in <watt|BTU/hr|percentage>");
  lprintf(5, "");
  lprintf(5, "   powermonitor enablepowercap ");
  lprintf(5, "      To enable set power cap");
  lprintf(5, "");
  lprintf(5, "   powermonitor disablepowercap ");
  lprintf(5, "      To disable set power cap");
  lprintf(5, "");
}


x86 assembly (clang, -O0):
<ipmi_powermonitor_usage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
lea    0x113a(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xecf(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xece(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1107(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xed3(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xee8(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x10d4(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xeeb(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xefa(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x10a1(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xef7(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf07(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x106e(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf17(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf3c(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x103b(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf44(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf52(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1008(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf5a(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf83(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfd5(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfa5(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfb4(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfa2(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfb0(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfc0(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf6f(%rip),%rsi
call   1030 <lprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipmi_powermonitor_usage>:
push   %rbx
lea    0x1142(%rip),%rbx
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xed4(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xed3(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xedc(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xef1(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xef8(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf07(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xf08(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf18(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xf2c(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf51(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xf5d(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf6b(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xf77(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfa0(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xfc6(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfd5(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xfd5(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfe5(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
pop    %rbx
jmp    1030 <lprintf@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [16 x i8] c" powermonitor\00"
@.str.2 = [39 x i8] c" Shows power tracking statistics \00"
@.str.3 = [38 x i8] c" powermonitor clear cumulativepower\00"
@.str.4 = [37 x i8] c" Reset cumulative power reading\00"
@.str.5 = [32 x i8] c" powermonitor clear peakpower\00"
@.str.6 = [31 x i8] c" Reset peak power reading\00"
@.str.7 = [33 x i8] c" powermonitor powerconsumption\00"
@.str.8 = [50 x i8] c" Displays power consumption in <watt|btuphr>\00"
@.str.9 = [54 x i8] c" powermonitor powerconsumptionhistory <watt|btuphr>\00"
@.str.10 = [42 x i8] c" Displays power consumption history \00"
@.str.11 = [31 x i8] c" powermonitor getpowerbudget\00"
@.str.12 = [42 x i8] c" Displays power cap in <watt|btuphr>\00"
@.str.13 = [58 x i8] c" powermonitor setpowerbudget <val><watt|btuphr|percent>\00"
@.str.14 = [68 x i8] c" Allows user to set the power cap in <watt|BTU/hr|percentage>\00"
@.str.15 = [32 x i8] c" powermonitor enablepowercap \00"
@.str.16 = [30 x i8] c" To enable set power cap\00"
@.str.17 = [33 x i8] c" powermonitor disablepowercap \00"
@.str.18 = [31 x i8] c" To disable set power cap\00"
define void @ipmi_powermonitor_usage() {
%1 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%5 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%8 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%9 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%10 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%14 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0))
%16 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%17 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0))
%18 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0))
%19 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%20 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.13, i64 0, i64 0))
%21 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.14, i64 0, i64 0))
%22 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%23 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%24 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0))
%25 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%26 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0))
%27 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0))
%28 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [16 x i8] c" powermonitor\00"
@.str.2 = [39 x i8] c" Shows power tracking statistics \00"
@.str.3 = [38 x i8] c" powermonitor clear cumulativepower\00"
@.str.4 = [37 x i8] c" Reset cumulative power reading\00"
@.str.5 = [32 x i8] c" powermonitor clear peakpower\00"
@.str.6 = [31 x i8] c" Reset peak power reading\00"
@.str.7 = [33 x i8] c" powermonitor powerconsumption\00"
@.str.8 = [50 x i8] c" Displays power consumption in <watt|btuphr>\00"
@.str.9 = [54 x i8] c" powermonitor powerconsumptionhistory <watt|btuphr>\00"
@.str.10 = [42 x i8] c" Displays power consumption history \00"
@.str.11 = [31 x i8] c" powermonitor getpowerbudget\00"
@.str.12 = [42 x i8] c" Displays power cap in <watt|btuphr>\00"
@.str.13 = [58 x i8] c" powermonitor setpowerbudget <val><watt|btuphr|percent>\00"
@.str.14 = [68 x i8] c" Allows user to set the power cap in <watt|BTU/hr|percentage>\00"
@.str.15 = [32 x i8] c" powermonitor enablepowercap \00"
@.str.16 = [30 x i8] c" To enable set power cap\00"
@.str.17 = [33 x i8] c" powermonitor disablepowercap \00"
@.str.18 = [31 x i8] c" To disable set power cap\00"
define void @ipmi_powermonitor_usage() {
%1 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.6, i64 0, i64 0))
%10 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%11 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.7, i64 0, i64 0))
%12 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.8, i64 0, i64 0))
%13 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%14 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.9, i64 0, i64 0))
%15 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.10, i64 0, i64 0))
%16 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%17 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.11, i64 0, i64 0))
%18 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.12, i64 0, i64 0))
%19 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%20 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.13, i64 0, i64 0))
%21 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.14, i64 0, i64 0))
%22 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%23 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%24 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.16, i64 0, i64 0))
%25 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%26 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.17, i64 0, i64 0))
%27 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.18, i64 0, i64 0))
%28 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
ret void
}