#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*/ assert(int);
char castToChar(long);
double castToDouble(long);
int castToInt(long);
float convertFtoC(float);
int fibonacci();
int findNextMultiple(int, int);
float floor(float);
int pow(int, int);
int /*<<< orphan*/ printf(char *);
int main() {
  printf("\n Hello World!");
  printf("\n\t=============================\n");
  printf("\t=           PART A          =\n");
  printf("\t=============================\n\n");
  printf("\n\t=========Starting Expression Conversion Tests===========\n");
  float x = 2.5;
  float result = 0;
  result = ((3 * (pow(x, 3))) - (5 * (pow(x, 2))) + 6);
  assert(result == 21.625);
  result = 0;
  result = (3 * (pow(10, 8)) + 2 * (pow(10, -7))) /
           (7 * (pow(10, -6)) + 2 * (pow(10, 8)));
  result = result + 0.5;
  result = floor(result);
  assert(result == 2.0);
  printf("\n\t\t....Converting Expressions Tests Passed\n");
  printf("\n\t=========Starting Next Multiple Tests===========\n");
  int number1 = 365, number2 = 7;
  assert(371 == findNextMultiple(number1, number2));
  number1 = 12258;
  number2 = 28;
  assert(12264 == findNextMultiple(number1, number2));
  number1 = 996;
  number2 = 4;
  assert(1000 == findNextMultiple(number1, number2));
  printf("\n\t\t....Next Multiple Tests Passed\n");
  printf("\n\t=========Starting Fahrenheit to Celsius Tests===========\n");
  float fahren = 95;
  float celsius = convertFtoC(fahren);
  assert(35.0 == celsius);
  fahren = 32;
  celsius = convertFtoC(fahren);
  assert(0.0 == celsius);
  fahren = -40;
  celsius = convertFtoC(fahren);
  assert(-40.0 == celsius);
  printf("\n\t\t....Fahrenheit to Celsius Tests Passed\n");
  printf("\n\t=============================\n");
  printf("\t=           PART B          =\n");
  printf("\t=============================\n\n");
  printf("\n\t=========Starting Casting Tests===========\n");
  long int large_num = 9223372036854775617;
  int large_num_as_int = castToInt(large_num);
  assert(-191 == large_num_as_int);
  double large_num_as_double = castToDouble(large_num);
  assert(9223372036854775808.0 == large_num_as_double);
  char large_num_as_char = castToChar(large_num);
  assert('A' == large_num_as_char);
  printf("\n\t\t....Casting Tests Passed\n");
  printf("\n\t=============================\n");
  printf("\t=           PART C          =\n");
  printf("\t=============================\n\n");
  printf("\n\t=========Starting Fibonacci Tests===========\n\n");
  assert(4181 == fibonacci());
  printf("\n\t\t....Fibonacci Tests Passed\n\n");
  printf("\t=========ALL TESTS PASSED===========\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe8a(%rip),%rdi
call   1050 <printf@plt>
lea    0xe8d(%rip),%rdi
call   1050 <printf@plt>
lea    0xea2(%rip),%rdi
call   1050 <printf@plt>
lea    0xeb6(%rip),%rdi
call   1050 <printf@plt>
lea    0xecb(%rip),%rdi
call   1050 <printf@plt>
movss  0xe49(%rip),%xmm0
movss  %xmm0,-0x8(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
cvttss2si -0x8(%rbp),%edi
mov    $0x3,%esi
call   10b0 <pow@plt>
imul   $0x3,%eax,%eax
mov    %eax,-0x4c(%rbp)
cvttss2si -0x8(%rbp),%edi
mov    $0x2,%esi
call   10b0 <pow@plt>
mov    %eax,%ecx
mov    -0x4c(%rbp),%eax
imul   $0x5,%ecx,%ecx
sub    %ecx,%eax
add    $0x6,%eax
cvtsi2ss %eax,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xddd(%rip),%xmm1
ucomisd %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
mov    $0xa,%edi
mov    $0x8,%esi
call   10b0 <pow@plt>
imul   $0x3,%eax,%eax
mov    %eax,-0x48(%rbp)
mov    $0xa,%edi
mov    $0xfffffff9,%esi
call   10b0 <pow@plt>
mov    %eax,%ecx
mov    -0x48(%rbp),%eax
shl    $0x1,%ecx
add    %ecx,%eax
mov    %eax,-0x40(%rbp)
mov    $0xa,%edi
mov    $0xfffffffa,%esi
call   10b0 <pow@plt>
imul   $0x7,%eax,%eax
mov    %eax,-0x44(%rbp)
mov    $0xa,%edi
mov    $0x8,%esi
call   10b0 <pow@plt>
mov    -0x44(%rbp),%ecx
mov    %eax,%edx
mov    -0x40(%rbp),%eax
shl    $0x1,%edx
add    %edx,%ecx
cltd
idiv   %ecx
cvtsi2ss %eax,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd38(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
call   10c0 <floor@plt>
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd03(%rip),%xmm1
ucomisd %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xdbb(%rip),%rdi
call   1050 <printf@plt>
lea    0xddb(%rip),%rdi
call   1050 <printf@plt>
movl   $0x16d,-0x10(%rbp)
movl   $0x7,-0x14(%rbp)
mov    -0x10(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1070 <findNextMultiple@plt>
mov    %eax,%ecx
mov    $0x173,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
movl   $0x2fe2,-0x10(%rbp)
movl   $0x1c,-0x14(%rbp)
mov    -0x10(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1070 <findNextMultiple@plt>
mov    %eax,%ecx
mov    $0x2fe8,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
movl   $0x3e4,-0x10(%rbp)
movl   $0x4,-0x14(%rbp)
mov    -0x10(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1070 <findNextMultiple@plt>
mov    %eax,%ecx
mov    $0x3e8,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xd76(%rip),%rdi
call   1050 <printf@plt>
lea    0xd8d(%rip),%rdi
call   1050 <printf@plt>
movss  0xc48(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <convertFtoC@plt>
movss  %xmm0,-0x1c(%rbp)
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xbfb(%rip),%xmm0
ucomisd %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
movss  0xc01(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <convertFtoC@plt>
movss  %xmm0,-0x1c(%rbp)
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
movss  0xbbf(%rip),%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <convertFtoC@plt>
movss  %xmm0,-0x1c(%rbp)
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xb72(%rip),%xmm0
ucomisd %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xcf9(%rip),%rdi
call   1050 <printf@plt>
lea    0xb90(%rip),%rdi
call   1050 <printf@plt>
lea    0xd0c(%rip),%rdi
call   1050 <printf@plt>
lea    0xbb9(%rip),%rdi
call   1050 <printf@plt>
lea    0xd14(%rip),%rdi
call   1050 <printf@plt>
movabs $0x7fffffffffffff41,%rax
ff ff 7f
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rdi
call   1090 <castToInt@plt>
mov    %eax,-0x2c(%rbp)
mov    $0xffffff41,%eax
cmp    -0x2c(%rbp),%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
mov    -0x28(%rbp),%rdi
call   10a0 <castToDouble@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  0xad3(%rip),%xmm0
ucomisd -0x38(%rbp),%xmm0
sete   %al
setnp  %cl
and    %cl,%al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
mov    -0x28(%rbp),%rdi
call   1040 <castToChar@plt>
mov    %al,-0x39(%rbp)
movsbl -0x39(%rbp),%ecx
mov    $0x41,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xcb6(%rip),%rdi
call   1050 <printf@plt>
lea    0xad4(%rip),%rdi
call   1050 <printf@plt>
lea    0xcbb(%rip),%rdi
call   1050 <printf@plt>
lea    0xafd(%rip),%rdi
call   1050 <printf@plt>
lea    0xcc3(%rip),%rdi
call   1050 <printf@plt>
mov    $0x0,%al
call   1080 <fibonacci@plt>
mov    %eax,%ecx
mov    $0x1055,%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1060 <assert@plt>
lea    0xccb(%rip),%rdi
call   1050 <printf@plt>
lea    0xcdf(%rip),%rdi
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
lea    0xe62(%rip),%rdi
call   1060 <printf@plt>
lea    0x100c(%rip),%r14
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xe56(%rip),%rdi
call   1040 <puts@plt>
lea    0x1030(%rip),%r15
mov    %r15,%rdi
call   1040 <puts@plt>
lea    0xe5a(%rip),%rdi
call   1040 <puts@plt>
mov    $0x2,%edi
mov    $0x3,%esi
call   10d0 <pow@plt>
mov    $0x2,%edi
mov    $0x2,%esi
call   10d0 <pow@plt>
xor    %edi,%edi
call   1080 <assert@plt>
mov    $0xa,%edi
mov    $0x8,%esi
call   10d0 <pow@plt>
lea    (%rax,%rax,2),%ebp
mov    $0xa,%edi
mov    $0xfffffff9,%esi
call   10d0 <pow@plt>
lea    0x0(%rbp,%rax,2),%ebp
mov    $0xa,%edi
mov    $0xfffffffa,%esi
call   10d0 <pow@plt>
lea    0x0(,%rax,8),%ebx
sub    %eax,%ebx
mov    $0xa,%edi
mov    $0x8,%esi
call   10d0 <pow@plt>
lea    (%rbx,%rax,2),%ecx
mov    %ebp,%eax
cltd
idiv   %ecx
cvtsi2ss %eax,%xmm0
addss  0xd82(%rip),%xmm0
call   1070 <floorf@plt>
cmpeqss 0xd78(%rip),%xmm0
movd   %xmm0,%edi
and    $0x1,%edi
call   1080 <assert@plt>
lea    0xdea(%rip),%rdi
call   1040 <puts@plt>
lea    0xe09(%rip),%rdi
call   1040 <puts@plt>
mov    $0x16d,%edi
mov    $0x7,%esi
call   1090 <findNextMultiple@plt>
xor    %edi,%edi
cmp    $0x173,%eax
sete   %dil
call   1080 <assert@plt>
mov    $0x2fe2,%edi
mov    $0x1c,%esi
call   1090 <findNextMultiple@plt>
xor    %edi,%edi
cmp    $0x2fe8,%eax
sete   %dil
call   1080 <assert@plt>
mov    $0x3e4,%edi
mov    $0x4,%esi
call   1090 <findNextMultiple@plt>
xor    %edi,%edi
cmp    $0x3e8,%eax
sete   %dil
call   1080 <assert@plt>
lea    0xdd3(%rip),%rdi
call   1040 <puts@plt>
lea    0xde9(%rip),%rdi
call   1040 <puts@plt>
movss  0xcdb(%rip),%xmm0
call   1030 <convertFtoC@plt>
cmpeqss 0xcd1(%rip),%xmm0
movd   %xmm0,%edi
and    $0x1,%edi
call   1080 <assert@plt>
movss  0xcc1(%rip),%xmm0
call   1030 <convertFtoC@plt>
xorps  %xmm1,%xmm1
cmpeqss %xmm0,%xmm1
movd   %xmm1,%edi
and    $0x1,%edi
call   1080 <assert@plt>
movss  0xca4(%rip),%xmm0
call   1030 <convertFtoC@plt>
cmpeqss 0xc96(%rip),%xmm0
movd   %xmm0,%edi
and    $0x1,%edi
call   1080 <assert@plt>
lea    0xdb3(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xdc9(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
call   1040 <puts@plt>
lea    0xdd4(%rip),%rdi
call   1040 <puts@plt>
movabs $0x7fffffffffffff41,%rbp
ff ff 7f
mov    %rbp,%rdi
call   10b0 <castToInt@plt>
xor    %edi,%edi
cmp    $0xffffff41,%eax
sete   %dil
call   1080 <assert@plt>
mov    %rbp,%rdi
call   10c0 <castToDouble@plt>
cmpeqsd 0xc27(%rip),%xmm0
movq   %xmm0,%rdi
and    $0x1,%edi
call   1080 <assert@plt>
mov    %rbp,%rdi
call   1050 <castToChar@plt>
xor    %edi,%edi
cmp    $0x41,%al
sete   %dil
call   1080 <assert@plt>
lea    0xda0(%rip),%rdi
call   1040 <puts@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
lea    0xdc8(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
call   1040 <puts@plt>
lea    0xdf3(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   10a0 <fibonacci@plt>
xor    %edi,%edi
cmp    $0x1055,%eax
sete   %dil
call   1080 <assert@plt>
lea    0xe00(%rip),%rdi
call   1040 <puts@plt>
lea    0xe13(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [15 x i8] c"\0A Hello World!\00"
@.str.1 = [33 x i8] c"\0A\09=============================\0A\00"
@.str.2 = [32 x i8] c"\09= PART A =\0A\00"
@.str.3 = [33 x i8] c"\09=============================\0A\0A\00"
@.str.4 = [60 x i8] c"\0A\09=========Starting Expression Conversion Tests===========\0A\00"
@.str.5 = [44 x i8] c"\0A\09\09....Converting Expressions Tests Passed\0A\00"
@.str.6 = [52 x i8] c"\0A\09=========Starting Next Multiple Tests===========\0A\00"
@.str.7 = [35 x i8] c"\0A\09\09....Next Multiple Tests Passed\0A\00"
@.str.8 = [60 x i8] c"\0A\09=========Starting Fahrenheit to Celsius Tests===========\0A\00"
@.str.9 = [43 x i8] c"\0A\09\09....Fahrenheit to Celsius Tests Passed\0A\00"
@.str.10 = [32 x i8] c"\09= PART B =\0A\00"
@.str.11 = [46 x i8] c"\0A\09=========Starting Casting Tests===========\0A\00"
@.str.12 = [29 x i8] c"\0A\09\09....Casting Tests Passed\0A\00"
@.str.13 = [32 x i8] c"\09= PART C =\0A\00"
@.str.14 = [49 x i8] c"\0A\09=========Starting Fibonacci Tests===========\0A\0A\00"
@.str.15 = [32 x i8] c"\0A\09\09....Fibonacci Tests Passed\0A\0A\00"
@.str.16 = [39 x i8] c"\09=========ALL TESTS PASSED===========\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca i32
%5 = alloca i32
%6 = alloca float
%7 = alloca float
%8 = alloca i64
%9 = alloca i32
%10 = alloca double
%11 = alloca i8
store i32 0, i32* %1
%12 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.4, i64 0, i64 0))
store float 2.500000e+00, float* %2
store float 0.000000e+00, float* %3
%17 = load float, float* %2
%18 = fptosi float %17 to i32
%19 = call i32 @pow(i32 %18, i32 3)
%20 = mul nsw i32 3, %19
%21 = load float, float* %2
%22 = fptosi float %21 to i32
%23 = call i32 @pow(i32 %22, i32 2)
%24 = mul nsw i32 5, %23
%25 = sub nsw i32 %20, %24
%26 = add nsw i32 %25, 6
%27 = sitofp i32 %26 to float
store float %27, float* %3
%28 = load float, float* %3
%29 = fpext float %28 to double
%30 = fcmp oeq double %29, 2.162500e+01
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 %31)
store float 0.000000e+00, float* %3
%33 = call i32 @pow(i32 10, i32 8)
%34 = mul nsw i32 3, %33
%35 = call i32 @pow(i32 10, i32 -7)
%36 = mul nsw i32 2, %35
%37 = add nsw i32 %34, %36
%38 = call i32 @pow(i32 10, i32 -6)
%39 = mul nsw i32 7, %38
%40 = call i32 @pow(i32 10, i32 8)
%41 = mul nsw i32 2, %40
%42 = add nsw i32 %39, %41
%43 = sdiv i32 %37, %42
%44 = sitofp i32 %43 to float
store float %44, float* %3
%45 = load float, float* %3
%46 = fpext float %45 to double
%47 = fadd double %46, 5.000000e-01
%48 = fptrunc double %47 to float
store float %48, float* %3
%49 = load float, float* %3
%50 = call float @floor(float %49)
store float %50, float* %3
%51 = load float, float* %3
%52 = fpext float %51 to double
%53 = fcmp oeq double %52, 2.000000e+00
%54 = zext i1 %53 to i32
%55 = call i32 @assert(i32 %54)
%56 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
%57 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.6, i64 0, i64 0))
store i32 365, i32* %4
store i32 7, i32* %5
%58 = load i32, i32* %4
%59 = load i32, i32* %5
%60 = call i32 @findNextMultiple(i32 %58, i32 %59)
%61 = icmp eq i32 371, %60
%62 = zext i1 %61 to i32
%63 = call i32 @assert(i32 %62)
store i32 12258, i32* %4
store i32 28, i32* %5
%64 = load i32, i32* %4
%65 = load i32, i32* %5
%66 = call i32 @findNextMultiple(i32 %64, i32 %65)
%67 = icmp eq i32 12264, %66
%68 = zext i1 %67 to i32
%69 = call i32 @assert(i32 %68)
store i32 996, i32* %4
store i32 4, i32* %5
%70 = load i32, i32* %4
%71 = load i32, i32* %5
%72 = call i32 @findNextMultiple(i32 %70, i32 %71)
%73 = icmp eq i32 1000, %72
%74 = zext i1 %73 to i32
%75 = call i32 @assert(i32 %74)
%76 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.7, i64 0, i64 0))
%77 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.8, i64 0, i64 0))
store float 9.500000e+01, float* %6
%78 = load float, float* %6
%79 = call float @convertFtoC(float %78)
store float %79, float* %7
%80 = load float, float* %7
%81 = fpext float %80 to double
%82 = fcmp oeq double 3.500000e+01, %81
%83 = zext i1 %82 to i32
%84 = call i32 @assert(i32 %83)
store float 3.200000e+01, float* %6
%85 = load float, float* %6
%86 = call float @convertFtoC(float %85)
store float %86, float* %7
%87 = load float, float* %7
%88 = fpext float %87 to double
%89 = fcmp oeq double 0.000000e+00, %88
%90 = zext i1 %89 to i32
%91 = call i32 @assert(i32 %90)
store float -4.000000e+01, float* %6
%92 = load float, float* %6
%93 = call float @convertFtoC(float %92)
store float %93, float* %7
%94 = load float, float* %7
%95 = fpext float %94 to double
%96 = fcmp oeq double -4.000000e+01, %95
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 %97)
%99 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.9, i64 0, i64 0))
%100 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%101 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.10, i64 0, i64 0))
%102 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%103 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.11, i64 0, i64 0))
store i64 9223372036854775617, i64* %8
%104 = load i64, i64* %8
%105 = call i32 @castToInt(i64 %104)
store i32 %105, i32* %9
%106 = load i32, i32* %9
%107 = icmp eq i32 -191, %106
%108 = zext i1 %107 to i32
%109 = call i32 @assert(i32 %108)
%110 = load i64, i64* %8
%111 = call double @castToDouble(i64 %110)
store double %111, double* %10
%112 = load double, double* %10
%113 = fcmp oeq double 0x43E0000000000000, %112
%114 = zext i1 %113 to i32
%115 = call i32 @assert(i32 %114)
%116 = load i64, i64* %8
%117 = call signext i8 @castToChar(i64 %116)
store i8 %117, i8* %11
%118 = load i8, i8* %11
%119 = sext i8 %118 to i32
%120 = icmp eq i32 65, %119
%121 = zext i1 %120 to i32
%122 = call i32 @assert(i32 %121)
%123 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.12, i64 0, i64 0))
%124 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%125 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.13, i64 0, i64 0))
%126 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%127 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.14, i64 0, i64 0))
%128 = call i32 (...) @fibonacci()
%129 = icmp eq i32 4181, %128
%130 = zext i1 %129 to i32
%131 = call i32 @assert(i32 %130)
%132 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%133 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [15 x i8] c"\0A Hello World!\00"
@str.17 = [31 x i8] c"\09= PART A =\00"
@str.19 = [59 x i8] c"\0A\09=========Starting Expression Conversion Tests===========\00"
@str.20 = [43 x i8] c"\0A\09\09....Converting Expressions Tests Passed\00"
@str.21 = [51 x i8] c"\0A\09=========Starting Next Multiple Tests===========\00"
@str.22 = [34 x i8] c"\0A\09\09....Next Multiple Tests Passed\00"
@str.23 = [59 x i8] c"\0A\09=========Starting Fahrenheit to Celsius Tests===========\00"
@str.24 = [42 x i8] c"\0A\09\09....Fahrenheit to Celsius Tests Passed\00"
@str.26 = [31 x i8] c"\09= PART B =\00"
@str.28 = [45 x i8] c"\0A\09=========Starting Casting Tests===========\00"
@str.29 = [28 x i8] c"\0A\09\09....Casting Tests Passed\00"
@str.30 = [32 x i8] c"\0A\09=============================\00"
@str.31 = [31 x i8] c"\09= PART C =\00"
@str.32 = [32 x i8] c"\09=============================\0A\00"
@str.33 = [48 x i8] c"\0A\09=========Starting Fibonacci Tests===========\0A\00"
@str.34 = [31 x i8] c"\0A\09\09....Fibonacci Tests Passed\0A\00"
@str.35 = [38 x i8] c"\09=========ALL TESTS PASSED===========\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.30, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.17, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.32, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.19, i64 0, i64 0))
%6 = tail call i32 @pow(i32 2, i32 3)
%7 = tail call i32 @pow(i32 2, i32 2)
%8 = tail call i32 @assert(i32 0)
%9 = tail call i32 @pow(i32 10, i32 8)
%10 = mul nsw i32 %9, 3
%11 = tail call i32 @pow(i32 10, i32 -7)
%12 = shl nsw i32 %11, 1
%13 = add nsw i32 %12, %10
%14 = tail call i32 @pow(i32 10, i32 -6)
%15 = mul nsw i32 %14, 7
%16 = tail call i32 @pow(i32 10, i32 8)
%17 = shl nsw i32 %16, 1
%18 = add nsw i32 %17, %15
%19 = sdiv i32 %13, %18
%20 = sitofp i32 %19 to float
%21 = fadd float %20, 5.000000e-01
%22 = tail call float @llvm.floor.f32(float %21)
%23 = fcmp oeq float %22, 2.000000e+00
%24 = zext i1 %23 to i32
%25 = tail call i32 @assert(i32 %24)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.20, i64 0, i64 0))
%27 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.21, i64 0, i64 0))
%28 = tail call i32 @findNextMultiple(i32 365, i32 7)
%29 = icmp eq i32 %28, 371
%30 = zext i1 %29 to i32
%31 = tail call i32 @assert(i32 %30)
%32 = tail call i32 @findNextMultiple(i32 12258, i32 28)
%33 = icmp eq i32 %32, 12264
%34 = zext i1 %33 to i32
%35 = tail call i32 @assert(i32 %34)
%36 = tail call i32 @findNextMultiple(i32 996, i32 4)
%37 = icmp eq i32 %36, 1000
%38 = zext i1 %37 to i32
%39 = tail call i32 @assert(i32 %38)
%40 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.22, i64 0, i64 0))
%41 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.23, i64 0, i64 0))
%42 = tail call float @convertFtoC(float 9.500000e+01)
%43 = fcmp oeq float %42, 3.500000e+01
%44 = zext i1 %43 to i32
%45 = tail call i32 @assert(i32 %44)
%46 = tail call float @convertFtoC(float 3.200000e+01)
%47 = fcmp oeq float %46, 0.000000e+00
%48 = zext i1 %47 to i32
%49 = tail call i32 @assert(i32 %48)
%50 = tail call float @convertFtoC(float -4.000000e+01)
%51 = fcmp oeq float %50, -4.000000e+01
%52 = zext i1 %51 to i32
%53 = tail call i32 @assert(i32 %52)
%54 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.24, i64 0, i64 0))
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.30, i64 0, i64 0))
%56 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.26, i64 0, i64 0))
%57 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.32, i64 0, i64 0))
%58 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.28, i64 0, i64 0))
%59 = tail call i32 @castToInt(i64 9223372036854775617)
%60 = icmp eq i32 %59, -191
%61 = zext i1 %60 to i32
%62 = tail call i32 @assert(i32 %61)
%63 = tail call double @castToDouble(i64 9223372036854775617)
%64 = fcmp oeq double %63, 0x43E0000000000000
%65 = zext i1 %64 to i32
%66 = tail call i32 @assert(i32 %65)
%67 = tail call signext i8 @castToChar(i64 9223372036854775617)
%68 = icmp eq i8 %67, 65
%69 = zext i1 %68 to i32
%70 = tail call i32 @assert(i32 %69)
%71 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @str.29, i64 0, i64 0))
%72 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.30, i64 0, i64 0))
%73 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.31, i64 0, i64 0))
%74 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.32, i64 0, i64 0))
%75 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.33, i64 0, i64 0))
%76 = tail call i32 (...) @fibonacci()
%77 = icmp eq i32 %76, 4181
%78 = zext i1 %77 to i32
%79 = tail call i32 @assert(i32 %78)
%80 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.34, i64 0, i64 0))
%81 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.35, i64 0, i64 0))
ret i32 0
}