#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, char *, ...);
char *get_str(char *);
int /*<<< orphan*/ stderr;
int printReleaseInfo(char *param_name, char *msg) {
  fprintf(stderr, "%s Population Generator (Version %d.%d.%d%s)\n",
          get_str("PROG"), 2, 7, 0, "");
  fprintf(stderr, "Copyright %s %s\n",
          "Transaction Processing Performance Council (TPC)", "2001 - 2017");
  exit(0);
}


x86 assembly (clang, -O0):
<printReleaseInfo>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0x2e99(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x14(%rbp)
lea    0xedb(%rip),%rdi
call   1040 <get_str@plt>
mov    -0x14(%rbp),%edi
mov    %rax,%rdx
lea    0xe9b(%rip),%rsi
mov    $0x2,%ecx
mov    $0x7,%r8d
xor    %r9d,%r9d
lea    0xeb3(%rip),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e54(%rip),%rax
mov    (%rax),%edi
lea    0xe9e(%rip),%rsi
lea    0xea8(%rip),%rdx
lea    0xed2(%rip),%rcx
mov    $0x0,%al
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<printReleaseInfo>:
push   %r14
push   %rbx
push   %rax
mov    0x2ea5(%rip),%r14
mov    (%r14),%ebx
lea    0xee9(%rip),%rdi
call   1040 <get_str@plt>
lea    0xedc(%rip),%rcx
mov    %rcx,(%rsp)
lea    0xea4(%rip),%rsi
mov    %ebx,%edi
mov    %rax,%rdx
mov    $0x2,%ecx
mov    $0x7,%r8d
xor    %r9d,%r9d
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r14),%edi
lea    0xeb3(%rip),%rsi
lea    0xebd(%rip),%rdx
lea    0xee7(%rip),%rcx
xor    %eax,%eax
call   1030 <fprintf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [46 x i8] c"%s Population Generator (Version %d.%d.%d%s)\0A\00"
@.str.1 = [5 x i8] c"PROG\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [17 x i8] c"Copyright %s %s\0A\00"
@.str.4 = [49 x i8] c"Transaction Processing Performance Council (TPC)\00"
@.str.5 = [12 x i8] c"2001 - 2017\00"
define i32 @printReleaseInfo(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
store i8* %0, i8** %3
store i8* %1, i8** %4
%5 = load i32, i32* @stderr
%6 = call i8* @get_str(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0), i8* %6, i32 2, i32 7, i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 (i32, i8*, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%10 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [46 x i8] c"%s Population Generator (Version %d.%d.%d%s)\0A\00"
@.str.1 = [5 x i8] c"PROG\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [17 x i8] c"Copyright %s %s\0A\00"
@.str.4 = [49 x i8] c"Transaction Processing Performance Council (TPC)\00"
@.str.5 = [12 x i8] c"2001 - 2017\00"
define i32 @printReleaseInfo(i8* nocapture readnone %0, i8* nocapture readnone %1) {
%3 = load i32, i32* @stderr
%4 = tail call i8* @get_str(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%5 = tail call i32 (i32, i8*, i8*, ...) @fprintf(i32 %3, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0), i8* %4, i32 2, i32 7, i32 0, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @exit(i32 0)
unreachable
}