#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*/ _(char *);
int /*<<< orphan*/ fputs(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ stderr;
void usage() {
  fputs(_("Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]\n"),
        stderr);
  fputs(_("       rpcinfo [ -n portnum ] -t host prognum [ versnum ]\n"),
        stderr);
  fputs(_("       rpcinfo -p [ host ]\n"), stderr);
  fputs(_("       rpcinfo -b prognum versnum\n"), stderr);
  fputs(_("       rpcinfo -d prognum versnum\n"), stderr);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1040 <_@plt>
mov    %eax,%edi
mov    0x2ea7(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    0xef4(%rip),%rdi
call   1040 <_@plt>
mov    %eax,%edi
mov    0x2e8b(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    0xf13(%rip),%rdi
call   1040 <_@plt>
mov    %eax,%edi
mov    0x2e6f(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    0xf13(%rip),%rdi
call   1040 <_@plt>
mov    %eax,%edi
mov    0x2e53(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
lea    0xf1a(%rip),%rdi
call   1040 <_@plt>
mov    %eax,%edi
mov    0x2e37(%rip),%rax
mov    (%rax),%esi
call   1030 <fputs@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rbx
lea    0xed8(%rip),%rdi
call   1040 <_@plt>
mov    0x2eac(%rip),%rbx
mov    (%rbx),%esi
mov    %eax,%edi
call   1030 <fputs@plt>
lea    0xef7(%rip),%rdi
call   1040 <_@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1030 <fputs@plt>
lea    0xf1d(%rip),%rdi
call   1040 <_@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1030 <fputs@plt>
lea    0xf24(%rip),%rdi
call   1040 <_@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1030 <fputs@plt>
lea    0xf32(%rip),%rdi
call   1040 <_@plt>
mov    (%rbx),%esi
mov    %eax,%edi
pop    %rbx
jmp    1030 <fputs@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]\0A\00"
@stderr = global i32 0
@.str.1 = [59 x i8] c" rpcinfo [ -n portnum ] -t host prognum [ versnum ]\0A\00"
@.str.2 = [28 x i8] c" rpcinfo -p [ host ]\0A\00"
@.str.3 = [35 x i8] c" rpcinfo -b prognum versnum\0A\00"
@.str.4 = [35 x i8] c" rpcinfo -d prognum versnum\0A\00"
define void @usage() {
%1 = call i32 @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = load i32, i32* @stderr
%3 = call i32 @fputs(i32 %1, i32 %2)
%4 = call i32 @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = call i32 @fputs(i32 %4, i32 %5)
%7 = call i32 @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 @fputs(i32 %7, i32 %8)
%10 = call i32 @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = call i32 @fputs(i32 %10, i32 %11)
%13 = call i32 @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 @fputs(i32 %13, i32 %14)
ret void
}

LLVM IR (-O2):
@.str = [59 x i8] c"Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]\0A\00"
@stderr = global i32 0
@.str.1 = [59 x i8] c" rpcinfo [ -n portnum ] -t host prognum [ versnum ]\0A\00"
@.str.2 = [28 x i8] c" rpcinfo -p [ host ]\0A\00"
@.str.3 = [35 x i8] c" rpcinfo -b prognum versnum\0A\00"
@.str.4 = [35 x i8] c" rpcinfo -d prognum versnum\0A\00"
define void @usage() {
%1 = tail call i32 @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%2 = load i32, i32* @stderr
%3 = tail call i32 @fputs(i32 %1, i32 %2)
%4 = tail call i32 @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%5 = load i32, i32* @stderr
%6 = tail call i32 @fputs(i32 %4, i32 %5)
%7 = tail call i32 @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 @fputs(i32 %7, i32 %8)
%10 = tail call i32 @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32, i32* @stderr
%12 = tail call i32 @fputs(i32 %10, i32 %11)
%13 = tail call i32 @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 @fputs(i32 %13, i32 %14)
ret void
}