#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 */
double atan(double const);
double log(int);
int pow(double, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  char r;
  double G, F, Y, a, x;
  const double pi = 3.14;
  printf("Введите x: \n");
  scanf("%lf", &x);
  printf("Введите a: \n");
  scanf("%lf", &a);
  printf("Введите букву выражения, которое xотите вычислить - G,F,Y) \n");
  scanf("%s", &r);
  switch (r) {
  case 'G':
    if ((45 * (pow(a, 2)) - 29 * a * x + 4 * (pow(x, 2))) != 0)
      G = -(16 * ((pow(a, 2) + 24 * a * x - 27 * (pow(x, 2))))) /
          (45 * (pow(a, 2)) - 29 * a * x + 4 * (pow(x, 2)));
    printf("G = %lf \n", G);
    break;
  case 'F':
    F = -(atan(pi * (10 * (a * a) + 13 * a * x - 30 * (x * x))));
    printf("F = %lf \n", F);
    break;
  case 'Y':
    Y = (log(2 * pow(a, 2) + 19 * a * x + 9 * pow(x, 2) + 1)) / log(10);
    printf("Y = %lf \n", Y);
    break;
  default:
    printf("ne veren vvod function \n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
movabs $0x40091eb851eb851f,%rax
1e 09 40
mov    %rax,-0x38(%rbp)
lea    0xed1(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x3d(%rbp)
call   1030 <printf@plt>
mov    -0x3d(%rbp),%al
lea    0xed1(%rip),%rdi
mov    %rdi,-0x48(%rbp)
lea    -0x30(%rbp),%rsi
call   1050 <scanf@plt>
mov    -0x3d(%rbp),%al
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
mov    -0x48(%rbp),%rdi
mov    -0x3d(%rbp),%al
lea    -0x28(%rbp),%rsi
call   1050 <scanf@plt>
mov    -0x3d(%rbp),%al
lea    0xeb3(%rip),%rdi
call   1030 <printf@plt>
mov    -0x3d(%rbp),%al
lea    0xf0b(%rip),%rdi
lea    -0x5(%rbp),%rsi
call   1050 <scanf@plt>
movsbl -0x5(%rbp),%eax
mov    %eax,-0x3c(%rbp)
sub    $0x46,%eax
je     139d <main+0x24d>
jmp    11ee <main+0x9e>
mov    -0x3c(%rbp),%eax
sub    $0x47,%eax
je     1210 <main+0xc0>
jmp    11ff <main+0xaf>
mov    -0x3c(%rbp),%eax
sub    $0x59,%eax
je     1428 <main+0x2d8>
jmp    14c9 <main+0x379>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
imul   $0x2d,%eax,%eax
cvtsi2sd %eax,%xmm1
movsd  0xe02(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x50(%rbp),%xmm0
shl    $0x2,%eax
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1293 <main+0x143>
jp     1293 <main+0x143>
jmp    1385 <main+0x235>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xd92(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x68(%rbp),%xmm1
imul   $0x1b,%eax,%eax
cvtsi2sd %eax,%xmm0
subsd  %xmm0,%xmm1
movsd  0xd4c(%rip),%xmm0
mulsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
imul   $0x2d,%eax,%eax
cvtsi2sd %eax,%xmm1
movsd  0xd06(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x60(%rbp),%xmm1
movsd  -0x58(%rbp),%xmm0
shl    $0x2,%eax
cvtsi2sd %eax,%xmm2
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
lea    0xd4d(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    14d7 <main+0x387>
movsd  -0x28(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  0xc79(%rip),%xmm1
mulsd  -0x28(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
movsd  0xc5f(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x30(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
movsd  0xc3d(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xc25(%rip),%xmm0
mulsd  %xmm1,%xmm0
call   1040 <atan@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
lea    0xccc(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    14d7 <main+0x387>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
shl    $0x1,%eax
cvtsi2sd %eax,%xmm1
movsd  0xbc2(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x78(%rbp),%xmm0
imul   $0x9,%eax,%eax
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
movsd  0xb7c(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1060 <log@plt>
movsd  %xmm0,-0x70(%rbp)
mov    $0xa,%edi
call   1060 <log@plt>
movaps %xmm0,%xmm1
movsd  -0x70(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
lea    0xc35(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    14d7 <main+0x387>
lea    0xc2c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x30,%rsp
lea    0xf19(%rip),%rdi
call   1030 <puts@plt>
lea    0xee8(%rip),%rbx
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xf0a(%rip),%rdi
call   1030 <puts@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xeaf(%rip),%rdi
lea    0xf(%rsp),%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
movsbl 0xf(%rsp),%eax
cmp    $0x46,%eax
je     12d5 <main+0x175>
cmp    $0x59,%eax
je     1332 <main+0x1d2>
cmp    $0x47,%eax
jne    13c3 <main+0x263>
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1080 <pow@plt>
movsd  0x20(%rsp),%xmm0
mov    $0x2,%edi
call   1080 <pow@plt>
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1080 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0x10(%rsp),%xmm2
mulsd  0xe0d(%rip),%xmm2
movsd  0x20(%rsp),%xmm0
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,0x18(%rsp)
mov    $0x2,%edi
call   1080 <pow@plt>
lea    (%rax,%rax,8),%eax
lea    (%rax,%rax,2),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x18(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xdd8(%rip),%xmm1
movsd  %xmm1,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1080 <pow@plt>
lea    (%rax,%rax,8),%eax
lea    (%rax,%rax,4),%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0x10(%rsp),%xmm2
movsd  0x20(%rsp),%xmm0
mulsd  0xda9(%rip),%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,0x28(%rsp)
mov    $0x2,%edi
call   1080 <pow@plt>
shl    $0x2,%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
addsd  0x28(%rsp),%xmm1
movsd  0x18(%rsp),%xmm0
divsd  %xmm1,%xmm0
lea    0xd97(%rip),%rdi
jmp    13ba <main+0x25a>
movsd  0x10(%rsp),%xmm1
movapd %xmm1,%xmm2
mulsd  0xd29(%rip),%xmm1
mulsd  %xmm2,%xmm2
movsd  0x20(%rsp),%xmm0
mulsd  0xd1f(%rip),%xmm2
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm0
mulsd  0xd17(%rip),%xmm0
addsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
mulsd  0xd0f(%rip),%xmm0
call   1050 <atan@plt>
xorpd  0xd2a(%rip),%xmm0
lea    0xd44(%rip),%rdi
jmp    13ba <main+0x25a>
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1080 <pow@plt>
add    %eax,%eax
cvtsi2sd %eax,%xmm1
movsd  0x10(%rsp),%xmm2
mulsd  0xcaa(%rip),%xmm2
movsd  0x20(%rsp),%xmm0
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,0x18(%rsp)
mov    $0x2,%edi
call   1080 <pow@plt>
lea    (%rax,%rax,8),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
addsd  0x18(%rsp),%xmm0
addsd  0xc7c(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1070 <log@plt>
movsd  %xmm0,0x18(%rsp)
mov    $0xa,%edi
call   1070 <log@plt>
movsd  0x18(%rsp),%xmm1
divsd  %xmm0,%xmm1
lea    0xcc5(%rip),%rdi
movapd %xmm1,%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
jmp    13cf <main+0x26f>
lea    0xd47(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [20 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 x: \0A\00"
@.str.1 = [4 x i8] c"%lf\00"
@.str.2 = [20 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 a: \0A\00"
@.str.3 = [103 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B1\D1\83\D0\BA\D0\B2\D1\83 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F, \D0\BA\D0\BE\D1\82\D0\BE\D1\80\D0\BE\D0\B5 x\D0\BE\D1\82\D0\B8\D1\82\D0\B5 \D0\B2\D1\8B\D1\87\D0\B8\D1\81\D0\BB\D0\B8\D1\82\D1\8C - G,F,Y) \0A\00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [10 x i8] c"G = %lf \0A\00"
@.str.6 = [10 x i8] c"F = %lf \0A\00"
@.str.7 = [10 x i8] c"Y = %lf \0A\00"
@.str.8 = [25 x i8] c"ne veren vvod function \0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
store i32 0, i32* %1
store double 3.140000e+00, double* %8
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %7)
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %6)
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([103 x i8], [103 x i8]* @.str.3, i64 0, i64 0))
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %2)
%15 = load i8, i8* %2
%16 = sext i8 %15 to i32
switch i32 %16, label %105 [
i32 71, label %17
i32 70, label %66
i32 89, label %84
]
17: ; preds = %0
%18 = load double, double* %6
%19 = call i32 @pow(double %18, i32 2)
%20 = mul nsw i32 45, %19
%21 = sitofp i32 %20 to double
%22 = load double, double* %6
%23 = fmul double 2.900000e+01, %22
%24 = load double, double* %7
%25 = fneg double %23
%26 = call double @llvm.fmuladd.f64(double %25, double %24, double %21)
%27 = load double, double* %7
%28 = call i32 @pow(double %27, i32 2)
%29 = mul nsw i32 4, %28
%30 = sitofp i32 %29 to double
%31 = fadd double %26, %30
%32 = fcmp une double %31, 0.000000e+00
br i1 %32, label %33, label %63
33: ; preds = %17
%34 = load double, double* %6
%35 = call i32 @pow(double %34, i32 2)
%36 = sitofp i32 %35 to double
%37 = load double, double* %6
%38 = fmul double 2.400000e+01, %37
%39 = load double, double* %7
%40 = call double @llvm.fmuladd.f64(double %38, double %39, double %36)
%41 = load double, double* %7
%42 = call i32 @pow(double %41, i32 2)
%43 = mul nsw i32 27, %42
%44 = sitofp i32 %43 to double
%45 = fsub double %40, %44
%46 = fmul double 1.600000e+01, %45
%47 = fneg double %46
%48 = load double, double* %6
%49 = call i32 @pow(double %48, i32 2)
%50 = mul nsw i32 45, %49
%51 = sitofp i32 %50 to double
%52 = load double, double* %6
%53 = fmul double 2.900000e+01, %52
%54 = load double, double* %7
%55 = fneg double %53
%56 = call double @llvm.fmuladd.f64(double %55, double %54, double %51)
%57 = load double, double* %7
%58 = call i32 @pow(double %57, i32 2)
%59 = mul nsw i32 4, %58
%60 = sitofp i32 %59 to double
%61 = fadd double %56, %60
%62 = fdiv double %47, %61
store double %62, double* %3
br label %63
63: ; preds = %33, %17
%64 = load double, double* %3
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), double %64)
br label %107
66: ; preds = %0
%67 = load double, double* %6
%68 = load double, double* %6
%69 = fmul double %67, %68
%70 = load double, double* %6
%71 = fmul double 1.300000e+01, %70
%72 = load double, double* %7
%73 = fmul double %71, %72
%74 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %69, double %73)
%75 = load double, double* %7
%76 = load double, double* %7
%77 = fmul double %75, %76
%78 = call double @llvm.fmuladd.f64(double -3.000000e+01, double %77, double %74)
%79 = fmul double 3.140000e+00, %78
%80 = call double @atan(double %79)
%81 = fneg double %80
store double %81, double* %4
%82 = load double, double* %4
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), double %82)
br label %107
84: ; preds = %0
%85 = load double, double* %6
%86 = call i32 @pow(double %85, i32 2)
%87 = mul nsw i32 2, %86
%88 = sitofp i32 %87 to double
%89 = load double, double* %6
%90 = fmul double 1.900000e+01, %89
%91 = load double, double* %7
%92 = call double @llvm.fmuladd.f64(double %90, double %91, double %88)
%93 = load double, double* %7
%94 = call i32 @pow(double %93, i32 2)
%95 = mul nsw i32 9, %94
%96 = sitofp i32 %95 to double
%97 = fadd double %92, %96
%98 = fadd double %97, 1.000000e+00
%99 = fptosi double %98 to i32
%100 = call double @log(i32 %99)
%101 = call double @log(i32 10)
%102 = fdiv double %100, %101
store double %102, double* %5
%103 = load double, double* %5
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double %103)
br label %107
105: ; preds = %0
%106 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.8, i64 0, i64 0))
br label %107
107: ; preds = %105, %84, %66, %63
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [4 x i8] c"%lf\00"
@.str.4 = [3 x i8] c"%s\00"
@.str.5 = [10 x i8] c"G = %lf \0A\00"
@.str.6 = [10 x i8] c"F = %lf \0A\00"
@.str.7 = [10 x i8] c"Y = %lf \0A\00"
@str = [19 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 x: \00"
@str.9 = [19 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 a: \00"
@str.10 = [102 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B1\D1\83\D0\BA\D0\B2\D1\83 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F, \D0\BA\D0\BE\D1\82\D0\BE\D1\80\D0\BE\D0\B5 x\D0\BE\D1\82\D0\B8\D1\82\D0\B5 \D0\B2\D1\8B\D1\87\D0\B8\D1\81\D0\BB\D0\B8\D1\82\D1\8C - G,F,Y) \00"
@str.11 = [24 x i8] c"ne veren vvod function \00"
define i32 @main() {
%1 = alloca i8
%2 = alloca double
%3 = alloca double
%4 = bitcast double* %2 to i8*
%5 = bitcast double* %3 to i8*
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 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), double* %3)
%8 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.9, i64 0, i64 0))
%9 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %2)
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([102 x i8], [102 x i8]* @str.10, i64 0, i64 0))
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i8* %1)
%12 = load i8, i8* %1
%13 = sext i8 %12 to i32
switch i32 %13, label %86 [
i32 71, label %14
i32 70, label %54
i32 89, label %67
]
14: ; preds = %0
%15 = load double, double* %2
%16 = call i32 @pow(double %15, i32 2)
%17 = mul nsw i32 %16, 45
%18 = sitofp i32 %17 to double
%19 = load double, double* %2
%20 = load double, double* %3
%21 = fmul double %19, -2.900000e+01
%22 = call double @llvm.fmuladd.f64(double %21, double %20, double %18)
%23 = call i32 @pow(double %20, i32 2)
%24 = shl nsw i32 %23, 2
%25 = sitofp i32 %24 to double
%26 = fadd double %22, %25
%27 = fcmp une double %26, 0.000000e+00
%28 = load double, double* %2
%29 = call i32 @pow(double %28, i32 2)
%30 = sitofp i32 %29 to double
%31 = load double, double* %2
%32 = fmul double %31, 2.400000e+01
%33 = load double, double* %3
%34 = call double @llvm.fmuladd.f64(double %32, double %33, double %30)
%35 = call i32 @pow(double %33, i32 2)
%36 = mul nsw i32 %35, 27
%37 = sitofp i32 %36 to double
%38 = fsub double %34, %37
%39 = fmul double %38, -1.600000e+01
%40 = load double, double* %2
%41 = call i32 @pow(double %40, i32 2)
%42 = mul nsw i32 %41, 45
%43 = sitofp i32 %42 to double
%44 = load double, double* %2
%45 = load double, double* %3
%46 = fmul double %44, -2.900000e+01
%47 = call double @llvm.fmuladd.f64(double %46, double %45, double %43)
%48 = call i32 @pow(double %45, i32 2)
%49 = shl nsw i32 %48, 2
%50 = sitofp i32 %49 to double
%51 = fadd double %47, %50
%52 = fdiv double %39, %51
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), double %52)
br label %88
54: ; preds = %0
%55 = load double, double* %2
%56 = fmul double %55, %55
%57 = fmul double %55, 1.300000e+01
%58 = load double, double* %3
%59 = fmul double %57, %58
%60 = call double @llvm.fmuladd.f64(double %56, double 1.000000e+01, double %59)
%61 = fmul double %58, %58
%62 = call double @llvm.fmuladd.f64(double %61, double -3.000000e+01, double %60)
%63 = fmul double %62, 3.140000e+00
%64 = call double @atan(double %63)
%65 = fneg double %64
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), double %65)
br label %88
67: ; preds = %0
%68 = load double, double* %2
%69 = call i32 @pow(double %68, i32 2)
%70 = shl nsw i32 %69, 1
%71 = sitofp i32 %70 to double
%72 = load double, double* %2
%73 = fmul double %72, 1.900000e+01
%74 = load double, double* %3
%75 = call double @llvm.fmuladd.f64(double %73, double %74, double %71)
%76 = call i32 @pow(double %74, i32 2)
%77 = mul nsw i32 %76, 9
%78 = sitofp i32 %77 to double
%79 = fadd double %75, %78
%80 = fadd double %79, 1.000000e+00
%81 = fptosi double %80 to i32
%82 = call double @log(i32 %81)
%83 = call double @log(i32 10)
%84 = fdiv double %82, %83
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double %84)
br label %88
86: ; preds = %0
%87 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.11, i64 0, i64 0))
br label %88
88: ; preds = %86, %67, %54, %14
ret i32 0
}