#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(int);
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;
  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(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("не верно введена функция \n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x35(%rbp)
call   1030 <printf@plt>
mov    -0x35(%rbp),%al
lea    0xeda(%rip),%rdi
mov    %rdi,-0x40(%rbp)
lea    -0x30(%rbp),%rsi
call   1050 <scanf@plt>
mov    -0x35(%rbp),%al
lea    0xec7(%rip),%rdi
call   1030 <printf@plt>
mov    -0x40(%rbp),%rdi
mov    -0x35(%rbp),%al
lea    -0x28(%rbp),%rsi
call   1050 <scanf@plt>
mov    -0x35(%rbp),%al
lea    0xebc(%rip),%rdi
call   1030 <printf@plt>
mov    -0x35(%rbp),%al
lea    0xf14(%rip),%rdi
lea    -0x5(%rbp),%rsi
call   1050 <scanf@plt>
movsbl -0x5(%rbp),%eax
mov    %eax,-0x34(%rbp)
sub    $0x46,%eax
je     138c <main+0x23c>
jmp    11dd <main+0x8d>
mov    -0x34(%rbp),%eax
sub    $0x47,%eax
je     11ff <main+0xaf>
jmp    11ee <main+0x9e>
mov    -0x34(%rbp),%eax
sub    $0x59,%eax
je     140f <main+0x2bf>
jmp    14b0 <main+0x360>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
imul   $0x2d,%eax,%eax
cvtsi2sd %eax,%xmm1
movsd  0xe0b(%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,-0x48(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x48(%rbp),%xmm0
shl    $0x2,%eax
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1282 <main+0x132>
jp     1282 <main+0x132>
jmp    1374 <main+0x224>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
cvtsi2sd %eax,%xmm1
movsd  0xd9b(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
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
imul   $0x1b,%eax,%eax
cvtsi2sd %eax,%xmm0
subsd  %xmm0,%xmm1
movsd  0xd55(%rip),%xmm0
mulsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
imul   $0x2d,%eax,%eax
cvtsi2sd %eax,%xmm1
movsd  0xd0f(%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,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x58(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm0
shl    $0x2,%eax
cvtsi2sd %eax,%xmm2
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  -0x10(%rbp),%xmm0
lea    0xd56(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    14be <main+0x36e>
movsd  -0x28(%rbp),%xmm1
mulsd  -0x28(%rbp),%xmm1
movsd  0xc82(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  0xc68(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x30(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  0xc46(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
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    0xcdd(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    14be <main+0x36e>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
shl    $0x1,%eax
cvtsi2sd %eax,%xmm1
movsd  0xbdb(%rip),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1070 <pow@plt>
movsd  -0x70(%rbp),%xmm0
imul   $0x9,%eax,%eax
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
movsd  0xb95(%rip),%xmm1
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1060 <log@plt>
movsd  %xmm0,-0x68(%rbp)
mov    $0xa,%edi
call   1060 <log@plt>
movaps %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
lea    0xc46(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    14be <main+0x36e>
lea    0xc3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x30,%rsp
lea    0xf09(%rip),%rdi
call   1030 <puts@plt>
lea    0xed8(%rip),%rbx
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xefa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <scanf@plt>
lea    0xef2(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9f(%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     132e <main+0x1ce>
cmp    $0x47,%eax
jne    13bf <main+0x25f>
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  0xe05(%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  0xdd0(%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  0xda1(%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    0xd87(%rip),%rdi
jmp    13b6 <main+0x256>
movsd  0x10(%rsp),%xmm0
movapd %xmm0,%xmm1
mulsd  0xd29(%rip),%xmm0
mulsd  %xmm1,%xmm1
movsd  0x20(%rsp),%xmm2
mulsd  0xd1f(%rip),%xmm1
mulsd  %xmm2,%xmm0
mulsd  %xmm2,%xmm2
mulsd  0xd17(%rip),%xmm2
addsd  %xmm0,%xmm1
addsd  %xmm1,%xmm2
cvttsd2si %xmm2,%edi
call   1050 <atan@plt>
xorpd  0xd1e(%rip),%xmm0
lea    0xd38(%rip),%rdi
jmp    13b6 <main+0x256>
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1080 <pow@plt>
add    %eax,%eax
cvtsi2sd %eax,%xmm1
movsd  0x10(%rsp),%xmm2
mulsd  0xcae(%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  0xc80(%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    0xcb9(%rip),%rdi
movapd %xmm1,%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
jmp    13cb <main+0x26b>
lea    0xd3b(%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 = [48 x i8] c"\D0\BD\D0\B5 \D0\B2\D0\B5\D1\80\D0\BD\D0\BE \D0\B2\D0\B2\D0\B5\D0\B4\D0\B5\D0\BD\D0\B0 \D1\84\D1\83\D0\BD\D0\BA\D1\86\D0\B8\D1\8F \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
store i32 0, i32* %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, 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* %7)
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), double* %6)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([103 x i8], [103 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), i8* %2)
%14 = load i8, i8* %2
%15 = sext i8 %14 to i32
switch i32 %15, label %104 [
i32 71, label %16
i32 70, label %65
i32 89, label %83
]
16: ; preds = %0
%17 = load double, double* %6
%18 = call i32 @pow(double %17, i32 2)
%19 = mul nsw i32 45, %18
%20 = sitofp i32 %19 to double
%21 = load double, double* %6
%22 = fmul double 2.900000e+01, %21
%23 = load double, double* %7
%24 = fneg double %22
%25 = call double @llvm.fmuladd.f64(double %24, double %23, double %20)
%26 = load double, double* %7
%27 = call i32 @pow(double %26, i32 2)
%28 = mul nsw i32 4, %27
%29 = sitofp i32 %28 to double
%30 = fadd double %25, %29
%31 = fcmp une double %30, 0.000000e+00
br i1 %31, label %32, label %62
32: ; preds = %16
%33 = load double, double* %6
%34 = call i32 @pow(double %33, i32 2)
%35 = sitofp i32 %34 to double
%36 = load double, double* %6
%37 = fmul double 2.400000e+01, %36
%38 = load double, double* %7
%39 = call double @llvm.fmuladd.f64(double %37, double %38, double %35)
%40 = load double, double* %7
%41 = call i32 @pow(double %40, i32 2)
%42 = mul nsw i32 27, %41
%43 = sitofp i32 %42 to double
%44 = fsub double %39, %43
%45 = fmul double 1.600000e+01, %44
%46 = fneg double %45
%47 = load double, double* %6
%48 = call i32 @pow(double %47, i32 2)
%49 = mul nsw i32 45, %48
%50 = sitofp i32 %49 to double
%51 = load double, double* %6
%52 = fmul double 2.900000e+01, %51
%53 = load double, double* %7
%54 = fneg double %52
%55 = call double @llvm.fmuladd.f64(double %54, double %53, double %50)
%56 = load double, double* %7
%57 = call i32 @pow(double %56, i32 2)
%58 = mul nsw i32 4, %57
%59 = sitofp i32 %58 to double
%60 = fadd double %55, %59
%61 = fdiv double %46, %60
store double %61, double* %3
br label %62
62: ; preds = %32, %16
%63 = load double, double* %3
%64 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), double %63)
br label %106
65: ; preds = %0
%66 = load double, double* %6
%67 = load double, double* %6
%68 = fmul double %66, %67
%69 = load double, double* %6
%70 = fmul double 1.300000e+01, %69
%71 = load double, double* %7
%72 = fmul double %70, %71
%73 = call double @llvm.fmuladd.f64(double 1.000000e+01, double %68, double %72)
%74 = load double, double* %7
%75 = load double, double* %7
%76 = fmul double %74, %75
%77 = call double @llvm.fmuladd.f64(double -3.000000e+01, double %76, double %73)
%78 = fptosi double %77 to i32
%79 = call double @atan(i32 %78)
%80 = fneg double %79
store double %80, double* %4
%81 = load double, double* %4
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), double %81)
br label %106
83: ; preds = %0
%84 = load double, double* %6
%85 = call i32 @pow(double %84, i32 2)
%86 = mul nsw i32 2, %85
%87 = sitofp i32 %86 to double
%88 = load double, double* %6
%89 = fmul double 1.900000e+01, %88
%90 = load double, double* %7
%91 = call double @llvm.fmuladd.f64(double %89, double %90, double %87)
%92 = load double, double* %7
%93 = call i32 @pow(double %92, i32 2)
%94 = mul nsw i32 9, %93
%95 = sitofp i32 %94 to double
%96 = fadd double %91, %95
%97 = fadd double %96, 1.000000e+00
%98 = fptosi double %97 to i32
%99 = call double @log(i32 %98)
%100 = call double @log(i32 10)
%101 = fdiv double %99, %100
store double %101, double* %5
%102 = load double, double* %5
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double %102)
br label %106
104: ; preds = %0
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
br label %106
106: ; preds = %104, %83, %65, %62
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 = [47 x i8] c"\D0\BD\D0\B5 \D0\B2\D0\B5\D1\80\D0\BD\D0\BE \D0\B2\D0\B2\D0\B5\D0\B4\D0\B5\D0\BD\D0\B0 \D1\84\D1\83\D0\BD\D0\BA\D1\86\D0\B8\D1\8F \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 = fptosi double %62 to i32
%64 = call double @atan(i32 %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 ([47 x i8], [47 x i8]* @str.11, i64 0, i64 0))
br label %88
88: ; preds = %86, %67, %54, %14
ret i32 0
}