#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*/ scanf(char *, int *);
main() {
  int limit = 3;
  int sumMultiples_3_OR_5_BelowX(int x);
  int sumEvenFibonacciBelowX(int x);
  int diffBetweenSumSquaresAndSquareSums(int x);
  unsigned long long sumSelfPowers(int x);
  int option = 0;
  while (1) {
    printf("Enter program number or -1 for program list:: ");
    scanf("%d", &option);
    switch (option) {
    case (-1):
      printf("DO THIS LATER\n");
      break;
    case (0):
      printf("Enter limit:: ");
      scanf("%d", &limit);
      printf("Sum of all multiples of 3 or 5 below %d = %d\n", limit,
             sumMultiples_3_OR_5_BelowX(limit));
      break;
    case (1):
      printf("Enter limit:: ");
      scanf("%d", &limit);
      printf("Sum even fibonacci numbers below %d = %d\n", limit,
             sumEvenFibonacciBelowX(limit));
      break;
    case (2):
      break;
    case (3):
      break;
    case (4):
      break;
    case (5):
      printf("Enter limit:: ");
      scanf("%d", &limit);
      printf("Difference between sum of squares and square of sums of 1 to %d "
             "= %d\n",
             limit, diffBetweenSumSquaresAndSquareSums(limit));
      break;
    case (6):
      break;
    case (7):
      break;
    case (8):
      break;
    case (9):
      break;
    case (10):
      break;
    case (11):
      break;
    case (12):
      break;
    case (13):
      break;
    case (14):
      break;
    case (15):
      break;
    case (16):
      break;
    case (17):
      break;
    case (18):
      break;
    case (19):
      break;
    case (20):
      break;
    case (21):
      break;
    case (22):
      break;
    case (23):
      break;
    case (24):
      break;
    case (25):
      break;
    case (26):
      break;
    case (27):
      break;
    case (28):
      break;
    case (29):
      break;
    case (30):
      break;
    case (31):
      break;
    case (32):
      break;
    case (33):
      break;
    case (34):
      break;
    case (35):
      break;
    case (36):
      break;
    case (37):
      break;
    case (38):
      break;
    case (39):
      break;
    case (40):
      break;
    case (41):
      break;
    case (42):
      break;
    case (43):
      break;
    case (44):
      break;
    case (45):
      break;
    case (46):
      break;
    case (47):
      printf("Enter limit:: ");
      scanf("%d", &limit);
      printf("Last ten digits of the sum of self powers from 1 to %d = %llu\n",
             limit, sumSelfPowers(limit));
      break;
    default:
      printf("%d is invalid.\n", option);
      break;
    }
    printf("Continue(Y/N):: ");
    scanf("%s", &option);
    if (option != 'Y' && option != 'y')
      return 0;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x3,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
lea    0xf40(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xf61(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x30,%eax
ja     13c4 <main+0x264>
mov    -0x18(%rbp),%rax
lea    0xe45(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13d5 <main+0x275>
lea    0xf27(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf07(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x1c(%rbp)
mov    -0x8(%rbp),%edi
call   1070 <sumMultiples_3_OR_5_BelowX@plt>
mov    -0x1c(%rbp),%esi
mov    %eax,%edx
lea    0xf05(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13d5 <main+0x275>
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec3(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x20(%rbp)
mov    -0x8(%rbp),%edi
call   1040 <sumEvenFibonacciBelowX@plt>
mov    -0x20(%rbp),%esi
mov    %eax,%edx
lea    0xeef(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe70(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x24(%rbp)
mov    -0x8(%rbp),%edi
call   1050 <diffBetweenSumSquaresAndSquareSums@plt>
mov    -0x24(%rbp),%esi
mov    %eax,%edx
lea    0xec6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
jmp    13d5 <main+0x275>
lea    0xd7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd5f(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x8(%rbp),%edi
call   1080 <sumSelfPowers@plt>
mov    -0x28(%rbp),%esi
mov    %rax,%rdx
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13d5 <main+0x275>
mov    -0xc(%rbp),%esi
lea    0xe23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe28(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1060 <scanf@plt>
cmpl   $0x59,-0xc(%rbp)
je     140f <main+0x2af>
cmpl   $0x79,-0xc(%rbp)
je     140f <main+0x2af>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret
jmp    117d <main+0x1d>

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
movl   $0x3,(%rsp)
movl   $0x0,0x4(%rsp)
lea    0xf33(%rip),%r14
lea    0xf5b(%rip),%r15
lea    0x4(%rsp),%rbx
lea    0x104e(%rip),%r12
lea    0x1058(%rip),%r13
lea    0xe4e(%rip),%rbp
jmp    1215 <main+0xa5>
lea    0xf3b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rsp,%rsi
call   1070 <scanf@plt>
mov    (%rsp),%ebp
mov    %ebp,%edi
call   1080 <sumMultiples_3_OR_5_BelowX@plt>
lea    0xf27(%rip),%rdi
mov    %ebp,%esi
lea    0xe19(%rip),%rbp
mov    %eax,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rdi
mov    %rbx,%rsi
call   1070 <scanf@plt>
mov    0x4(%rsp),%eax
and    $0xffffffdf,%eax
cmp    $0x59,%eax
jne    1309 <main+0x199>
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
call   1070 <scanf@plt>
mov    0x4(%rsp),%esi
lea    -0x6(%rsi),%eax
cmp    $0x29,%eax
jb     11f0 <main+0x80>
lea    0x1(%rsi),%eax
cmp    $0x30,%eax
ja     12b4 <main+0x144>
movslq 0x0(%rbp,%rax,4),%rax
add    %rbp,%rax
jmp    *%rax
lea    0xfb7(%rip),%rdi
call   1030 <puts@plt>
jmp    11f0 <main+0x80>
lea    0xe99(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rsp,%rsi
call   1070 <scanf@plt>
mov    (%rsp),%ebp
mov    %ebp,%edi
call   1050 <sumEvenFibonacciBelowX@plt>
lea    0xeb3(%rip),%rdi
jmp    11de <main+0x6e>
lea    0xe6a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rsp,%rsi
call   1070 <scanf@plt>
mov    (%rsp),%ebp
mov    %ebp,%edi
call   1060 <diffBetweenSumSquaresAndSquareSums@plt>
lea    0xeae(%rip),%rdi
jmp    11de <main+0x6e>
lea    0xf27(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11f0 <main+0x80>
lea    0xe28(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %rsp,%rsi
call   1070 <scanf@plt>
mov    (%rsp),%ebp
mov    %ebp,%edi
call   1090 <sumSelfPowers@plt>
lea    0xeb2(%rip),%rdi
mov    %ebp,%esi
lea    0xd06(%rip),%rbp
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    11f0 <main+0x80>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [47 x i8] c"Enter program number or -1 for program list:: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [15 x i8] c"DO THIS LATER\0A\00"
@.str.3 = [15 x i8] c"Enter limit:: \00"
@.str.4 = [46 x i8] c"Sum of all multiples of 3 or 5 below %d = %d\0A\00"
@.str.5 = [42 x i8] c"Sum even fibonacci numbers below %d = %d\0A\00"
@.str.6 = [70 x i8] c"Difference between sum of squares and square of sums of 1 to %d = %d\0A\00"
@.str.7 = [63 x i8] c"Last ten digits of the sum of self powers from 1 to %d = %llu\0A\00"
@.str.8 = [16 x i8] c"%d is invalid.\0A\00"
@.str.9 = [17 x i8] c"Continue(Y/N):: \00"
@.str.10 = [3 x i8] c"%s\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
store i32 0, i32* %1
store i32 3, i32* %2
store i32 0, i32* %3
br label %4
4: ; preds = %0, %94
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%7 = load i32, i32* %3
switch i32 %7, label %82 [
i32 -1, label %8
i32 0, label %10
i32 1, label %17
i32 2, label %24
i32 3, label %25
i32 4, label %26
i32 5, label %27
i32 6, label %34
i32 7, label %35
i32 8, label %36
i32 9, label %37
i32 10, label %38
i32 11, label %39
i32 12, label %40
i32 13, label %41
i32 14, label %42
i32 15, label %43
i32 16, label %44
i32 17, label %45
i32 18, label %46
i32 19, label %47
i32 20, label %48
i32 21, label %49
i32 22, label %50
i32 23, label %51
i32 24, label %52
i32 25, label %53
i32 26, label %54
i32 27, label %55
i32 28, label %56
i32 29, label %57
i32 30, label %58
i32 31, label %59
i32 32, label %60
i32 33, label %61
i32 34, label %62
i32 35, label %63
i32 36, label %64
i32 37, label %65
i32 38, label %66
i32 39, label %67
i32 40, label %68
i32 41, label %69
i32 42, label %70
i32 43, label %71
i32 44, label %72
i32 45, label %73
i32 46, label %74
i32 47, label %75
]
8: ; preds = %4
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.2, i64 0, i64 0))
br label %85
10: ; preds = %4
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%13 = load i32, i32* %2
%14 = load i32, i32* %2
%15 = call i32 @sumMultiples_3_OR_5_BelowX(i32 %14)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0), i32 %13, i32 %15)
br label %85
17: ; preds = %4
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%20 = load i32, i32* %2
%21 = load i32, i32* %2
%22 = call i32 @sumEvenFibonacciBelowX(i32 %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), i32 %20, i32 %22)
br label %85
24: ; preds = %4
br label %85
25: ; preds = %4
br label %85
26: ; preds = %4
br label %85
27: ; preds = %4
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%30 = load i32, i32* %2
%31 = load i32, i32* %2
%32 = call i32 @diffBetweenSumSquaresAndSquareSums(i32 %31)
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0), i32 %30, i32 %32)
br label %85
34: ; preds = %4
br label %85
35: ; preds = %4
br label %85
36: ; preds = %4
br label %85
37: ; preds = %4
br label %85
38: ; preds = %4
br label %85
39: ; preds = %4
br label %85
40: ; preds = %4
br label %85
41: ; preds = %4
br label %85
42: ; preds = %4
br label %85
43: ; preds = %4
br label %85
44: ; preds = %4
br label %85
45: ; preds = %4
br label %85
46: ; preds = %4
br label %85
47: ; preds = %4
br label %85
48: ; preds = %4
br label %85
49: ; preds = %4
br label %85
50: ; preds = %4
br label %85
51: ; preds = %4
br label %85
52: ; preds = %4
br label %85
53: ; preds = %4
br label %85
54: ; preds = %4
br label %85
55: ; preds = %4
br label %85
56: ; preds = %4
br label %85
57: ; preds = %4
br label %85
58: ; preds = %4
br label %85
59: ; preds = %4
br label %85
60: ; preds = %4
br label %85
61: ; preds = %4
br label %85
62: ; preds = %4
br label %85
63: ; preds = %4
br label %85
64: ; preds = %4
br label %85
65: ; preds = %4
br label %85
66: ; preds = %4
br label %85
67: ; preds = %4
br label %85
68: ; preds = %4
br label %85
69: ; preds = %4
br label %85
70: ; preds = %4
br label %85
71: ; preds = %4
br label %85
72: ; preds = %4
br label %85
73: ; preds = %4
br label %85
74: ; preds = %4
br label %85
75: ; preds = %4
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%77 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%78 = load i32, i32* %2
%79 = load i32, i32* %2
%80 = call i64 @sumSelfPowers(i32 %79)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i64 0, i64 0), i32 %78, i64 %80)
br label %85
82: ; preds = %4
%83 = load i32, i32* %3
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %83)
br label %85
85: ; preds = %82, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65, %64, %63, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %45, %44, %43, %42, %41, %40, %39, %38, %37, %36, %35, %34, %27, %26, %25, %24, %17, %10, %8
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%87 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32* %3)
%88 = load i32, i32* %3
%89 = icmp ne i32 %88, 89
br i1 %89, label %90, label %94
90: ; preds = %85
%91 = load i32, i32* %3
%92 = icmp ne i32 %91, 121
br i1 %92, label %93, label %94
93: ; preds = %90
ret i32 0
94: ; preds = %90, %85
br label %4
}

LLVM IR (-O2):
@.str = [47 x i8] c"Enter program number or -1 for program list:: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.3 = [15 x i8] c"Enter limit:: \00"
@.str.4 = [46 x i8] c"Sum of all multiples of 3 or 5 below %d = %d\0A\00"
@.str.5 = [42 x i8] c"Sum even fibonacci numbers below %d = %d\0A\00"
@.str.6 = [70 x i8] c"Difference between sum of squares and square of sums of 1 to %d = %d\0A\00"
@.str.7 = [63 x i8] c"Last ten digits of the sum of self powers from 1 to %d = %llu\0A\00"
@.str.8 = [16 x i8] c"%d is invalid.\0A\00"
@.str.9 = [17 x i8] c"Continue(Y/N):: \00"
@.str.10 = [3 x i8] c"%s\00"
@str = [14 x i8] c"DO THIS LATER\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
store i32 3, i32* %1
%4 = bitcast i32* %2 to i8*
store i32 0, i32* %2
br label %5
5: ; preds = %37, %0
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @.str, i64 0, i64 0))
%7 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%8 = load i32, i32* %2
switch i32 %8, label %35 [
i32 -1, label %9
i32 0, label %11
i32 1, label %17
i32 2, label %37
i32 3, label %37
i32 4, label %37
i32 5, label %23
i32 6, label %37
i32 7, label %37
i32 8, label %37
i32 9, label %37
i32 10, label %37
i32 11, label %37
i32 12, label %37
i32 13, label %37
i32 14, label %37
i32 15, label %37
i32 16, label %37
i32 17, label %37
i32 18, label %37
i32 19, label %37
i32 20, label %37
i32 21, label %37
i32 22, label %37
i32 23, label %37
i32 24, label %37
i32 25, label %37
i32 26, label %37
i32 27, label %37
i32 28, label %37
i32 29, label %37
i32 30, label %37
i32 31, label %37
i32 32, label %37
i32 33, label %37
i32 34, label %37
i32 35, label %37
i32 36, label %37
i32 37, label %37
i32 38, label %37
i32 39, label %37
i32 40, label %37
i32 41, label %37
i32 42, label %37
i32 43, label %37
i32 44, label %37
i32 45, label %37
i32 46, label %37
i32 47, label %29
]
9: ; preds = %5
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
br label %37
11: ; preds = %5
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%14 = load i32, i32* %1
%15 = call i32 @sumMultiples_3_OR_5_BelowX(i32 %14)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0), i32 %14, i32 %15)
br label %37
17: ; preds = %5
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%20 = load i32, i32* %1
%21 = call i32 @sumEvenFibonacciBelowX(i32 %20)
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), i32 %20, i32 %21)
br label %37
23: ; preds = %5
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%25 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%26 = load i32, i32* %1
%27 = call i32 @diffBetweenSumSquaresAndSquareSums(i32 %26)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @.str.6, i64 0, i64 0), i32 %26, i32 %27)
br label %37
29: ; preds = %5
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%31 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%32 = load i32, i32* %1
%33 = call i64 @sumSelfPowers(i32 %32)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i64 0, i64 0), i32 %32, i64 %33)
br label %37
35: ; preds = %5
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.8, i64 0, i64 0), i32 %8)
br label %37
37: ; preds = %35, %29, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %5, %23, %17, %11, %9
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.9, i64 0, i64 0))
%39 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i32* %2)
%40 = load i32, i32* %2
%41 = and i32 %40, -33
%42 = icmp eq i32 %41, 89
br i1 %42, label %5, label %43
43: ; preds = %37
ret i32 0
}