#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*/ endwin();
int /*<<< orphan*/ getch();
int /*<<< orphan*/ initscr();
int pow(int, int);
int /*<<< orphan*/ printw(char *, ...);
int /*<<< orphan*/ scanw(char *, int *);
int main() {
  int x, y = 0, v1[10] = {0}, suma = 0;
  float prom = 0.00;
  initscr();
  printw("\t\nBienvenido, Este programa suma los elementos de un "
         "arreglo.\nDespues imprime el promedio asi como los numeros iguales "
         "al promedio elevados al cubo\n");
  printw("\n\tIntroduce 10 numeros enteros aleatorios\n");
  for (x = 0; x < 10; x++)
    scanw("%d", &v1[x]);
  for (x = 0; x < 10; x++)
    suma += v1[x];
  prom = 1.00 * (suma / 10);
  printw("El promedio que resulta de sus 10 num es: %.2f\n", prom);
  printw("Aconticuacion se despliegan los numeros del arreglo q son iguales al "
         "promedio, asi como el resultado de elevar dicho numero al cubo\n");
  for (x = 0; x < 10; x++)
    if (v1[x] == prom) {
      y = pow(v1[x], 3);
      printw("\t%d)\t%d^3=%d\n", x + 1, v1[x], y);
    }
  getch();
  endwin();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
lea    -0x40(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movl   $0x0,-0x44(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x48(%rbp)
mov    $0x0,%al
call   1030 <initscr@plt>
lea    0xe55(%rip),%rdi
mov    $0x0,%al
call   1050 <printw@plt>
lea    0xedc(%rip),%rdi
mov    $0x0,%al
call   1050 <printw@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1202 <main+0x92>
movslq -0x8(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xed9(%rip),%rdi
call   1090 <scanw@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11cf <main+0x5f>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    122f <main+0xbf>
movslq -0x8(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
add    -0x44(%rbp),%eax
mov    %eax,-0x44(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1209 <main+0x99>
mov    -0x44(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%xmm1
movsd  0xdba(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x48(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe68(%rip),%rdi
mov    $0x1,%al
call   1050 <printw@plt>
lea    0xe8a(%rip),%rdi
mov    $0x0,%al
call   1050 <printw@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    12ea <main+0x17a>
movslq -0x8(%rbp),%rax
cvtsi2ssl -0x40(%rbp,%rax,4),%xmm0
ucomiss -0x48(%rbp),%xmm0
jne    12d7 <main+0x167>
jp     12d7 <main+0x167>
movslq -0x8(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%edi
mov    $0x3,%esi
call   1080 <pow@plt>
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%esi
add    $0x1,%esi
movslq -0x8(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%edx
mov    -0xc(%rbp),%ecx
lea    0xeb0(%rip),%rdi
mov    $0x0,%al
call   1050 <printw@plt>
jmp    12dc <main+0x16c>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    127f <main+0x10f>
mov    $0x0,%al
call   1060 <getch@plt>
mov    $0x0,%al
call   1070 <endwin@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
sub    $0x40,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movq   $0x0,0x30(%rsp)
lea    0x30(%rsp),%r14
lea    0x20(%rsp),%r15
xor    %eax,%eax
call   1030 <initscr@plt>
lea    0xe69(%rip),%rdi
xor    %eax,%eax
call   1040 <printw@plt>
lea    0xef0(%rip),%rdi
xor    %eax,%eax
call   1040 <printw@plt>
lea    0xf0d(%rip),%rbx
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanw@plt>
lea    0x24(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
lea    0x28(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
lea    0x2c(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <scanw@plt>
lea    0x34(%rsp),%rsi
mov    %rbx,%rdi
call   1080 <scanw@plt>
movdqu 0x18(%rsp),%xmm0
movdqu 0x28(%rsp),%xmm1
paddd  %xmm0,%xmm1
pshufd $0xee,%xmm1,%xmm0
paddd  %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%eax
add    0x14(%rsp),%eax
add    0x10(%rsp),%eax
cltq
imul   $0x66666667,%rax,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x22,%rax
add    %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm0,0xc(%rsp)
cvtss2sd %xmm0,%xmm0
lea    0xe36(%rip),%rdi
mov    $0x1,%al
call   1040 <printw@plt>
lea    0xe58(%rip),%rdi
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x10(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    12d9 <main+0x179>
jp     12d9 <main+0x179>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x10(%rsp),%edx
lea    0xead(%rip),%rdi
mov    $0x1,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x14(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    1310 <main+0x1b0>
jp     1310 <main+0x1b0>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x14(%rsp),%edx
lea    0xe76(%rip),%rdi
mov    $0x2,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x18(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    1347 <main+0x1e7>
jp     1347 <main+0x1e7>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x18(%rsp),%edx
lea    0xe3f(%rip),%rdi
mov    $0x3,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x1c(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    137e <main+0x21e>
jp     137e <main+0x21e>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x1c(%rsp),%edx
lea    0xe08(%rip),%rdi
mov    $0x4,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x20(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    13b5 <main+0x255>
jp     13b5 <main+0x255>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x20(%rsp),%edx
lea    0xdd1(%rip),%rdi
mov    $0x5,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x24(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    13ec <main+0x28c>
jp     13ec <main+0x28c>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x24(%rsp),%edx
lea    0xd9a(%rip),%rdi
mov    $0x6,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x28(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    1423 <main+0x2c3>
jp     1423 <main+0x2c3>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x28(%rsp),%edx
lea    0xd63(%rip),%rdi
mov    $0x7,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x2c(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    145a <main+0x2fa>
jp     145a <main+0x2fa>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x2c(%rsp),%edx
lea    0xd2c(%rip),%rdi
mov    $0x8,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x30(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    1491 <main+0x331>
jp     1491 <main+0x331>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x30(%rsp),%edx
lea    0xcf5(%rip),%rdi
mov    $0x9,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
mov    0x34(%rsp),%edi
xorps  %xmm0,%xmm0
cvtsi2ss %edi,%xmm0
ucomiss 0xc(%rsp),%xmm0
jne    14c8 <main+0x368>
jp     14c8 <main+0x368>
mov    $0x3,%esi
call   1070 <pow@plt>
mov    0x34(%rsp),%edx
lea    0xcbe(%rip),%rdi
mov    $0xa,%esi
mov    %eax,%ecx
xor    %eax,%eax
call   1040 <printw@plt>
xor    %eax,%eax
call   1050 <getch@plt>
xor    %eax,%eax
call   1060 <endwin@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [149 x i8] c"\09\0ABienvenido, Este programa suma los elementos de un arreglo.\0ADespues imprime el promedio asi como los numeros iguales al promedio elevados al cubo\0A\00"
@.str.1 = [43 x i8] c"\0A\09Introduce 10 numeros enteros aleatorios\0A\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [48 x i8] c"El promedio que resulta de sus 10 num es: %.2f\0A\00"
@.str.4 = [133 x i8] c"Aconticuacion se despliegan los numeros del arreglo q son iguales al promedio, asi como el resultado de elevar dicho numero al cubo\0A\00"
@.str.5 = [14 x i8] c"\09%d)\09%d^3=%d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [10 x i32]
%5 = alloca i32
%6 = alloca float
store i32 0, i32* %1
store i32 0, i32* %3
%7 = bitcast [10 x i32]* %4 to i8*
store i32 0, i32* %5
store float 0.000000e+00, float* %6
%8 = call i32 (...) @initscr()
%9 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %2
br label %11
11: ; preds = %19, %0
%12 = load i32, i32* %2
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %22
14: ; preds = %11
%15 = load i32, i32* %2
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %16
%18 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %17)
br label %19
19: ; preds = %14
%20 = load i32, i32* %2
%21 = add nsw i32 %20, 1
store i32 %21, i32* %2
br label %11
22: ; preds = %11
store i32 0, i32* %2
br label %23
23: ; preds = %33, %22
%24 = load i32, i32* %2
%25 = icmp slt i32 %24, 10
br i1 %25, label %26, label %36
26: ; preds = %23
%27 = load i32, i32* %2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %28
%30 = load i32, i32* %29
%31 = load i32, i32* %5
%32 = add nsw i32 %31, %30
store i32 %32, i32* %5
br label %33
33: ; preds = %26
%34 = load i32, i32* %2
%35 = add nsw i32 %34, 1
store i32 %35, i32* %2
br label %23
36: ; preds = %23
%37 = load i32, i32* %5
%38 = sdiv i32 %37, 10
%39 = sitofp i32 %38 to double
%40 = fmul double 1.000000e+00, %39
%41 = fptrunc double %40 to float
store float %41, float* %6
%42 = load float, float* %6
%43 = fpext float %42 to double
%44 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), double %43)
%45 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %2
br label %46
46: ; preds = %72, %36
%47 = load i32, i32* %2
%48 = icmp slt i32 %47, 10
br i1 %48, label %49, label %75
49: ; preds = %46
%50 = load i32, i32* %2
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %51
%53 = load i32, i32* %52
%54 = sitofp i32 %53 to float
%55 = load float, float* %6
%56 = fcmp oeq float %54, %55
br i1 %56, label %57, label %71
57: ; preds = %49
%58 = load i32, i32* %2
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %59
%61 = load i32, i32* %60
%62 = call i32 @pow(i32 %61, i32 3)
store i32 %62, i32* %3
%63 = load i32, i32* %2
%64 = add nsw i32 %63, 1
%65 = load i32, i32* %2
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %66
%68 = load i32, i32* %67
%69 = load i32, i32* %3
%70 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 %64, i32 %68, i32 %69)
br label %71
71: ; preds = %57, %49
br label %72
72: ; preds = %71
%73 = load i32, i32* %2
%74 = add nsw i32 %73, 1
store i32 %74, i32* %2
br label %46
75: ; preds = %46
%76 = call i32 (...) @getch()
%77 = call i32 (...) @endwin()
ret i32 0
}

LLVM IR (-O2):
@.str = [149 x i8] c"\09\0ABienvenido, Este programa suma los elementos de un arreglo.\0ADespues imprime el promedio asi como los numeros iguales al promedio elevados al cubo\0A\00"
@.str.1 = [43 x i8] c"\0A\09Introduce 10 numeros enteros aleatorios\0A\00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [48 x i8] c"El promedio que resulta de sus 10 num es: %.2f\0A\00"
@.str.4 = [133 x i8] c"Aconticuacion se despliegan los numeros del arreglo q son iguales al promedio, asi como el resultado de elevar dicho numero al cubo\0A\00"
@.str.5 = [14 x i8] c"\09%d)\09%d^3=%d\0A\00"
define i32 @main() {
%1 = alloca [10 x i32]
%2 = bitcast [10 x i32]* %1 to i8*
%3 = tail call i32 (...) @initscr()
%4 = tail call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([149 x i8], [149 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.1, i64 0, i64 0))
%6 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%7 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %6)
%8 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 1
%9 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %8)
%10 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 2
%11 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %10)
%12 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 3
%13 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %12)
%14 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 4
%15 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %14)
%16 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 5
%17 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %16)
%18 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 6
%19 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %18)
%20 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 7
%21 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %20)
%22 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 8
%23 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %22)
%24 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 9
%25 = call i32 @scanw(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %24)
%26 = load i32, i32* %6
%27 = load i32, i32* %8
%28 = bitcast i32* %10 to <8 x i32>*
%29 = load <8 x i32>, <8 x i32>* %28
%30 = call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %29)
%31 = add nsw i32 %30, %27
%32 = add nsw i32 %31, %26
%33 = sdiv i32 %32, 10
%34 = sitofp i32 %33 to float
%35 = fpext float %34 to double
%36 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), double %35)
%37 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str.4, i64 0, i64 0))
%38 = load i32, i32* %6
%39 = sitofp i32 %38 to float
%40 = fcmp oeq float %39, %34
br i1 %40, label %41, label %45
41: ; preds = %0
%42 = call i32 @pow(i32 %38, i32 3)
%43 = load i32, i32* %6
%44 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 1, i32 %43, i32 %42)
br label %45
45: ; preds = %0, %41
%46 = load i32, i32* %8
%47 = sitofp i32 %46 to float
%48 = fcmp oeq float %47, %34
br i1 %48, label %49, label %53
49: ; preds = %45
%50 = call i32 @pow(i32 %46, i32 3)
%51 = load i32, i32* %8
%52 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 2, i32 %51, i32 %50)
br label %53
53: ; preds = %49, %45
%54 = load i32, i32* %10
%55 = sitofp i32 %54 to float
%56 = fcmp oeq float %55, %34
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = call i32 @pow(i32 %54, i32 3)
%59 = load i32, i32* %10
%60 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 3, i32 %59, i32 %58)
br label %61
61: ; preds = %57, %53
%62 = load i32, i32* %12
%63 = sitofp i32 %62 to float
%64 = fcmp oeq float %63, %34
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = call i32 @pow(i32 %62, i32 3)
%67 = load i32, i32* %12
%68 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 %67, i32 %66)
br label %69
69: ; preds = %65, %61
%70 = load i32, i32* %14
%71 = sitofp i32 %70 to float
%72 = fcmp oeq float %71, %34
br i1 %72, label %73, label %77
73: ; preds = %69
%74 = call i32 @pow(i32 %70, i32 3)
%75 = load i32, i32* %14
%76 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 5, i32 %75, i32 %74)
br label %77
77: ; preds = %73, %69
%78 = load i32, i32* %16
%79 = sitofp i32 %78 to float
%80 = fcmp oeq float %79, %34
br i1 %80, label %81, label %85
81: ; preds = %77
%82 = call i32 @pow(i32 %78, i32 3)
%83 = load i32, i32* %16
%84 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 6, i32 %83, i32 %82)
br label %85
85: ; preds = %81, %77
%86 = load i32, i32* %18
%87 = sitofp i32 %86 to float
%88 = fcmp oeq float %87, %34
br i1 %88, label %89, label %93
89: ; preds = %85
%90 = call i32 @pow(i32 %86, i32 3)
%91 = load i32, i32* %18
%92 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 7, i32 %91, i32 %90)
br label %93
93: ; preds = %89, %85
%94 = load i32, i32* %20
%95 = sitofp i32 %94 to float
%96 = fcmp oeq float %95, %34
br i1 %96, label %97, label %101
97: ; preds = %93
%98 = call i32 @pow(i32 %94, i32 3)
%99 = load i32, i32* %20
%100 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 8, i32 %99, i32 %98)
br label %101
101: ; preds = %97, %93
%102 = load i32, i32* %22
%103 = sitofp i32 %102 to float
%104 = fcmp oeq float %103, %34
br i1 %104, label %105, label %109
105: ; preds = %101
%106 = call i32 @pow(i32 %102, i32 3)
%107 = load i32, i32* %22
%108 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 9, i32 %107, i32 %106)
br label %109
109: ; preds = %105, %101
%110 = load i32, i32* %24
%111 = sitofp i32 %110 to float
%112 = fcmp oeq float %111, %34
br i1 %112, label %113, label %117
113: ; preds = %109
%114 = call i32 @pow(i32 %110, i32 3)
%115 = load i32, i32* %24
%116 = call i32 (i8*, ...) @printw(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0), i32 10, i32 %115, i32 %114)
br label %117
117: ; preds = %113, %109
%118 = call i32 (...) @getch()
%119 = call i32 (...) @endwin()
ret i32 0
}