#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() {
  char z;
  float i, j;
  printf("Please choose one of the below options:\nc for (Circle)\nr for "
         "(Rectangle)\nt for (Triangle)\ns for (Sphere):");
  scanf(" %c", &z);
  switch (z) {
  case 'c':
    printf("\nYou've choosed Circle\n");
    printf("Please enter Radius of Circle: ");
    scanf("%f", &i);
    printf("The Enviroment is: %f\n", 6.28 * i);
    printf("The Space is: %f\n", 3.14 * i * i);
    break;
  case 'r':
    printf("\nYou've choosed Rectangle\n");
    printf("Please enter lentgh: ");
    scanf("%f", &i);
    printf("Please enter width: ");
    scanf("%f", &j);
    printf("The Enviroment is: %f\n", 2 * i + 2 * j);
    printf("The Space is: %f\n", i * j);
    break;
  case 't':
    printf("\nYou've choosed Triangle\n");
    printf("Please enter the base of triangle: ");
    scanf("%f", &i);
    printf("Please enter the height: ");
    scanf("%f", &j);
    printf("The space is: %f\n", i * j / 2);
    break;
  case 's':
    printf("\nYou've choosed Sphere\n");
    printf("Please enter Radius of Sphere: ");
    scanf("%f", &i);
    printf("The Enviroment is: %f\n", 3 * i * 3.14);
    printf("The Space is: %f\n", 3.14 * i * i * i);
    break;
  default:
    printf("The Entry is Wrong\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xf2a(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x19(%rbp)
call   1030 <printf@plt>
mov    -0x19(%rbp),%al
lea    0xf80(%rip),%rdi
lea    -0x5(%rbp),%rsi
call   1040 <scanf@plt>
movsbl -0x5(%rbp),%eax
add    $0xffffff9d,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x11,%eax
ja     13b4 <main+0x294>
mov    -0x18(%rbp),%rax
lea    0xea4(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf66(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe4c(%rip),%xmm0
mulsd  %xmm1,%xmm0
lea    0xf42(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe21(%rip),%xmm0
mulsd  %xmm1,%xmm0
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
lea    0xf29(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    13c2 <main+0x2a2>
lea    0xf28(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee0(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xf2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec0(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  -0xc(%rbp),%xmm0
movss  0xdb6(%rip),%xmm1
mulss  -0x10(%rbp),%xmm1
addss  %xmm0,%xmm0
addss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe93(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
mulss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe8e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    13c2 <main+0x2a2>
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe45(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xee3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe25(%rip),%rdi
lea    -0x10(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  -0xc(%rbp),%xmm0
mulss  -0x10(%rbp),%xmm0
movss  0xd16(%rip),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xec3(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    13c2 <main+0x2a2>
lea    0xec2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xecc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdca(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
movss  0xcc1(%rip),%xmm0
mulss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xca0(%rip),%xmm1
mulsd  %xmm1,%xmm0
lea    0xd9e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc7d(%rip),%xmm0
mulsd  %xmm1,%xmm0
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
lea    0xd78(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    13c2 <main+0x2a2>
lea    0xe5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x10,%rsp
lea    0xf24(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf80(%rip),%rdi
lea    0xb(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movsbl 0xb(%rsp),%eax
add    $0xffffff9d,%eax
cmp    $0x11,%eax
ja     11df <main+0xaf>
lea    0xeae(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1085(%rip),%rdi
call   1030 <puts@plt>
lea    0xf48(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf5a(%rip),%rdi
lea    0x4(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xe5e(%rip),%xmm0
lea    0xf38(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe36(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
jmp    12f0 <main+0x1c0>
lea    0x1030(%rip),%rdi
call   1030 <puts@plt>
jmp    136c <main+0x23c>
lea    0xfee(%rip),%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedd(%rip),%rbx
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xf09(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x4(%rsp),%xmm0
movss  0xc(%rsp),%xmm1
addss  %xmm1,%xmm1
addss  %xmm0,%xmm0
addss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe91(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
mulss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
jmp    12f0 <main+0x1c0>
lea    0xf35(%rip),%rdi
call   1030 <puts@plt>
lea    0xf09(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe54(%rip),%rdi
lea    0x4(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x4(%rsp),%xmm0
mulss  0xd4c(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
mulsd  0xd48(%rip),%xmm0
lea    0xe2a(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd28(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
lea    0xe11(%rip),%rdi
jmp    1365 <main+0x235>
lea    0xecc(%rip),%rdi
call   1030 <puts@plt>
lea    0xe39(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdd4(%rip),%rbx
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xe39(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <scanf@plt>
movss  0x4(%rsp),%xmm0
mulss  0xc(%rsp),%xmm0
mulss  0xcaa(%rip),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe1e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [106 x i8] c"Please choose one of the below options:\0Ac for (Circle)\0Ar for (Rectangle)\0At for (Triangle)\0As for (Sphere):\00"
@.str.1 = [4 x i8] c" %c\00"
@.str.2 = [24 x i8] c"\0AYou've choosed Circle\0A\00"
@.str.3 = [32 x i8] c"Please enter Radius of Circle: \00"
@.str.4 = [3 x i8] c"%f\00"
@.str.5 = [23 x i8] c"The Enviroment is: %f\0A\00"
@.str.6 = [18 x i8] c"The Space is: %f\0A\00"
@.str.7 = [27 x i8] c"\0AYou've choosed Rectangle\0A\00"
@.str.8 = [22 x i8] c"Please enter lentgh: \00"
@.str.9 = [21 x i8] c"Please enter width: \00"
@.str.10 = [26 x i8] c"\0AYou've choosed Triangle\0A\00"
@.str.11 = [36 x i8] c"Please enter the base of triangle: \00"
@.str.12 = [26 x i8] c"Please enter the height: \00"
@.str.13 = [18 x i8] c"The space is: %f\0A\00"
@.str.14 = [24 x i8] c"\0AYou've choosed Sphere\0A\00"
@.str.15 = [32 x i8] c"Please enter Radius of Sphere: \00"
@.str.16 = [20 x i8] c"The Entry is Wrong\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca float
%4 = alloca float
store i32 0, i32* %1
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([106 x i8], [106 x i8]* @.str, i64 0, i64 0))
%6 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %2)
%7 = load i8, i8* %2
%8 = sext i8 %7 to i32
switch i32 %8, label %72 [
i32 99, label %9
i32 114, label %24
i32 116, label %41
i32 115, label %53
]
9: ; preds = %0
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %3)
%13 = load float, float* %3
%14 = fpext float %13 to double
%15 = fmul double 6.280000e+00, %14
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %15)
%17 = load float, float* %3
%18 = fpext float %17 to double
%19 = fmul double 3.140000e+00, %18
%20 = load float, float* %3
%21 = fpext float %20 to double
%22 = fmul double %19, %21
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), double %22)
br label %74
24: ; preds = %0
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.7, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%27 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %3)
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%29 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %4)
%30 = load float, float* %3
%31 = load float, float* %4
%32 = fmul float 2.000000e+00, %31
%33 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %30, float %32)
%34 = fpext float %33 to double
%35 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %34)
%36 = load float, float* %3
%37 = load float, float* %4
%38 = fmul float %36, %37
%39 = fpext float %38 to double
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), double %39)
br label %74
41: ; preds = %0
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.10, i64 0, i64 0))
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.11, i64 0, i64 0))
%44 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %3)
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%46 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %4)
%47 = load float, float* %3
%48 = load float, float* %4
%49 = fmul float %47, %48
%50 = fdiv float %49, 2.000000e+00
%51 = fpext float %50 to double
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), double %51)
br label %74
53: ; preds = %0
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.14, i64 0, i64 0))
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%56 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %3)
%57 = load float, float* %3
%58 = fmul float 3.000000e+00, %57
%59 = fpext float %58 to double
%60 = fmul double %59, 3.140000e+00
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %60)
%62 = load float, float* %3
%63 = fpext float %62 to double
%64 = fmul double 3.140000e+00, %63
%65 = load float, float* %3
%66 = fpext float %65 to double
%67 = fmul double %64, %66
%68 = load float, float* %3
%69 = fpext float %68 to double
%70 = fmul double %67, %69
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), double %70)
br label %74
72: ; preds = %0
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0))
br label %74
74: ; preds = %72, %53, %41, %24, %9
ret i32 0
}

LLVM IR (-O2):
@.str = [106 x i8] c"Please choose one of the below options:\0Ac for (Circle)\0Ar for (Rectangle)\0At for (Triangle)\0As for (Sphere):\00"
@.str.1 = [4 x i8] c" %c\00"
@.str.3 = [32 x i8] c"Please enter Radius of Circle: \00"
@.str.4 = [3 x i8] c"%f\00"
@.str.5 = [23 x i8] c"The Enviroment is: %f\0A\00"
@.str.6 = [18 x i8] c"The Space is: %f\0A\00"
@.str.8 = [22 x i8] c"Please enter lentgh: \00"
@.str.9 = [21 x i8] c"Please enter width: \00"
@.str.11 = [36 x i8] c"Please enter the base of triangle: \00"
@.str.12 = [26 x i8] c"Please enter the height: \00"
@.str.13 = [18 x i8] c"The space is: %f\0A\00"
@.str.15 = [32 x i8] c"Please enter Radius of Sphere: \00"
@str = [23 x i8] c"\0AYou've choosed Sphere\00"
@str.17 = [25 x i8] c"\0AYou've choosed Triangle\00"
@str.18 = [26 x i8] c"\0AYou've choosed Rectangle\00"
@str.19 = [23 x i8] c"\0AYou've choosed Circle\00"
@str.20 = [19 x i8] c"The Entry is Wrong\00"
define i32 @main() {
%1 = alloca i8
%2 = alloca float
%3 = alloca float
%4 = bitcast float* %2 to i8*
%5 = bitcast float* %3 to i8*
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([106 x i8], [106 x i8]* @.str, i64 0, i64 0))
%7 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%8 = load i8, i8* %1
%9 = sext i8 %8 to i32
switch i32 %9, label %67 [
i32 99, label %10
i32 114, label %23
i32 116, label %40
i32 115, label %52
]
10: ; preds = %0
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.19, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
%13 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %2)
%14 = load float, float* %2
%15 = fpext float %14 to double
%16 = fmul double %15, 6.280000e+00
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %16)
%18 = load float, float* %2
%19 = fpext float %18 to double
%20 = fmul double %19, 3.140000e+00
%21 = fmul double %20, %19
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), double %21)
br label %69
23: ; preds = %0
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.18, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %2)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0))
%28 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %3)
%29 = load float, float* %2
%30 = load float, float* %3
%31 = fmul float %30, 2.000000e+00
%32 = call float @llvm.fmuladd.f32(float %29, float 2.000000e+00, float %31)
%33 = fpext float %32 to double
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %33)
%35 = load float, float* %2
%36 = load float, float* %3
%37 = fmul float %35, %36
%38 = fpext float %37 to double
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), double %38)
br label %69
40: ; preds = %0
%41 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.17, i64 0, i64 0))
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str.11, i64 0, i64 0))
%43 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %2)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.12, i64 0, i64 0))
%45 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %3)
%46 = load float, float* %2
%47 = load float, float* %3
%48 = fmul float %46, %47
%49 = fmul float %48, 5.000000e-01
%50 = fpext float %49 to double
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.13, i64 0, i64 0), double %50)
br label %69
52: ; preds = %0
%53 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str, i64 0, i64 0))
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.15, i64 0, i64 0))
%55 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), float* %2)
%56 = load float, float* %2
%57 = fmul float %56, 3.000000e+00
%58 = fpext float %57 to double
%59 = fmul double %58, 3.140000e+00
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0), double %59)
%61 = load float, float* %2
%62 = fpext float %61 to double
%63 = fmul double %62, 3.140000e+00
%64 = fmul double %63, %62
%65 = fmul double %64, %62
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), double %65)
br label %69
67: ; preds = %0
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.20, i64 0, i64 0))
br label %69
69: ; preds = %67, %52, %40, %23, %10
ret i32 0
}