#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 */
typedef int /*<<< orphan*/ array_f;
typedef int /*<<< orphan*/ array;

/* Variables and functions */
int /*<<< orphan*/ es1(int *, int);
int /*<<< orphan*/ es2(int *, int);
int /*<<< orphan*/ es3(int *, int);
int /*<<< orphan*/ es4(float *, int);
int /*<<< orphan*/ es5(float *, int);
int /*<<< orphan*/ es6(float *, int);
int /*<<< orphan*/ es7(float *, int);
int /*<<< orphan*/ es8(float *, int);
int /*<<< orphan*/ es9(float *, int);
char *malloc(int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, char *);
int /*<<< orphan*/ *strstr(char *, char *);
int main() {
  int esc = 1;
  float array_f[] = {35.4, 46.7, 77.55, 11.1, 9.04, 0.75};
  int array[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  char *command = malloc(256 * sizeof(char));
  printf("Hi! This is a simple application made for a little course of C/C++\n"
         "write menu for evoke this\n");
  while (esc) {
    printf(":c> ");
    scanf("%s", command);
    if (strstr(command, "quit") != NULL) {
      printf("Bye Bye! See you later! \n");
      esc = 0;
    }
    if (strstr(command, "windows") != NULL) {
      printf("It's a fucking malware! Don't use it!\n");
    }
    if (strstr(command, "menu") != NULL) {
      printf("Action:\n ");
      printf("\t es1 -> see result of es1\n");
      printf("\t es2 -> see result of es2\n");
      printf("\t es3 -> see result of es3\n");
      printf("\t es4 -> see result of es4\n");
      printf("\t es5 -> see result of es5\n");
      printf("\t es6 -> see result of es6\n");
      printf("\t es7 -> see result of es7\n");
      printf("\t es8 -> see result of es8\n");
      printf("\t es9 -> see result of es9\n");
    }
    if (strstr(command, "es1") != NULL) {
      printf("Ris es1: \n");
      es1(array, sizeof(array) / sizeof(array[0]));
    }
    if (strstr(command, "es2") != NULL) {
      printf("Ris es2: \n");
      es2(array, sizeof(array) / sizeof(array[0]));
    }
    if (strstr(command, "es3") != NULL) {
      printf("Ris es3: \n");
      es3(array, sizeof(array) / sizeof(array[0]));
    }
    if (strstr(command, "es4") != NULL) {
      printf("Ris es4: \n");
      es4(array_f, sizeof(array_f) / sizeof(array_f[0]));
    }
    if (strstr(command, "es5") != NULL) {
      printf("Ris es5: \n");
      es5(array_f, sizeof(array_f) / sizeof(array_f[0]));
    }
    if (strstr(command, "es6") != NULL) {
      printf("Ris es6: \n");
      es6(array_f, sizeof(array_f) / sizeof(array_f[0]));
    }
    if (strstr(command, "es7") != NULL) {
      printf("Ris es7: \n");
      es7(array_f, sizeof(array_f) / sizeof(array_f[0]));
    }
    if (strstr(command, "es8") != NULL) {
      printf("Ris es8: \n");
      es8(array_f, sizeof(array_f) / sizeof(array_f[0]));
    }
    if (strstr(command, "es9") != NULL) {
      printf("Ris es9: \n");
      es9(array_f, sizeof(array_f) / sizeof(array_f[0]));
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
mov    0xe03(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe00(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xdfd(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    -0x50(%rbp),%rdi
lea    0xdfe(%rip),%rsi
mov    $0x28,%edx
call   1080 <memcpy@plt>
mov    $0x100,%edi
call   1090 <malloc@plt>
mov    %rax,-0x58(%rbp)
lea    0xe07(%rip),%rdi
call   1070 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
je     152a <main+0x34a>
lea    0xe4f(%rip),%rdi
call   1070 <printf@plt>
mov    -0x58(%rbp),%rsi
lea    0xe44(%rip),%rdi
call   10d0 <scanf@plt>
mov    -0x58(%rbp),%rdi
lea    0xe37(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1299 <main+0xb9>
lea    0xe26(%rip),%rdi
call   1070 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x58(%rbp),%rdi
lea    0xe29(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     12bf <main+0xdf>
lea    0xe1b(%rip),%rdi
call   1070 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xe32(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1351 <main+0x171>
lea    0xe21(%rip),%rdi
call   1070 <printf@plt>
lea    0xe1f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe2f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe3f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe4f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe5f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe6f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe7f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe8f(%rip),%rdi
call   1070 <printf@plt>
lea    0xe9f(%rip),%rdi
call   1070 <printf@plt>
mov    -0x58(%rbp),%rdi
lea    0xeab(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1385 <main+0x1a5>
lea    0xe99(%rip),%rdi
call   1070 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0xa,%esi
call   10b0 <es1@plt>
mov    -0x58(%rbp),%rdi
lea    0xe86(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     13b9 <main+0x1d9>
lea    0xe74(%rip),%rdi
call   1070 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0xa,%esi
call   1040 <es2@plt>
mov    -0x58(%rbp),%rdi
lea    0xe61(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     13ed <main+0x20d>
lea    0xe4f(%rip),%rdi
call   1070 <printf@plt>
lea    -0x50(%rbp),%rdi
mov    $0xa,%esi
call   10c0 <es3@plt>
mov    -0x58(%rbp),%rdi
lea    0xe3c(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1421 <main+0x241>
lea    0xe2a(%rip),%rdi
call   1070 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   1060 <es4@plt>
mov    -0x58(%rbp),%rdi
lea    0xe17(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1455 <main+0x275>
lea    0xe05(%rip),%rdi
call   1070 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   10e0 <es5@plt>
mov    -0x58(%rbp),%rdi
lea    0xdf2(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1489 <main+0x2a9>
lea    0xde0(%rip),%rdi
call   1070 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   1050 <es6@plt>
mov    -0x58(%rbp),%rdi
lea    0xdcd(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     14bd <main+0x2dd>
lea    0xdbb(%rip),%rdi
call   1070 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   10f0 <es7@plt>
mov    -0x58(%rbp),%rdi
lea    0xda8(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     14f1 <main+0x311>
lea    0xd96(%rip),%rdi
call   1070 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   1030 <es8@plt>
mov    -0x58(%rbp),%rdi
lea    0xd83(%rip),%rsi
call   1100 <strstr@plt>
cmp    $0x0,%rax
je     1525 <main+0x345>
lea    0xd71(%rip),%rdi
call   1070 <printf@plt>
lea    -0x20(%rbp),%rdi
mov    $0x6,%esi
call   10a0 <es9@plt>
jmp    1246 <main+0x66>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    0xe1b(%rip),%rax
mov    %rax,0x10(%rsp)
movaps 0xdff(%rip),%xmm0
movaps %xmm0,(%rsp)
mov    0xe34(%rip),%rax
mov    %rax,0x40(%rsp)
movaps 0xe18(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xdfc(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
mov    $0x100,%edi
call   1090 <malloc@plt>
mov    %rax,%rbx
lea    0xe2f(%rip),%rdi
call   1030 <puts@plt>
lea    0xfae(%rip),%r12
lea    0xfc2(%rip),%r13
mov    %rsp,%rbp
lea    0x20(%rsp),%r14
jmp    1269 <main+0x89>
nopw   0x0(%rax,%rax,1)
test   %r15,%r15
jne    14e9 <main+0x309>
lea    0xdd8(%rip),%rdi
call   1080 <printf@plt>
lea    0xdd1(%rip),%rdi
mov    %rbx,%rsi
call   10d0 <scanf@plt>
mov    %rbx,%rdi
lea    0xdc2(%rip),%rsi
call   1100 <strstr@plt>
mov    %rax,%r15
test   %rax,%rax
je     12a7 <main+0xc7>
lea    0xf9a(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
lea    0xda4(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     12c7 <main+0xe7>
lea    0xf54(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
lea    0xd8c(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     1353 <main+0x173>
lea    0xd80(%rip),%rdi
call   1080 <printf@plt>
lea    0xe35(%rip),%rdi
call   1030 <puts@plt>
lea    0xe44(%rip),%rdi
call   1030 <puts@plt>
lea    0xe53(%rip),%rdi
call   1030 <puts@plt>
lea    0xe62(%rip),%rdi
call   1030 <puts@plt>
lea    0xe71(%rip),%rdi
call   1030 <puts@plt>
lea    0xe80(%rip),%rdi
call   1030 <puts@plt>
lea    0xe8f(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9e(%rip),%rdi
call   1030 <puts@plt>
lea    0xead(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
lea    0xddd(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     1380 <main+0x1a0>
lea    0xdab(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0xa,%esi
call   10b0 <es1@plt>
mov    %rbx,%rdi
lea    0xdcb(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     13ad <main+0x1cd>
lea    0xd74(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0xa,%esi
call   1050 <es2@plt>
mov    %rbx,%rdi
lea    0xdb9(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     13da <main+0x1fa>
lea    0xd3d(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0xa,%esi
call   10c0 <es3@plt>
mov    %rbx,%rdi
lea    0xda7(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     1407 <main+0x227>
lea    0xd06(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
call   1070 <es4@plt>
mov    %rbx,%rdi
lea    0xd95(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     1434 <main+0x254>
lea    0xccf(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
call   10e0 <es5@plt>
mov    %rbx,%rdi
lea    0xd83(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     1461 <main+0x281>
lea    0xc98(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
call   1060 <es6@plt>
mov    %rbx,%rdi
lea    0xd71(%rip),%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     148e <main+0x2ae>
lea    0xc61(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
call   10f0 <es7@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     14b7 <main+0x2d7>
lea    0xc2e(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
call   1040 <es8@plt>
mov    %rbx,%rdi
mov    %r13,%rsi
call   1100 <strstr@plt>
test   %rax,%rax
je     1260 <main+0x80>
lea    0xbf7(%rip),%rdi
call   1030 <puts@plt>
mov    %rbp,%rdi
mov    $0x6,%esi
call   10a0 <es9@plt>
jmp    1260 <main+0x80>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.array_f = [6 x float] [float 0x4041B33340000000, float 0x40475999A0000000, float 0x4053633340000000, float 0x4026333340000000, float 0x4022147AE0000000, float 7.500000e-01]
@__const.main.array = [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10]
@.str = [94 x i8] c"Hi! This is a simple application made for a little course of C/C++\0Awrite menu for evoke this\0A\00"
@.str.1 = [5 x i8] c":c> \00"
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [5 x i8] c"quit\00"
@.str.4 = [26 x i8] c"Bye Bye! See you later! \0A\00"
@.str.5 = [8 x i8] c"windows\00"
@.str.6 = [39 x i8] c"It's a fucking malware! Don't use it!\0A\00"
@.str.7 = [5 x i8] c"menu\00"
@.str.8 = [10 x i8] c"Action:\0A \00"
@.str.9 = [28 x i8] c"\09 es1 -> see result of es1\0A\00"
@.str.10 = [28 x i8] c"\09 es2 -> see result of es2\0A\00"
@.str.11 = [28 x i8] c"\09 es3 -> see result of es3\0A\00"
@.str.12 = [28 x i8] c"\09 es4 -> see result of es4\0A\00"
@.str.13 = [28 x i8] c"\09 es5 -> see result of es5\0A\00"
@.str.14 = [28 x i8] c"\09 es6 -> see result of es6\0A\00"
@.str.15 = [28 x i8] c"\09 es7 -> see result of es7\0A\00"
@.str.16 = [28 x i8] c"\09 es8 -> see result of es8\0A\00"
@.str.17 = [28 x i8] c"\09 es9 -> see result of es9\0A\00"
@.str.18 = [4 x i8] c"es1\00"
@.str.19 = [11 x i8] c"Ris es1: \0A\00"
@.str.20 = [4 x i8] c"es2\00"
@.str.21 = [11 x i8] c"Ris es2: \0A\00"
@.str.22 = [4 x i8] c"es3\00"
@.str.23 = [11 x i8] c"Ris es3: \0A\00"
@.str.24 = [4 x i8] c"es4\00"
@.str.25 = [11 x i8] c"Ris es4: \0A\00"
@.str.26 = [4 x i8] c"es5\00"
@.str.27 = [11 x i8] c"Ris es5: \0A\00"
@.str.28 = [4 x i8] c"es6\00"
@.str.29 = [11 x i8] c"Ris es6: \0A\00"
@.str.30 = [4 x i8] c"es7\00"
@.str.31 = [11 x i8] c"Ris es7: \0A\00"
@.str.32 = [4 x i8] c"es8\00"
@.str.33 = [11 x i8] c"Ris es8: \0A\00"
@.str.34 = [4 x i8] c"es9\00"
@.str.35 = [11 x i8] c"Ris es9: \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [6 x float]
%4 = alloca [10 x i32]
%5 = alloca i8*
store i32 0, i32* %1
store i32 1, i32* %2
%6 = bitcast [6 x float]* %3 to i8*
%7 = bitcast [10 x i32]* %4 to i8*
%8 = call i8* @malloc(i32 256)
store i8* %8, i8** %5
%9 = call i32 @printf(i8* getelementptr inbounds ([94 x i8], [94 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %115, %0
%11 = load i32, i32* %2
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %116
13: ; preds = %10
%14 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%15 = load i8*, i8** %5
%16 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %15)
%17 = load i8*, i8** %5
%18 = call i32* @strstr(i8* %17, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%19 = icmp ne i32* %18, null
br i1 %19, label %20, label %22
20: ; preds = %13
%21 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %2
br label %22
22: ; preds = %20, %13
%23 = load i8*, i8** %5
%24 = call i32* @strstr(i8* %23, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%25 = icmp ne i32* %24, null
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
br label %28
28: ; preds = %26, %22
%29 = load i8*, i8** %5
%30 = call i32* @strstr(i8* %29, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%31 = icmp ne i32* %30, null
br i1 %31, label %32, label %43
32: ; preds = %28
%33 = call i32 @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%34 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%35 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.10, i64 0, i64 0))
%36 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
%37 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
%38 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.13, i64 0, i64 0))
%39 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.14, i64 0, i64 0))
%40 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.15, i64 0, i64 0))
%41 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.16, i64 0, i64 0))
%42 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.17, i64 0, i64 0))
br label %43
43: ; preds = %32, %28
%44 = load i8*, i8** %5
%45 = call i32* @strstr(i8* %44, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%46 = icmp ne i32* %45, null
br i1 %46, label %47, label %51
47: ; preds = %43
%48 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.19, i64 0, i64 0))
%49 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 0
%50 = call i32 @es1(i32* %49, i32 10)
br label %51
51: ; preds = %47, %43
%52 = load i8*, i8** %5
%53 = call i32* @strstr(i8* %52, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%54 = icmp ne i32* %53, null
br i1 %54, label %55, label %59
55: ; preds = %51
%56 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.21, i64 0, i64 0))
%57 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 0
%58 = call i32 @es2(i32* %57, i32 10)
br label %59
59: ; preds = %55, %51
%60 = load i8*, i8** %5
%61 = call i32* @strstr(i8* %60, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%62 = icmp ne i32* %61, null
br i1 %62, label %63, label %67
63: ; preds = %59
%64 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0))
%65 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 0
%66 = call i32 @es3(i32* %65, i32 10)
br label %67
67: ; preds = %63, %59
%68 = load i8*, i8** %5
%69 = call i32* @strstr(i8* %68, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
%70 = icmp ne i32* %69, null
br i1 %70, label %71, label %75
71: ; preds = %67
%72 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0))
%73 = getelementptr inbounds [6 x float], [6 x float]* %3, i64 0, i64 0
%74 = call i32 @es4(float* %73, i32 6)
br label %75
75: ; preds = %71, %67
%76 = load i8*, i8** %5
%77 = call i32* @strstr(i8* %76, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
%78 = icmp ne i32* %77, null
br i1 %78, label %79, label %83
79: ; preds = %75
%80 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.27, i64 0, i64 0))
%81 = getelementptr inbounds [6 x float], [6 x float]* %3, i64 0, i64 0
%82 = call i32 @es5(float* %81, i32 6)
br label %83
83: ; preds = %79, %75
%84 = load i8*, i8** %5
%85 = call i32* @strstr(i8* %84, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%86 = icmp ne i32* %85, null
br i1 %86, label %87, label %91
87: ; preds = %83
%88 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.29, i64 0, i64 0))
%89 = getelementptr inbounds [6 x float], [6 x float]* %3, i64 0, i64 0
%90 = call i32 @es6(float* %89, i32 6)
br label %91
91: ; preds = %87, %83
%92 = load i8*, i8** %5
%93 = call i32* @strstr(i8* %92, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%94 = icmp ne i32* %93, null
br i1 %94, label %95, label %99
95: ; preds = %91
%96 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.31, i64 0, i64 0))
%97 = getelementptr inbounds [6 x float], [6 x float]* %3, i64 0, i64 0
%98 = call i32 @es7(float* %97, i32 6)
br label %99
99: ; preds = %95, %91
%100 = load i8*, i8** %5
%101 = call i32* @strstr(i8* %100, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.32, i64 0, i64 0))
%102 = icmp ne i32* %101, null
br i1 %102, label %103, label %107
103: ; preds = %99
%104 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.33, i64 0, i64 0))
%105 = getelementptr inbounds [6 x float], [6 x float]* %3, i64 0, i64 0
%106 = call i32 @es8(float* %105, i32 6)
br label %107
107: ; preds = %103, %99
%108 = load i8*, i8** %5
%109 = call i32* @strstr(i8* %108, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0))
%110 = icmp ne i32* %109, null
br i1 %110, label %111, label %115
111: ; preds = %107
%112 = call i32 @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.35, i64 0, i64 0))
%113 = getelementptr inbounds [6 x float], [6 x float]* %3, i64 0, i64 0
%114 = call i32 @es9(float* %113, i32 6)
br label %115
115: ; preds = %111, %107
br label %10
116: ; preds = %10
ret i32 0
}

LLVM IR (-O2):
@__const.main.array_f = [6 x float] [float 0x4041B33340000000, float 0x40475999A0000000, float 0x4053633340000000, float 0x4026333340000000, float 0x4022147AE0000000, float 7.500000e-01]
@__const.main.array = [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10]
@.str.1 = [5 x i8] c":c> \00"
@.str.2 = [3 x i8] c"%s\00"
@.str.3 = [5 x i8] c"quit\00"
@.str.5 = [8 x i8] c"windows\00"
@.str.7 = [5 x i8] c"menu\00"
@.str.8 = [10 x i8] c"Action:\0A \00"
@.str.18 = [4 x i8] c"es1\00"
@.str.20 = [4 x i8] c"es2\00"
@.str.22 = [4 x i8] c"es3\00"
@.str.24 = [4 x i8] c"es4\00"
@.str.26 = [4 x i8] c"es5\00"
@.str.28 = [4 x i8] c"es6\00"
@.str.30 = [4 x i8] c"es7\00"
@.str.32 = [4 x i8] c"es8\00"
@.str.34 = [4 x i8] c"es9\00"
@str = [93 x i8] c"Hi! This is a simple application made for a little course of C/C++\0Awrite menu for evoke this\00"
@str.36 = [10 x i8] c"Ris es9: \00"
@str.37 = [10 x i8] c"Ris es8: \00"
@str.38 = [10 x i8] c"Ris es7: \00"
@str.39 = [10 x i8] c"Ris es6: \00"
@str.40 = [10 x i8] c"Ris es5: \00"
@str.41 = [10 x i8] c"Ris es4: \00"
@str.42 = [10 x i8] c"Ris es3: \00"
@str.43 = [10 x i8] c"Ris es2: \00"
@str.44 = [10 x i8] c"Ris es1: \00"
@str.45 = [27 x i8] c"\09 es1 -> see result of es1\00"
@str.46 = [27 x i8] c"\09 es2 -> see result of es2\00"
@str.47 = [27 x i8] c"\09 es3 -> see result of es3\00"
@str.48 = [27 x i8] c"\09 es4 -> see result of es4\00"
@str.49 = [27 x i8] c"\09 es5 -> see result of es5\00"
@str.50 = [27 x i8] c"\09 es6 -> see result of es6\00"
@str.51 = [27 x i8] c"\09 es7 -> see result of es7\00"
@str.52 = [27 x i8] c"\09 es8 -> see result of es8\00"
@str.53 = [27 x i8] c"\09 es9 -> see result of es9\00"
@str.54 = [38 x i8] c"It's a fucking malware! Don't use it!\00"
@str.55 = [25 x i8] c"Bye Bye! See you later! \00"
define i32 @main() {
%1 = alloca [6 x float]
%2 = alloca [10 x i32]
%3 = bitcast [6 x float]* %1 to i8*
%4 = bitcast [10 x i32]* %2 to i8*
%5 = tail call dereferenceable_or_null(256) i8* @malloc(i32 256)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([93 x i8], [93 x i8]* @str, i64 0, i64 0))
%7 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%8 = getelementptr inbounds [6 x float], [6 x float]* %1, i64 0, i64 0
br label %9
9: ; preds = %0, %89
%10 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i8* %5)
%12 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%13 = icmp eq i32* %12, null
br i1 %13, label %16, label %14
14: ; preds = %9
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.55, i64 0, i64 0))
br label %16
16: ; preds = %14, %9
%17 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i32* %17, null
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.54, i64 0, i64 0))
br label %21
21: ; preds = %19, %16
%22 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%23 = icmp eq i32* %22, null
br i1 %23, label %35, label %24
24: ; preds = %21
%25 = call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0))
%26 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.45, i64 0, i64 0))
%27 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.46, i64 0, i64 0))
%28 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.47, i64 0, i64 0))
%29 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.48, i64 0, i64 0))
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.49, i64 0, i64 0))
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.50, i64 0, i64 0))
%32 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.51, i64 0, i64 0))
%33 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.52, i64 0, i64 0))
%34 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.53, i64 0, i64 0))
br label %35
35: ; preds = %24, %21
%36 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
%37 = icmp eq i32* %36, null
br i1 %37, label %41, label %38
38: ; preds = %35
%39 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.44, i64 0, i64 0))
%40 = call i32 @es1(i32* %7, i32 10)
br label %41
41: ; preds = %38, %35
%42 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
%43 = icmp eq i32* %42, null
br i1 %43, label %47, label %44
44: ; preds = %41
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.43, i64 0, i64 0))
%46 = call i32 @es2(i32* %7, i32 10)
br label %47
47: ; preds = %44, %41
%48 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.22, i64 0, i64 0))
%49 = icmp eq i32* %48, null
br i1 %49, label %53, label %50
50: ; preds = %47
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.42, i64 0, i64 0))
%52 = call i32 @es3(i32* %7, i32 10)
br label %53
53: ; preds = %50, %47
%54 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.24, i64 0, i64 0))
%55 = icmp eq i32* %54, null
br i1 %55, label %59, label %56
56: ; preds = %53
%57 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.41, i64 0, i64 0))
%58 = call i32 @es4(float* %8, i32 6)
br label %59
59: ; preds = %56, %53
%60 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.26, i64 0, i64 0))
%61 = icmp eq i32* %60, null
br i1 %61, label %65, label %62
62: ; preds = %59
%63 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.40, i64 0, i64 0))
%64 = call i32 @es5(float* %8, i32 6)
br label %65
65: ; preds = %62, %59
%66 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.28, i64 0, i64 0))
%67 = icmp eq i32* %66, null
br i1 %67, label %71, label %68
68: ; preds = %65
%69 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.39, i64 0, i64 0))
%70 = call i32 @es6(float* %8, i32 6)
br label %71
71: ; preds = %68, %65
%72 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.30, i64 0, i64 0))
%73 = icmp eq i32* %72, null
br i1 %73, label %77, label %74
74: ; preds = %71
%75 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.38, i64 0, i64 0))
%76 = call i32 @es7(float* %8, i32 6)
br label %77
77: ; preds = %74, %71
%78 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.32, i64 0, i64 0))
%79 = icmp eq i32* %78, null
br i1 %79, label %83, label %80
80: ; preds = %77
%81 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.37, i64 0, i64 0))
%82 = call i32 @es8(float* %8, i32 6)
br label %83
83: ; preds = %80, %77
%84 = call i32* @strstr(i8* dereferenceable(1) %5, i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0))
%85 = icmp eq i32* %84, null
br i1 %85, label %89, label %86
86: ; preds = %83
%87 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.36, i64 0, i64 0))
%88 = call i32 @es9(float* %8, i32 6)
br label %89
89: ; preds = %86, %83
br i1 %13, label %9, label %90
90: ; preds = %89
ret i32 0
}