#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*/ fprintf(int /*<<< orphan*/, char *, char const *);
int /*<<< orphan*/ stdout;
void show_help(const char *cmd) {
  fprintf(stdout, "Use: %s [options] ...\n", cmd);
  fprintf(stdout, " %-34s The path of the namelist list.\n",
          "-n,--name-list=<listpath>");
  fprintf(stdout, " %-34s The path of the environment variable file.\n",
          "-e,--env-list=<envlist>");
  fprintf(stdout, " %-34s The path of the package.\n",
          "-p,--package-path=<packagepath>");
  fprintf(
      stdout,
      " %-34s Enable debugging for this sub-system.    (PARROT_DEBUG_FLAGS)\n",
      "-d,--debug=<name>");
  fprintf(stdout,
          " %-34s Send debugging to this file. (can also be :stderr, :stdout, "
          ":syslog, or :journal) (PARROT_DEBUG_FILE)\n",
          "-o,--debug-file=<file>");
  fprintf(stdout, " %-34s Show the help info.\n", "-h,--help");
  return;
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    0x2ebd(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%rdx
lea    0xed0(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2ea4(%rip),%rax
mov    (%rax),%edi
lea    0xed2(%rip),%rsi
lea    0xef2(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e88(%rip),%rax
mov    (%rax),%edi
lea    0xef7(%rip),%rsi
lea    0xf23(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e6c(%rip),%rax
mov    (%rax),%edi
lea    0xf26(%rip),%rsi
lea    0xf40(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e50(%rip),%rax
mov    (%rax),%edi
lea    0xf4b(%rip),%rsi
lea    0xf8a(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e34(%rip),%rax
mov    (%rax),%edi
lea    0xf87(%rip),%rsi
lea    0xfee(%rip),%rdx
call   1030 <fprintf@plt>
mov    0x2e18(%rip),%rax
mov    (%rax),%edi
lea    0xff0(%rip),%rsi
lea    0x1005(%rip),%rdx
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rbx
mov    %rdi,%rdx
mov    0x2ec5(%rip),%rbx
mov    (%rbx),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee5(%rip),%rsi
lea    0xf05(%rip),%rdx
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf11(%rip),%rsi
lea    0xf3d(%rip),%rdx
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf47(%rip),%rsi
lea    0xf61(%rip),%rdx
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf73(%rip),%rsi
lea    0xfb2(%rip),%rdx
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfb6(%rip),%rsi
lea    0x101d(%rip),%rdx
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1026(%rip),%rsi
lea    0x103b(%rip),%rdx
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stdout = global i32 0
@.str = [23 x i8] c"Use: %s [options] ...\0A\00"
@.str.1 = [39 x i8] c" %-34s The path of the namelist list.\0A\00"
@.str.2 = [26 x i8] c"-n,--name-list=<listpath>\00"
@.str.3 = [51 x i8] c" %-34s The path of the environment variable file.\0A\00"
@.str.4 = [24 x i8] c"-e,--env-list=<envlist>\00"
@.str.5 = [33 x i8] c" %-34s The path of the package.\0A\00"
@.str.6 = [32 x i8] c"-p,--package-path=<packagepath>\00"
@.str.7 = [70 x i8] c" %-34s Enable debugging for this sub-system. (PARROT_DEBUG_FLAGS)\0A\00"
@.str.8 = [18 x i8] c"-d,--debug=<name>\00"
@.str.9 = [110 x i8] c" %-34s Send debugging to this file. (can also be :stderr, :stdout, :syslog, or :journal) (PARROT_DEBUG_FILE)\0A\00"
@.str.10 = [23 x i8] c"-o,--debug-file=<file>\00"
@.str.11 = [28 x i8] c" %-34s Show the help info.\0A\00"
@.str.12 = [10 x i8] c"-h,--help\00"
define void @show_help(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stdout
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* %4)
%6 = load i32, i32* @stdout
%7 = call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stdout
%9 = call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%10 = load i32, i32* @stdout
%11 = call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
%12 = load i32, i32* @stdout
%13 = call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
%14 = load i32, i32* @stdout
%15 = call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([110 x i8], [110 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0))
%16 = load i32, i32* @stdout
%17 = call i32 @fprintf(i32 %16, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [23 x i8] c"Use: %s [options] ...\0A\00"
@.str.1 = [39 x i8] c" %-34s The path of the namelist list.\0A\00"
@.str.2 = [26 x i8] c"-n,--name-list=<listpath>\00"
@.str.3 = [51 x i8] c" %-34s The path of the environment variable file.\0A\00"
@.str.4 = [24 x i8] c"-e,--env-list=<envlist>\00"
@.str.5 = [33 x i8] c" %-34s The path of the package.\0A\00"
@.str.6 = [32 x i8] c"-p,--package-path=<packagepath>\00"
@.str.7 = [70 x i8] c" %-34s Enable debugging for this sub-system. (PARROT_DEBUG_FLAGS)\0A\00"
@.str.8 = [18 x i8] c"-d,--debug=<name>\00"
@.str.9 = [110 x i8] c" %-34s Send debugging to this file. (can also be :stderr, :stdout, :syslog, or :journal) (PARROT_DEBUG_FILE)\0A\00"
@.str.10 = [23 x i8] c"-o,--debug-file=<file>\00"
@.str.11 = [28 x i8] c" %-34s Show the help info.\0A\00"
@.str.12 = [10 x i8] c"-h,--help\00"
define void @show_help(i8* %0) {
%2 = load i32, i32* @stdout
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i8* %0)
%4 = load i32, i32* @stdout
%5 = tail call i32 @fprintf(i32 %4, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
%6 = load i32, i32* @stdout
%7 = tail call i32 @fprintf(i32 %6, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.4, i64 0, i64 0))
%8 = load i32, i32* @stdout
%9 = tail call i32 @fprintf(i32 %8, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.6, i64 0, i64 0))
%10 = load i32, i32* @stdout
%11 = tail call i32 @fprintf(i32 %10, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.8, i64 0, i64 0))
%12 = load i32, i32* @stdout
%13 = tail call i32 @fprintf(i32 %12, i8* getelementptr inbounds ([110 x i8], [110 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.10, i64 0, i64 0))
%14 = load i32, i32* @stdout
%15 = tail call i32 @fprintf(i32 %14, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
ret void
}