#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*/ print_usage(int /*<<< orphan*/, char const *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdout;
void print_help(const char *name) {
  print_usage(stdout, name);
  printf("\n\t-f, --family\t- Set protocol family to use for"
         " communicating with HOST. FAMILY can be set to \"inet\""
         " (IPv4), \"inet6\" (IPv6) or \"unspec\" (automatic).\n");
  printf("\t-4\t\t- Shortcut for --family=inet.\n");
  printf("\t-6\t\t- Shortcut for --family=inet6.\n");
  printf("\t-n, --numeric\t- Avoid name resolution for HOST and PORT.\n");
  printf("\t-H, --host\t- Set hostname, or IP address, to communicate"
         " with. Defaults to \"%s\".\n",
         "localhost");
  printf("\t-p, --port\t- Set remote port to use for communicating"
         " with HOST. Defaults to \"%s\".\n",
         "2001");
  printf("\t-t, --timeout\t- Set inactivity timeout.\n");
  printf("\t-P, --password\t- Set password for accessing HOST.\n");
  printf("\t-v, --verbose\t- Verbose output.\n");
  printf("\t-V, --version\t- Display version number and exit.\n");
  printf("\t-h, --help\t- Display this help message and exit.\n");
  printf("\n\tCOMMAND is the accel-ppp command line to be executed");
  printf(" (if omitted, commands are read from standard input).\n");
  printf("\tThe \"help\" command can be used (e.g. \"%s help\") to get"
         " information about available commands and their syntax.\n",
         name);
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ead(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rsi
call   1040 <print_usage@plt>
lea    0xebb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf70(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9d(%rip),%rdi
lea    0xfe9(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfe5(%rip),%rdi
lea    0x1033(%rip),%rsi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x102a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1046(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x106c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1080(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10a5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10ca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10f3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0x1118(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rbx
mov    %rdi,%rbx
mov    0x2ea5(%rip),%rax
mov    (%rax),%edi
mov    %rbx,%rsi
call   1050 <print_usage@plt>
lea    0x1012(%rip),%rdi
call   1030 <puts@plt>
lea    0x109b(%rip),%rdi
call   1030 <puts@plt>
lea    0x10b2(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ca(%rip),%rdi
call   1030 <puts@plt>
lea    0xe84(%rip),%rdi
lea    0xed0(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xecc(%rip),%rdi
lea    0xf1a(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10ce(%rip),%rdi
call   1030 <puts@plt>
lea    0x10eb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1112(%rip),%rdi
call   1030 <puts@plt>
lea    0x1127(%rip),%rdi
call   1030 <puts@plt>
lea    0x114d(%rip),%rdi
call   1030 <puts@plt>
lea    0xed5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1165(%rip),%rdi
call   1030 <puts@plt>
lea    0xef2(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [150 x i8] c"\0A\09-f, --family\09- Set protocol family to use for communicating with HOST. FAMILY can be set to \22inet\22 (IPv4), \22inet6\22 (IPv6) or \22unspec\22 (automatic).\0A\00"
@.str.1 = [36 x i8] c"\09-4\09\09- Shortcut for --family=inet.\0A\00"
@.str.2 = [37 x i8] c"\09-6\09\09- Shortcut for --family=inet6.\0A\00"
@.str.3 = [59 x i8] c"\09-n, --numeric\09- Avoid name resolution for HOST and PORT.\0A\00"
@.str.4 = [83 x i8] c"\09-H, --host\09- Set hostname, or IP address, to communicate with. Defaults to \22%s\22.\0A\00"
@.str.5 = [10 x i8] c"localhost\00"
@.str.6 = [85 x i8] c"\09-p, --port\09- Set remote port to use for communicating with HOST. Defaults to \22%s\22.\0A\00"
@.str.7 = [5 x i8] c"2001\00"
@.str.8 = [42 x i8] c"\09-t, --timeout\09- Set inactivity timeout.\0A\00"
@.str.9 = [52 x i8] c"\09-P, --password\09- Set password for accessing HOST.\0A\00"
@.str.10 = [34 x i8] c"\09-v, --verbose\09- Verbose output.\0A\00"
@.str.11 = [51 x i8] c"\09-V, --version\09- Display version number and exit.\0A\00"
@.str.12 = [51 x i8] c"\09-h, --help\09- Display this help message and exit.\0A\00"
@.str.13 = [55 x i8] c"\0A\09COMMAND is the accel-ppp command line to be executed\00"
@.str.14 = [55 x i8] c" (if omitted, commands are read from standard input).\0A\00"
@.str.15 = [112 x i8] c"\09The \22help\22 command can be used (e.g. \22%s help\22) to get information about available commands and their syntax.\0A\00"
define void @print_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stdout
%4 = load i8*, i8** %2
%5 = call i32 @print_usage(i32 %3, i8* %4)
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([150 x i8], [150 x i8]* @.str, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.8, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.9, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.14, i64 0, i64 0))
%19 = load i8*, i8** %2
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([112 x i8], [112 x i8]* @.str.15, i64 0, i64 0), i8* %19)
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str.4 = [83 x i8] c"\09-H, --host\09- Set hostname, or IP address, to communicate with. Defaults to \22%s\22.\0A\00"
@.str.5 = [10 x i8] c"localhost\00"
@.str.6 = [85 x i8] c"\09-p, --port\09- Set remote port to use for communicating with HOST. Defaults to \22%s\22.\0A\00"
@.str.7 = [5 x i8] c"2001\00"
@.str.13 = [55 x i8] c"\0A\09COMMAND is the accel-ppp command line to be executed\00"
@.str.15 = [112 x i8] c"\09The \22help\22 command can be used (e.g. \22%s help\22) to get information about available commands and their syntax.\0A\00"
@str = [149 x i8] c"\0A\09-f, --family\09- Set protocol family to use for communicating with HOST. FAMILY can be set to \22inet\22 (IPv4), \22inet6\22 (IPv6) or \22unspec\22 (automatic).\00"
@str.16 = [35 x i8] c"\09-4\09\09- Shortcut for --family=inet.\00"
@str.17 = [36 x i8] c"\09-6\09\09- Shortcut for --family=inet6.\00"
@str.18 = [58 x i8] c"\09-n, --numeric\09- Avoid name resolution for HOST and PORT.\00"
@str.19 = [41 x i8] c"\09-t, --timeout\09- Set inactivity timeout.\00"
@str.20 = [51 x i8] c"\09-P, --password\09- Set password for accessing HOST.\00"
@str.21 = [33 x i8] c"\09-v, --verbose\09- Verbose output.\00"
@str.22 = [50 x i8] c"\09-V, --version\09- Display version number and exit.\00"
@str.23 = [50 x i8] c"\09-h, --help\09- Display this help message and exit.\00"
@str.24 = [54 x i8] c" (if omitted, commands are read from standard input).\00"
define void @print_help(i8* %0) {
%2 = load i32, i32* @stdout
%3 = tail call i32 @print_usage(i32 %2, i8* %0)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([149 x i8], [149 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.18, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.20, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.21, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.22, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.23, i64 0, i64 0))
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str.13, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @str.24, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([112 x i8], [112 x i8]* @.str.15, i64 0, i64 0), i8* %0)
ret void
}