#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 print_info(void) {
  printf("\nLORENZ ATTRACTOR DEMO\n\n");
  printf(
      "This program shows some particles stuck in a Lorenz attractor (the \n");
  printf(
      "parameters used are r=28, b=8/3, sigma=10). The eye is attracted to \n");
  printf(
      "the red particle, with a force directly proportional to distance. \n");
  printf("A command line argument puts the particles inside a box made of "
         "hexagons, \n");
  printf("helping  to maintain the sense of 3 dimensions, but it can slow "
         "things down.\n");
  printf(
      "Other options allow you to play with the redraw rate and gravity.\n\n");
  printf("Try lorenz -h for the usage message.\n");
}


x86 assembly (clang, -O0):
<print_info>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
lea    0xf2b(%rip),%rdi
call   1030 <printf@plt>
lea    0xf65(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9d(%rip),%rdi
call   1030 <printf@plt>
lea    0xfdd(%rip),%rdi
call   1030 <printf@plt>
lea    0x101f(%rip),%rdi
call   1030 <printf@plt>
lea    0x1057(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_info>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf65(%rip),%rdi
call   1030 <puts@plt>
lea    0xf9c(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdb(%rip),%rdi
call   1030 <puts@plt>
lea    0x101c(%rip),%rdi
call   1030 <puts@plt>
lea    0x1053(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [25 x i8] c"\0ALORENZ ATTRACTOR DEMO\0A\0A\00"
@.str.1 = [69 x i8] c"This program shows some particles stuck in a Lorenz attractor (the \0A\00"
@.str.2 = [70 x i8] c"parameters used are r=28, b=8/3, sigma=10). The eye is attracted to \0A\00"
@.str.3 = [68 x i8] c"the red particle, with a force directly proportional to distance. \0A\00"
@.str.4 = [76 x i8] c"A command line argument puts the particles inside a box made of hexagons, \0A\00"
@.str.5 = [78 x i8] c"helping to maintain the sense of 3 dimensions, but it can slow things down.\0A\00"
@.str.6 = [68 x i8] c"Other options allow you to play with the redraw rate and gravity.\0A\0A\00"
@.str.7 = [38 x i8] c"Try lorenz -h for the usage message.\0A\00"
define void @print_info() {
%1 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [24 x i8] c"\0ALORENZ ATTRACTOR DEMO\0A\00"
@str.8 = [68 x i8] c"This program shows some particles stuck in a Lorenz attractor (the \00"
@str.9 = [69 x i8] c"parameters used are r=28, b=8/3, sigma=10). The eye is attracted to \00"
@str.10 = [67 x i8] c"the red particle, with a force directly proportional to distance. \00"
@str.11 = [75 x i8] c"A command line argument puts the particles inside a box made of hexagons, \00"
@str.12 = [77 x i8] c"helping to maintain the sense of 3 dimensions, but it can slow things down.\00"
@str.13 = [67 x i8] c"Other options allow you to play with the redraw rate and gravity.\0A\00"
@str.14 = [37 x i8] c"Try lorenz -h for the usage message.\00"
define void @print_info() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([68 x i8], [68 x i8]* @str.8, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.9, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.10, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.11, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.12, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.13, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.14, i64 0, i64 0))
ret void
}