#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*/);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, float *, float *);
int main(void) {
  float x0 = 0, x1 = 0, x2 = 0, y0 = 0, y1 = 0, y2 = 0;
  int iter = 0;
  printf(
      "The Solution for the Equation using regula falsi method : x*x-x-6=0 \n");
  do {
    printf("Enter Range :");
    scanf("%f %f", &x0, &x1);
    y0 = x0 * x0 - x0 - 6, y1 = x1 * x1 - x1 - 6;
    if (y0 == 0) {
      printf("The solution is %f\n", x0);
      exit(0);
    } else if (y1 == 0) {
      printf("The solution is %f\n", x1);
      exit(0);
    }
  } while ((y0 * y1) > 0);
  printf("Iteration  \tA \t B  \t C  \t   f(A) \t f(B) \t  f(C)");
  do {
    x2 = (x0 * y1 - y0 * x1) / (y1 - y0);
    y2 = x2 * x2 - x2 - 6;
    printf("\n%d\t  %f   %f  %f  %f  %f   %f\n", (++iter), x0, x1, x2, y0, y1,
           y2);
    if (y0 * y2 > 0) {
      x0 = x2;
      y0 = y2;
    } else {
      x1 = x2;
      y0 = y2;
    }
    y0 = x0 * x0 - x0 - 6, y1 = x1 * x1 - x1 - 6;
  } while (y2 >= 0.000001 || y2 <= -0.000001);
  printf("\nThe solution is %f \n ", x2);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x10(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x14(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
lea    0xe9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
call   1040 <scanf@plt>
movss  -0x8(%rbp),%xmm0
movss  -0x8(%rbp),%xmm2
movss  -0x8(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xe2e(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0xc(%rbp),%xmm0
movss  -0xc(%rbp),%xmm2
movss  -0xc(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xdf9(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x14(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1245 <main+0x115>
jp     1245 <main+0x115>
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe3b(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    127a <main+0x14a>
jp     127a <main+0x14a>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe06(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>
jmp    127f <main+0x14f>
jmp    1284 <main+0x154>
movss  -0x14(%rbp),%xmm0
mulss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
ja     1184 <main+0x54>
lea    0xde5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x8(%rbp),%xmm0
movss  -0x18(%rbp),%xmm2
movss  -0x14(%rbp),%xmm1
mulss  -0xc(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x18(%rbp),%xmm1
subss  -0x14(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x10(%rbp)
movss  -0x10(%rbp),%xmm0
movss  -0x10(%rbp),%xmm2
movss  -0x10(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xcf0(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x20(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x20(%rbp)
movss  -0x8(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x10(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
movss  -0x14(%rbp),%xmm3
cvtss2sd %xmm3,%xmm3
movss  -0x18(%rbp),%xmm4
cvtss2sd %xmm4,%xmm4
movss  -0x1c(%rbp),%xmm5
cvtss2sd %xmm5,%xmm5
lea    0xd57(%rip),%rdi
mov    $0x6,%al
call   1030 <printf@plt>
movss  -0x14(%rbp),%xmm0
mulss  -0x1c(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    1395 <main+0x265>
movss  -0x10(%rbp),%xmm0
movss  %xmm0,-0x8(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x14(%rbp)
jmp    13a9 <main+0x279>
movss  -0x10(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x8(%rbp),%xmm0
movss  -0x8(%rbp),%xmm2
movss  -0x8(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xc2b(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0xc(%rbp),%xmm0
movss  -0xc(%rbp),%xmm2
movss  -0xc(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  0xbf6(%rip),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    $0x1,%al
movsd  0xbe2(%rip),%xmm1
ucomisd %xmm1,%xmm0
mov    %al,-0x21(%rbp)
jae    144e <main+0x31e>
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xbcc(%rip),%xmm0
ucomisd %xmm1,%xmm0
setae  %al
mov    %al,-0x21(%rbp)
mov    -0x21(%rbp),%al
test   $0x1,%al
jne    12a8 <main+0x178>
movss  -0x10(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xc6d(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x58,%rsp
movl   $0x0,0x8(%rsp)
movl   $0x0,0x4(%rsp)
lea    0xf55(%rip),%rdi
call   1030 <puts@plt>
lea    0xeba(%rip),%r14
lea    0xec1(%rip),%r15
lea    0x8(%rsp),%r12
lea    0x4(%rsp),%rbx
nop
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
call   1050 <scanf@plt>
xorps  %xmm4,%xmm4
movss  0x8(%rsp),%xmm1
movss  0x4(%rsp),%xmm0
movaps %xmm0,%xmm2
unpcklps %xmm1,%xmm2
movaps %xmm2,%xmm3
mulps  %xmm2,%xmm3
subps  %xmm2,%xmm3
addps  0xe43(%rip),%xmm3
movaps %xmm3,%xmm2
shufps $0x55,%xmm3,%xmm2
ucomiss %xmm4,%xmm2
jne    11cf <main+0x8f>
jnp    1370 <main+0x230>
ucomiss %xmm4,%xmm3
jne    11da <main+0x9a>
jnp    1379 <main+0x239>
movaps %xmm3,%xmm0
mulss  %xmm2,%xmm0
ucomiss %xmm4,%xmm0
ja     1180 <main+0x40>
lea    0xe63(%rip),%rdi
xor    %eax,%eax
movaps %xmm3,0x10(%rsp)
call   1040 <printf@plt>
movaps 0x10(%rsp),%xmm6
movss  0x8(%rsp),%xmm7
mov    $0x1,%ebx
movss  0x4(%rsp),%xmm2
movss  0xdf9(%rip),%xmm3
lea    0xe62(%rip),%r14
xchg   %ax,%ax
movaps %xmm6,%xmm5
shufps $0x55,%xmm6,%xmm5
xorps  %xmm1,%xmm1
cvtss2sd %xmm2,%xmm1
mulss  %xmm5,%xmm2
xorps  %xmm0,%xmm0
cvtss2sd %xmm7,%xmm0
mulss  %xmm6,%xmm7
subss  %xmm2,%xmm7
xorps  %xmm4,%xmm4
cvtss2sd %xmm6,%xmm4
subss  %xmm5,%xmm6
movaps %xmm5,0x40(%rsp)
divss  %xmm6,%xmm7
movss  %xmm7,0xc(%rsp)
movaps %xmm7,%xmm6
mulss  %xmm7,%xmm6
subss  %xmm7,%xmm6
addss  %xmm3,%xmm6
movaps %xmm6,0x30(%rsp)
xorps  %xmm2,%xmm2
cvtss2sd %xmm7,%xmm2
xorps  %xmm3,%xmm3
cvtss2sd %xmm5,%xmm3
xorps  %xmm5,%xmm5
cvtss2sd %xmm6,%xmm5
mov    %r14,%rdi
mov    %ebx,%esi
movsd  %xmm2,0x28(%rsp)
movsd  %xmm5,0x10(%rsp)
mov    $0x6,%al
call   1040 <printf@plt>
movaps 0x30(%rsp),%xmm3
movaps 0x40(%rsp),%xmm0
mulss  %xmm3,%xmm0
ucomiss 0xd63(%rip),%xmm0
jbe    12f0 <main+0x1b0>
movss  0xc(%rsp),%xmm1
movss  %xmm1,0x8(%rsp)
movss  0x4(%rsp),%xmm2
movaps %xmm2,%xmm6
mulss  %xmm2,%xmm6
subss  %xmm2,%xmm6
movss  0xd38(%rip),%xmm0
addss  %xmm0,%xmm6
unpcklps %xmm3,%xmm6
movaps %xmm0,%xmm3
movaps %xmm1,%xmm7
jmp    1325 <main+0x1e5>
nopw   0x0(%rax,%rax,1)
movss  0xc(%rsp),%xmm2
movss  %xmm2,0x4(%rsp)
movss  0x8(%rsp),%xmm0
movaps %xmm0,%xmm1
mulss  %xmm0,%xmm1
subss  %xmm0,%xmm1
movss  0xcfb(%rip),%xmm4
addss  %xmm4,%xmm1
unpcklps %xmm1,%xmm3
movaps %xmm0,%xmm7
movaps %xmm3,%xmm6
movaps %xmm4,%xmm3
add    $0x1,%ebx
movsd  0x10(%rsp),%xmm1
ucomisd 0xce2(%rip),%xmm1
jae    1220 <main+0xe0>
movsd  0xcdc(%rip),%xmm0
ucomisd %xmm1,%xmm0
jae    1220 <main+0xe0>
lea    0xd4b(%rip),%rdi
movsd  0x28(%rsp),%xmm0
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
jmp    137d <main+0x23d>
cvtss2sd %xmm0,%xmm0
lea    0xcb8(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %edi,%edi
call   1060 <exit@plt>

LLVM IR (-O0):
@.str = [70 x i8] c"The Solution for the Equation using regula falsi method : x*x-x-6=0 \0A\00"
@.str.1 = [14 x i8] c"Enter Range :\00"
@.str.2 = [6 x i8] c"%f %f\00"
@.str.3 = [20 x i8] c"The solution is %f\0A\00"
@.str.4 = [48 x i8] c"Iteration \09A \09 B \09 C \09 f(A) \09 f(B) \09 f(C)\00"
@.str.5 = [32 x i8] c"\0A%d\09 %f %f %f %f %f %f\0A\00"
@.str.6 = [23 x i8] c"\0AThe solution is %f \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 i32
store i32 0, i32* %1
store float 0.000000e+00, float* %2
store float 0.000000e+00, float* %3
store float 0.000000e+00, float* %4
store float 0.000000e+00, float* %5
store float 0.000000e+00, float* %6
store float 0.000000e+00, float* %7
store i32 0, i32* %8
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %42, %0
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), float* %2, float* %3)
%13 = load float, float* %2
%14 = load float, float* %2
%15 = load float, float* %2
%16 = fneg float %15
%17 = call float @llvm.fmuladd.f32(float %13, float %14, float %16)
%18 = fsub float %17, 6.000000e+00
store float %18, float* %5
%19 = load float, float* %3
%20 = load float, float* %3
%21 = load float, float* %3
%22 = fneg float %21
%23 = call float @llvm.fmuladd.f32(float %19, float %20, float %22)
%24 = fsub float %23, 6.000000e+00
store float %24, float* %6
%25 = load float, float* %5
%26 = fcmp oeq float %25, 0.000000e+00
br i1 %26, label %27, label %32
27: ; preds = %10
%28 = load float, float* %2
%29 = fpext float %28 to double
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %29)
%31 = call i32 @exit(i32 0)
unreachable
32: ; preds = %10
%33 = load float, float* %6
%34 = fcmp oeq float %33, 0.000000e+00
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load float, float* %3
%37 = fpext float %36 to double
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %37)
%39 = call i32 @exit(i32 0)
unreachable
40: ; preds = %32
br label %41
41: ; preds = %40
br label %42
42: ; preds = %41
%43 = load float, float* %5
%44 = load float, float* %6
%45 = fmul float %43, %44
%46 = fcmp ogt float %45, 0.000000e+00
br i1 %46, label %10, label %47
47: ; preds = %42
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
br label %49
49: ; preds = %113, %47
%50 = load float, float* %2
%51 = load float, float* %6
%52 = load float, float* %5
%53 = load float, float* %3
%54 = fmul float %52, %53
%55 = fneg float %54
%56 = call float @llvm.fmuladd.f32(float %50, float %51, float %55)
%57 = load float, float* %6
%58 = load float, float* %5
%59 = fsub float %57, %58
%60 = fdiv float %56, %59
store float %60, float* %4
%61 = load float, float* %4
%62 = load float, float* %4
%63 = load float, float* %4
%64 = fneg float %63
%65 = call float @llvm.fmuladd.f32(float %61, float %62, float %64)
%66 = fsub float %65, 6.000000e+00
store float %66, float* %7
%67 = load i32, i32* %8
%68 = add nsw i32 %67, 1
store i32 %68, i32* %8
%69 = load float, float* %2
%70 = fpext float %69 to double
%71 = load float, float* %3
%72 = fpext float %71 to double
%73 = load float, float* %4
%74 = fpext float %73 to double
%75 = load float, float* %5
%76 = fpext float %75 to double
%77 = load float, float* %6
%78 = fpext float %77 to double
%79 = load float, float* %7
%80 = fpext float %79 to double
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %68, double %70, double %72, double %74, double %76, double %78, double %80)
%82 = load float, float* %5
%83 = load float, float* %7
%84 = fmul float %82, %83
%85 = fcmp ogt float %84, 0.000000e+00
br i1 %85, label %86, label %89
86: ; preds = %49
%87 = load float, float* %4
store float %87, float* %2
%88 = load float, float* %7
store float %88, float* %5
br label %92
89: ; preds = %49
%90 = load float, float* %4
store float %90, float* %3
%91 = load float, float* %7
store float %91, float* %5
br label %92
92: ; preds = %89, %86
%93 = load float, float* %2
%94 = load float, float* %2
%95 = load float, float* %2
%96 = fneg float %95
%97 = call float @llvm.fmuladd.f32(float %93, float %94, float %96)
%98 = fsub float %97, 6.000000e+00
store float %98, float* %5
%99 = load float, float* %3
%100 = load float, float* %3
%101 = load float, float* %3
%102 = fneg float %101
%103 = call float @llvm.fmuladd.f32(float %99, float %100, float %102)
%104 = fsub float %103, 6.000000e+00
store float %104, float* %6
br label %105
105: ; preds = %92
%106 = load float, float* %7
%107 = fpext float %106 to double
%108 = fcmp oge double %107, 0x3EB0C6F7A0B5ED8D
br i1 %108, label %113, label %109
109: ; preds = %105
%110 = load float, float* %7
%111 = fpext float %110 to double
%112 = fcmp ole double %111, 0xBEB0C6F7A0B5ED8D
br label %113
113: ; preds = %109, %105
%114 = phi i1 [ true, %105 ], [ %112, %109 ]
br i1 %114, label %49, label %115
115: ; preds = %113
%116 = load float, float* %4
%117 = fpext float %116 to double
%118 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0), double %117)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [14 x i8] c"Enter Range :\00"
@.str.2 = [6 x i8] c"%f %f\00"
@.str.3 = [20 x i8] c"The solution is %f\0A\00"
@.str.4 = [48 x i8] c"Iteration \09A \09 B \09 C \09 f(A) \09 f(B) \09 f(C)\00"
@.str.5 = [32 x i8] c"\0A%d\09 %f %f %f %f %f %f\0A\00"
@.str.6 = [23 x i8] c"\0AThe solution is %f \0A \00"
@str = [69 x i8] c"The Solution for the Equation using regula falsi method : x*x-x-6=0 \00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = bitcast float* %1 to i8*
store float 0.000000e+00, float* %1
%4 = bitcast float* %2 to i8*
store float 0.000000e+00, float* %2
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str, i64 0, i64 0))
br label %6
6: ; preds = %29, %0
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), float* %1, float* %2)
%9 = load float, float* %1
%10 = load float, float* %2
%11 = insertelement <2 x float> poison, float %10, i64 0
%12 = insertelement <2 x float> %11, float %9, i64 1
%13 = fneg <2 x float> %12
%14 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %12, <2 x float> %12, <2 x float> %13)
%15 = fadd <2 x float> %14, <float -6.000000e+00, float -6.000000e+00>
%16 = extractelement <2 x float> %15, i64 1
%17 = fcmp oeq float %16, 0.000000e+00
br i1 %17, label %18, label %22
18: ; preds = %6
%19 = fpext float %9 to double
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %19)
%21 = call i32 @exit(i32 0)
unreachable
22: ; preds = %6
%23 = extractelement <2 x float> %15, i64 0
%24 = fcmp oeq float %23, 0.000000e+00
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = fpext float %10 to double
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), double %26)
%28 = call i32 @exit(i32 0)
unreachable
29: ; preds = %22
%30 = fmul float %16, %23
%31 = fcmp ogt float %30, 0.000000e+00
br i1 %31, label %6, label %32
32: ; preds = %29
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @.str.4, i64 0, i64 0))
%34 = load float, float* %1
%35 = load float, float* %2
br label %36
36: ; preds = %75, %32
%37 = phi float [ %35, %32 ], [ %76, %75 ]
%38 = phi float [ %34, %32 ], [ %77, %75 ]
%39 = phi i32 [ 0, %32 ], [ %51, %75 ]
%40 = phi <2 x float> [ %15, %32 ], [ %78, %75 ]
%41 = extractelement <2 x float> %40, i64 1
%42 = fneg float %41
%43 = fmul float %37, %42
%44 = extractelement <2 x float> %40, i64 0
%45 = call float @llvm.fmuladd.f32(float %38, float %44, float %43)
%46 = fsub float %44, %41
%47 = fdiv float %45, %46
%48 = fneg float %47
%49 = call float @llvm.fmuladd.f32(float %47, float %47, float %48)
%50 = fadd float %49, -6.000000e+00
%51 = add nuw nsw i32 %39, 1
%52 = fpext float %38 to double
%53 = fpext float %37 to double
%54 = fpext float %47 to double
%55 = fpext float %41 to double
%56 = fpext float %44 to double
%57 = fpext float %50 to double
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.5, i64 0, i64 0), i32 %51, double %52, double %53, double %54, double %55, double %56, double %57)
%59 = fmul float %41, %50
%60 = fcmp ogt float %59, 0.000000e+00
br i1 %60, label %61, label %68
61: ; preds = %36
store float %47, float* %1
%62 = load float, float* %2
%63 = fneg float %62
%64 = call float @llvm.fmuladd.f32(float %62, float %62, float %63)
%65 = fadd float %64, -6.000000e+00
%66 = insertelement <2 x float> poison, float %65, i64 0
%67 = insertelement <2 x float> %66, float %50, i64 1
br label %75
68: ; preds = %36
store float %47, float* %2
%69 = load float, float* %1
%70 = fneg float %69
%71 = call float @llvm.fmuladd.f32(float %69, float %69, float %70)
%72 = fadd float %71, -6.000000e+00
%73 = insertelement <2 x float> poison, float %50, i64 0
%74 = insertelement <2 x float> %73, float %72, i64 1
br label %75
75: ; preds = %68, %61
%76 = phi float [ %47, %68 ], [ %62, %61 ]
%77 = phi float [ %69, %68 ], [ %47, %61 ]
%78 = phi <2 x float> [ %74, %68 ], [ %67, %61 ]
%79 = fcmp oge double %57, 0x3EB0C6F7A0B5ED8D
%80 = fcmp ole double %57, 0xBEB0C6F7A0B5ED8D
%81 = or i1 %79, %80
br i1 %81, label %36, label %82
82: ; preds = %75
%83 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0), double %54)
ret i32 0
}