#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 *);
int /*<<< orphan*/ starexit(int /*<<< orphan*/);
void stellarinfo(void) {
  printf("Stellar\n");
  printf("A Tetrahedral Mesh Improvement Program.\n");
  printf("Version 0.1\n\n");
  printf("Copyright 2006-2008 Bryan Klingner\n");
  printf("Bugs/comments to stellar.b@overt.org\n");
  printf("This executable is compiled for double precision arithmetic.\n\n\n");
  starexit(0);
}


x86 assembly (clang, -O0):
<stellarinfo>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xed2(%rip),%rdi
call   1030 <printf@plt>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
lea    0xf09(%rip),%rdi
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <starexit@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<stellarinfo>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xed4(%rip),%rdi
call   1030 <puts@plt>
lea    0xef0(%rip),%rdi
call   1030 <puts@plt>
lea    0xef1(%rip),%rdi
call   1030 <puts@plt>
lea    0xf08(%rip),%rdi
call   1030 <puts@plt>
lea    0xf21(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
pop    %rax
jmp    1040 <starexit@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"Stellar\0A\00"
@.str.1 = [41 x i8] c"A Tetrahedral Mesh Improvement Program.\0A\00"
@.str.2 = [14 x i8] c"Version 0.1\0A\0A\00"
@.str.3 = [36 x i8] c"Copyright 2006-2008 Bryan Klingner\0A\00"
@.str.4 = [38 x i8] c"Bugs/comments to stellar.b@overt.org\0A\00"
@.str.5 = [64 x i8] c"This executable is compiled for double precision arithmetic.\0A\0A\0A\00"
define void @stellarinfo() {
%1 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @starexit(i32 0)
ret void
}

LLVM IR (-O2):
@str = [8 x i8] c"Stellar\00"
@str.6 = [40 x i8] c"A Tetrahedral Mesh Improvement Program.\00"
@str.7 = [13 x i8] c"Version 0.1\0A\00"
@str.8 = [35 x i8] c"Copyright 2006-2008 Bryan Klingner\00"
@str.9 = [37 x i8] c"Bugs/comments to stellar.b@overt.org\00"
@str.10 = [63 x i8] c"This executable is compiled for double precision arithmetic.\0A\0A\00"
define void @stellarinfo() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.6, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.7, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.8, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.9, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.10, i64 0, i64 0))
%7 = tail call i32 @starexit(i32 0)
ret void
}