#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_lan_usage(void) {
  lprintf(5, "");
  lprintf(5, "   lan set <Mode> ");
  lprintf(5, "      sets the NIC Selection Mode :");
  lprintf(5, "          on iDRAC12g :");
  lprintf(5, "              dedicated, shared with lom1, shared with "
             "lom2,shared with lom3,shared ");
  lprintf(5, "              with lom4,shared with failover lom1,shared with "
             "failover lom2,shared ");
  lprintf(5, "              with failover lom3,shared with failoverlom4,shared "
             "with Failover all ");
  lprintf(5, "              loms, shared with Failover None).");
  lprintf(5, "          on other systems :");
  lprintf(5, "              dedicated, shared, shared with failoverlom2,");
  lprintf(5, "              shared with Failover all loms.");
  lprintf(5, "");
  lprintf(5, "   lan get ");
  lprintf(5, "          on iDRAC12g :");
  lprintf(5, "              returns the current NIC Selection Mode (dedicated, "
             "shared with lom1, shared ");
  lprintf(5, "              with lom2, shared with lom3, shared with "
             "lom4,shared with failover lom1,");
  lprintf(5, "              shared with failover lom2,shared with failover "
             "lom3,shared with failover ");
  lprintf(5, "              lom4,shared with Failover all loms,shared with "
             "Failover None).");
  lprintf(5, "          on other systems :");
  lprintf(5, "              dedicated, shared, shared with failover,");
  lprintf(5, "              lom2, shared with Failover all loms.");
  lprintf(5, "");
  lprintf(5, "   lan get active");
  lprintf(5,
          "      Get the current active LOMs (LOM1, LOM2, LOM3, LOM4, NONE).");
  lprintf(5, "");
}


x86 assembly (clang, -O0):
<ipmi_lan_usage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
lea    0xef2(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xecf(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xed1(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xee4(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xeeb(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf2f(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf72(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfb5(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfd4(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfe0(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x100a(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xe37(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1015(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xe3a(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xfff(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1049(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x108f(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x10d6(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf2a(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1101(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1127(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xd8d(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1138(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0x1139(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xd5a(%rip),%rsi
call   1030 <lprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipmi_lan_usage>:
push   %r15
push   %r14
push   %rbx
lea    0xef6(%rip),%r14
mov    $0x5,%edi
mov    %r14,%rsi
call   1030 <lprintf@plt>
lea    0xed0(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xed2(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xee5(%rip),%r15
mov    $0x5,%edi
mov    %r15,%rsi
call   1030 <lprintf@plt>
lea    0xee9(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf2d(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf70(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfb3(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xfd2(%rip),%rbx
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xfdb(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0x1005(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %r14,%rsi
call   1030 <lprintf@plt>
lea    0x1014(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %r15,%rsi
call   1030 <lprintf@plt>
lea    0x1002(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0x104c(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0x1092(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0x10d9(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0x1108(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0x112e(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %r14,%rsi
call   1030 <lprintf@plt>
lea    0x1143(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0x1144(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
mov    $0x5,%edi
mov    %r14,%rsi
pop    %rbx
pop    %r14
pop    %r15
jmp    1030 <lprintf@plt>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [19 x i8] c" lan set <Mode> \00"
@.str.2 = [36 x i8] c" sets the NIC Selection Mode :\00"
@.str.3 = [24 x i8] c" on iDRAC12g :\00"
@.str.4 = [85 x i8] c" dedicated, shared with lom1, shared with lom2,shared with lom3,shared \00"
@.str.5 = [84 x i8] c" with lom4,shared with failover lom1,shared with failover lom2,shared \00"
@.str.6 = [84 x i8] c" with failover lom3,shared with failoverlom4,shared with Failover all \00"
@.str.7 = [48 x i8] c" loms, shared with Failover None).\00"
@.str.8 = [29 x i8] c" on other systems :\00"
@.str.9 = [59 x i8] c" dedicated, shared, shared with failoverlom2,\00"
@.str.10 = [45 x i8] c" shared with Failover all loms.\00"
@.str.11 = [12 x i8] c" lan get \00"
@.str.12 = [91 x i8] c" returns the current NIC Selection Mode (dedicated, shared with lom1, shared \00"
@.str.13 = [87 x i8] c" with lom2, shared with lom3, shared with lom4,shared with failover lom1,\00"
@.str.14 = [88 x i8] c" shared with failover lom2,shared with failover lom3,shared with failover \00"
@.str.15 = [77 x i8] c" lom4,shared with Failover all loms,shared with Failover None).\00"
@.str.16 = [55 x i8] c" dedicated, shared, shared with failover,\00"
@.str.17 = [51 x i8] c" lom2, shared with Failover all loms.\00"
@.str.18 = [18 x i8] c" lan get active\00"
@.str.19 = [66 x i8] c" Get the current active LOMs (LOM1, LOM2, LOM3, LOM4, NONE).\00"
define void @ipmi_lan_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 ([19 x i8], [19 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 ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0))
%13 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.12, i64 0, i64 0))
%16 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.13, i64 0, i64 0))
%17 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.14, i64 0, i64 0))
%18 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.15, i64 0, i64 0))
%19 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%20 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.16, i64 0, i64 0))
%21 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.17, 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 ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0))
%24 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.19, i64 0, i64 0))
%25 = 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 = [19 x i8] c" lan set <Mode> \00"
@.str.2 = [36 x i8] c" sets the NIC Selection Mode :\00"
@.str.3 = [24 x i8] c" on iDRAC12g :\00"
@.str.4 = [85 x i8] c" dedicated, shared with lom1, shared with lom2,shared with lom3,shared \00"
@.str.5 = [84 x i8] c" with lom4,shared with failover lom1,shared with failover lom2,shared \00"
@.str.6 = [84 x i8] c" with failover lom3,shared with failoverlom4,shared with Failover all \00"
@.str.7 = [48 x i8] c" loms, shared with Failover None).\00"
@.str.8 = [29 x i8] c" on other systems :\00"
@.str.9 = [59 x i8] c" dedicated, shared, shared with failoverlom2,\00"
@.str.10 = [45 x i8] c" shared with Failover all loms.\00"
@.str.11 = [12 x i8] c" lan get \00"
@.str.12 = [91 x i8] c" returns the current NIC Selection Mode (dedicated, shared with lom1, shared \00"
@.str.13 = [87 x i8] c" with lom2, shared with lom3, shared with lom4,shared with failover lom1,\00"
@.str.14 = [88 x i8] c" shared with failover lom2,shared with failover lom3,shared with failover \00"
@.str.15 = [77 x i8] c" lom4,shared with Failover all loms,shared with Failover None).\00"
@.str.16 = [55 x i8] c" dedicated, shared, shared with failover,\00"
@.str.17 = [51 x i8] c" lom2, shared with Failover all loms.\00"
@.str.18 = [18 x i8] c" lan get active\00"
@.str.19 = [66 x i8] c" Get the current active LOMs (LOM1, LOM2, LOM3, LOM4, NONE).\00"
define void @ipmi_lan_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 ([19 x i8], [19 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 ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([84 x i8], [84 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, 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))
%13 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
%14 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
%15 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.12, i64 0, i64 0))
%16 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.13, i64 0, i64 0))
%17 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.14, i64 0, i64 0))
%18 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.15, i64 0, i64 0))
%19 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.8, i64 0, i64 0))
%20 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.16, i64 0, i64 0))
%21 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.17, 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 ([18 x i8], [18 x i8]* @.str.18, i64 0, i64 0))
%24 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.19, 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))
ret void
}