#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_sysinfo_usage() {
  lprintf(5, "");
  lprintf(5,
          "   getsysinfo (os_name|primary_os_name|dell_os_version|dell_url)");
  lprintf(5, "      Retrieves system info from bmc for given argument");
  lprintf(5,
          "   setsysinfo (os_name|primary_os_name|dell_os_version|dell_url)");
  lprintf(5, "      Stores system Info for given argument to bmc");
  lprintf(5, "");
  lprintf(5, "   primary_os_name = primary operating system name");
  lprintf(5, "   os_name = secondary operating system name");
  lprintf(5, "   system_name = system hostname of server");
  lprintf(5, "   dell_os_version = running version of operating system (Dell)");
  lprintf(5, "   dell_url = url of bmc webserver (Dell)");
  lprintf(5, "");
}


x86 assembly (clang, -O0):
<ipmi_sysinfo_usage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
lea    0x1097(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xecf(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xeff(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf26(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf56(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1042(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf67(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf89(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfa5(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfbf(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfee(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfdc(%rip),%rsi
call   1030 <lprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipmi_sysinfo_usage>:
push   %rbx
lea    0x109f(%rip),%rbx
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xed4(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf04(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf2b(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf5b(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xf70(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf92(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfae(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfc8(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xff7(%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 = [65 x i8] c" getsysinfo (os_name|primary_os_name|dell_os_version|dell_url)\00"
@.str.2 = [56 x i8] c" Retrieves system info from bmc for given argument\00"
@.str.3 = [65 x i8] c" setsysinfo (os_name|primary_os_name|dell_os_version|dell_url)\00"
@.str.4 = [51 x i8] c" Stores system Info for given argument to bmc\00"
@.str.5 = [51 x i8] c" primary_os_name = primary operating system name\00"
@.str.6 = [45 x i8] c" os_name = secondary operating system name\00"
@.str.7 = [43 x i8] c" system_name = system hostname of server\00"
@.str.8 = [64 x i8] c" dell_os_version = running version of operating system (Dell)\00"
@.str.9 = [42 x i8] c" dell_url = url of bmc webserver (Dell)\00"
define void @ipmi_sysinfo_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 ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0))
%12 = 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 = [65 x i8] c" getsysinfo (os_name|primary_os_name|dell_os_version|dell_url)\00"
@.str.2 = [56 x i8] c" Retrieves system info from bmc for given argument\00"
@.str.3 = [65 x i8] c" setsysinfo (os_name|primary_os_name|dell_os_version|dell_url)\00"
@.str.4 = [51 x i8] c" Stores system Info for given argument to bmc\00"
@.str.5 = [51 x i8] c" primary_os_name = primary operating system name\00"
@.str.6 = [45 x i8] c" os_name = secondary operating system name\00"
@.str.7 = [43 x i8] c" system_name = system hostname of server\00"
@.str.8 = [64 x i8] c" dell_os_version = running version of operating system (Dell)\00"
@.str.9 = [42 x i8] c" dell_url = url of bmc webserver (Dell)\00"
define void @ipmi_sysinfo_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 ([65 x i8], [65 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%7 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.7, i64 0, i64 0))
%10 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.8, i64 0, i64 0))
%11 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0))
%12 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
ret void
}