#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*/ fputs(int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ gettext(char *);
int /*<<< orphan*/ print_usage(int /*<<< orphan*/);
int /*<<< orphan*/ stdout;
void print_help(void) {
  print_usage(stdout);
  fputs(gettext("ypwhich - return name of NIS server or map master\n\n"),
        stdout);
  fputs(
      gettext("  -d domain      Use 'domain' instead of the default domain\n"),
      stdout);
  fputs(
      gettext(
          "  -m mname       Find the master NIS server for the map 'mname'\n"),
      stdout);
  fputs(gettext("  -t             Inhibits map nickname translation\n"),
        stdout);
  fputs(gettext("  -V n           Version of ypbind, V3 is default\n"), stdout);
  fputs(
      gettext("  -x             Display the map nickname translation table\n"),
      stdout);
  fputs(gettext(" --verbose       Verbose output of result\n"), stdout);
  fputs(gettext("  -?, --help     Give this help list\n"), stdout);
  fputs(gettext("      --usage    Give a short usage message\n"), stdout);
  fputs(gettext("      --version  Print program version\n"), stdout);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ea5(%rip),%rax
mov    (%rax),%edi
call   1050 <print_usage@plt>
lea    0xeb7(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2e89(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xecf(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2e6d(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xef0(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2e51(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf15(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2e35(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf2d(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2e19(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf44(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2dfd(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf65(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2de1(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf74(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2dc5(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf7e(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2da9(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
lea    0xf8f(%rip),%rdi
call   1030 <gettext@plt>
mov    %eax,%edi
mov    0x2d8d(%rip),%rax
mov    (%rax),%esi
call   1040 <fputs@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
mov    0x2ea8(%rip),%rbx
mov    (%rbx),%edi
call   1050 <print_usage@plt>
lea    0xeba(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xed9(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xf01(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xf2d(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xf4c(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xf6a(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xf92(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xfa8(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xfb9(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
call   1040 <fputs@plt>
lea    0xfd1(%rip),%rdi
call   1030 <gettext@plt>
mov    (%rbx),%esi
mov    %eax,%edi
pop    %rbx
jmp    1040 <fputs@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [52 x i8] c"ypwhich - return name of NIS server or map master\0A\0A\00"
@.str.1 = [61 x i8] c" -d domain Use 'domain' instead of the default domain\0A\00"
@.str.2 = [65 x i8] c" -m mname Find the master NIS server for the map 'mname'\0A\00"
@.str.3 = [52 x i8] c" -t Inhibits map nickname translation\0A\00"
@.str.4 = [51 x i8] c" -V n Version of ypbind, V3 is default\0A\00"
@.str.5 = [61 x i8] c" -x Display the map nickname translation table\0A\00"
@.str.6 = [43 x i8] c" --verbose Verbose output of result\0A\00"
@.str.7 = [38 x i8] c" -?, --help Give this help list\0A\00"
@.str.8 = [45 x i8] c" --usage Give a short usage message\0A\00"
@.str.9 = [40 x i8] c" --version Print program version\0A\00"
define void @print_help() {
%1 = load i32, i32* @stdout
%2 = call i32 @print_usage(i32 %1)
%3 = call i32 @gettext(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stdout
%5 = call i32 @fputs(i32 %3, i32 %4)
%6 = call i32 @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = call i32 @fputs(i32 %6, i32 %7)
%9 = call i32 @gettext(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32, i32* @stdout
%11 = call i32 @fputs(i32 %9, i32 %10)
%12 = call i32 @gettext(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = call i32 @fputs(i32 %12, i32 %13)
%15 = call i32 @gettext(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = call i32 @fputs(i32 %15, i32 %16)
%18 = call i32 @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.5, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = call i32 @fputs(i32 %18, i32 %19)
%21 = call i32 @gettext(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.6, i64 0, i64 0))
%22 = load i32, i32* @stdout
%23 = call i32 @fputs(i32 %21, i32 %22)
%24 = call i32 @gettext(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%25 = load i32, i32* @stdout
%26 = call i32 @fputs(i32 %24, i32 %25)
%27 = call i32 @gettext(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%28 = load i32, i32* @stdout
%29 = call i32 @fputs(i32 %27, i32 %28)
%30 = call i32 @gettext(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = call i32 @fputs(i32 %30, i32 %31)
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [52 x i8] c"ypwhich - return name of NIS server or map master\0A\0A\00"
@.str.1 = [61 x i8] c" -d domain Use 'domain' instead of the default domain\0A\00"
@.str.2 = [65 x i8] c" -m mname Find the master NIS server for the map 'mname'\0A\00"
@.str.3 = [52 x i8] c" -t Inhibits map nickname translation\0A\00"
@.str.4 = [51 x i8] c" -V n Version of ypbind, V3 is default\0A\00"
@.str.5 = [61 x i8] c" -x Display the map nickname translation table\0A\00"
@.str.6 = [43 x i8] c" --verbose Verbose output of result\0A\00"
@.str.7 = [38 x i8] c" -?, --help Give this help list\0A\00"
@.str.8 = [45 x i8] c" --usage Give a short usage message\0A\00"
@.str.9 = [40 x i8] c" --version Print program version\0A\00"
define void @print_help() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @print_usage(i32 %1)
%3 = tail call i32 @gettext(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str, i64 0, i64 0))
%4 = load i32, i32* @stdout
%5 = tail call i32 @fputs(i32 %3, i32 %4)
%6 = tail call i32 @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32, i32* @stdout
%8 = tail call i32 @fputs(i32 %6, i32 %7)
%9 = tail call i32 @gettext(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%10 = load i32, i32* @stdout
%11 = tail call i32 @fputs(i32 %9, i32 %10)
%12 = tail call i32 @gettext(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.3, i64 0, i64 0))
%13 = load i32, i32* @stdout
%14 = tail call i32 @fputs(i32 %12, i32 %13)
%15 = tail call i32 @gettext(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.4, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = tail call i32 @fputs(i32 %15, i32 %16)
%18 = tail call i32 @gettext(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.5, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = tail call i32 @fputs(i32 %18, i32 %19)
%21 = tail call i32 @gettext(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.6, i64 0, i64 0))
%22 = load i32, i32* @stdout
%23 = tail call i32 @fputs(i32 %21, i32 %22)
%24 = tail call i32 @gettext(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
%25 = load i32, i32* @stdout
%26 = tail call i32 @fputs(i32 %24, i32 %25)
%27 = tail call i32 @gettext(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%28 = load i32, i32* @stdout
%29 = tail call i32 @fputs(i32 %27, i32 %28)
%30 = tail call i32 @gettext(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.9, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = tail call i32 @fputs(i32 %30, i32 %31)
ret void
}