#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*/ exit(int /*<<< orphan*/);
float fabs(float);
float fnCalcDiscriminant(float, float, float);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, float *, float *, float *);
int sqrt(float);
int main(void) {
  float fA, fB, fC, fDesc, fX1, fX2, fRealp, fImagp;
  int iState;
  printf("\n*************************************************************");
  printf("\n*\tPROGRAM TO FIND ROOTS OF A QUADRATIC EQUATION\t    *\n");
  printf("*************************************************************");
  printf("\nEnter the coefficients of a,b,c \n");
  scanf("%f%f%f", &fA, &fB, &fC);
  if (0 == fA) {
    printf("\nInvalid input, not a quadratic equation - try again\n");
    exit(0);
  }
  fDesc = fnCalcDiscriminant(fA, fB, fC);
  ((0 == fDesc) ? (iState = 1) : ((fDesc > 0) ? (iState = 2) : (iState = 3)));
  switch (iState) {
  case 1:
    fX1 = fX2 = -fB / (2 * fA);
    printf("\nRoots are equal and the Roots are \n");
    printf("\nRoot1 = %g and Root2 = %g\n", fX1, fX2);
    break;
  case 2:
    fX1 = (-fB + sqrt(fDesc)) / (2 * fA);
    fX2 = (-fB - sqrt(fDesc)) / (2 * fA);
    printf("\nThe Roots are Real and distinct, they are \n");
    printf("\nRoot1 = %g and Root2 = %g\n", fX1, fX2);
    break;
  case 3:
    fRealp = -fB / (2 * fA);
    fImagp = sqrt(fabs(fDesc)) / (2 * fA);
    printf("\nThe Roots are imaginary and they are\n");
    printf("\nRoot1 = %g+i%g\n", fRealp, fImagp);
    printf("\nRoot2 = %g-i%g\n", fRealp, fImagp);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
call   1060 <scanf@plt>
xorps  %xmm0,%xmm0
ucomiss -0x8(%rbp),%xmm0
jne    11e7 <main+0x87>
jp     11e7 <main+0x87>
lea    0xecc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1080 <exit@plt>
movss  -0x8(%rbp),%xmm0
movss  -0xc(%rbp),%xmm1
movss  -0x10(%rbp),%xmm2
call   1050 <fnCalcDiscriminant@plt>
movss  %xmm0,-0x14(%rbp)
xorps  %xmm0,%xmm0
ucomiss -0x14(%rbp),%xmm0
jne    121f <main+0xbf>
jp     121f <main+0xbf>
movl   $0x1,-0x28(%rbp)
jmp    1256 <main+0xf6>
movss  -0x14(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    1244 <main+0xe4>
movl   $0x2,-0x28(%rbp)
mov    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    1253 <main+0xf3>
movl   $0x3,-0x28(%rbp)
mov    $0x3,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x28(%rbp),%eax
mov    %eax,-0x30(%rbp)
sub    $0x1,%eax
je     128c <main+0x12c>
jmp    126a <main+0x10a>
mov    -0x30(%rbp),%eax
sub    $0x2,%eax
je     12ec <main+0x18c>
jmp    127b <main+0x11b>
mov    -0x30(%rbp),%eax
sub    $0x3,%eax
je     13a7 <main+0x247>
jmp    1446 <main+0x2e6>
movss  -0xc(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  0xd5a(%rip),%xmm1
mulss  -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  %xmm0,-0x18(%rbp)
lea    0xe1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x1c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xe20(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
jmp    1446 <main+0x2e6>
movss  -0xc(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x14(%rbp),%xmm0
call   1070 <sqrt@plt>
movss  -0x38(%rbp),%xmm0
cvtsi2ss %eax,%xmm1
addss  %xmm1,%xmm0
movss  0xcde(%rip),%xmm1
mulss  -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0xc(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x14(%rbp),%xmm0
call   1070 <sqrt@plt>
movss  -0x34(%rbp),%xmm0
cvtsi2ss %eax,%xmm1
subss  %xmm1,%xmm0
movss  0xc9a(%rip),%xmm1
mulss  -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
lea    0xda1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x1c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd65(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
jmp    1446 <main+0x2e6>
movss  -0xc(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  0xc3f(%rip),%xmm1
mulss  -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x20(%rbp)
movss  -0x14(%rbp),%xmm0
call   1040 <fabs@plt>
call   1070 <sqrt@plt>
cvtsi2ss %eax,%xmm0
movss  0xc16(%rip),%xmm1
mulss  -0x8(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x24(%rbp)
lea    0xd4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x24(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd51(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  -0x20(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x24(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd42(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x48,%rsp
lea    0xeb5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf2b(%rip),%rdi
call   1030 <puts@plt>
lea    0xe9c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf48(%rip),%rdi
call   1030 <puts@plt>
lea    0xec0(%rip),%rdi
lea    0x8(%rsp),%rsi
lea    0xc(%rsp),%rdx
lea    0x2c(%rsp),%rcx
call   1060 <scanf@plt>
movss  0x8(%rsp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    11c7 <main+0x67>
jnp    1391 <main+0x231>
movss  0xc(%rsp),%xmm1
movss  0x2c(%rsp),%xmm2
call   1050 <fnCalcDiscriminant@plt>
xor    %ecx,%ecx
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
seta   %cl
xor    $0x3,%ecx
ucomiss %xmm1,%xmm0
mov    $0x1,%eax
cmovne %ecx,%eax
cmovp  %ecx,%eax
cmp    $0x3,%eax
je     12f0 <main+0x190>
cmp    $0x2,%eax
je     124f <main+0xef>
cmp    $0x1,%eax
jne    138a <main+0x22a>
movss  0xc(%rsp),%xmm1
xorps  0xde8(%rip),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm0,%xmm0
divss  %xmm0,%xmm1
movaps %xmm1,0x10(%rsp)
lea    0xf1d(%rip),%rdi
call   1030 <puts@plt>
movaps 0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe1f(%rip),%rdi
movaps %xmm0,%xmm1
jmp    1383 <main+0x223>
movss  0xc(%rsp),%xmm1
movss  %xmm1,0x10(%rsp)
movaps %xmm0,0x30(%rsp)
call   1070 <sqrt@plt>
xorps  %xmm1,%xmm1
cvtsi2ss %eax,%xmm1
subss  0x10(%rsp),%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm0,%xmm0
divss  %xmm0,%xmm1
movss  %xmm1,0x20(%rsp)
movss  0xc(%rsp),%xmm0
xorps  0xd6d(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0x30(%rsp),%xmm0
call   1070 <sqrt@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movaps 0x10(%rsp),%xmm1
subss  %xmm0,%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm0,%xmm0
divss  %xmm0,%xmm1
movaps %xmm1,0x10(%rsp)
lea    0xe57(%rip),%rdi
call   1030 <puts@plt>
movss  0x20(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movaps 0x10(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd7b(%rip),%rdi
jmp    1383 <main+0x223>
movss  0xc(%rsp),%xmm2
xorps  0xd03(%rip),%xmm2
movss  0x8(%rsp),%xmm1
addss  %xmm1,%xmm1
divss  %xmm1,%xmm2
movaps %xmm2,0x10(%rsp)
andps  0xcf9(%rip),%xmm0
call   1070 <sqrt@plt>
xorps  %xmm1,%xmm1
cvtsi2ss %eax,%xmm1
movss  0x8(%rsp),%xmm0
addss  %xmm0,%xmm0
divss  %xmm0,%xmm1
movss  %xmm1,0x20(%rsp)
lea    0xdbf(%rip),%rdi
call   1030 <puts@plt>
movaps 0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x10(%rsp)
movss  0x20(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  %xmm1,0x20(%rsp)
lea    0xd19(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
lea    0xd1c(%rip),%rdi
movsd  0x10(%rsp),%xmm0
movsd  0x20(%rsp),%xmm1
mov    $0x2,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x48,%rsp
ret
lea    0xddb(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1080 <exit@plt>

LLVM IR (-O0):
@.str = [63 x i8] c"\0A*************************************************************\00"
@.str.1 = [56 x i8] c"\0A*\09PROGRAM TO FIND ROOTS OF A QUADRATIC EQUATION\09 *\0A\00"
@.str.2 = [62 x i8] c"*************************************************************\00"
@.str.3 = [35 x i8] c"\0AEnter the coefficients of a,b,c \0A\00"
@.str.4 = [7 x i8] c"%f%f%f\00"
@.str.5 = [54 x i8] c"\0AInvalid input, not a quadratic equation - try again\0A\00"
@.str.6 = [37 x i8] c"\0ARoots are equal and the Roots are \0A\00"
@.str.7 = [28 x i8] c"\0ARoot1 = %g and Root2 = %g\0A\00"
@.str.8 = [45 x i8] c"\0AThe Roots are Real and distinct, they are \0A\00"
@.str.9 = [39 x i8] c"\0AThe Roots are imaginary and they are\0A\00"
@.str.10 = [17 x i8] c"\0ARoot1 = %g+i%g\0A\00"
@.str.11 = [17 x i8] c"\0ARoot2 = %g-i%g\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca i32
store i32 0, i32* %1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.1, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), float* %2, float* %3, float* %4)
%16 = load float, float* %2
%17 = fcmp oeq float 0.000000e+00, %16
br i1 %17, label %18, label %21
18: ; preds = %0
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.5, i64 0, i64 0))
%20 = call i32 @exit(i32 0)
unreachable
21: ; preds = %0
%22 = load float, float* %2
%23 = load float, float* %3
%24 = load float, float* %4
%25 = call float @fnCalcDiscriminant(float %22, float %23, float %24)
store float %25, float* %5
%26 = load float, float* %5
%27 = fcmp oeq float 0.000000e+00, %26
br i1 %27, label %28, label %29
28: ; preds = %21
store i32 1, i32* %10
br label %36
29: ; preds = %21
%30 = load float, float* %5
%31 = fcmp ogt float %30, 0.000000e+00
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 2, i32* %10
br label %34
33: ; preds = %29
store i32 3, i32* %10
br label %34
34: ; preds = %33, %32
%35 = phi i32 [ 2, %32 ], [ 3, %33 ]
br label %36
36: ; preds = %34, %28
%37 = phi i32 [ 1, %28 ], [ %35, %34 ]
%38 = load i32, i32* %10
switch i32 %38, label %100 [
i32 1, label %39
i32 2, label %51
i32 3, label %76
]
39: ; preds = %36
%40 = load float, float* %3
%41 = fneg float %40
%42 = load float, float* %2
%43 = fmul float 2.000000e+00, %42
%44 = fdiv float %41, %43
store float %44, float* %7
store float %44, float* %6
%45 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%46 = load float, float* %6
%47 = fpext float %46 to double
%48 = load float, float* %7
%49 = fpext float %48 to double
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), double %47, double %49)
br label %100
51: ; preds = %36
%52 = load float, float* %3
%53 = fneg float %52
%54 = load float, float* %5
%55 = call i32 @sqrt(float %54)
%56 = sitofp i32 %55 to float
%57 = fadd float %53, %56
%58 = load float, float* %2
%59 = fmul float 2.000000e+00, %58
%60 = fdiv float %57, %59
store float %60, float* %6
%61 = load float, float* %3
%62 = fneg float %61
%63 = load float, float* %5
%64 = call i32 @sqrt(float %63)
%65 = sitofp i32 %64 to float
%66 = fsub float %62, %65
%67 = load float, float* %2
%68 = fmul float 2.000000e+00, %67
%69 = fdiv float %66, %68
store float %69, float* %7
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%71 = load float, float* %6
%72 = fpext float %71 to double
%73 = load float, float* %7
%74 = fpext float %73 to double
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), double %72, double %74)
br label %100
76: ; preds = %36
%77 = load float, float* %3
%78 = fneg float %77
%79 = load float, float* %2
%80 = fmul float 2.000000e+00, %79
%81 = fdiv float %78, %80
store float %81, float* %8
%82 = load float, float* %5
%83 = call float @fabs(float %82)
%84 = call i32 @sqrt(float %83)
%85 = sitofp i32 %84 to float
%86 = load float, float* %2
%87 = fmul float 2.000000e+00, %86
%88 = fdiv float %85, %87
store float %88, float* %9
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.9, i64 0, i64 0))
%90 = load float, float* %8
%91 = fpext float %90 to double
%92 = load float, float* %9
%93 = fpext float %92 to double
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), double %91, double %93)
%95 = load float, float* %8
%96 = fpext float %95 to double
%97 = load float, float* %9
%98 = fpext float %97 to double
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), double %96, double %98)
br label %100
100: ; preds = %76, %36, %51, %39
ret i32 0
}

LLVM IR (-O2):
@.str = [63 x i8] c"\0A*************************************************************\00"
@.str.2 = [62 x i8] c"*************************************************************\00"
@.str.4 = [7 x i8] c"%f%f%f\00"
@.str.7 = [28 x i8] c"\0ARoot1 = %g and Root2 = %g\0A\00"
@.str.10 = [17 x i8] c"\0ARoot1 = %g+i%g\0A\00"
@.str.11 = [17 x i8] c"\0ARoot2 = %g-i%g\0A\00"
@str = [55 x i8] c"\0A*\09PROGRAM TO FIND ROOTS OF A QUADRATIC EQUATION\09 *\00"
@str.12 = [34 x i8] c"\0AEnter the coefficients of a,b,c \00"
@str.13 = [38 x i8] c"\0AThe Roots are imaginary and they are\00"
@str.14 = [44 x i8] c"\0AThe Roots are Real and distinct, they are \00"
@str.15 = [36 x i8] c"\0ARoots are equal and the Roots are \00"
@str.16 = [53 x i8] c"\0AInvalid input, not a quadratic equation - try again\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
%4 = bitcast float* %1 to i8*
%5 = bitcast float* %2 to i8*
%6 = bitcast float* %3 to i8*
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str, i64 0, i64 0))
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @.str.2, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.12, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), float* %1, float* %2, float* %3)
%12 = load float, float* %1
%13 = fcmp oeq float %12, 0.000000e+00
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.16, i64 0, i64 0))
%16 = call i32 @exit(i32 0)
unreachable
17: ; preds = %0
%18 = load float, float* %2
%19 = load float, float* %3
%20 = call float @fnCalcDiscriminant(float %12, float %18, float %19)
%21 = fcmp oeq float %20, 0.000000e+00
%22 = fcmp ogt float %20, 0.000000e+00
%23 = select i1 %22, i32 2, i32 3
%24 = select i1 %21, i32 1, i32 %23
switch i32 %24, label %71 [
i32 1, label %25
i32 2, label %34
i32 3, label %54
]
25: ; preds = %17
%26 = load float, float* %2
%27 = fneg float %26
%28 = load float, float* %1
%29 = fmul float %28, 2.000000e+00
%30 = fdiv float %27, %29
%31 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.15, i64 0, i64 0))
%32 = fpext float %30 to double
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), double %32, double %32)
br label %71
34: ; preds = %17
%35 = load float, float* %2
%36 = call i32 @sqrt(float %20)
%37 = sitofp i32 %36 to float
%38 = fsub float %37, %35
%39 = load float, float* %1
%40 = fmul float %39, 2.000000e+00
%41 = fdiv float %38, %40
%42 = load float, float* %2
%43 = fneg float %42
%44 = call i32 @sqrt(float %20)
%45 = sitofp i32 %44 to float
%46 = fsub float %43, %45
%47 = load float, float* %1
%48 = fmul float %47, 2.000000e+00
%49 = fdiv float %46, %48
%50 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.14, i64 0, i64 0))
%51 = fpext float %41 to double
%52 = fpext float %49 to double
%53 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.7, i64 0, i64 0), double %51, double %52)
br label %71
54: ; preds = %17
%55 = load float, float* %2
%56 = fneg float %55
%57 = load float, float* %1
%58 = fmul float %57, 2.000000e+00
%59 = fdiv float %56, %58
%60 = call float @llvm.fabs.f32(float %20)
%61 = call i32 @sqrt(float %60)
%62 = sitofp i32 %61 to float
%63 = load float, float* %1
%64 = fmul float %63, 2.000000e+00
%65 = fdiv float %62, %64
%66 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.13, i64 0, i64 0))
%67 = fpext float %59 to double
%68 = fpext float %65 to double
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), double %67, double %68)
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.11, i64 0, i64 0), double %67, double %68)
br label %71
71: ; preds = %54, %17, %34, %25
ret i32 0
}