#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 atof(char *);
int /*<<< orphan*/ gets(char *);
int /*<<< orphan*/ printf(char *, ...);
int main() {
  double xa, xb, xc;
  double ya, yb, yc;
  double ra, rb, rc;
  double x, y;
  double S, T;
  double y1, y2;
  char input[80];
  xa = 0;
  xb = 40;
  xc = 40;
  ya = 40;
  yb = 40;
  yc = 0;
  printf("\nDistance to R1: ");
  gets(input);
  ra = atof(input);
  printf("\nDistance to R2: ");
  gets(input);
  rb = atof(input);
  printf("\nDistance to R3: ");
  gets(input);
  rc = atof(input);
  printf("\nxa2: %f", (xa * xa));
  printf("\nxb2: %f", (xb * xb));
  printf("\nxc2: %f", (xc * xc));
  printf("\nya2: %f", (ya * ya));
  printf("\nyb2: %f", (yb * yb));
  printf("\nyc2: %f", (yc * yc));
  S = ((xc * xc) - (xb * xb) + (yc * yc) - (yb * yb) + (rb * rb) - (rc * rc)) /
      2.0;
  T = ((xa * xa) - (xb * xb) + (ya * ya) - (yb * yb) + (rb * rb) - (ra * ra)) /
      2.0;
  printf("\n((T*(xb-xc):%f) - (S*(xb-xa):%f)) / (((ya-yb)*(xb-xc):%f) - "
         "((yc-yb)*(xb-xa):%f))",
         (xb - xc), (xb - xa), (ya - yb) * (xb - xc), (yc - yb) * (xb - xa));
  y = ((T * (xb - xc)) - (S * (xb - xa))) /
      (((ya - yb) * (xb - xc)) - ((yc - yb) * (xb - xa)));
  x = ((y * (ya - yb)) - T) / (xb - xa);
  printf("\nPoint D: (%f,%f)\n", x, y);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xeb6(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xea9(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xe9c(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe8f(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x38(%rbp)
lea    0xe83(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0xd0(%rbp),%rdi
call   1050 <gets@plt>
lea    -0xd0(%rbp),%rdi
call   1030 <atof@plt>
movsd  %xmm0,-0x40(%rbp)
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0xd0(%rbp),%rdi
call   1050 <gets@plt>
lea    -0xd0(%rbp),%rdi
call   1030 <atof@plt>
movsd  %xmm0,-0x48(%rbp)
lea    0xe51(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0xd0(%rbp),%rdi
call   1050 <gets@plt>
lea    -0xd0(%rbp),%rdi
call   1030 <atof@plt>
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
lea    0xe2e(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x18(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
lea    0xe1f(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x20(%rbp),%xmm0
mulsd  -0x20(%rbp),%xmm0
lea    0xe10(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x28(%rbp),%xmm0
mulsd  -0x28(%rbp),%xmm0
lea    0xe01(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x30(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
lea    0xdf2(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x38(%rbp),%xmm0
mulsd  -0x38(%rbp),%xmm0
lea    0xde3(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
movsd  -0x20(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mulsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x38(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x30(%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  -0x48(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xcb8(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm1
mulsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x30(%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  -0x48(%rbp),%xmm1
movsd  -0x48(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x40(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xbfe(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x18(%rbp),%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
subsd  -0x10(%rbp),%xmm1
movsd  -0x28(%rbp),%xmm2
subsd  -0x30(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm3
subsd  -0x20(%rbp),%xmm3
mulsd  %xmm3,%xmm2
movsd  -0x38(%rbp),%xmm3
subsd  -0x30(%rbp),%xmm3
movsd  -0x18(%rbp),%xmm4
subsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm3
lea    0xc26(%rip),%rdi
mov    $0x4,%al
call   1040 <printf@plt>
movsd  -0x70(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm2
subsd  -0x20(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm3
subsd  -0x10(%rbp),%xmm3
mulsd  %xmm3,%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x28(%rbp),%xmm1
subsd  -0x30(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm3
subsd  -0x20(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm2
subsd  -0x30(%rbp),%xmm2
movsd  -0x18(%rbp),%xmm4
subsd  -0x10(%rbp),%xmm4
mulsd  %xmm4,%xmm2
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
subsd  -0x30(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
subsd  -0x10(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm1
lea    0xb86(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x70,%rsp
lea    0xeec(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
call   1050 <gets@plt>
mov    %rbx,%rdi
call   1030 <atof@plt>
movsd  %xmm0,0x18(%rsp)
lea    0xed5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1050 <gets@plt>
mov    %rbx,%rdi
call   1030 <atof@plt>
movsd  %xmm0,0x10(%rsp)
lea    0xec3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
call   1050 <gets@plt>
mov    %rbx,%rdi
call   1030 <atof@plt>
movsd  %xmm0,0x8(%rsp)
lea    0xeb1(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xea9(%rip),%rdi
movsd  0xe3a(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe9c(%rip),%rdi
movsd  0xe24(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe8f(%rip),%rdi
movsd  0xe0e(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe82(%rip),%rdi
movsd  0xdf8(%rip),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xe75(%rip),%rdi
xorps  %xmm0,%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
movsd  0x10(%rsp),%xmm1
mulsd  %xmm1,%xmm1
movsd  0xdd6(%rip),%xmm3
addsd  %xmm3,%xmm1
movsd  0x8(%rsp),%xmm0
mulsd  %xmm0,%xmm0
movapd %xmm1,%xmm2
subsd  %xmm0,%xmm2
movsd  0xdc0(%rip),%xmm0
mulsd  %xmm0,%xmm2
movsd  %xmm2,0x8(%rsp)
movsd  0x18(%rsp),%xmm2
mulsd  %xmm2,%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rsp)
lea    0xe1b(%rip),%rdi
movsd  0xd97(%rip),%xmm1
xorpd  %xmm0,%xmm0
xorpd  %xmm2,%xmm2
mov    $0x4,%al
call   1040 <printf@plt>
movsd  0x8(%rsp),%xmm3
mulsd  0xd82(%rip),%xmm3
movsd  0x10(%rsp),%xmm2
movapd %xmm2,%xmm1
xorpd  %xmm0,%xmm0
mulsd  %xmm0,%xmm1
addsd  %xmm3,%xmm1
divsd  0xd44(%rip),%xmm1
mulsd  %xmm1,%xmm0
subsd  %xmm2,%xmm0
divsd  0xd4c(%rip),%xmm0
lea    0xe14(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@.str = [18 x i8] c"\0ADistance to R1: \00"
@.str.1 = [18 x i8] c"\0ADistance to R2: \00"
@.str.2 = [18 x i8] c"\0ADistance to R3: \00"
@.str.3 = [9 x i8] c"\0Axa2: %f\00"
@.str.4 = [9 x i8] c"\0Axb2: %f\00"
@.str.5 = [9 x i8] c"\0Axc2: %f\00"
@.str.6 = [9 x i8] c"\0Aya2: %f\00"
@.str.7 = [9 x i8] c"\0Ayb2: %f\00"
@.str.8 = [9 x i8] c"\0Ayc2: %f\00"
@.str.9 = [83 x i8] c"\0A((T*(xb-xc):%f) - (S*(xb-xa):%f)) / (((ya-yb)*(xb-xc):%f) - ((yc-yb)*(xb-xa):%f))\00"
@.str.10 = [19 x i8] c"\0APoint D: (%f,%f)\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca [80 x i8]
store i32 0, i32* %1
store double 0.000000e+00, double* %2
store double 4.000000e+01, double* %3
store double 4.000000e+01, double* %4
store double 4.000000e+01, double* %5
store double 4.000000e+01, double* %6
store double 0.000000e+00, double* %7
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%19 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%20 = call i32 @gets(i8* %19)
%21 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%22 = call double @atof(i8* %21)
store double %22, double* %8
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%24 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%25 = call i32 @gets(i8* %24)
%26 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%27 = call double @atof(i8* %26)
store double %27, double* %9
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%29 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%30 = call i32 @gets(i8* %29)
%31 = getelementptr inbounds [80 x i8], [80 x i8]* %17, i64 0, i64 0
%32 = call double @atof(i8* %31)
store double %32, double* %10
%33 = load double, double* %2
%34 = load double, double* %2
%35 = fmul double %33, %34
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), double %35)
%37 = load double, double* %3
%38 = load double, double* %3
%39 = fmul double %37, %38
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double %39)
%41 = load double, double* %4
%42 = load double, double* %4
%43 = fmul double %41, %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), double %43)
%45 = load double, double* %5
%46 = load double, double* %5
%47 = fmul double %45, %46
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), double %47)
%49 = load double, double* %6
%50 = load double, double* %6
%51 = fmul double %49, %50
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), double %51)
%53 = load double, double* %7
%54 = load double, double* %7
%55 = fmul double %53, %54
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), double %55)
%57 = load double, double* %4
%58 = load double, double* %4
%59 = load double, double* %3
%60 = load double, double* %3
%61 = fmul double %59, %60
%62 = fneg double %61
%63 = call double @llvm.fmuladd.f64(double %57, double %58, double %62)
%64 = load double, double* %7
%65 = load double, double* %7
%66 = call double @llvm.fmuladd.f64(double %64, double %65, double %63)
%67 = load double, double* %6
%68 = load double, double* %6
%69 = fneg double %67
%70 = call double @llvm.fmuladd.f64(double %69, double %68, double %66)
%71 = load double, double* %9
%72 = load double, double* %9
%73 = call double @llvm.fmuladd.f64(double %71, double %72, double %70)
%74 = load double, double* %10
%75 = load double, double* %10
%76 = fneg double %74
%77 = call double @llvm.fmuladd.f64(double %76, double %75, double %73)
%78 = fdiv double %77, 2.000000e+00
store double %78, double* %13
%79 = load double, double* %2
%80 = load double, double* %2
%81 = load double, double* %3
%82 = load double, double* %3
%83 = fmul double %81, %82
%84 = fneg double %83
%85 = call double @llvm.fmuladd.f64(double %79, double %80, double %84)
%86 = load double, double* %5
%87 = load double, double* %5
%88 = call double @llvm.fmuladd.f64(double %86, double %87, double %85)
%89 = load double, double* %6
%90 = load double, double* %6
%91 = fneg double %89
%92 = call double @llvm.fmuladd.f64(double %91, double %90, double %88)
%93 = load double, double* %9
%94 = load double, double* %9
%95 = call double @llvm.fmuladd.f64(double %93, double %94, double %92)
%96 = load double, double* %8
%97 = load double, double* %8
%98 = fneg double %96
%99 = call double @llvm.fmuladd.f64(double %98, double %97, double %95)
%100 = fdiv double %99, 2.000000e+00
store double %100, double* %14
%101 = load double, double* %3
%102 = load double, double* %4
%103 = fsub double %101, %102
%104 = load double, double* %3
%105 = load double, double* %2
%106 = fsub double %104, %105
%107 = load double, double* %5
%108 = load double, double* %6
%109 = fsub double %107, %108
%110 = load double, double* %3
%111 = load double, double* %4
%112 = fsub double %110, %111
%113 = fmul double %109, %112
%114 = load double, double* %7
%115 = load double, double* %6
%116 = fsub double %114, %115
%117 = load double, double* %3
%118 = load double, double* %2
%119 = fsub double %117, %118
%120 = fmul double %116, %119
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.9, i64 0, i64 0), double %103, double %106, double %113, double %120)
%122 = load double, double* %14
%123 = load double, double* %3
%124 = load double, double* %4
%125 = fsub double %123, %124
%126 = load double, double* %13
%127 = load double, double* %3
%128 = load double, double* %2
%129 = fsub double %127, %128
%130 = fmul double %126, %129
%131 = fneg double %130
%132 = call double @llvm.fmuladd.f64(double %122, double %125, double %131)
%133 = load double, double* %5
%134 = load double, double* %6
%135 = fsub double %133, %134
%136 = load double, double* %3
%137 = load double, double* %4
%138 = fsub double %136, %137
%139 = load double, double* %7
%140 = load double, double* %6
%141 = fsub double %139, %140
%142 = load double, double* %3
%143 = load double, double* %2
%144 = fsub double %142, %143
%145 = fmul double %141, %144
%146 = fneg double %145
%147 = call double @llvm.fmuladd.f64(double %135, double %138, double %146)
%148 = fdiv double %132, %147
store double %148, double* %12
%149 = load double, double* %12
%150 = load double, double* %5
%151 = load double, double* %6
%152 = fsub double %150, %151
%153 = load double, double* %14
%154 = fneg double %153
%155 = call double @llvm.fmuladd.f64(double %149, double %152, double %154)
%156 = load double, double* %3
%157 = load double, double* %2
%158 = fsub double %156, %157
%159 = fdiv double %155, %158
store double %159, double* %11
%160 = load double, double* %11
%161 = load double, double* %12
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), double %160, double %161)
ret i32 0
}

LLVM IR (-O2):
@.str = [18 x i8] c"\0ADistance to R1: \00"
@.str.1 = [18 x i8] c"\0ADistance to R2: \00"
@.str.2 = [18 x i8] c"\0ADistance to R3: \00"
@.str.3 = [9 x i8] c"\0Axa2: %f\00"
@.str.4 = [9 x i8] c"\0Axb2: %f\00"
@.str.5 = [9 x i8] c"\0Axc2: %f\00"
@.str.6 = [9 x i8] c"\0Aya2: %f\00"
@.str.7 = [9 x i8] c"\0Ayb2: %f\00"
@.str.8 = [9 x i8] c"\0Ayc2: %f\00"
@.str.9 = [83 x i8] c"\0A((T*(xb-xc):%f) - (S*(xb-xa):%f)) / (((ya-yb)*(xb-xc):%f) - ((yc-yb)*(xb-xa):%f))\00"
@.str.10 = [19 x i8] c"\0APoint D: (%f,%f)\0A\00"
define i32 @main() {
%1 = alloca [80 x i8]
%2 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%4 = call i32 @gets(i8* %2)
%5 = call double @atof(i8* %2)
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 @gets(i8* %2)
%8 = call double @atof(i8* %2)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
%10 = call i32 @gets(i8* %2)
%11 = call double @atof(i8* %2)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), double 0.000000e+00)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.4, i64 0, i64 0), double 1.600000e+03)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), double 1.600000e+03)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0), double 1.600000e+03)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), double 1.600000e+03)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), double 0.000000e+00)
%18 = call double @llvm.fmuladd.f64(double %8, double %8, double -1.600000e+03)
%19 = fneg double %11
%20 = call double @llvm.fmuladd.f64(double %19, double %11, double %18)
%21 = fmul double %20, 5.000000e-01
%22 = fneg double %5
%23 = call double @llvm.fmuladd.f64(double %22, double %5, double %18)
%24 = fmul double %23, 5.000000e-01
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([83 x i8], [83 x i8]* @.str.9, i64 0, i64 0), double 0.000000e+00, double 4.000000e+01, double 0.000000e+00, double -1.600000e+03)
%26 = fmul double %21, -4.000000e+01
%27 = call double @llvm.fmuladd.f64(double %24, double 0.000000e+00, double %26)
%28 = fdiv double %27, 1.600000e+03
%29 = fneg double %24
%30 = call double @llvm.fmuladd.f64(double %28, double 0.000000e+00, double %29)
%31 = fdiv double %30, 4.000000e+01
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.10, i64 0, i64 0), double %31, double %28)
ret i32 0
}