#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_mac_usage(void) {
  lprintf(5, "");
  lprintf(5, "   mac list");
  lprintf(5, "      Lists the MAC address of LOMs");
  lprintf(5, "");
  lprintf(5, "   mac get <NIC number>");
  lprintf(5, "      Shows the MAC address of specified LOM. 0-7 System LOM, 8- "
             "DRAC/iDRAC.");
  lprintf(5, "");
}


x86 assembly (clang, -O0):
<ipmi_mac_usage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
lea    0xf74(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xecf(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xeca(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf41(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xecc(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xed3(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf0e(%rip),%rsi
call   1030 <lprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipmi_mac_usage>:
push   %rbx
lea    0xf7c(%rip),%rbx
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xed4(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xecf(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xed5(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xedc(%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 = [12 x i8] c" mac list\00"
@.str.2 = [36 x i8] c" Lists the MAC address of LOMs\00"
@.str.3 = [24 x i8] c" mac get <NIC number>\00"
@.str.4 = [77 x i8] c" Shows the MAC address of specified LOM. 0-7 System LOM, 8- DRAC/iDRAC.\00"
define void @ipmi_mac_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 ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([36 x i8], [36 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 ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([77 x i8], [77 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))
ret void
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [12 x i8] c" mac list\00"
@.str.2 = [36 x i8] c" Lists the MAC address of LOMs\00"
@.str.3 = [24 x i8] c" mac get <NIC number>\00"
@.str.4 = [77 x i8] c" Shows the MAC address of specified LOM. 0-7 System LOM, 8- DRAC/iDRAC.\00"
define void @ipmi_mac_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 ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([36 x i8], [36 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 ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([77 x i8], [77 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))
ret void
}