#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*/ printf(char *, char *, int /*<<< orphan*/, int, int, char *,
                          char *, char *, char *, char *, char *, char *,
                          char *);
int /*<<< orphan*/ puts(char *);
void version_and_exit() {
  printf(
      "%s v%d.%d.%d [%s]\n"
      "(%s %s) on %s.\n"
      "Built %s, %s.\n"
      "\n"
      "%s is free software: you can redistribute it and/or modify\n"
      "it under the terms of the GNU General Public License as published by\n"
      "the Free Software Foundation, either version 2 of the License, or\n"
      "(at your option) any later version.\n"
      "\n"
      "%s is distributed in the hope that it will be useful,\n"
      "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
      "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
      "GNU General Public License for more details.\n",
      "rmln", 0, 1, 2, "nogithash", "GCC", "9.4.0", "Linux", "Mar 15 2022",
      "13:23:56", "rmln", "rmln");
  puts("\nYou should have received a copy of the GNU General Public License\n"
       "along with rmln.  If not, see <http://www.gnu.org/licenses/>.");
  exit(0);
}


x86 assembly (clang, -O0):
<version_and_exit>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %rbx
sub    $0x38,%rsp
lea    0xebc(%rip),%rdi
lea    0x10ad(%rip),%rax
xor    %edx,%edx
mov    $0x1,%ecx
mov    $0x2,%r8d
lea    0x109e(%rip),%r9
lea    0x10a1(%rip),%r15
lea    0x109e(%rip),%r14
lea    0x109d(%rip),%rbx
lea    0x109c(%rip),%r11
lea    0x10a1(%rip),%r10
mov    %rax,%rsi
mov    %r15,(%rsp)
mov    %r14,0x8(%rsp)
mov    %rbx,0x10(%rsp)
mov    %r11,0x18(%rsp)
mov    %r10,0x20(%rsp)
mov    %rax,0x28(%rsp)
mov    %rax,0x30(%rsp)
call   1040 <printf@plt>
lea    0x1079(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<version_and_exit>:
push   %r14
push   %rbx
push   %rax
sub    $0x8,%rsp
lea    0x10b9(%rip),%rsi
lea    0x10dd(%rip),%rax
lea    0x10ca(%rip),%r10
lea    0x10bd(%rip),%r11
lea    0x10b0(%rip),%rbx
lea    0x10a5(%rip),%r14
lea    0xe97(%rip),%rdi
lea    0x108d(%rip),%r9
xor    %edx,%edx
mov    $0x1,%ecx
mov    $0x2,%r8d
push   %rsi
push   %rsi
push   %rax
push   %r10
push   %r11
push   %rbx
push   %r14
call   1040 <printf@plt>
add    $0x40,%rsp
lea    0x1095(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [504 x i8] c"%s v%d.%d.%d [%s]\0A(%s %s) on %s.\0ABuilt %s, %s.\0A\0A%s is free software: you can redistribute it and/or modify\0Ait under the terms of the GNU General Public License as published by\0Athe Free Software Foundation, either version 2 of the License, or\0A(at your option) any later version.\0A\0A%s is distributed in the hope that it will be useful,\0Abut WITHOUT ANY WARRANTY; without even the implied warranty of\0AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0AGNU General Public License for more details.\0A\00"
@.str.1 = [5 x i8] c"rmln\00"
@.str.2 = [10 x i8] c"nogithash\00"
@.str.3 = [4 x i8] c"GCC\00"
@.str.4 = [6 x i8] c"9.4.0\00"
@.str.5 = [6 x i8] c"Linux\00"
@.str.6 = [12 x i8] c"Mar 15 2022\00"
@.str.7 = [9 x i8] c"13:23:56\00"
@.str.8 = [129 x i8] c"\0AYou should have received a copy of the GNU General Public License\0Aalong with rmln. If not, see <http://www.gnu.org/licenses/>.\00"
define void @version_and_exit() {
%1 = call i32 @printf(i8* getelementptr inbounds ([504 x i8], [504 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 1, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([129 x i8], [129 x i8]* @.str.8, i64 0, i64 0))
%3 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@.str = [504 x i8] c"%s v%d.%d.%d [%s]\0A(%s %s) on %s.\0ABuilt %s, %s.\0A\0A%s is free software: you can redistribute it and/or modify\0Ait under the terms of the GNU General Public License as published by\0Athe Free Software Foundation, either version 2 of the License, or\0A(at your option) any later version.\0A\0A%s is distributed in the hope that it will be useful,\0Abut WITHOUT ANY WARRANTY; without even the implied warranty of\0AMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0AGNU General Public License for more details.\0A\00"
@.str.1 = [5 x i8] c"rmln\00"
@.str.2 = [10 x i8] c"nogithash\00"
@.str.3 = [4 x i8] c"GCC\00"
@.str.4 = [6 x i8] c"9.4.0\00"
@.str.5 = [6 x i8] c"Linux\00"
@.str.6 = [12 x i8] c"Mar 15 2022\00"
@.str.7 = [9 x i8] c"13:23:56\00"
@.str.8 = [129 x i8] c"\0AYou should have received a copy of the GNU General Public License\0Aalong with rmln. If not, see <http://www.gnu.org/licenses/>.\00"
define void @version_and_exit() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([504 x i8], [504 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 1, i32 2, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([129 x i8], [129 x i8]* @.str.8, i64 0, i64 0))
%3 = tail call i32 @exit(i32 0)
unreachable
}