#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
char *_(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *);
int /*<<< orphan*/ fputc(char, int /*<<< orphan*/ *);
int /*<<< orphan*/ fputs(char *, int /*<<< orphan*/ *);
void usage(FILE *stream) {
  fputs(_("Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]\n"),
        stream);
  fputs(_("       rpcinfo [ -n portnum ] -t host prognum [ versnum ]\n"),
        stream);
  fputs(_("       rpcinfo -p [ host ]\n"), stream);
  fputs(_("       rpcinfo -b prognum versnum\n"), stream);
  fputs(_("       rpcinfo -d prognum versnum\n"), stream);
  fputc('\n', stream);
  fprintf(stream, _("For bug reporting instructions, please "
                    "see:\n<http://www.gnu.org/software/libc/bugs.html>.\n"));
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xead(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    -0x8(%rbp),%rsi
call   1030 <fputs@plt>
lea    0xed0(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    -0x8(%rbp),%rsi
call   1030 <fputs@plt>
lea    0xef3(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    -0x8(%rbp),%rsi
call   1030 <fputs@plt>
lea    0xef7(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    -0x8(%rbp),%rsi
call   1030 <fputs@plt>
lea    0xf02(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    -0x8(%rbp),%rsi
call   1030 <fputs@plt>
mov    -0x8(%rbp),%rsi
mov    $0xa,%edi
call   1040 <fputc@plt>
mov    -0x8(%rbp),%rax
mov    %rax,-0x10(%rbp)
lea    0xef7(%rip),%rdi
call   1060 <_@plt>
mov    -0x10(%rbp),%rdi
mov    %rax,%rsi
call   1050 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xeb5(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1030 <fputs@plt>
lea    0xed9(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1030 <fputs@plt>
lea    0xefd(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1030 <fputs@plt>
lea    0xf02(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1030 <fputs@plt>
lea    0xf0e(%rip),%rdi
call   1060 <_@plt>
mov    %rax,%rdi
mov    %rbx,%rsi
call   1030 <fputs@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
lea    0xf0d(%rip),%rdi
call   1060 <_@plt>
mov    %rbx,%rdi
mov    %rax,%rsi
pop    %rbx
jmp    1050 <fprintf@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]\0A\00"
@.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"
@.str.5 = [91 x i8] c"For bug reporting instructions, please see:\0A<http://www.gnu.org/software/libc/bugs.html>.\0A\00"
define void @usage(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = call i8* @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%4 = load i32*, i32** %2
%5 = call i32 @fputs(i8* %3, i32* %4)
%6 = call i8* @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32*, i32** %2
%8 = call i32 @fputs(i8* %6, i32* %7)
%9 = call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32*, i32** %2
%11 = call i32 @fputs(i8* %9, i32* %10)
%12 = call i8* @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%13 = load i32*, i32** %2
%14 = call i32 @fputs(i8* %12, i32* %13)
%15 = call i8* @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%16 = load i32*, i32** %2
%17 = call i32 @fputs(i8* %15, i32* %16)
%18 = load i32*, i32** %2
%19 = call i32 @fputc(i8 signext 10, i32* %18)
%20 = load i32*, i32** %2
%21 = call i8* @_(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.5, i64 0, i64 0))
%22 = call i32 @fprintf(i32* %20, i8* %21)
ret void
}

LLVM IR (-O2):
@.str = [59 x i8] c"Usage: rpcinfo [ -n portnum ] -u host prognum [ versnum ]\0A\00"
@.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"
@.str.5 = [91 x i8] c"For bug reporting instructions, please see:\0A<http://www.gnu.org/software/libc/bugs.html>.\0A\00"
define void @usage(i32* nocapture %0) {
%2 = tail call i8* @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @fputs(i8* %2, i32* %0)
%4 = tail call i8* @_(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 @fputs(i8* %4, i32* %0)
%6 = tail call i8* @_(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @fputs(i8* %6, i32* %0)
%8 = tail call i8* @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%9 = tail call i32 @fputs(i8* %8, i32* %0)
%10 = tail call i8* @_(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 @fputs(i8* %10, i32* %0)
%12 = tail call i32 @fputc(i8 signext 10, i32* %0)
%13 = tail call i8* @_(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.5, i64 0, i64 0))
%14 = tail call i32 @fprintf(i32* %0, i8* %13)
ret void
}