#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 *);
void version(void) {
  printf("\nsimple_tree 0.0.1 - (C) 2015 Wilfried Lucha\n");
  printf("Released under GNU GPL\n\n");
  printf(
      "    This program is free software:\n"
      "    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"
      "    This program 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"
      "\n"
      "    You should have received a copy of the GNU General Public License\n"
      "    along with this program.  If not, see "
      "<http://www.gnu.org/licenses/>.\n"
      "\n    --------------------------------------------------------------\n"
      "    This product includes software developed by the University of\n"
      "    California, Berkeley and its contributors.\n\n");
}


x86 assembly (clang, -O0):
<version>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<version>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xf15(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [46 x i8] c"\0Asimple_tree 0.0.1 - (C) 2015 Wilfried Lucha\0A\00"
@.str.1 = [25 x i8] c"Released under GNU GPL\0A\0A\00"
@.str.2 = [839 x i8] c" This program is free software:\0A 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 2 of the License, or\0A (at your option) any later version.\0A\0A This program 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\0A You should have received a copy of the GNU General Public License\0A along with this program. If not, see <http://www.gnu.org/licenses/>.\0A\0A --------------------------------------------------------------\0A This product includes software developed by the University of\0A California, Berkeley and its contributors.\0A\0A\00"
define void @version() {
%1 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([839 x i8], [839 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [45 x i8] c"\0Asimple_tree 0.0.1 - (C) 2015 Wilfried Lucha\00"
@str.3 = [24 x i8] c"Released under GNU GPL\0A\00"
@str.4 = [838 x i8] c" This program is free software:\0A 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 2 of the License, or\0A (at your option) any later version.\0A\0A This program 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\0A You should have received a copy of the GNU General Public License\0A along with this program. If not, see <http://www.gnu.org/licenses/>.\0A\0A --------------------------------------------------------------\0A This product includes software developed by the University of\0A California, Berkeley and its contributors.\0A\00"
define void @version() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.3, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([838 x i8], [838 x i8]* @str.4, i64 0, i64 0))
ret void
}