#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_setled_usage(void) {
  lprintf(5, "");
  lprintf(5, "   setled <b:d.f> <state..>");
  lprintf(5, "      Set backplane LED state");
  lprintf(5, "      b:d.f = PCI Bus:Device.Function of drive (lspci format)");
  lprintf(5, "      state = present|online|hotspare|identify|rebuilding|");
  lprintf(5, "              fault|predict|critical|failed");
  lprintf(5, "");
}


x86 assembly (clang, -O0):
<ipmi_setled_usage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x5,%edi
lea    0xf57(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xecf(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xeda(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xee7(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf14(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xf3e(%rip),%rsi
call   1030 <lprintf@plt>
mov    $0x5,%edi
lea    0xef1(%rip),%rsi
call   1030 <lprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ipmi_setled_usage>:
push   %rbx
lea    0xf5f(%rip),%rbx
mov    $0x5,%edi
mov    %rbx,%rsi
call   1030 <lprintf@plt>
lea    0xed4(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xedf(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xeec(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf19(%rip),%rsi
mov    $0x5,%edi
call   1030 <lprintf@plt>
lea    0xf43(%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 = [28 x i8] c" setled <b:d.f> <state..>\00"
@.str.2 = [30 x i8] c" Set backplane LED state\00"
@.str.3 = [62 x i8] c" b:d.f = PCI Bus:Device.Function of drive (lspci format)\00"
@.str.4 = [59 x i8] c" state = present|online|hotspare|identify|rebuilding|\00"
@.str.5 = [44 x i8] c" fault|predict|critical|failed\00"
define void @ipmi_setled_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 ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @lprintf(i32 5, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, 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 = [28 x i8] c" setled <b:d.f> <state..>\00"
@.str.2 = [30 x i8] c" Set backplane LED state\00"
@.str.3 = [62 x i8] c" b:d.f = PCI Bus:Device.Function of drive (lspci format)\00"
@.str.4 = [59 x i8] c" state = present|online|hotspare|identify|rebuilding|\00"
@.str.5 = [44 x i8] c" fault|predict|critical|failed\00"
define void @ipmi_setled_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 ([28 x i8], [28 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @lprintf(i32 5, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, 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
}