#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 *, char *, char *,
                           char *, char *);
int /*<<< orphan*/ stdout;
void show_version(void) {
  fprintf(stdout,
          "%s-%s, built [%s]-[%s]\n\nCopyright (C) 2007 Free Software "
          "Foundation, Inc.\nThis is free software.  You may redistribute "
          "copies of it under the terms of\nthe GNU General Public License "
          "<http://www.gnu.org/licenses/gpl.html>.\nThere is NO WARRANTY, to "
          "the extent permitted by law.\n\nWritten by Vladimir Luchko. <%s>\n",
          "svd_if", "0.1", "Mar 16 2022", "01:44:16", "vlad.luch@mail.ru");
}


x86 assembly (clang, -O0):
<show_version>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    0x2ec1(%rip),%rax
mov    (%rax),%edi
lea    0xed8(%rip),%rsi
lea    0x1008(%rip),%rdx
lea    0x1008(%rip),%rcx
lea    0x1005(%rip),%r8
lea    0x100a(%rip),%r9
lea    0x100c(%rip),%rax
mov    %rax,(%rsp)
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_version>:
push   %rax
mov    0x2ec8(%rip),%rax
mov    (%rax),%edi
lea    0x1036(%rip),%rax
mov    %rax,(%rsp)
lea    0xed4(%rip),%rsi
lea    0x1004(%rip),%rdx
lea    0x1004(%rip),%rcx
lea    0x1001(%rip),%r8
lea    0x1006(%rip),%r9
call   1030 <fprintf@plt>
pop    %rax
ret

LLVM IR (-O0):
@stdout = global i32 0
@.str = [311 x i8] c"%s-%s, built [%s]-[%s]\0A\0ACopyright (C) 2007 Free Software Foundation, Inc.\0AThis is free software. You may redistribute copies of it under the terms of\0Athe GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\0AThere is NO WARRANTY, to the extent permitted by law.\0A\0AWritten by Vladimir Luchko. <%s>\0A\00"
@.str.1 = [7 x i8] c"svd_if\00"
@.str.2 = [4 x i8] c"0.1\00"
@.str.3 = [12 x i8] c"Mar 16 2022\00"
@.str.4 = [9 x i8] c"01:44:16\00"
@.str.5 = [18 x i8] c"vlad.luch@mail.ru\00"
define void @show_version() {
%1 = load i32, i32* @stdout
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([311 x i8], [311 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stdout = global i32 0
@.str = [311 x i8] c"%s-%s, built [%s]-[%s]\0A\0ACopyright (C) 2007 Free Software Foundation, Inc.\0AThis is free software. You may redistribute copies of it under the terms of\0Athe GNU General Public License <http://www.gnu.org/licenses/gpl.html>.\0AThere is NO WARRANTY, to the extent permitted by law.\0A\0AWritten by Vladimir Luchko. <%s>\0A\00"
@.str.1 = [7 x i8] c"svd_if\00"
@.str.2 = [4 x i8] c"0.1\00"
@.str.3 = [12 x i8] c"Mar 16 2022\00"
@.str.4 = [9 x i8] c"01:44:16\00"
@.str.5 = [18 x i8] c"vlad.luch@mail.ru\00"
define void @show_version() {
%1 = load i32, i32* @stdout
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([311 x i8], [311 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
ret void
}