#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 */
float pow(float, float);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  float masukan1 = 0.0f, masukan2 = 0.0f, hasil = 0.0f;
  char simbol = 'S';
  char ulang = 'Y';
  printf("Masukan bilangan pertama untuk dihitung: ");
  scanf("%f", &masukan1);
  while (ulang == 'Y' || ulang == 'y') {
    printf("Bilangan pertama adalah: %.2f", masukan1);
    printf("\nMasukan operator untuk menghitung. Terbatas untuk +-*/^: ");
    scanf("%s", &simbol);
    printf("Masukan bilangan kedua untuk dihitung: ");
    scanf("%f", &masukan2);
    switch (simbol) {
    case '+': {
      hasil = masukan1 + masukan2;
      printf("%.2f %c %.2f = %.2f", masukan1, simbol, masukan2, hasil);
    } break;
    case '-': {
      hasil = masukan1 - masukan2;
      printf("%.2f %c %.2f = %.2f", masukan1, simbol, masukan2, hasil);
    } break;
    case '/': {
      hasil = masukan1 / masukan2;
      printf("%.2f %c %.2f = %.2f", masukan1, simbol, masukan2, hasil);
    } break;
    case '*': {
      hasil = masukan1 * masukan2;
      printf("%.2f %c %.2f = %.2f", masukan1, simbol, masukan2, hasil);
    } break;
    case '^': {
      hasil = pow(masukan1, masukan2);
      printf("%.2f %c %.2f = %.2f", masukan1, simbol, masukan2, hasil);
    } break;
    default: {
      printf("Simbol tidak valid.");
    }
    }
    masukan1 = hasil;
    printf("\nApakah anda ingin menghitung lagi? Jika Tidak, tekan 'T'.");
    scanf("%s", &ulang);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x10(%rbp)
movb   $0x53,-0x11(%rbp)
movb   $0x59,-0x12(%rbp)
lea    0xe9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb6(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movsbl -0x12(%rbp),%ecx
mov    $0x1,%al
cmp    $0x59,%ecx
mov    %al,-0x13(%rbp)
je     119e <main+0x6e>
movsbl -0x12(%rbp),%eax
cmp    $0x79,%eax
sete   %al
mov    %al,-0x13(%rbp)
mov    -0x13(%rbp),%al
test   $0x1,%al
jne    11ae <main+0x7e>
jmp    13eb <main+0x2bb>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe6f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe7f(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x19(%rbp)
call   1030 <printf@plt>
mov    -0x19(%rbp),%al
lea    0xea6(%rip),%rdi
lea    -0x11(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x19(%rbp),%al
lea    0xe96(%rip),%rdi
call   1030 <printf@plt>
mov    -0x19(%rbp),%al
lea    0xe28(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1040 <scanf@plt>
movsbl -0x11(%rbp),%eax
mov    %eax,-0x18(%rbp)
sub    $0x2a,%eax
je     1327 <main+0x1f7>
jmp    1220 <main+0xf0>
mov    -0x18(%rbp),%eax
sub    $0x2b,%eax
je     1264 <main+0x134>
jmp    1231 <main+0x101>
mov    -0x18(%rbp),%eax
sub    $0x2d,%eax
je     12a5 <main+0x175>
jmp    1242 <main+0x112>
mov    -0x18(%rbp),%eax
sub    $0x2f,%eax
je     12e6 <main+0x1b6>
jmp    1253 <main+0x123>
mov    -0x18(%rbp),%eax
sub    $0x5e,%eax
je     1368 <main+0x238>
jmp    13ae <main+0x27e>
movss  -0x8(%rbp),%xmm0
addss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl -0x11(%rbp),%esi
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xe18(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
jmp    13bc <main+0x28c>
movss  -0x8(%rbp),%xmm0
subss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl -0x11(%rbp),%esi
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xdd7(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
jmp    13bc <main+0x28c>
movss  -0x8(%rbp),%xmm0
divss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl -0x11(%rbp),%esi
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xd96(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
jmp    13bc <main+0x28c>
movss  -0x8(%rbp),%xmm0
mulss  -0xc(%rbp),%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl -0x11(%rbp),%esi
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xd55(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
jmp    13bc <main+0x28c>
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
call   1050 <pow@plt>
movss  %xmm0,-0x10(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl -0x11(%rbp),%esi
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
lea    0xd0f(%rip),%rdi
mov    $0x3,%al
call   1030 <printf@plt>
jmp    13bc <main+0x28c>
lea    0xd10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x10(%rbp),%xmm0
movss  %xmm0,-0x8(%rbp)
lea    0xd0c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcab(%rip),%rdi
lea    -0x12(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
jmp    117f <main+0x4f>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
movl   $0x0,0x10(%rsp)
movl   $0x0,0x14(%rsp)
movb   $0x53,0x7(%rsp)
movb   $0x59,0xf(%rsp)
lea    0xeb9(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xed5(%rip),%rdi
lea    0x10(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
xorps  %xmm0,%xmm0
movss  %xmm0,0x8(%rsp)
lea    0xf15(%rip),%rbx
lea    0xf11(%rip),%rbp
lea    0x14(%rsp),%r14
lea    0xf55(%rip),%r15
lea    0xf(%rsp),%r12
lea    0xe58(%rip),%r13
jmp    121a <main+0xea>
movss  0x10(%rsp),%xmm2
movss  0x14(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
addss  %xmm1,%xmm2
movss  %xmm2,0x8(%rsp)
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
lea    0xef3(%rip),%rdi
mov    $0x2b,%esi
mov    $0x3,%al
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  %xmm0,0x10(%rsp)
mov    %r15,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
movzbl 0xf(%rsp),%eax
and    $0xdf,%al
cmp    $0x59,%al
jne    1387 <main+0x257>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe1a(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xe2a(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %rbx,%rdi
lea    0x7(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    %rbp,%rdi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xde2(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
movsbl 0x7(%rsp),%eax
lea    -0x2a(%rax),%ecx
cmp    $0x5,%ecx
ja     12c0 <main+0x190>
movslq 0x0(%r13,%rcx,4),%rax
add    %r13,%rax
jmp    *%rax
movss  0x10(%rsp),%xmm2
movss  0x14(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
mulss  %xmm1,%xmm2
movss  %xmm2,0x8(%rsp)
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
lea    0xe1c(%rip),%rdi
mov    $0x2a,%esi
jmp    11db <main+0xab>
nopw   0x0(%rax,%rax,1)
cmp    $0x5e,%eax
jne    1308 <main+0x1d8>
movss  0x10(%rsp),%xmm0
movss  0x14(%rsp),%xmm1
call   1050 <pow@plt>
movaps %xmm0,%xmm2
movss  %xmm0,0x8(%rsp)
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsbl 0x7(%rsp),%esi
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
lea    0xdc6(%rip),%rdi
jmp    11db <main+0xab>
lea    0xdce(%rip),%rdi
xor    %eax,%eax
call   1030 <printf@plt>
jmp    11e2 <main+0xb2>
movss  0x10(%rsp),%xmm2
movss  0x14(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
subss  %xmm1,%xmm2
movss  %xmm2,0x8(%rsp)
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
lea    0xd82(%rip),%rdi
mov    $0x2d,%esi
jmp    11db <main+0xab>
movss  0x10(%rsp),%xmm2
movss  0x14(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
divss  %xmm1,%xmm2
movss  %xmm2,0x8(%rsp)
cvtss2sd %xmm1,%xmm1
cvtss2sd %xmm2,%xmm2
lea    0xd4c(%rip),%rdi
mov    $0x2f,%esi
jmp    11db <main+0xab>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [42 x i8] c"Masukan bilangan pertama untuk dihitung: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [30 x i8] c"Bilangan pertama adalah: %.2f\00"
@.str.3 = [59 x i8] c"\0AMasukan operator untuk menghitung. Terbatas untuk +-*/^: \00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [40 x i8] c"Masukan bilangan kedua untuk dihitung: \00"
@.str.6 = [20 x i8] c"%.2f %c %.2f = %.2f\00"
@.str.7 = [20 x i8] c"Simbol tidak valid.\00"
@.str.8 = [59 x i8] c"\0AApakah anda ingin menghitung lagi? Jika Tidak, tekan 'T'.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca i8
%6 = alloca i8
store i32 0, i32* %1
store float 0.000000e+00, float* %2
store float 0.000000e+00, float* %3
store float 0.000000e+00, float* %4
store i8 83, i8* %5
store i8 89, i8* %6
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %2)
br label %9
9: ; preds = %96, %0
%10 = load i8, i8* %6
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 89
br i1 %12, label %17, label %13
13: ; preds = %9
%14 = load i8, i8* %6
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 121
br label %17
17: ; preds = %13, %9
%18 = phi i1 [ true, %9 ], [ %16, %13 ]
br i1 %18, label %19, label %100
19: ; preds = %17
%20 = load float, float* %2
%21 = fpext float %20 to double
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), double %21)
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%24 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %5)
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %3)
%27 = load i8, i8* %5
%28 = sext i8 %27 to i32
switch i32 %28, label %94 [
i32 43, label %29
i32 45, label %42
i32 47, label %55
i32 42, label %68
i32 94, label %81
]
29: ; preds = %19
%30 = load float, float* %2
%31 = load float, float* %3
%32 = fadd float %30, %31
store float %32, float* %4
%33 = load float, float* %2
%34 = fpext float %33 to double
%35 = load i8, i8* %5
%36 = sext i8 %35 to i32
%37 = load float, float* %3
%38 = fpext float %37 to double
%39 = load float, float* %4
%40 = fpext float %39 to double
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %34, i32 %36, double %38, double %40)
br label %96
42: ; preds = %19
%43 = load float, float* %2
%44 = load float, float* %3
%45 = fsub float %43, %44
store float %45, float* %4
%46 = load float, float* %2
%47 = fpext float %46 to double
%48 = load i8, i8* %5
%49 = sext i8 %48 to i32
%50 = load float, float* %3
%51 = fpext float %50 to double
%52 = load float, float* %4
%53 = fpext float %52 to double
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %47, i32 %49, double %51, double %53)
br label %96
55: ; preds = %19
%56 = load float, float* %2
%57 = load float, float* %3
%58 = fdiv float %56, %57
store float %58, float* %4
%59 = load float, float* %2
%60 = fpext float %59 to double
%61 = load i8, i8* %5
%62 = sext i8 %61 to i32
%63 = load float, float* %3
%64 = fpext float %63 to double
%65 = load float, float* %4
%66 = fpext float %65 to double
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %60, i32 %62, double %64, double %66)
br label %96
68: ; preds = %19
%69 = load float, float* %2
%70 = load float, float* %3
%71 = fmul float %69, %70
store float %71, float* %4
%72 = load float, float* %2
%73 = fpext float %72 to double
%74 = load i8, i8* %5
%75 = sext i8 %74 to i32
%76 = load float, float* %3
%77 = fpext float %76 to double
%78 = load float, float* %4
%79 = fpext float %78 to double
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %73, i32 %75, double %77, double %79)
br label %96
81: ; preds = %19
%82 = load float, float* %2
%83 = load float, float* %3
%84 = call float @pow(float %82, float %83)
store float %84, float* %4
%85 = load float, float* %2
%86 = fpext float %85 to double
%87 = load i8, i8* %5
%88 = sext i8 %87 to i32
%89 = load float, float* %3
%90 = fpext float %89 to double
%91 = load float, float* %4
%92 = fpext float %91 to double
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %86, i32 %88, double %90, double %92)
br label %96
94: ; preds = %19
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
br label %96
96: ; preds = %94, %81, %68, %55, %42, %29
%97 = load float, float* %4
store float %97, float* %2
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0))
%99 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %6)
br label %9
100: ; preds = %17
ret i32 0
}

LLVM IR (-O2):
@.str = [42 x i8] c"Masukan bilangan pertama untuk dihitung: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [30 x i8] c"Bilangan pertama adalah: %.2f\00"
@.str.3 = [59 x i8] c"\0AMasukan operator untuk menghitung. Terbatas untuk +-*/^: \00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [40 x i8] c"Masukan bilangan kedua untuk dihitung: \00"
@.str.6 = [20 x i8] c"%.2f %c %.2f = %.2f\00"
@.str.7 = [20 x i8] c"Simbol tidak valid.\00"
@.str.8 = [59 x i8] c"\0AApakah anda ingin menghitung lagi? Jika Tidak, tekan 'T'.\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca i8
%4 = alloca i8
%5 = bitcast float* %1 to i8*
store float 0.000000e+00, float* %1
%6 = bitcast float* %2 to i8*
store float 0.000000e+00, float* %2
store i8 83, i8* %3
store i8 89, i8* %4
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %1)
br label %9
9: ; preds = %0, %66
%10 = phi float [ %67, %66 ], [ 0.000000e+00, %0 ]
%11 = load float, float* %1
%12 = fpext float %11 to double
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.2, i64 0, i64 0), double %12)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %3)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%17 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %2)
%18 = load i8, i8* %3
%19 = sext i8 %18 to i32
switch i32 %19, label %64 [
i32 43, label %20
i32 45, label %28
i32 47, label %36
i32 42, label %44
i32 94, label %52
]
20: ; preds = %9
%21 = load float, float* %1
%22 = load float, float* %2
%23 = fadd float %21, %22
%24 = fpext float %21 to double
%25 = fpext float %22 to double
%26 = fpext float %23 to double
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %24, i32 43, double %25, double %26)
br label %66
28: ; preds = %9
%29 = load float, float* %1
%30 = load float, float* %2
%31 = fsub float %29, %30
%32 = fpext float %29 to double
%33 = fpext float %30 to double
%34 = fpext float %31 to double
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %32, i32 45, double %33, double %34)
br label %66
36: ; preds = %9
%37 = load float, float* %1
%38 = load float, float* %2
%39 = fdiv float %37, %38
%40 = fpext float %37 to double
%41 = fpext float %38 to double
%42 = fpext float %39 to double
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %40, i32 47, double %41, double %42)
br label %66
44: ; preds = %9
%45 = load float, float* %1
%46 = load float, float* %2
%47 = fmul float %45, %46
%48 = fpext float %45 to double
%49 = fpext float %46 to double
%50 = fpext float %47 to double
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %48, i32 42, double %49, double %50)
br label %66
52: ; preds = %9
%53 = load float, float* %1
%54 = load float, float* %2
%55 = call float @pow(float %53, float %54)
%56 = load float, float* %1
%57 = fpext float %56 to double
%58 = load i8, i8* %3
%59 = sext i8 %58 to i32
%60 = load float, float* %2
%61 = fpext float %60 to double
%62 = fpext float %55 to double
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), double %57, i32 %59, double %61, double %62)
br label %66
64: ; preds = %9
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0))
br label %66
66: ; preds = %64, %52, %44, %36, %28, %20
%67 = phi float [ %10, %64 ], [ %55, %52 ], [ %47, %44 ], [ %39, %36 ], [ %31, %28 ], [ %23, %20 ]
store float %67, float* %1
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str.8, i64 0, i64 0))
%69 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %4)
%70 = load i8, i8* %4
%71 = and i8 %70, -33
%72 = icmp eq i8 %71, 89
br i1 %72, label %9, label %73
73: ; preds = %66
ret i32 0
}