#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 */
float fabs(float);
float sqrt(double);
void solveSymmetric22(float a[2][2], float v[2][2], float d[2]) {
  float a00 = a[0][0];
  float a01 = a[0][1], a11 = a[1][1];
  float v00 = 1.0, v01 = 0.0;
  float v10 = 0.0, v11 = 1.0;
  float tiny;
  float c, r, s, t, u, vpr, vqr;
  float dt, vt[2];
  if (a01 != 0.0f) {
    tiny = 0.1 * sqrt(0.000001);
    u = a11 - a00;
    if (fabs(a01) < tiny * fabs(u)) {
      t = a01 / u;
    } else {
      r = 0.5 * u / a01;
      t = (r >= 0.0) ? 1.0 / (r + sqrt(1.0 + r * r))
                     : 1.0 / (r - sqrt(1.0 + r * r));
    }
    c = 1.0f / sqrt(1.0 + t * t);
    s = t * c;
    u = s / (1.0 + c);
    r = t * a01;
    a00 -= r;
    a11 += r;
    vpr = v00;
    vqr = v10;
    v00 = vpr - s * (vqr + vpr * u);
    v10 = vqr + s * (vpr - vqr * u);
    vpr = v01;
    vqr = v11;
    v01 = vpr - s * (vqr + vpr * u);
    v11 = vqr + s * (vpr - vqr * u);
  }
  d[0] = a00;
  d[1] = a11;
  v[0][0] = v00;
  v[0][1] = v01;
  v[1][0] = v10;
  v[1][1] = v11;
  if (d[0] < d[1]) {
    dt = d[1];
    d[1] = d[0];
    d[0] = dt;
    vt[0] = v[1][0];
    vt[1] = v[1][1];
    v[1][0] = v[0][0];
    v[1][1] = v[0][1];
    v[0][0] = vt[0];
    v[0][1] = vt[1];
  }
}


x86 assembly (clang, -O0):
<solveSymmetric22>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x1c(%rbp)
mov    -0x8(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rax
movss  0xc(%rax),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  0xe98(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x30(%rbp)
movss  0xe7b(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x20(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    11a6 <solveSymmetric22+0x86>
jp     11a6 <solveSymmetric22+0x86>
jmp    14c6 <solveSymmetric22+0x3a6>
movsd  0xe62(%rip),%xmm0
call   1040 <sqrt@plt>
cvtss2sd %xmm0,%xmm1
movsd  0xe49(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x24(%rbp),%xmm0
subss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x20(%rbp),%xmm0
call   1030 <fabs@plt>
movss  %xmm0,-0x68(%rbp)
movss  -0x38(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x4c(%rbp),%xmm0
call   1030 <fabs@plt>
movss  -0x68(%rbp),%xmm1
movaps %xmm0,%xmm2
movss  -0x64(%rbp),%xmm0
mulss  %xmm2,%xmm0
ucomiss %xmm1,%xmm0
jbe    122c <solveSymmetric22+0x10c>
movss  -0x20(%rbp),%xmm0
divss  -0x4c(%rbp),%xmm0
movss  %xmm0,-0x48(%rbp)
jmp    1314 <solveSymmetric22+0x1f4>
movss  -0x4c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xddb(%rip),%xmm0
mulsd  %xmm1,%xmm0
movss  -0x20(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     12bc <solveSymmetric22+0x19c>
movss  -0x40(%rbp),%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x40(%rbp),%xmm0
mulss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd93(%rip),%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x74(%rbp),%xmm0
addss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd72(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
jmp    1306 <solveSymmetric22+0x1e6>
movss  -0x40(%rbp),%xmm0
movss  %xmm0,-0x78(%rbp)
movss  -0x40(%rbp),%xmm0
mulss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd44(%rip),%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movss  -0x78(%rbp),%xmm0
subss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd23(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x48(%rbp),%xmm0
mulss  -0x48(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xcf6(%rip),%xmm0
addsd  %xmm1,%xmm0
call   1040 <sqrt@plt>
movaps %xmm0,%xmm1
movss  0xcc2(%rip),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x48(%rbp),%xmm0
mulss  -0x3c(%rbp),%xmm0
movss  %xmm0,-0x44(%rbp)
movss  -0x44(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x3c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm2
movsd  0xcb0(%rip),%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x48(%rbp),%xmm0
mulss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x40(%rbp),%xmm1
movss  -0x1c(%rbp),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  -0x40(%rbp),%xmm0
addss  -0x24(%rbp),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  -0x28(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x50(%rbp),%xmm1
movss  -0x44(%rbp),%xmm0
movss  -0x54(%rbp),%xmm3
movss  -0x50(%rbp),%xmm2
movss  -0x4c(%rbp),%xmm4
mulss  %xmm4,%xmm2
addss  %xmm3,%xmm2
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x54(%rbp),%xmm1
movss  -0x44(%rbp),%xmm0
movss  -0x50(%rbp),%xmm3
movss  -0x54(%rbp),%xmm2
movss  -0x4c(%rbp),%xmm4
movd   %xmm2,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm2
mulss  %xmm4,%xmm2
addss  %xmm3,%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x30(%rbp)
movss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  -0x50(%rbp),%xmm1
movss  -0x44(%rbp),%xmm0
movss  -0x54(%rbp),%xmm3
movss  -0x50(%rbp),%xmm2
movss  -0x4c(%rbp),%xmm4
mulss  %xmm4,%xmm2
addss  %xmm3,%xmm2
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  -0x54(%rbp),%xmm1
movss  -0x44(%rbp),%xmm0
movss  -0x50(%rbp),%xmm3
movss  -0x54(%rbp),%xmm2
movss  -0x4c(%rbp),%xmm4
movd   %xmm2,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm2
mulss  %xmm4,%xmm2
addss  %xmm3,%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x1c(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x24(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x28(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x2c(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0x8(%rax)
movss  -0x34(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0xc(%rax)
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm1
mov    -0x18(%rbp),%rax
movss  0x4(%rax),%xmm0
ucomiss %xmm1,%xmm0
jbe    15b8 <solveSymmetric22+0x498>
mov    -0x18(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x58(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movss  0xc(%rax),%xmm0
movss  %xmm0,-0x5c(%rbp)
mov    -0x10(%rbp),%rax
movss  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movss  0x4(%rax),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0xc(%rax)
movss  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x5c(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,0x4(%rax)
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<solveSymmetric22>:
push   %r14
push   %rbx
sub    $0x38,%rsp
mov    %rdx,%rbx
mov    %rsi,%r14
movss  (%rdi),%xmm5
movss  0x4(%rdi),%xmm1
movss  0xc(%rdi),%xmm6
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    1135 <solveSymmetric22+0x25>
jnp    1196 <solveSymmetric22+0x86>
movsd  0xf03(%rip),%xmm0
movss  %xmm5,0xc(%rsp)
movss  %xmm6,0x8(%rsp)
movaps %xmm1,0x20(%rsp)
call   1030 <sqrt@plt>
movaps 0x20(%rsp),%xmm4
cvtss2sd %xmm0,%xmm0
mulsd  0xee4(%rip),%xmm0
xorps  %xmm1,%xmm1
cvtsd2ss %xmm0,%xmm1
movss  0x8(%rsp),%xmm0
subss  0xc(%rsp),%xmm0
movaps 0xe92(%rip),%xmm2
movaps %xmm4,%xmm3
andps  %xmm2,%xmm3
andps  %xmm0,%xmm2
mulss  %xmm1,%xmm2
ucomiss %xmm3,%xmm2
jbe    11a2 <solveSymmetric22+0x92>
divss  %xmm0,%xmm4
jmp    120e <solveSymmetric22+0xfe>
movaps 0xe63(%rip),%xmm0
jmp    12c7 <solveSymmetric22+0x1b7>
cvtss2sd %xmm0,%xmm0
mulsd  0xea2(%rip),%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm4,%xmm1
divsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x10(%rsp)
mulss  %xmm0,%xmm0
cvtss2sd %xmm0,%xmm0
addsd  0xe85(%rip),%xmm0
call   1030 <sqrt@plt>
movapd 0xe40(%rip),%xmm1
xorpd  %xmm0,%xmm1
xorps  %xmm2,%xmm2
movss  0x10(%rsp),%xmm4
cmpnless %xmm4,%xmm2
movaps %xmm2,%xmm3
andnps %xmm0,%xmm3
andps  %xmm1,%xmm2
orps   %xmm3,%xmm2
addss  %xmm4,%xmm2
movss  0xe56(%rip),%xmm4
divss  %xmm2,%xmm4
movaps %xmm4,0x10(%rsp)
movaps %xmm4,%xmm0
mulss  %xmm4,%xmm0
cvtss2sd %xmm0,%xmm0
addsd  0xe32(%rip),%xmm0
call   1030 <sqrt@plt>
movss  0xe2d(%rip),%xmm1
movaps %xmm1,%xmm2
divss  %xmm0,%xmm2
movaps 0x20(%rsp),%xmm3
movaps 0x10(%rsp),%xmm4
mulss  %xmm4,%xmm3
mulss  %xmm2,%xmm4
xorps  %xmm0,%xmm0
cvtss2sd %xmm4,%xmm0
movaps %xmm4,%xmm7
cvtss2sd %xmm2,%xmm2
addsd  0xdf6(%rip),%xmm2
divsd  %xmm2,%xmm0
xorps  %xmm2,%xmm2
cvtsd2ss %xmm0,%xmm2
movss  0xc(%rsp),%xmm5
subss  %xmm3,%xmm5
movss  0x8(%rsp),%xmm6
addss  %xmm3,%xmm6
xorps  %xmm3,%xmm3
movaps %xmm2,%xmm4
addss  %xmm3,%xmm4
movss  0xdd1(%rip),%xmm0
xorps  %xmm7,%xmm0
mulss  %xmm2,%xmm3
addss  %xmm1,%xmm3
unpcklps %xmm2,%xmm2
mulps  0xd88(%rip),%xmm2
unpcklps %xmm3,%xmm4
movss  0xdad(%rip),%xmm1
addps  %xmm2,%xmm1
movlhps %xmm1,%xmm4
shufps $0x0,%xmm7,%xmm0
mulps  %xmm4,%xmm0
addps  0xd39(%rip),%xmm0
movss  %xmm5,(%rbx)
movss  %xmm6,0x4(%rbx)
movups %xmm0,(%r14)
movss  (%rbx),%xmm0
movss  0x4(%rbx),%xmm1
ucomiss %xmm0,%xmm1
jbe    12f7 <solveSymmetric22+0x1e7>
movss  %xmm0,0x4(%rbx)
movss  %xmm1,(%rbx)
movups (%r14),%xmm0
shufps $0x4e,%xmm0,%xmm0
movups %xmm0,(%r14)
add    $0x38,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @solveSymmetric22([2 x float]* %0, [2 x float]* %1, float* %2) {
%4 = alloca [2 x float]*
%5 = alloca [2 x float]*
%6 = alloca float*
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca [2 x float]
store [2 x float]* %0, [2 x float]** %4
store [2 x float]* %1, [2 x float]** %5
store float* %2, float** %6
%24 = load [2 x float]*, [2 x float]** %4
%25 = getelementptr inbounds [2 x float], [2 x float]* %24, i64 0
%26 = getelementptr inbounds [2 x float], [2 x float]* %25, i64 0, i64 0
%27 = load float, float* %26
store float %27, float* %7
%28 = load [2 x float]*, [2 x float]** %4
%29 = getelementptr inbounds [2 x float], [2 x float]* %28, i64 0
%30 = getelementptr inbounds [2 x float], [2 x float]* %29, i64 0, i64 1
%31 = load float, float* %30
store float %31, float* %8
%32 = load [2 x float]*, [2 x float]** %4
%33 = getelementptr inbounds [2 x float], [2 x float]* %32, i64 1
%34 = getelementptr inbounds [2 x float], [2 x float]* %33, i64 0, i64 1
%35 = load float, float* %34
store float %35, float* %9
store float 1.000000e+00, float* %10
store float 0.000000e+00, float* %11
store float 0.000000e+00, float* %12
store float 1.000000e+00, float* %13
%36 = load float, float* %8
%37 = fcmp une float %36, 0.000000e+00
br i1 %37, label %38, label %156
38: ; preds = %3
%39 = call float @sqrt(double 0x3EB0C6F7A0B5ED8D)
%40 = fpext float %39 to double
%41 = fmul double 1.000000e-01, %40
%42 = fptrunc double %41 to float
store float %42, float* %14
%43 = load float, float* %9
%44 = load float, float* %7
%45 = fsub float %43, %44
store float %45, float* %19
%46 = load float, float* %8
%47 = call float @fabs(float %46)
%48 = load float, float* %14
%49 = load float, float* %19
%50 = call float @fabs(float %49)
%51 = fmul float %48, %50
%52 = fcmp olt float %47, %51
br i1 %52, label %53, label %57
53: ; preds = %38
%54 = load float, float* %8
%55 = load float, float* %19
%56 = fdiv float %54, %55
store float %56, float* %18
br label %93
57: ; preds = %38
%58 = load float, float* %19
%59 = fpext float %58 to double
%60 = fmul double 5.000000e-01, %59
%61 = load float, float* %8
%62 = fpext float %61 to double
%63 = fdiv double %60, %62
%64 = fptrunc double %63 to float
store float %64, float* %16
%65 = load float, float* %16
%66 = fpext float %65 to double
%67 = fcmp oge double %66, 0.000000e+00
br i1 %67, label %68, label %79
68: ; preds = %57
%69 = load float, float* %16
%70 = load float, float* %16
%71 = load float, float* %16
%72 = fmul float %70, %71
%73 = fpext float %72 to double
%74 = fadd double 1.000000e+00, %73
%75 = call float @sqrt(double %74)
%76 = fadd float %69, %75
%77 = fpext float %76 to double
%78 = fdiv double 1.000000e+00, %77
br label %90
79: ; preds = %57
%80 = load float, float* %16
%81 = load float, float* %16
%82 = load float, float* %16
%83 = fmul float %81, %82
%84 = fpext float %83 to double
%85 = fadd double 1.000000e+00, %84
%86 = call float @sqrt(double %85)
%87 = fsub float %80, %86
%88 = fpext float %87 to double
%89 = fdiv double 1.000000e+00, %88
br label %90
90: ; preds = %79, %68
%91 = phi double [ %78, %68 ], [ %89, %79 ]
%92 = fptrunc double %91 to float
store float %92, float* %18
br label %93
93: ; preds = %90, %53
%94 = load float, float* %18
%95 = load float, float* %18
%96 = fmul float %94, %95
%97 = fpext float %96 to double
%98 = fadd double 1.000000e+00, %97
%99 = call float @sqrt(double %98)
%100 = fdiv float 1.000000e+00, %99
store float %100, float* %15
%101 = load float, float* %18
%102 = load float, float* %15
%103 = fmul float %101, %102
store float %103, float* %17
%104 = load float, float* %17
%105 = fpext float %104 to double
%106 = load float, float* %15
%107 = fpext float %106 to double
%108 = fadd double 1.000000e+00, %107
%109 = fdiv double %105, %108
%110 = fptrunc double %109 to float
store float %110, float* %19
%111 = load float, float* %18
%112 = load float, float* %8
%113 = fmul float %111, %112
store float %113, float* %16
%114 = load float, float* %16
%115 = load float, float* %7
%116 = fsub float %115, %114
store float %116, float* %7
%117 = load float, float* %16
%118 = load float, float* %9
%119 = fadd float %118, %117
store float %119, float* %9
%120 = load float, float* %10
store float %120, float* %20
%121 = load float, float* %12
store float %121, float* %21
%122 = load float, float* %20
%123 = load float, float* %17
%124 = load float, float* %21
%125 = load float, float* %20
%126 = load float, float* %19
%127 = call float @llvm.fmuladd.f32(float %125, float %126, float %124)
%128 = fneg float %123
%129 = call float @llvm.fmuladd.f32(float %128, float %127, float %122)
store float %129, float* %10
%130 = load float, float* %21
%131 = load float, float* %17
%132 = load float, float* %20
%133 = load float, float* %21
%134 = load float, float* %19
%135 = fneg float %133
%136 = call float @llvm.fmuladd.f32(float %135, float %134, float %132)
%137 = call float @llvm.fmuladd.f32(float %131, float %136, float %130)
store float %137, float* %12
%138 = load float, float* %11
store float %138, float* %20
%139 = load float, float* %13
store float %139, float* %21
%140 = load float, float* %20
%141 = load float, float* %17
%142 = load float, float* %21
%143 = load float, float* %20
%144 = load float, float* %19
%145 = call float @llvm.fmuladd.f32(float %143, float %144, float %142)
%146 = fneg float %141
%147 = call float @llvm.fmuladd.f32(float %146, float %145, float %140)
store float %147, float* %11
%148 = load float, float* %21
%149 = load float, float* %17
%150 = load float, float* %20
%151 = load float, float* %21
%152 = load float, float* %19
%153 = fneg float %151
%154 = call float @llvm.fmuladd.f32(float %153, float %152, float %150)
%155 = call float @llvm.fmuladd.f32(float %149, float %154, float %148)
store float %155, float* %13
br label %156
156: ; preds = %93, %3
%157 = load float, float* %7
%158 = load float*, float** %6
%159 = getelementptr inbounds float, float* %158, i64 0
store float %157, float* %159
%160 = load float, float* %9
%161 = load float*, float** %6
%162 = getelementptr inbounds float, float* %161, i64 1
store float %160, float* %162
%163 = load float, float* %10
%164 = load [2 x float]*, [2 x float]** %5
%165 = getelementptr inbounds [2 x float], [2 x float]* %164, i64 0
%166 = getelementptr inbounds [2 x float], [2 x float]* %165, i64 0, i64 0
store float %163, float* %166
%167 = load float, float* %11
%168 = load [2 x float]*, [2 x float]** %5
%169 = getelementptr inbounds [2 x float], [2 x float]* %168, i64 0
%170 = getelementptr inbounds [2 x float], [2 x float]* %169, i64 0, i64 1
store float %167, float* %170
%171 = load float, float* %12
%172 = load [2 x float]*, [2 x float]** %5
%173 = getelementptr inbounds [2 x float], [2 x float]* %172, i64 1
%174 = getelementptr inbounds [2 x float], [2 x float]* %173, i64 0, i64 0
store float %171, float* %174
%175 = load float, float* %13
%176 = load [2 x float]*, [2 x float]** %5
%177 = getelementptr inbounds [2 x float], [2 x float]* %176, i64 1
%178 = getelementptr inbounds [2 x float], [2 x float]* %177, i64 0, i64 1
store float %175, float* %178
%179 = load float*, float** %6
%180 = getelementptr inbounds float, float* %179, i64 0
%181 = load float, float* %180
%182 = load float*, float** %6
%183 = getelementptr inbounds float, float* %182, i64 1
%184 = load float, float* %183
%185 = fcmp olt float %181, %184
br i1 %185, label %186, label %232
186: ; preds = %156
%187 = load float*, float** %6
%188 = getelementptr inbounds float, float* %187, i64 1
%189 = load float, float* %188
store float %189, float* %22
%190 = load float*, float** %6
%191 = getelementptr inbounds float, float* %190, i64 0
%192 = load float, float* %191
%193 = load float*, float** %6
%194 = getelementptr inbounds float, float* %193, i64 1
store float %192, float* %194
%195 = load float, float* %22
%196 = load float*, float** %6
%197 = getelementptr inbounds float, float* %196, i64 0
store float %195, float* %197
%198 = load [2 x float]*, [2 x float]** %5
%199 = getelementptr inbounds [2 x float], [2 x float]* %198, i64 1
%200 = getelementptr inbounds [2 x float], [2 x float]* %199, i64 0, i64 0
%201 = load float, float* %200
%202 = getelementptr inbounds [2 x float], [2 x float]* %23, i64 0, i64 0
store float %201, float* %202
%203 = load [2 x float]*, [2 x float]** %5
%204 = getelementptr inbounds [2 x float], [2 x float]* %203, i64 1
%205 = getelementptr inbounds [2 x float], [2 x float]* %204, i64 0, i64 1
%206 = load float, float* %205
%207 = getelementptr inbounds [2 x float], [2 x float]* %23, i64 0, i64 1
store float %206, float* %207
%208 = load [2 x float]*, [2 x float]** %5
%209 = getelementptr inbounds [2 x float], [2 x float]* %208, i64 0
%210 = getelementptr inbounds [2 x float], [2 x float]* %209, i64 0, i64 0
%211 = load float, float* %210
%212 = load [2 x float]*, [2 x float]** %5
%213 = getelementptr inbounds [2 x float], [2 x float]* %212, i64 1
%214 = getelementptr inbounds [2 x float], [2 x float]* %213, i64 0, i64 0
store float %211, float* %214
%215 = load [2 x float]*, [2 x float]** %5
%216 = getelementptr inbounds [2 x float], [2 x float]* %215, i64 0
%217 = getelementptr inbounds [2 x float], [2 x float]* %216, i64 0, i64 1
%218 = load float, float* %217
%219 = load [2 x float]*, [2 x float]** %5
%220 = getelementptr inbounds [2 x float], [2 x float]* %219, i64 1
%221 = getelementptr inbounds [2 x float], [2 x float]* %220, i64 0, i64 1
store float %218, float* %221
%222 = getelementptr inbounds [2 x float], [2 x float]* %23, i64 0, i64 0
%223 = load float, float* %222
%224 = load [2 x float]*, [2 x float]** %5
%225 = getelementptr inbounds [2 x float], [2 x float]* %224, i64 0
%226 = getelementptr inbounds [2 x float], [2 x float]* %225, i64 0, i64 0
store float %223, float* %226
%227 = getelementptr inbounds [2 x float], [2 x float]* %23, i64 0, i64 1
%228 = load float, float* %227
%229 = load [2 x float]*, [2 x float]** %5
%230 = getelementptr inbounds [2 x float], [2 x float]* %229, i64 0
%231 = getelementptr inbounds [2 x float], [2 x float]* %230, i64 0, i64 1
store float %228, float* %231
br label %232
232: ; preds = %186, %156
ret void
}

LLVM IR (-O2):
define void @solveSymmetric22([2 x float]* nocapture %0, [2 x float]* nocapture %1, float* nocapture %2) {
%4 = getelementptr inbounds [2 x float], [2 x float]* %0, i64 0, i64 0
%5 = load float, float* %4
%6 = getelementptr inbounds [2 x float], [2 x float]* %0, i64 0, i64 1
%7 = load float, float* %6
%8 = getelementptr inbounds [2 x float], [2 x float]* %0, i64 1, i64 1
%9 = load float, float* %8
%10 = fcmp une float %7, 0.000000e+00
br i1 %10, label %11, label %68
11: ; preds = %3
%12 = tail call float @sqrt(double 0x3EB0C6F7A0B5ED8D)
%13 = fpext float %12 to double
%14 = fmul double %13, 1.000000e-01
%15 = fptrunc double %14 to float
%16 = fsub float %9, %5
%17 = tail call float @llvm.fabs.f32(float %7)
%18 = tail call float @llvm.fabs.f32(float %16)
%19 = fmul float %18, %15
%20 = fcmp olt float %17, %19
br i1 %20, label %21, label %23
21: ; preds = %11
%22 = fdiv float %7, %16
br label %38
23: ; preds = %11
%24 = fpext float %16 to double
%25 = fmul double %24, 5.000000e-01
%26 = fpext float %7 to double
%27 = fdiv double %25, %26
%28 = fptrunc double %27 to float
%29 = fcmp ult float %28, 0.000000e+00
%30 = fmul float %28, %28
%31 = fpext float %30 to double
%32 = fadd double %31, 1.000000e+00
%33 = tail call float @sqrt(double %32)
%34 = fneg float %33
%35 = select i1 %29, float %34, float %33
%36 = fadd float %35, %28
%37 = fdiv float 1.000000e+00, %36
br label %38
38: ; preds = %23, %21
%39 = phi float [ %22, %21 ], [ %37, %23 ]
%40 = fmul float %39, %39
%41 = fpext float %40 to double
%42 = fadd double %41, 1.000000e+00
%43 = tail call float @sqrt(double %42)
%44 = fdiv float 1.000000e+00, %43
%45 = fmul float %39, %44
%46 = fpext float %45 to double
%47 = fpext float %44 to double
%48 = fadd double %47, 1.000000e+00
%49 = fdiv double %46, %48
%50 = fptrunc double %49 to float
%51 = fmul float %7, %39
%52 = fsub float %5, %51
%53 = fadd float %9, %51
%54 = fadd float %50, 0.000000e+00
%55 = fneg float %45
%56 = tail call float @llvm.fmuladd.f32(float %50, float 0.000000e+00, float 1.000000e+00)
%57 = insertelement <2 x float> poison, float %50, i64 0
%58 = shufflevector <2 x float> %57, <2 x float> poison, <2 x i32> zeroinitializer
%59 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %58, <2 x float> <float -0.000000e+00, float -1.000000e+00>, <2 x float> <float 1.000000e+00, float 0.000000e+00>)
%60 = insertelement <4 x float> poison, float %55, i64 0
%61 = insertelement <4 x float> %60, float %45, i64 1
%62 = shufflevector <4 x float> %61, <4 x float> poison, <4 x i32> <i32 0, i32 0, i32 1, i32 1>
%63 = insertelement <4 x float> poison, float %54, i64 0
%64 = insertelement <4 x float> %63, float %56, i64 1
%65 = shufflevector <2 x float> %59, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 undef, i32 undef>
%66 = shufflevector <4 x float> %64, <4 x float> %65, <4 x i32> <i32 0, i32 1, i32 4, i32 5>
%67 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %62, <4 x float> %66, <4 x float> <float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>)
br label %68
68: ; preds = %38, %3
%69 = phi float [ %53, %38 ], [ %9, %3 ]
%70 = phi float [ %52, %38 ], [ %5, %3 ]
%71 = phi <4 x float> [ %67, %38 ], [ <float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, %3 ]
store float %70, float* %2
%72 = getelementptr inbounds float, float* %2, i64 1
store float %69, float* %72
%73 = bitcast [2 x float]* %1 to <4 x float>*
store <4 x float> %71, <4 x float>* %73
%74 = load float, float* %2
%75 = load float, float* %72
%76 = fcmp olt float %74, %75
br i1 %76, label %77, label %82
77: ; preds = %68
store float %74, float* %72
store float %75, float* %2
%78 = bitcast [2 x float]* %1 to <4 x float>*
%79 = load <4 x float>, <4 x float>* %78
%80 = shufflevector <4 x float> %79, <4 x float> poison, <4 x i32> <i32 2, i32 3, i32 0, i32 1>
%81 = bitcast [2 x float]* %1 to <4 x float>*
store <4 x float> %80, <4 x float>* %81
br label %82
82: ; preds = %77, %68
ret void
}