#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*/ printf(char *, float, float, float, float);
float sqrt(float);
float findminx(float arr[]) {
  float m2 = arr[3] - arr[1];
  float a, b, c;
  if (m2 > 0) {
    a = 1.5 * (-arr[0] + 3 * arr[1] - 3 * arr[2] + arr[3]);
    b = 2 * arr[0] - 5 * arr[1] + 4 * arr[2] - arr[3];
    c = .5 * (-arr[0] + arr[2]);
    printf("less a=%f b=%f c=%f %f\n", a, b, c, b * b - 4 * a * c);
    if (!a)
      return -c / b;
    return 1 - (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  } else if (m2 < 0) {
    a = 1.5 * (-arr[1] + 3 * arr[2] - 3 * arr[3] + arr[4]);
    b = 2 * arr[1] - 5 * arr[2] + 4 * arr[3] - arr[4];
    c = .5 * (-arr[1] + arr[3]);
    printf("more a=%f b=%f c=%f %f\n", a, b, c, b * b - 4 * a * c);
    if (!a)
      return -c / b;
    return (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  } else
    return 0;
}


x86 assembly (clang, -O0):
<findminx>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
mov    -0x10(%rbp),%rax
subss  0x4(%rax),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x14(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jbe    134a <findminx+0x22a>
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm1
movss  0xe92(%rip),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  0xe75(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
addss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xe70(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x10(%rbp),%rax
movss  0xe33(%rip),%xmm0
mulss  0x4(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
addss  %xmm1,%xmm1
addss  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  0xe04(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
subss  0xc(%rax),%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x10(%rbp),%rax
addss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xddc(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x20(%rbp)
movss  -0x18(%rbp),%xmm0
movss  -0x1c(%rbp),%xmm1
movss  -0x20(%rbp),%xmm2
movss  -0x1c(%rbp),%xmm3
movss  -0x1c(%rbp),%xmm5
movss  0xd96(%rip),%xmm4
mulss  -0x18(%rbp),%xmm4
mulss  -0x20(%rbp),%xmm4
movd   %xmm4,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm4
mulss  %xmm5,%xmm3
addss  %xmm4,%xmm3
lea    0xd98(%rip),%rdi
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    12cd <findminx+0x1ad>
jp     12cd <findminx+0x1ad>
movss  -0x20(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
divss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x4(%rbp)
jmp    154f <findminx+0x42f>
movss  -0x1c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x24(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  -0x1c(%rbp),%xmm2
movss  0xd0a(%rip),%xmm1
mulss  -0x18(%rbp),%xmm1
mulss  -0x20(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1040 <sqrt@plt>
movss  -0x24(%rbp),%xmm1
addss  %xmm0,%xmm1
movss  0xce5(%rip),%xmm0
mulss  -0x18(%rbp),%xmm0
divss  %xmm0,%xmm1
movss  0xcd8(%rip),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0x4(%rbp)
jmp    154f <findminx+0x42f>
xorps  %xmm0,%xmm0
ucomiss -0x14(%rbp),%xmm0
jbe    1547 <findminx+0x427>
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm1
movss  0xc8e(%rip),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
movss  0xc71(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
addss  0x10(%rax),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc6c(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm1
mov    -0x10(%rbp),%rax
movss  0xc2e(%rip),%xmm0
mulss  0x8(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
addss  %xmm1,%xmm1
addss  %xmm0,%xmm1
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
movss  0xbff(%rip),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
subss  0x10(%rax),%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x10(%rbp),%rax
addss  0xc(%rax),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xbd6(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x20(%rbp)
movss  -0x18(%rbp),%xmm0
movss  -0x1c(%rbp),%xmm1
movss  -0x20(%rbp),%xmm2
movss  -0x1c(%rbp),%xmm3
movss  -0x1c(%rbp),%xmm5
movss  0xb90(%rip),%xmm4
mulss  -0x18(%rbp),%xmm4
mulss  -0x20(%rbp),%xmm4
movd   %xmm4,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm4
mulss  %xmm5,%xmm3
addss  %xmm4,%xmm3
lea    0xbaa(%rip),%rdi
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    14d3 <findminx+0x3b3>
jp     14d3 <findminx+0x3b3>
movss  -0x20(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
divss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x4(%rbp)
jmp    154f <findminx+0x42f>
movss  -0x1c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x1c(%rbp),%xmm0
movss  -0x1c(%rbp),%xmm2
movss  0xb04(%rip),%xmm1
mulss  -0x18(%rbp),%xmm1
mulss  -0x20(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x28(%rbp),%xmm0
addss  %xmm1,%xmm0
movss  0xadc(%rip),%xmm1
mulss  -0x18(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x4(%rbp)
jmp    154f <findminx+0x42f>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x4(%rbp)
movss  -0x4(%rbp),%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<findminx>:
sub    $0x28,%rsp
movss  0x4(%rdi),%xmm0
movss  0xc(%rdi),%xmm1
movaps %xmm1,%xmm2
subss  %xmm0,%xmm2
xorps  %xmm3,%xmm3
ucomiss %xmm3,%xmm2
jbe    1219 <findminx+0xf9>
movss  0xeb7(%rip),%xmm3
mulss  %xmm0,%xmm3
movss  (%rdi),%xmm2
movss  0x8(%rdi),%xmm4
subss  %xmm2,%xmm3
movss  0xea2(%rip),%xmm5
mulss  %xmm4,%xmm5
addss  %xmm3,%xmm5
addss  %xmm1,%xmm5
mulss  0xe92(%rip),%xmm5
mulss  0xe8e(%rip),%xmm0
movss  0xe8a(%rip),%xmm6
mulss  %xmm4,%xmm6
subss  %xmm2,%xmm4
addss  %xmm2,%xmm2
addss  %xmm0,%xmm2
addss  %xmm2,%xmm6
subss  %xmm1,%xmm6
mulss  0xe6e(%rip),%xmm4
movss  0xe6a(%rip),%xmm1
movaps %xmm5,%xmm0
movss  %xmm5,0x8(%rsp)
mulss  %xmm5,%xmm1
mulss  %xmm4,%xmm1
movaps %xmm6,%xmm3
mulss  %xmm6,%xmm3
addss  %xmm1,%xmm3
lea    0xe5f(%rip),%rdi
movss  %xmm6,0x4(%rsp)
movaps %xmm6,%xmm1
movaps %xmm4,0x10(%rsp)
movaps %xmm4,%xmm2
movss  %xmm3,0xc(%rsp)
call   1030 <printf@plt>
movss  0x8(%rsp),%xmm1
xorps  %xmm2,%xmm2
ucomiss %xmm2,%xmm1
jne    1201 <findminx+0xe1>
jnp    12e5 <findminx+0x1c5>
movss  0xc(%rsp),%xmm0
ucomiss %xmm2,%xmm0
jb     12f9 <findminx+0x1d9>
sqrtss %xmm0,%xmm0
jmp    1304 <findminx+0x1e4>
ucomiss %xmm2,%xmm3
jbe    1344 <findminx+0x224>
movss  0x8(%rdi),%xmm4
movss  0x10(%rdi),%xmm5
movss  0xdcc(%rip),%xmm3
mulss  %xmm4,%xmm3
subss  %xmm0,%xmm3
movss  0xdc0(%rip),%xmm6
mulss  %xmm1,%xmm6
addss  %xmm3,%xmm6
addss  %xmm5,%xmm6
mulss  0xdb0(%rip),%xmm6
mulss  0xdac(%rip),%xmm4
addss  %xmm0,%xmm0
addss  %xmm4,%xmm0
mulss  0xda0(%rip),%xmm1
addss  %xmm0,%xmm1
subss  %xmm5,%xmm1
movss  %xmm1,0x4(%rsp)
mulss  0xd8e(%rip),%xmm2
movss  0xd8a(%rip),%xmm4
movaps %xmm6,%xmm0
movss  %xmm6,0x8(%rsp)
mulss  %xmm6,%xmm4
mulss  %xmm2,%xmm4
movaps %xmm1,%xmm3
mulss  %xmm1,%xmm3
addss  %xmm4,%xmm3
lea    0xd97(%rip),%rdi
movaps %xmm2,0x10(%rsp)
movss  %xmm3,0xc(%rsp)
call   1030 <printf@plt>
xorps  %xmm2,%xmm2
movss  0x8(%rsp),%xmm0
ucomiss %xmm2,%xmm0
jne    12d1 <findminx+0x1b1>
jnp    12e5 <findminx+0x1c5>
movss  0xc(%rsp),%xmm0
ucomiss %xmm2,%xmm0
jb     1324 <findminx+0x204>
xorps  %xmm3,%xmm3
sqrtss %xmm0,%xmm3
jmp    132c <findminx+0x20c>
movaps 0x10(%rsp),%xmm3
xorps  0xd2f(%rip),%xmm3
divss  0x4(%rsp),%xmm3
jmp    1344 <findminx+0x224>
call   1040 <sqrt@plt>
movss  0x8(%rsp),%xmm1
movss  0x4(%rsp),%xmm2
subss  %xmm2,%xmm0
addss  %xmm1,%xmm1
divss  %xmm1,%xmm0
movss  0xcfe(%rip),%xmm3
subss  %xmm0,%xmm3
jmp    1344 <findminx+0x224>
call   1040 <sqrt@plt>
movaps %xmm0,%xmm3
movss  0x4(%rsp),%xmm0
subss  %xmm0,%xmm3
movss  0x8(%rsp),%xmm0
addss  %xmm0,%xmm0
divss  %xmm0,%xmm3
movaps %xmm3,%xmm0
add    $0x28,%rsp
ret

LLVM IR (-O0):
@.str = [24 x i8] c"less a=%f b=%f c=%f %f\0A\00"
@.str.1 = [24 x i8] c"more a=%f b=%f c=%f %f\0A\00"
define float @findminx(float* %0) {
%2 = alloca float
%3 = alloca float*
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
store float* %0, float** %3
%8 = load float*, float** %3
%9 = getelementptr inbounds float, float* %8, i64 3
%10 = load float, float* %9
%11 = load float*, float** %3
%12 = getelementptr inbounds float, float* %11, i64 1
%13 = load float, float* %12
%14 = fsub float %10, %13
store float %14, float* %4
%15 = load float, float* %4
%16 = fcmp ogt float %15, 0.000000e+00
br i1 %16, label %17, label %101
17: ; preds = %1
%18 = load float*, float** %3
%19 = getelementptr inbounds float, float* %18, i64 0
%20 = load float, float* %19
%21 = fneg float %20
%22 = load float*, float** %3
%23 = getelementptr inbounds float, float* %22, i64 1
%24 = load float, float* %23
%25 = call float @llvm.fmuladd.f32(float 3.000000e+00, float %24, float %21)
%26 = load float*, float** %3
%27 = getelementptr inbounds float, float* %26, i64 2
%28 = load float, float* %27
%29 = call float @llvm.fmuladd.f32(float -3.000000e+00, float %28, float %25)
%30 = load float*, float** %3
%31 = getelementptr inbounds float, float* %30, i64 3
%32 = load float, float* %31
%33 = fadd float %29, %32
%34 = fpext float %33 to double
%35 = fmul double 1.500000e+00, %34
%36 = fptrunc double %35 to float
store float %36, float* %5
%37 = load float*, float** %3
%38 = getelementptr inbounds float, float* %37, i64 0
%39 = load float, float* %38
%40 = load float*, float** %3
%41 = getelementptr inbounds float, float* %40, i64 1
%42 = load float, float* %41
%43 = fmul float 5.000000e+00, %42
%44 = fneg float %43
%45 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %39, float %44)
%46 = load float*, float** %3
%47 = getelementptr inbounds float, float* %46, i64 2
%48 = load float, float* %47
%49 = call float @llvm.fmuladd.f32(float 4.000000e+00, float %48, float %45)
%50 = load float*, float** %3
%51 = getelementptr inbounds float, float* %50, i64 3
%52 = load float, float* %51
%53 = fsub float %49, %52
store float %53, float* %6
%54 = load float*, float** %3
%55 = getelementptr inbounds float, float* %54, i64 0
%56 = load float, float* %55
%57 = fneg float %56
%58 = load float*, float** %3
%59 = getelementptr inbounds float, float* %58, i64 2
%60 = load float, float* %59
%61 = fadd float %57, %60
%62 = fpext float %61 to double
%63 = fmul double 5.000000e-01, %62
%64 = fptrunc double %63 to float
store float %64, float* %7
%65 = load float, float* %5
%66 = load float, float* %6
%67 = load float, float* %7
%68 = load float, float* %6
%69 = load float, float* %6
%70 = load float, float* %5
%71 = fmul float 4.000000e+00, %70
%72 = load float, float* %7
%73 = fmul float %71, %72
%74 = fneg float %73
%75 = call float @llvm.fmuladd.f32(float %68, float %69, float %74)
%76 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), float %65, float %66, float %67, float %75)
%77 = load float, float* %5
%78 = fcmp une float %77, 0.000000e+00
br i1 %78, label %84, label %79
79: ; preds = %17
%80 = load float, float* %7
%81 = fneg float %80
%82 = load float, float* %6
%83 = fdiv float %81, %82
store float %83, float* %2
br label %188
84: ; preds = %17
%85 = load float, float* %6
%86 = fneg float %85
%87 = load float, float* %6
%88 = load float, float* %6
%89 = load float, float* %5
%90 = fmul float 4.000000e+00, %89
%91 = load float, float* %7
%92 = fmul float %90, %91
%93 = fneg float %92
%94 = call float @llvm.fmuladd.f32(float %87, float %88, float %93)
%95 = call float @sqrt(float %94)
%96 = fadd float %86, %95
%97 = load float, float* %5
%98 = fmul float 2.000000e+00, %97
%99 = fdiv float %96, %98
%100 = fsub float 1.000000e+00, %99
store float %100, float* %2
br label %188
101: ; preds = %1
%102 = load float, float* %4
%103 = fcmp olt float %102, 0.000000e+00
br i1 %103, label %104, label %187
104: ; preds = %101
%105 = load float*, float** %3
%106 = getelementptr inbounds float, float* %105, i64 1
%107 = load float, float* %106
%108 = fneg float %107
%109 = load float*, float** %3
%110 = getelementptr inbounds float, float* %109, i64 2
%111 = load float, float* %110
%112 = call float @llvm.fmuladd.f32(float 3.000000e+00, float %111, float %108)
%113 = load float*, float** %3
%114 = getelementptr inbounds float, float* %113, i64 3
%115 = load float, float* %114
%116 = call float @llvm.fmuladd.f32(float -3.000000e+00, float %115, float %112)
%117 = load float*, float** %3
%118 = getelementptr inbounds float, float* %117, i64 4
%119 = load float, float* %118
%120 = fadd float %116, %119
%121 = fpext float %120 to double
%122 = fmul double 1.500000e+00, %121
%123 = fptrunc double %122 to float
store float %123, float* %5
%124 = load float*, float** %3
%125 = getelementptr inbounds float, float* %124, i64 1
%126 = load float, float* %125
%127 = load float*, float** %3
%128 = getelementptr inbounds float, float* %127, i64 2
%129 = load float, float* %128
%130 = fmul float 5.000000e+00, %129
%131 = fneg float %130
%132 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %126, float %131)
%133 = load float*, float** %3
%134 = getelementptr inbounds float, float* %133, i64 3
%135 = load float, float* %134
%136 = call float @llvm.fmuladd.f32(float 4.000000e+00, float %135, float %132)
%137 = load float*, float** %3
%138 = getelementptr inbounds float, float* %137, i64 4
%139 = load float, float* %138
%140 = fsub float %136, %139
store float %140, float* %6
%141 = load float*, float** %3
%142 = getelementptr inbounds float, float* %141, i64 1
%143 = load float, float* %142
%144 = fneg float %143
%145 = load float*, float** %3
%146 = getelementptr inbounds float, float* %145, i64 3
%147 = load float, float* %146
%148 = fadd float %144, %147
%149 = fpext float %148 to double
%150 = fmul double 5.000000e-01, %149
%151 = fptrunc double %150 to float
store float %151, float* %7
%152 = load float, float* %5
%153 = load float, float* %6
%154 = load float, float* %7
%155 = load float, float* %6
%156 = load float, float* %6
%157 = load float, float* %5
%158 = fmul float 4.000000e+00, %157
%159 = load float, float* %7
%160 = fmul float %158, %159
%161 = fneg float %160
%162 = call float @llvm.fmuladd.f32(float %155, float %156, float %161)
%163 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), float %152, float %153, float %154, float %162)
%164 = load float, float* %5
%165 = fcmp une float %164, 0.000000e+00
br i1 %165, label %171, label %166
166: ; preds = %104
%167 = load float, float* %7
%168 = fneg float %167
%169 = load float, float* %6
%170 = fdiv float %168, %169
store float %170, float* %2
br label %188
171: ; preds = %104
%172 = load float, float* %6
%173 = fneg float %172
%174 = load float, float* %6
%175 = load float, float* %6
%176 = load float, float* %5
%177 = fmul float 4.000000e+00, %176
%178 = load float, float* %7
%179 = fmul float %177, %178
%180 = fneg float %179
%181 = call float @llvm.fmuladd.f32(float %174, float %175, float %180)
%182 = call float @sqrt(float %181)
%183 = fadd float %173, %182
%184 = load float, float* %5
%185 = fmul float 2.000000e+00, %184
%186 = fdiv float %183, %185
store float %186, float* %2
br label %188
187: ; preds = %101
store float 0.000000e+00, float* %2
br label %188
188: ; preds = %187, %171, %166, %84, %79
%189 = load float, float* %2
ret float %189
}

LLVM IR (-O2):
@.str = [24 x i8] c"less a=%f b=%f c=%f %f\0A\00"
@.str.1 = [24 x i8] c"more a=%f b=%f c=%f %f\0A\00"
define float @findminx(float* nocapture %0) {
%2 = getelementptr inbounds float, float* %0, i64 3
%3 = load float, float* %2
%4 = getelementptr inbounds float, float* %0, i64 1
%5 = load float, float* %4
%6 = fsub float %3, %5
%7 = fcmp ogt float %6, 0.000000e+00
br i1 %7, label %8, label %37
8: ; preds = %1
%9 = load float, float* %0
%10 = fneg float %9
%11 = tail call float @llvm.fmuladd.f32(float %5, float 3.000000e+00, float %10)
%12 = getelementptr inbounds float, float* %0, i64 2
%13 = load float, float* %12
%14 = tail call float @llvm.fmuladd.f32(float %13, float -3.000000e+00, float %11)
%15 = fadd float %3, %14
%16 = fmul float %15, 1.500000e+00
%17 = fmul float %5, -5.000000e+00
%18 = tail call float @llvm.fmuladd.f32(float %9, float 2.000000e+00, float %17)
%19 = tail call float @llvm.fmuladd.f32(float %13, float 4.000000e+00, float %18)
%20 = fsub float %19, %3
%21 = fsub float %13, %9
%22 = fmul float %21, 5.000000e-01
%23 = fmul float %16, -4.000000e+00
%24 = fmul float %22, %23
%25 = tail call float @llvm.fmuladd.f32(float %20, float %20, float %24)
%26 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), float %16, float %20, float %22, float %25)
%27 = fcmp une float %16, 0.000000e+00
br i1 %27, label %31, label %28
28: ; preds = %8
%29 = fneg float %22
%30 = fdiv float %29, %20
br label %67
31: ; preds = %8
%32 = tail call float @sqrt(float %25)
%33 = fsub float %32, %20
%34 = fmul float %16, 2.000000e+00
%35 = fdiv float %33, %34
%36 = fsub float 1.000000e+00, %35
br label %67
37: ; preds = %1
%38 = fcmp olt float %6, 0.000000e+00
br i1 %38, label %39, label %67
39: ; preds = %37
%40 = fneg float %5
%41 = getelementptr inbounds float, float* %0, i64 2
%42 = load float, float* %41
%43 = tail call float @llvm.fmuladd.f32(float %42, float 3.000000e+00, float %40)
%44 = tail call float @llvm.fmuladd.f32(float %3, float -3.000000e+00, float %43)
%45 = getelementptr inbounds float, float* %0, i64 4
%46 = load float, float* %45
%47 = fadd float %46, %44
%48 = fmul float %47, 1.500000e+00
%49 = fmul float %42, -5.000000e+00
%50 = tail call float @llvm.fmuladd.f32(float %5, float 2.000000e+00, float %49)
%51 = tail call float @llvm.fmuladd.f32(float %3, float 4.000000e+00, float %50)
%52 = fsub float %51, %46
%53 = fmul float %6, 5.000000e-01
%54 = fmul float %48, -4.000000e+00
%55 = fmul float %53, %54
%56 = tail call float @llvm.fmuladd.f32(float %52, float %52, float %55)
%57 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.1, i64 0, i64 0), float %48, float %52, float %53, float %56)
%58 = fcmp une float %48, 0.000000e+00
br i1 %58, label %62, label %59
59: ; preds = %39
%60 = fneg float %53
%61 = fdiv float %60, %52
br label %67
62: ; preds = %39
%63 = tail call float @sqrt(float %56)
%64 = fsub float %63, %52
%65 = fmul float %48, 2.000000e+00
%66 = fdiv float %64, %65
br label %67
67: ; preds = %37, %62, %59, %31, %28
%68 = phi float [ %36, %31 ], [ %30, %28 ], [ %66, %62 ], [ %61, %59 ], [ 0.000000e+00, %37 ]
ret float %68
}