#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*/ end_of();
int /*<<< orphan*/ putdec(int /*<<< orphan*/);
int /*<<< orphan*/ puthex(int /*<<< orphan*/);
int /*<<< orphan*/ puts0(char *);
void version(void) {
  puts0("\r\nProolix-l shell. Compiled ");
  puts0("Mar 18 2022");
  puts0(" ");
  puts0("21:09:32");
  puts0("\r\n");
  puts0("? - for help\r\n");
  puts0("End of code ");
  puthex(end_of());
  puts0(" = ");
  putdec(end_of());
  puts0("\r\n");
}


x86 assembly (clang, -O0):
<version>:
push   %rbp
mov    %rsp,%rbp
lea    0xeb5(%rip),%rdi
call   1060 <puts0@plt>
lea    0xec6(%rip),%rdi
call   1060 <puts0@plt>
lea    0xeed(%rip),%rdi
call   1060 <puts0@plt>
lea    0xeba(%rip),%rdi
call   1060 <puts0@plt>
lea    0xec3(%rip),%rdi
call   1060 <puts0@plt>
lea    0xeab(%rip),%rdi
call   1060 <puts0@plt>
lea    0xeae(%rip),%rdi
call   1060 <puts0@plt>
mov    $0x0,%al
call   1030 <end_of@plt>
mov    %eax,%edi
call   1050 <puthex@plt>
lea    0xea1(%rip),%rdi
call   1060 <puts0@plt>
mov    $0x0,%al
call   1030 <end_of@plt>
mov    %eax,%edi
call   1040 <putdec@plt>
lea    0xe77(%rip),%rdi
call   1060 <puts0@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<version>:
push   %rbx
lea    0xeb8(%rip),%rdi
call   1060 <puts0@plt>
lea    0xec9(%rip),%rdi
call   1060 <puts0@plt>
lea    0xef0(%rip),%rdi
call   1060 <puts0@plt>
lea    0xebd(%rip),%rdi
call   1060 <puts0@plt>
lea    0xec6(%rip),%rbx
mov    %rbx,%rdi
call   1060 <puts0@plt>
lea    0xeab(%rip),%rdi
call   1060 <puts0@plt>
lea    0xeae(%rip),%rdi
call   1060 <puts0@plt>
xor    %eax,%eax
call   1030 <end_of@plt>
mov    %eax,%edi
call   1050 <puthex@plt>
lea    0xea1(%rip),%rdi
call   1060 <puts0@plt>
xor    %eax,%eax
call   1030 <end_of@plt>
mov    %eax,%edi
call   1040 <putdec@plt>
mov    %rbx,%rdi
pop    %rbx
jmp    1060 <puts0@plt>

LLVM IR (-O0):
@.str = [29 x i8] c"\0D\0AProolix-l shell. Compiled \00"
@.str.1 = [12 x i8] c"Mar 18 2022\00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [9 x i8] c"21:09:32\00"
@.str.4 = [3 x i8] c"\0D\0A\00"
@.str.5 = [15 x i8] c"? - for help\0D\0A\00"
@.str.6 = [13 x i8] c"End of code \00"
@.str.7 = [4 x i8] c" = \00"
define void @version() {
%1 = call i32 @puts0(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts0(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts0(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts0(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts0(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts0(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts0(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (...) @end_of()
%9 = call i32 @puthex(i32 %8)
%10 = call i32 @puts0(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%11 = call i32 (...) @end_of()
%12 = call i32 @putdec(i32 %11)
%13 = call i32 @puts0(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [29 x i8] c"\0D\0AProolix-l shell. Compiled \00"
@.str.1 = [12 x i8] c"Mar 18 2022\00"
@.str.2 = [2 x i8] c" \00"
@.str.3 = [9 x i8] c"21:09:32\00"
@.str.4 = [3 x i8] c"\0D\0A\00"
@.str.5 = [15 x i8] c"? - for help\0D\0A\00"
@.str.6 = [13 x i8] c"End of code \00"
@.str.7 = [4 x i8] c" = \00"
define void @version() {
%1 = tail call i32 @puts0(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts0(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts0(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts0(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts0(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts0(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts0(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 (...) @end_of()
%9 = tail call i32 @puthex(i32 %8)
%10 = tail call i32 @puts0(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0))
%11 = tail call i32 (...) @end_of()
%12 = tail call i32 @putdec(i32 %11)
%13 = tail call i32 @puts0(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
ret void
}