#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 module1_section1_topic2() {
  char first_initial = 'B';
  char last_initial = 'S';
  char *full_name = "Bartholemeu Schneebly the Third";
  int house = 369;
  char *street = "Damn She Fine";
  char *city = "Gotta Take it To Me, One More Time";
  char *state = "Get Low";
  int zip = 69;
  printf("Dear Mr. %c.%c.,\n", first_initial, last_initial);
  printf("\tWe understand that you have a new course for people to learn what "
         "programming is all about! ");
  printf("We also know that your full name is %s, that you're a giant piece of "
         "shit, ",
         full_name);
  printf("and you live at the following address:\n\n");
  printf("\t%d %s\n", house, street);
  printf("\t%s, %s %d\n\n", city, state, zip);
  printf("\tIf you do not deliver on the promise of a new world for the mere "
         "pittiance htat you've asked for, ");
  printf("be aware that the trolls will come for you, the comment section of "
         "your videos will cause your eyes ");
  printf("to bleed, and you will most die a horrible, painful death even more "
         "tragically than that of a ");
  printf("nerd.\n\n");
  printf("Rest in pieces,\n");
  printf("The Internet");
  printf("\n\n\n\n");
  int number_one = 6;
  int bob = 9;
  float pi = 1.44;
  float euler = 3.69;
  double super_long = .087967654678909796576437890796857656;
  double equally_long = 53478907968576e776534678908676;
  printf("the first number you put was: %d\n", number_one);
  printf("the second number you gave a value two was this value: %d\n", bob);
  printf("see how the name of the variable has nothing to do with its "
         "contents?\n\n");
  printf("now about them decimals, you had two of them: %f and %f.\n", pi,
         euler);
  printf("depending on your system, the following numbers may or may not even "
         "show up in their entirety. ");
  printf("see, the thing is that numbers can only be so big for a computer. "
         "more or less up to 64 bits. ");
  printf("when they are stored as such, eventually they run out of space. so "
         "with that in mind, here we go: \n");
  printf("%lf\n", super_long);
  printf("%lf\n", equally_long);
}


x86 assembly (clang, -O0):
<module1_section1_topic2>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movb   $0x42,-0x1(%rbp)
movb   $0x53,-0x2(%rbp)
lea    0xef1(%rip),%rax
mov    %rax,-0x10(%rbp)
movl   $0x171,-0x14(%rbp)
lea    0xeff(%rip),%rax
mov    %rax,-0x20(%rbp)
lea    0xf02(%rip),%rax
mov    %rax,-0x28(%rbp)
lea    0xf1a(%rip),%rax
mov    %rax,-0x30(%rbp)
movl   $0x45,-0x34(%rbp)
movsbl -0x1(%rbp),%esi
movsbl -0x2(%rbp),%edx
lea    0xf08(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
lea    0xf58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf96(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
mov    -0x20(%rbp),%rdx
lea    0xfaa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rsi
mov    -0x30(%rbp),%rdx
mov    -0x34(%rbp),%ecx
lea    0xf99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1045(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1096(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1090(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1093(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1092(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x6,-0x38(%rbp)
movl   $0x9,-0x3c(%rbp)
movss  0xdd0(%rip),%xmm0
movss  %xmm0,-0x40(%rbp)
movss  0xdbf(%rip),%xmm0
movss  %xmm0,-0x44(%rbp)
movsd  0xdaa(%rip),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  0xd95(%rip),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x38(%rbp),%esi
lea    0x1044(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x3c(%rbp),%esi
lea    0x1055(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1082(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x44(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0x10aa(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
lea    0x10d6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1128(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1179(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsd  -0x50(%rbp),%xmm0
lea    0x11ca(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x58(%rbp),%xmm0
lea    0x11b7(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<module1_section1_topic2>:
push   %rbx
lea    0xf51(%rip),%rdi
mov    $0x42,%esi
mov    $0x53,%edx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf4b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf9b(%rip),%rdi
lea    0xecb(%rip),%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1277(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc6(%rip),%rdi
lea    0xeca(%rip),%rdx
mov    $0x171,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfb4(%rip),%rdi
lea    0xebe(%rip),%rsi
lea    0xeda(%rip),%rdx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfa0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xff6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x104d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x122e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1229(%rip),%rdi
call   1030 <puts@plt>
lea    0x1086(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x121f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1079(%rip),%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1088(%rip),%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x11f1(%rip),%rdi
call   1030 <puts@plt>
lea    0x10a4(%rip),%rdi
movsd  0xdc0(%rip),%xmm0
movsd  0xdc0(%rip),%xmm1
mov    $0x2,%al
call   1040 <printf@plt>
lea    0x10c0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1112(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x11f2(%rip),%rdi
call   1030 <puts@plt>
lea    0x1157(%rip),%rbx
movsd  0xd8a(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0xd80(%rip),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
pop    %rbx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"Bartholemeu Schneebly the Third\00"
@.str.1 = [14 x i8] c"Damn She Fine\00"
@.str.2 = [35 x i8] c"Gotta Take it To Me, One More Time\00"
@.str.3 = [8 x i8] c"Get Low\00"
@.str.4 = [18 x i8] c"Dear Mr. %c.%c.,\0A\00"
@.str.5 = [94 x i8] c"\09We understand that you have a new course for people to learn what programming is all about! \00"
@.str.6 = [76 x i8] c"We also know that your full name is %s, that you're a giant piece of shit, \00"
@.str.7 = [41 x i8] c"and you live at the following address:\0A\0A\00"
@.str.8 = [8 x i8] c"\09%d %s\0A\00"
@.str.9 = [13 x i8] c"\09%s, %s %d\0A\0A\00"
@.str.10 = [100 x i8] c"\09If you do not deliver on the promise of a new world for the mere pittiance htat you've asked for, \00"
@.str.11 = [101 x i8] c"be aware that the trolls will come for you, the comment section of your videos will cause your eyes \00"
@.str.12 = [95 x i8] c"to bleed, and you will most die a horrible, painful death even more tragically than that of a \00"
@.str.13 = [8 x i8] c"nerd.\0A\0A\00"
@.str.14 = [17 x i8] c"Rest in pieces,\0A\00"
@.str.15 = [13 x i8] c"The Internet\00"
@.str.16 = [5 x i8] c"\0A\0A\0A\0A\00"
@.str.17 = [34 x i8] c"the first number you put was: %d\0A\00"
@.str.18 = [59 x i8] c"the second number you gave a value two was this value: %d\0A\00"
@.str.19 = [72 x i8] c"see how the name of the variable has nothing to do with its contents?\0A\0A\00"
@.str.20 = [58 x i8] c"now about them decimals, you had two of them: %f and %f.\0A\00"
@.str.21 = [96 x i8] c"depending on your system, the following numbers may or may not even show up in their entirety. \00"
@.str.22 = [95 x i8] c"see, the thing is that numbers can only be so big for a computer. more or less up to 64 bits. \00"
@.str.23 = [100 x i8] c"when they are stored as such, eventually they run out of space. so with that in mind, here we go: \0A\00"
@.str.24 = [5 x i8] c"%lf\0A\00"
define void @module1_section1_topic2() {
%1 = alloca i8
%2 = alloca i8
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca float
%12 = alloca float
%13 = alloca double
%14 = alloca double
store i8 66, i8* %1
store i8 83, i8* %2
store i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0), i8** %3
store i32 369, i32* %4
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8** %5
store i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i8** %6
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i8** %7
store i32 69, i32* %8
%15 = load i8, i8* %1
%16 = sext i8 %15 to i32
%17 = load i8, i8* %2
%18 = sext i8 %17 to i32
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 %16, i32 %18)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str.5, i64 0, i64 0))
%21 = load i8*, i8** %3
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.6, i64 0, i64 0), i8* %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0))
%24 = load i32, i32* %4
%25 = load i8*, i8** %5
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 %24, i8* %25)
%27 = load i8*, i8** %6
%28 = load i8*, i8** %7
%29 = load i32, i32* %8
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i8* %27, i8* %28, i32 %29)
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.10, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([101 x i8], [101 x i8]* @.str.11, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.12, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0))
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.14, i64 0, i64 0))
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
store i32 6, i32* %9
store i32 9, i32* %10
store float 0x3FF70A3D80000000, float* %11
store float 0x400D851EC0000000, float* %12
store double 0x3FB6850C57F3A52A, double* %13
store double 0x7FF0000000000000, double* %14
%38 = load i32, i32* %9
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.17, i64 0, i64 0), i32 %38)
%40 = load i32, i32* %10
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.18, i64 0, i64 0), i32 %40)
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.19, i64 0, i64 0))
%43 = load float, float* %11
%44 = fpext float %43 to double
%45 = load float, float* %12
%46 = fpext float %45 to double
%47 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.20, i64 0, i64 0), double %44, double %46)
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([96 x i8], [96 x i8]* @.str.21, i64 0, i64 0))
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.22, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([100 x i8], [100 x i8]* @.str.23, i64 0, i64 0))
%51 = load double, double* %13
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), double %51)
%53 = load double, double* %14
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), double %53)
ret void
}

LLVM IR (-O2):
@.str = [32 x i8] c"Bartholemeu Schneebly the Third\00"
@.str.1 = [14 x i8] c"Damn She Fine\00"
@.str.2 = [35 x i8] c"Gotta Take it To Me, One More Time\00"
@.str.3 = [8 x i8] c"Get Low\00"
@.str.4 = [18 x i8] c"Dear Mr. %c.%c.,\0A\00"
@.str.5 = [94 x i8] c"\09We understand that you have a new course for people to learn what programming is all about! \00"
@.str.6 = [76 x i8] c"We also know that your full name is %s, that you're a giant piece of shit, \00"
@.str.8 = [8 x i8] c"\09%d %s\0A\00"
@.str.9 = [13 x i8] c"\09%s, %s %d\0A\0A\00"
@.str.10 = [100 x i8] c"\09If you do not deliver on the promise of a new world for the mere pittiance htat you've asked for, \00"
@.str.11 = [101 x i8] c"be aware that the trolls will come for you, the comment section of your videos will cause your eyes \00"
@.str.12 = [95 x i8] c"to bleed, and you will most die a horrible, painful death even more tragically than that of a \00"
@.str.15 = [13 x i8] c"The Internet\00"
@.str.17 = [34 x i8] c"the first number you put was: %d\0A\00"
@.str.18 = [59 x i8] c"the second number you gave a value two was this value: %d\0A\00"
@.str.20 = [58 x i8] c"now about them decimals, you had two of them: %f and %f.\0A\00"
@.str.21 = [96 x i8] c"depending on your system, the following numbers may or may not even show up in their entirety. \00"
@.str.22 = [95 x i8] c"see, the thing is that numbers can only be so big for a computer. more or less up to 64 bits. \00"
@.str.24 = [5 x i8] c"%lf\0A\00"
@str = [40 x i8] c"and you live at the following address:\0A\00"
@str.25 = [7 x i8] c"nerd.\0A\00"
@str.26 = [16 x i8] c"Rest in pieces,\00"
@str.27 = [4 x i8] c"\0A\0A\0A\00"
@str.28 = [71 x i8] c"see how the name of the variable has nothing to do with its contents?\0A\00"
@str.29 = [99 x i8] c"when they are stored as such, eventually they run out of space. so with that in mind, here we go: \00"
define void @module1_section1_topic2() {
%1 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0), i32 66, i32 83)
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @.str.5, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 369, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 69)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([100 x i8], [100 x i8]* @.str.10, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([101 x i8], [101 x i8]* @.str.11, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @.str.12, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.25, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.26, i64 0, i64 0))
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.27, i64 0, i64 0))
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.17, i64 0, i64 0), i32 6)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.18, i64 0, i64 0), i32 9)
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([71 x i8], [71 x i8]* @str.28, i64 0, i64 0))
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @.str.20, i64 0, i64 0), double 0x3FF70A3D80000000, double 0x400D851EC0000000)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @.str.21, i64 0, i64 0))
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @.str.22, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([99 x i8], [99 x i8]* @str.29, i64 0, i64 0))
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), double 0x3FB6850C57F3A52A)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.24, i64 0, i64 0), double 0x7FF0000000000000)
ret void
}