#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*/ printf(char *, char *, ...);
int /*<<< orphan*/ puts(char *);
void info(void) {
  printf("\x1b[35m"
         "CPU: "
         "\x1b[0m"
         "This is %s® version %s by %s.\n\n\n",
         "CMind", "0.20", "mdomlop");
  printf("Copyright: 2020 %s <%s@gmail.com>\n\n"
         "License: GPL-3+\n\n",
         "Manuel Domínguez López", "mdomlop");
  puts(" This program 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 3 of the License, or\n"
       " (at your option) any later version.\n");
  puts(" This package 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");
  puts(" You should have received a copy of the"
       " GNU General Public License\n"
       " along with this program. If not, see"
       " <https://www.gnu.org/licenses/>.\n");
  puts(" On Debian systems, the complete text of the GNU General\n"
       " Public License version 3 can be found in"
       " \"/usr/share/common-licenses/GPL-3\".\n\n"
       " On Arch systems, the complete text of the GNU General\n"
       " Public License version 3 can be found in"
       " \"/usr/share/licenses/common/GPL3/license.txt\".\n\n");
  printf(" You can find the latest version of the source code at:\n"
         " <%s>.\n"
         "\x1b[0m",
         "https://github.com/mdomlop/cmind");
}


x86 assembly (clang, -O0):
<info>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
lea    0xefe(%rip),%rsi
lea    0xefd(%rip),%rdx
lea    0xefb(%rip),%rcx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xef5(%rip),%rdi
lea    0xf23(%rip),%rsi
lea    0xedf(%rip),%rdx
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <puts@plt>
lea    0x1010(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1172(%rip),%rdi
call   1030 <puts@plt>
lea    0x1280(%rip),%rdi
lea    0x12bd(%rip),%rsi
mov    $0x0,%al
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<info>:
push   %rbx
lea    0xed8(%rip),%rdi
lea    0xf01(%rip),%rsi
lea    0xf00(%rip),%rdx
lea    0xefe(%rip),%rbx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef5(%rip),%rdi
lea    0xf23(%rip),%rsi
mov    %rbx,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf2b(%rip),%rdi
call   1030 <puts@plt>
lea    0x1014(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f7(%rip),%rdi
call   1030 <puts@plt>
lea    0x1176(%rip),%rdi
call   1030 <puts@plt>
lea    0x1284(%rip),%rdi
lea    0x12c1(%rip),%rsi
xor    %eax,%eax
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [48 x i8] c"\1B[35mCPU: \1B[0mThis is %s\C2\AE version %s by %s.\0A\0A\0A\00"
@.str.1 = [6 x i8] c"CMind\00"
@.str.2 = [5 x i8] c"0.20\00"
@.str.3 = [8 x i8] c"mdomlop\00"
@.str.4 = [53 x i8] c"Copyright: 2020 %s <%s@gmail.com>\0A\0ALicense: GPL-3+\0A\0A\00"
@.str.5 = [25 x i8] c"Manuel Dom\C3\ADnguez L\C3\B3pez\00"
@.str.6 = [245 x i8] c" This program is free software: you can redistribute it and/or modify\0A it under the terms of the GNU General Public License as published by\0A the Free Software Foundation, either version 3 of the License, or\0A (at your option) any later version.\0A\00"
@.str.7 = [239 x i8] c" This package is distributed in the hope that it will be useful,\0A but WITHOUT ANY WARRANTY; without even the implied warranty of\0A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0A GNU General Public License for more details.\0A\00"
@.str.8 = [139 x i8] c" You should have received a copy of the GNU General Public License\0A along with this program. If not, see <https://www.gnu.org/licenses/>.\0A\00"
@.str.9 = [282 x i8] c" On Debian systems, the complete text of the GNU General\0A Public License version 3 can be found in \22/usr/share/common-licenses/GPL-3\22.\0A\0A On Arch systems, the complete text of the GNU General\0A Public License version 3 can be found in \22/usr/share/licenses/common/GPL3/license.txt\22.\0A\0A\00"
@.str.10 = [68 x i8] c" You can find the latest version of the source code at:\0A <%s>.\0A\1B[0m\00"
@.str.11 = [33 x i8] c"https://github.com/mdomlop/cmind\00"
define void @info() {
%1 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%2 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([245 x i8], [245 x i8]* @.str.6, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([239 x i8], [239 x i8]* @.str.7, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([139 x i8], [139 x i8]* @.str.8, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([282 x i8], [282 x i8]* @.str.9, i64 0, i64 0))
%7 = call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [48 x i8] c"\1B[35mCPU: \1B[0mThis is %s\C2\AE version %s by %s.\0A\0A\0A\00"
@.str.1 = [6 x i8] c"CMind\00"
@.str.2 = [5 x i8] c"0.20\00"
@.str.3 = [8 x i8] c"mdomlop\00"
@.str.4 = [53 x i8] c"Copyright: 2020 %s <%s@gmail.com>\0A\0ALicense: GPL-3+\0A\0A\00"
@.str.5 = [25 x i8] c"Manuel Dom\C3\ADnguez L\C3\B3pez\00"
@.str.6 = [245 x i8] c" This program is free software: you can redistribute it and/or modify\0A it under the terms of the GNU General Public License as published by\0A the Free Software Foundation, either version 3 of the License, or\0A (at your option) any later version.\0A\00"
@.str.7 = [239 x i8] c" This package is distributed in the hope that it will be useful,\0A but WITHOUT ANY WARRANTY; without even the implied warranty of\0A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\0A GNU General Public License for more details.\0A\00"
@.str.8 = [139 x i8] c" You should have received a copy of the GNU General Public License\0A along with this program. If not, see <https://www.gnu.org/licenses/>.\0A\00"
@.str.9 = [282 x i8] c" On Debian systems, the complete text of the GNU General\0A Public License version 3 can be found in \22/usr/share/common-licenses/GPL-3\22.\0A\0A On Arch systems, the complete text of the GNU General\0A Public License version 3 can be found in \22/usr/share/licenses/common/GPL3/license.txt\22.\0A\0A\00"
@.str.10 = [68 x i8] c" You can find the latest version of the source code at:\0A <%s>.\0A\1B[0m\00"
@.str.11 = [33 x i8] c"https://github.com/mdomlop/cmind\00"
define void @info() {
%1 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%2 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([245 x i8], [245 x i8]* @.str.6, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([239 x i8], [239 x i8]* @.str.7, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([139 x i8], [139 x i8]* @.str.8, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([282 x i8], [282 x i8]* @.str.9, i64 0, i64 0))
%7 = tail call i32 (i8*, i8*, ...) @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
ret void
}