#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 *, char *,
                           char *, char *, char *);
int /*<<< orphan*/ stderr;
void showVersion(const char *title) {
  fprintf(stderr,
          "\n"
          "%s\n"
          "Version %s.%s.%s (Build %s)\n\n"
          "Written by Ian Firns <firnsy@securixlive.com>,\n"
          "co-developer Jeroen Nijhof <jeroen@jeroennijhof.nl>,\n"
          "project page https://github.com/firnsy/yubipam\n"
          "\n",
          title, "1", "1", "0", "110");
}


x86 assembly (clang, -O0):
<showVersion>:
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
lea    0xf7f(%rip),%r8
lea    0xf7c(%rip),%r9
lea    0xf73(%rip),%rax
mov    %r8,%rcx
mov    %rax,(%rsp)
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<showVersion>:
push   %rax
mov    %rdi,%rdx
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xf94(%rip),%rax
mov    %rax,(%rsp)
lea    0xed1(%rip),%rsi
lea    0xf80(%rip),%rcx
lea    0xf7d(%rip),%r9
mov    %rcx,%r8
call   1030 <fprintf@plt>
pop    %rax
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [182 x i8] c"\0A%s\0AVersion %s.%s.%s (Build %s)\0A\0AWritten by Ian Firns <firnsy@securixlive.com>,\0Aco-developer Jeroen Nijhof <jeroen@jeroennijhof.nl>,\0Aproject page https://github.com/firnsy/yubipam\0A\0A\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [2 x i8] c"0\00"
@.str.3 = [4 x i8] c"110\00"
define void @showVersion(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i32, i32* @stderr
%4 = load i8*, i8** %2
%5 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([182 x i8], [182 x i8]* @.str, i64 0, i64 0), i8* %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [182 x i8] c"\0A%s\0AVersion %s.%s.%s (Build %s)\0A\0AWritten by Ian Firns <firnsy@securixlive.com>,\0Aco-developer Jeroen Nijhof <jeroen@jeroennijhof.nl>,\0Aproject page https://github.com/firnsy/yubipam\0A\0A\00"
@.str.1 = [2 x i8] c"1\00"
@.str.2 = [2 x i8] c"0\00"
@.str.3 = [4 x i8] c"110\00"
define void @showVersion(i8* %0) {
%2 = load i32, i32* @stderr
%3 = tail call i32 @fprintf(i32 %2, i8* getelementptr inbounds ([182 x i8], [182 x i8]* @.str, i64 0, i64 0), i8* %0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0))
ret void
}