#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*/ Com_Printf(char *, ...);
int /*<<< orphan*/ VersionString();
void CL_Version_f(void) {
  Com_Printf("ezQuake %s\n", VersionString());
  Com_Printf("Exe: "
             "Mar 17 2022"
             " "
             "03:18:05"
             "\n");
  Com_Printf("Compiled with GCC version: %i.%i.%i (%i)\n", 9, 4, 0, "9.4.0");
  Com_Printf(
      "GCC Optimization: Functions currently not inlined into their callers\n");
}


x86 assembly (clang, -O0):
<CL_Version_f>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <VersionString@plt>
mov    %eax,%esi
lea    0xecc(%rip),%rdi
mov    $0x0,%al
call   1040 <Com_Printf@plt>
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1040 <Com_Printf@plt>
lea    0xed7(%rip),%rdi
mov    $0x9,%esi
mov    $0x4,%edx
xor    %ecx,%ecx
lea    0xeee(%rip),%r8
mov    $0x0,%al
call   1040 <Com_Printf@plt>
lea    0xee6(%rip),%rdi
mov    $0x0,%al
call   1040 <Com_Printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<CL_Version_f>:
push   %rax
xor    %eax,%eax
call   1030 <VersionString@plt>
lea    0xed1(%rip),%rdi
mov    %eax,%esi
xor    %eax,%eax
call   1040 <Com_Printf@plt>
lea    0xecd(%rip),%rdi
xor    %eax,%eax
call   1040 <Com_Printf@plt>
lea    0xeda(%rip),%rdi
lea    0xefd(%rip),%r8
mov    $0x9,%esi
mov    $0x4,%edx
xor    %ecx,%ecx
xor    %eax,%eax
call   1040 <Com_Printf@plt>
lea    0xee9(%rip),%rdi
xor    %eax,%eax
pop    %rcx
jmp    1040 <Com_Printf@plt>

LLVM IR (-O0):
@.str = [12 x i8] c"ezQuake %s\0A\00"
@.str.1 = [27 x i8] c"Exe: Mar 17 2022 03:18:05\0A\00"
@.str.2 = [42 x i8] c"Compiled with GCC version: %i.%i.%i (%i)\0A\00"
@.str.3 = [6 x i8] c"9.4.0\00"
@.str.4 = [70 x i8] c"GCC Optimization: Functions currently not inlined into their callers\0A\00"
define void @CL_Version_f() {
%1 = call i32 (...) @VersionString()
%2 = call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 4, i32 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [12 x i8] c"ezQuake %s\0A\00"
@.str.1 = [27 x i8] c"Exe: Mar 17 2022 03:18:05\0A\00"
@.str.2 = [42 x i8] c"Compiled with GCC version: %i.%i.%i (%i)\0A\00"
@.str.3 = [6 x i8] c"9.4.0\00"
@.str.4 = [70 x i8] c"GCC Optimization: Functions currently not inlined into their callers\0A\00"
define void @CL_Version_f() {
%1 = tail call i32 (...) @VersionString()
%2 = tail call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), i32 %1)
%3 = tail call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.2, i64 0, i64 0), i32 9, i32 4, i32 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @Com_Printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0))
ret void
}