#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 DBL_EPSILON;
int /*<<< orphan*/ EXIT_FAILURE;
int /*<<< orphan*/ exit(int /*<<< orphan*/);
double fabs(double);
__attribute__((warn_unused_result)) int solve_3x3_gepp(const double *restrict a,
                                                       double *restrict b) {
  double lp0, lp1, lp2, lm1, lm2, ln1, ln2;
  double bl, bm, bn;
  double factor1, factor2;
  double sol0, sol1, sol2;
  double alp0;
  double a0 = a[0];
  double a1 = a[1];
  double a2 = a[2];
  double aa0 = fabs(a0);
  double aa1 = fabs(a1);
  double aa2 = fabs(a2);
  int pivot2, pivot1 = aa0 >= aa1 ? aa0 >= aa2 ? 0 : 20 : aa1 >= aa2 ? 10 : 20;
  int info = 0;
  switch (pivot1) {
  case 0:
    factor1 = a1 / a0;
    factor2 = a2 / a0;
    lp0 = a0;
    alp0 = fabs(a0);
    lp1 = a[3];
    lp2 = a[6];
    lm1 = a[4] - factor1 * lp1;
    lm2 = a[7] - factor1 * lp2;
    ln1 = a[5] - factor2 * lp1;
    ln2 = a[8] - factor2 * lp2;
    bl = b[0];
    bm = b[1] - factor1 * bl;
    bn = b[2] - factor2 * bl;
    break;
  case 10:
    factor1 = a0 / a1;
    factor2 = a2 / a1;
    lp0 = a1;
    alp0 = fabs(a1);
    lp1 = a[4];
    lp2 = a[7];
    lm1 = a[3] - factor1 * lp1;
    lm2 = a[6] - factor1 * lp2;
    ln1 = a[5] - factor2 * lp1;
    ln2 = a[8] - factor2 * lp2;
    bl = b[1];
    bm = b[0] - factor1 * bl;
    bn = b[2] - factor2 * bl;
    break;
  case 20:
    factor1 = a0 / a2;
    factor2 = a1 / a2;
    lp0 = a2;
    alp0 = fabs(a2);
    lp1 = a[5];
    lp2 = a[8];
    lm1 = a[3] - factor1 * lp1;
    lm2 = a[6] - factor1 * lp2;
    ln1 = a[4] - factor2 * lp1;
    ln2 = a[7] - factor2 * lp2;
    bl = b[2];
    bm = b[0] - factor1 * bl;
    bn = b[1] - factor2 * bl;
    break;
  default:
    exit(EXIT_FAILURE);
  }
  if (alp0 <= DBL_EPSILON) {
    info = 1;
    return info;
  }
  double alm1 = fabs(lm1);
  double aln1 = fabs(ln1);
  pivot2 = alm1 >= aln1 ? 0 : 1;
  switch (pivot2) {
  case 0:
    if (alm1 < DBL_EPSILON) {
      info = 1;
      return info;
    }
    factor1 = ln1 / lm1;
    sol2 = (bn - factor1 * bm) / (ln2 - factor1 * lm2);
    sol1 = (bm - lm2 * sol2) / lm1;
    break;
  case 1:
    if (aln1 < DBL_EPSILON) {
      info = 1;
      return info;
    }
    factor1 = lm1 / ln1;
    sol2 = (bm - factor1 * bn) / (lm2 - factor1 * ln2);
    sol1 = (bn - ln2 * sol2) / ln1;
    break;
  default:
    exit(EXIT_FAILURE);
  }
  sol0 = (bl - sol1 * lp1 - sol2 * lp2) / lp0;
  b[0] = sol0;
  b[1] = sol1;
  b[2] = sol2;
  return info;
}


x86 assembly (clang, -O0):
<solve_3x3_gepp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0xe9c(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
movaps 0xe81(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movaps 0xe66(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
ucomisd -0xc0(%rbp),%xmm0
ff
jb     11e5 <solve_3x3_gepp+0xd5>
movsd  -0xb8(%rbp),%xmm0
ff
movsd  -0xc8(%rbp),%xmm1
ff
mov    $0x14,%eax
xor    %ecx,%ecx
ucomisd %xmm1,%xmm0
cmovae %ecx,%eax
mov    %eax,-0xec(%rbp)
jmp    120c <solve_3x3_gepp+0xfc>
movsd  -0xc0(%rbp),%xmm0
ff
movsd  -0xc8(%rbp),%xmm1
ff
mov    $0x14,%eax
mov    $0xa,%ecx
ucomisd %xmm1,%xmm0
cmovae %ecx,%eax
mov    %eax,-0xec(%rbp)
mov    -0xec(%rbp),%eax
mov    %eax,-0xd0(%rbp)
movl   $0x0,-0xd4(%rbp)
mov    -0xd0(%rbp),%eax
mov    %eax,-0xf0(%rbp)
test   %eax,%eax
je     1263 <solve_3x3_gepp+0x153>
jmp    123b <solve_3x3_gepp+0x12b>
mov    -0xf0(%rbp),%eax
sub    $0xa,%eax
je     142d <solve_3x3_gepp+0x31d>
jmp    124f <solve_3x3_gepp+0x13f>
mov    -0xf0(%rbp),%eax
sub    $0x14,%eax
je     15f7 <solve_3x3_gepp+0x4e7>
jmp    17c1 <solve_3x3_gepp+0x6b1>
movsd  -0xa8(%rbp),%xmm0
ff
divsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0x70(%rbp)
movsd  -0xb0(%rbp),%xmm0
ff
divsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0x20(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
movaps 0xd57(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm1
movsd  -0x70(%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  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm1
movsd  -0x78(%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  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    17cf <solve_3x3_gepp+0x6bf>
movsd  -0xa0(%rbp),%xmm0
ff
divsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x70(%rbp)
movsd  -0xb0(%rbp),%xmm0
ff
divsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
movsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x20(%rbp)
movsd  -0xa8(%rbp),%xmm0
ff
movaps 0xb8d(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm1
movsd  -0x70(%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  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm1
movsd  -0x78(%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  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    17cf <solve_3x3_gepp+0x6bf>
movsd  -0xa0(%rbp),%xmm0
ff
divsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x70(%rbp)
movsd  -0xa8(%rbp),%xmm0
ff
divsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
movsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0x20(%rbp)
movsd  -0xb0(%rbp),%xmm0
ff
movaps 0x9c3(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm1
movsd  -0x70(%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  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm1
movsd  -0x78(%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  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm1
movsd  -0x78(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    17cf <solve_3x3_gepp+0x6bf>
mov    0x2810(%rip),%rax
mov    (%rax),%edi
call   1030 <exit@plt>
movsd  -0x98(%rbp),%xmm1
ff
mov    0x280a(%rip),%rax
movsd  (%rax),%xmm0
ucomisd %xmm1,%xmm0
jb     1804 <solve_3x3_gepp+0x6f4>
movl   $0x1,-0xd4(%rbp)
mov    -0xd4(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1b06 <solve_3x3_gepp+0x9f6>
movsd  -0x38(%rbp),%xmm0
movapd 0x7ef(%rip),%xmm1
pand   %xmm1,%xmm0
movlpd %xmm0,-0xe0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
pand   %xmm1,%xmm0
movlpd %xmm0,-0xe8(%rbp)
ff
movsd  -0xe0(%rbp),%xmm0
ff
movsd  -0xe8(%rbp),%xmm1
ff
ucomisd %xmm1,%xmm0
setb   %al
movzbl %al,%eax
mov    %eax,-0xcc(%rbp)
mov    -0xcc(%rbp),%eax
mov    %eax,-0xf4(%rbp)
test   %eax,%eax
je     187b <solve_3x3_gepp+0x76b>
jmp    1867 <solve_3x3_gepp+0x757>
mov    -0xf4(%rbp),%eax
sub    $0x1,%eax
je     196a <solve_3x3_gepp+0x85a>
jmp    1a59 <solve_3x3_gepp+0x949>
movsd  -0xe0(%rbp),%xmm1
ff
mov    0x275e(%rip),%rax
movsd  (%rax),%xmm0
ucomisd %xmm1,%xmm0
jbe    18b0 <solve_3x3_gepp+0x7a0>
movl   $0x1,-0xd4(%rbp)
mov    -0xd4(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1b06 <solve_3x3_gepp+0x9f6>
movsd  -0x48(%rbp),%xmm0
divsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm3
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x60(%rbp),%xmm1
movsd  -0x40(%rbp),%xmm0
movsd  -0x90(%rbp),%xmm2
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
jmp    1a67 <solve_3x3_gepp+0x957>
movsd  -0xe8(%rbp),%xmm1
ff
mov    0x266f(%rip),%rax
movsd  (%rax),%xmm0
ucomisd %xmm1,%xmm0
jbe    199f <solve_3x3_gepp+0x88f>
movl   $0x1,-0xd4(%rbp)
mov    -0xd4(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1b06 <solve_3x3_gepp+0x9f6>
movsd  -0x38(%rbp),%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x60(%rbp),%xmm1
movsd  -0x70(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm3
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x68(%rbp),%xmm1
movsd  -0x50(%rbp),%xmm0
movsd  -0x90(%rbp),%xmm2
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
jmp    1a67 <solve_3x3_gepp+0x957>
mov    0x2578(%rip),%rax
mov    (%rax),%edi
call   1030 <exit@plt>
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm1
ff
movsd  -0x28(%rbp),%xmm2
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x30(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x88(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0xd4(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<solve_3x3_gepp>:
push   %rax
movupd (%rdi),%xmm2
movsd  0x10(%rdi),%xmm0
movapd 0xede(%rip),%xmm7
movapd %xmm2,%xmm6
andpd  %xmm7,%xmm6
andpd  %xmm0,%xmm7
xor    %ecx,%ecx
ucomisd %xmm7,%xmm6
mov    $0x14,%edx
cmovb  %edx,%ecx
pshufd $0xee,%xmm6,%xmm1
ucomisd %xmm7,%xmm1
mov    $0xa,%eax
cmovb  %edx,%eax
ucomisd %xmm1,%xmm6
cmovae %ecx,%eax
cmp    $0x14,%eax
je     11fb <solve_3x3_gepp+0xeb>
cmp    $0xa,%eax
je     127e <solve_3x3_gepp+0x16e>
test   %eax,%eax
jne    13f8 <solve_3x3_gepp+0x2e8>
movsd  0x18(%rdi),%xmm9
movsd  0x30(%rdi),%xmm8
movupd 0x20(%rdi),%xmm1
shufpd $0x2,%xmm2,%xmm0
xorpd  0xe84(%rip),%xmm0
movapd %xmm2,%xmm3
unpcklpd %xmm2,%xmm3
divpd  %xmm3,%xmm0
movapd %xmm0,%xmm4
shufpd $0x1,%xmm0,%xmm4
movapd %xmm9,%xmm3
unpcklpd %xmm9,%xmm3
mulpd  %xmm4,%xmm3
addpd  %xmm1,%xmm3
movsd  (%rsi),%xmm10
movapd %xmm0,%xmm5
unpckhpd %xmm0,%xmm5
movapd %xmm10,%xmm1
unpcklpd %xmm8,%xmm1
movsd  0x8(%rsi),%xmm7
movhpd 0x38(%rdi),%xmm7
mulpd  %xmm1,%xmm5
addpd  %xmm7,%xmm5
unpcklpd %xmm0,%xmm0
movsd  0x10(%rsi),%xmm4
movhpd 0x40(%rdi),%xmm4
mulpd  %xmm1,%xmm0
movapd %xmm0,%xmm7
addpd  %xmm4,%xmm7
jmp    1301 <solve_3x3_gepp+0x1f1>
movsd  0x28(%rdi),%xmm9
movsd  0x40(%rdi),%xmm8
xorpd  0xe01(%rip),%xmm2
movupd 0x18(%rdi),%xmm1
movapd %xmm0,%xmm3
unpcklpd %xmm0,%xmm3
divpd  %xmm3,%xmm2
movapd %xmm9,%xmm3
unpcklpd %xmm9,%xmm3
mulpd  %xmm2,%xmm3
addpd  %xmm1,%xmm3
movsd  0x10(%rsi),%xmm10
movapd %xmm2,%xmm5
unpcklpd %xmm2,%xmm5
movapd %xmm10,%xmm1
unpcklpd %xmm8,%xmm1
movsd  (%rsi),%xmm4
movhpd 0x30(%rdi),%xmm4
movsd  0x8(%rsi),%xmm6
mulpd  %xmm1,%xmm5
addpd  %xmm4,%xmm5
unpckhpd %xmm2,%xmm2
movhpd 0x38(%rdi),%xmm6
mulpd  %xmm1,%xmm2
addpd  %xmm6,%xmm2
movapd %xmm7,%xmm6
movapd %xmm2,%xmm7
jmp    1305 <solve_3x3_gepp+0x1f5>
movsd  0x20(%rdi),%xmm9
movsd  0x38(%rdi),%xmm8
movapd %xmm2,%xmm7
unpcklpd %xmm0,%xmm7
xorpd  0xd76(%rip),%xmm7
unpckhpd %xmm2,%xmm2
divpd  %xmm2,%xmm7
movapd %xmm9,%xmm3
unpcklpd %xmm9,%xmm3
movsd  0x18(%rdi),%xmm0
movhpd 0x28(%rdi),%xmm0
mulpd  %xmm7,%xmm3
addpd  %xmm0,%xmm3
movsd  0x8(%rsi),%xmm10
movapd %xmm7,%xmm5
unpcklpd %xmm7,%xmm5
movapd %xmm10,%xmm0
unpcklpd %xmm8,%xmm0
movsd  (%rsi),%xmm4
movhpd 0x30(%rdi),%xmm4
mulpd  %xmm0,%xmm5
addpd  %xmm4,%xmm5
unpckhpd %xmm7,%xmm7
movsd  0x10(%rsi),%xmm4
movhpd 0x40(%rdi),%xmm4
mulpd  %xmm0,%xmm7
addpd  %xmm4,%xmm7
movapd %xmm1,%xmm6
movapd %xmm2,%xmm0
mov    0x2cdc(%rip),%rax
movsd  (%rax),%xmm1
mov    $0x1,%eax
ucomisd %xmm6,%xmm1
jae    13f6 <solve_3x3_gepp+0x2e6>
movapd 0xcd9(%rip),%xmm2
andpd  %xmm3,%xmm2
pshufd $0xee,%xmm2,%xmm6
ucomisd %xmm6,%xmm2
jae    1386 <solve_3x3_gepp+0x276>
ucomisd %xmm6,%xmm1
ja     13f6 <solve_3x3_gepp+0x2e6>
movapd 0xcc8(%rip),%xmm2
xorpd  %xmm3,%xmm2
unpckhpd %xmm3,%xmm3
divsd  %xmm3,%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm7,%xmm2
addpd  %xmm5,%xmm2
movapd %xmm2,%xmm1
unpckhpd %xmm2,%xmm1
divsd  %xmm1,%xmm2
movapd %xmm7,%xmm1
unpckhpd %xmm7,%xmm1
mulsd  %xmm2,%xmm1
subsd  %xmm1,%xmm7
divsd  %xmm3,%xmm7
movapd %xmm7,%xmm5
jmp    13cc <solve_3x3_gepp+0x2bc>
ucomisd %xmm2,%xmm1
ja     13f6 <solve_3x3_gepp+0x2e6>
movapd %xmm3,%xmm2
unpckhpd %xmm3,%xmm2
xorpd  0xc74(%rip),%xmm2
divsd  %xmm3,%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm5,%xmm2
addpd  %xmm7,%xmm2
movapd %xmm2,%xmm1
unpckhpd %xmm2,%xmm1
divsd  %xmm1,%xmm2
movapd %xmm5,%xmm1
unpckhpd %xmm5,%xmm1
mulsd  %xmm2,%xmm1
subsd  %xmm1,%xmm5
divsd  %xmm3,%xmm5
mulsd  %xmm5,%xmm9
subsd  %xmm9,%xmm10
mulsd  %xmm2,%xmm8
subsd  %xmm8,%xmm10
divsd  %xmm0,%xmm10
movsd  %xmm10,(%rsi)
movsd  %xmm5,0x8(%rsi)
movsd  %xmm2,0x10(%rsi)
xor    %eax,%eax
pop    %rcx
ret
mov    0x2bd9(%rip),%rax
mov    (%rax),%edi
call   1030 <exit@plt>

LLVM IR (-O0):
@EXIT_FAILURE = global i32 0
@DBL_EPSILON = global double 0.000000e+00
define i32 @solve_3x3_gepp(double* noalias %0, double* noalias %1) {
%3 = alloca i32
%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 double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca double
%32 = alloca double
store double* %0, double** %4
store double* %1, double** %5
%33 = load double*, double** %4
%34 = getelementptr inbounds double, double* %33, i64 0
%35 = load double, double* %34
store double %35, double* %22
%36 = load double*, double** %4
%37 = getelementptr inbounds double, double* %36, i64 1
%38 = load double, double* %37
store double %38, double* %23
%39 = load double*, double** %4
%40 = getelementptr inbounds double, double* %39, i64 2
%41 = load double, double* %40
store double %41, double* %24
%42 = load double, double* %22
%43 = call double @llvm.fabs.f64(double %42)
store double %43, double* %25
%44 = load double, double* %23
%45 = call double @llvm.fabs.f64(double %44)
store double %45, double* %26
%46 = load double, double* %24
%47 = call double @llvm.fabs.f64(double %46)
store double %47, double* %27
%48 = load double, double* %25
%49 = load double, double* %26
%50 = fcmp oge double %48, %49
br i1 %50, label %51, label %57
51: ; preds = %2
%52 = load double, double* %25
%53 = load double, double* %27
%54 = fcmp oge double %52, %53
%55 = zext i1 %54 to i64
%56 = select i1 %54, i32 0, i32 20
br label %63
57: ; preds = %2
%58 = load double, double* %26
%59 = load double, double* %27
%60 = fcmp oge double %58, %59
%61 = zext i1 %60 to i64
%62 = select i1 %60, i32 10, i32 20
br label %63
63: ; preds = %57, %51
%64 = phi i32 [ %56, %51 ], [ %62, %57 ]
store i32 %64, i32* %29
store i32 0, i32* %30
%65 = load i32, i32* %29
switch i32 %65, label %249 [
i32 0, label %66
i32 10, label %127
i32 20, label %188
]
66: ; preds = %63
%67 = load double, double* %23
%68 = load double, double* %22
%69 = fdiv double %67, %68
store double %69, double* %16
%70 = load double, double* %24
%71 = load double, double* %22
%72 = fdiv double %70, %71
store double %72, double* %17
%73 = load double, double* %22
store double %73, double* %6
%74 = load double, double* %22
%75 = call double @llvm.fabs.f64(double %74)
store double %75, double* %21
%76 = load double*, double** %4
%77 = getelementptr inbounds double, double* %76, i64 3
%78 = load double, double* %77
store double %78, double* %7
%79 = load double*, double** %4
%80 = getelementptr inbounds double, double* %79, i64 6
%81 = load double, double* %80
store double %81, double* %8
%82 = load double*, double** %4
%83 = getelementptr inbounds double, double* %82, i64 4
%84 = load double, double* %83
%85 = load double, double* %16
%86 = load double, double* %7
%87 = fneg double %85
%88 = call double @llvm.fmuladd.f64(double %87, double %86, double %84)
store double %88, double* %9
%89 = load double*, double** %4
%90 = getelementptr inbounds double, double* %89, i64 7
%91 = load double, double* %90
%92 = load double, double* %16
%93 = load double, double* %8
%94 = fneg double %92
%95 = call double @llvm.fmuladd.f64(double %94, double %93, double %91)
store double %95, double* %10
%96 = load double*, double** %4
%97 = getelementptr inbounds double, double* %96, i64 5
%98 = load double, double* %97
%99 = load double, double* %17
%100 = load double, double* %7
%101 = fneg double %99
%102 = call double @llvm.fmuladd.f64(double %101, double %100, double %98)
store double %102, double* %11
%103 = load double*, double** %4
%104 = getelementptr inbounds double, double* %103, i64 8
%105 = load double, double* %104
%106 = load double, double* %17
%107 = load double, double* %8
%108 = fneg double %106
%109 = call double @llvm.fmuladd.f64(double %108, double %107, double %105)
store double %109, double* %12
%110 = load double*, double** %5
%111 = getelementptr inbounds double, double* %110, i64 0
%112 = load double, double* %111
store double %112, double* %13
%113 = load double*, double** %5
%114 = getelementptr inbounds double, double* %113, i64 1
%115 = load double, double* %114
%116 = load double, double* %16
%117 = load double, double* %13
%118 = fneg double %116
%119 = call double @llvm.fmuladd.f64(double %118, double %117, double %115)
store double %119, double* %14
%120 = load double*, double** %5
%121 = getelementptr inbounds double, double* %120, i64 2
%122 = load double, double* %121
%123 = load double, double* %17
%124 = load double, double* %13
%125 = fneg double %123
%126 = call double @llvm.fmuladd.f64(double %125, double %124, double %122)
store double %126, double* %15
br label %252
127: ; preds = %63
%128 = load double, double* %22
%129 = load double, double* %23
%130 = fdiv double %128, %129
store double %130, double* %16
%131 = load double, double* %24
%132 = load double, double* %23
%133 = fdiv double %131, %132
store double %133, double* %17
%134 = load double, double* %23
store double %134, double* %6
%135 = load double, double* %23
%136 = call double @llvm.fabs.f64(double %135)
store double %136, double* %21
%137 = load double*, double** %4
%138 = getelementptr inbounds double, double* %137, i64 4
%139 = load double, double* %138
store double %139, double* %7
%140 = load double*, double** %4
%141 = getelementptr inbounds double, double* %140, i64 7
%142 = load double, double* %141
store double %142, double* %8
%143 = load double*, double** %4
%144 = getelementptr inbounds double, double* %143, i64 3
%145 = load double, double* %144
%146 = load double, double* %16
%147 = load double, double* %7
%148 = fneg double %146
%149 = call double @llvm.fmuladd.f64(double %148, double %147, double %145)
store double %149, double* %9
%150 = load double*, double** %4
%151 = getelementptr inbounds double, double* %150, i64 6
%152 = load double, double* %151
%153 = load double, double* %16
%154 = load double, double* %8
%155 = fneg double %153
%156 = call double @llvm.fmuladd.f64(double %155, double %154, double %152)
store double %156, double* %10
%157 = load double*, double** %4
%158 = getelementptr inbounds double, double* %157, i64 5
%159 = load double, double* %158
%160 = load double, double* %17
%161 = load double, double* %7
%162 = fneg double %160
%163 = call double @llvm.fmuladd.f64(double %162, double %161, double %159)
store double %163, double* %11
%164 = load double*, double** %4
%165 = getelementptr inbounds double, double* %164, i64 8
%166 = load double, double* %165
%167 = load double, double* %17
%168 = load double, double* %8
%169 = fneg double %167
%170 = call double @llvm.fmuladd.f64(double %169, double %168, double %166)
store double %170, double* %12
%171 = load double*, double** %5
%172 = getelementptr inbounds double, double* %171, i64 1
%173 = load double, double* %172
store double %173, double* %13
%174 = load double*, double** %5
%175 = getelementptr inbounds double, double* %174, i64 0
%176 = load double, double* %175
%177 = load double, double* %16
%178 = load double, double* %13
%179 = fneg double %177
%180 = call double @llvm.fmuladd.f64(double %179, double %178, double %176)
store double %180, double* %14
%181 = load double*, double** %5
%182 = getelementptr inbounds double, double* %181, i64 2
%183 = load double, double* %182
%184 = load double, double* %17
%185 = load double, double* %13
%186 = fneg double %184
%187 = call double @llvm.fmuladd.f64(double %186, double %185, double %183)
store double %187, double* %15
br label %252
188: ; preds = %63
%189 = load double, double* %22
%190 = load double, double* %24
%191 = fdiv double %189, %190
store double %191, double* %16
%192 = load double, double* %23
%193 = load double, double* %24
%194 = fdiv double %192, %193
store double %194, double* %17
%195 = load double, double* %24
store double %195, double* %6
%196 = load double, double* %24
%197 = call double @llvm.fabs.f64(double %196)
store double %197, double* %21
%198 = load double*, double** %4
%199 = getelementptr inbounds double, double* %198, i64 5
%200 = load double, double* %199
store double %200, double* %7
%201 = load double*, double** %4
%202 = getelementptr inbounds double, double* %201, i64 8
%203 = load double, double* %202
store double %203, double* %8
%204 = load double*, double** %4
%205 = getelementptr inbounds double, double* %204, i64 3
%206 = load double, double* %205
%207 = load double, double* %16
%208 = load double, double* %7
%209 = fneg double %207
%210 = call double @llvm.fmuladd.f64(double %209, double %208, double %206)
store double %210, double* %9
%211 = load double*, double** %4
%212 = getelementptr inbounds double, double* %211, i64 6
%213 = load double, double* %212
%214 = load double, double* %16
%215 = load double, double* %8
%216 = fneg double %214
%217 = call double @llvm.fmuladd.f64(double %216, double %215, double %213)
store double %217, double* %10
%218 = load double*, double** %4
%219 = getelementptr inbounds double, double* %218, i64 4
%220 = load double, double* %219
%221 = load double, double* %17
%222 = load double, double* %7
%223 = fneg double %221
%224 = call double @llvm.fmuladd.f64(double %223, double %222, double %220)
store double %224, double* %11
%225 = load double*, double** %4
%226 = getelementptr inbounds double, double* %225, i64 7
%227 = load double, double* %226
%228 = load double, double* %17
%229 = load double, double* %8
%230 = fneg double %228
%231 = call double @llvm.fmuladd.f64(double %230, double %229, double %227)
store double %231, double* %12
%232 = load double*, double** %5
%233 = getelementptr inbounds double, double* %232, i64 2
%234 = load double, double* %233
store double %234, double* %13
%235 = load double*, double** %5
%236 = getelementptr inbounds double, double* %235, i64 0
%237 = load double, double* %236
%238 = load double, double* %16
%239 = load double, double* %13
%240 = fneg double %238
%241 = call double @llvm.fmuladd.f64(double %240, double %239, double %237)
store double %241, double* %14
%242 = load double*, double** %5
%243 = getelementptr inbounds double, double* %242, i64 1
%244 = load double, double* %243
%245 = load double, double* %17
%246 = load double, double* %13
%247 = fneg double %245
%248 = call double @llvm.fmuladd.f64(double %247, double %246, double %244)
store double %248, double* %15
br label %252
249: ; preds = %63
%250 = load i32, i32* @EXIT_FAILURE
%251 = call i32 @exit(i32 %250)
unreachable
252: ; preds = %188, %127, %66
%253 = load double, double* %21
%254 = load double, double* @DBL_EPSILON
%255 = fcmp ole double %253, %254
br i1 %255, label %256, label %258
256: ; preds = %252
store i32 1, i32* %30
%257 = load i32, i32* %30
store i32 %257, i32* %3
br label %350
258: ; preds = %252
%259 = load double, double* %9
%260 = call double @llvm.fabs.f64(double %259)
store double %260, double* %31
%261 = load double, double* %11
%262 = call double @llvm.fabs.f64(double %261)
store double %262, double* %32
%263 = load double, double* %31
%264 = load double, double* %32
%265 = fcmp oge double %263, %264
%266 = zext i1 %265 to i64
%267 = select i1 %265, i32 0, i32 1
store i32 %267, i32* %28
%268 = load i32, i32* %28
switch i32 %268, label %325 [
i32 0, label %269
i32 1, label %297
]
269: ; preds = %258
%270 = load double, double* %31
%271 = load double, double* @DBL_EPSILON
%272 = fcmp olt double %270, %271
br i1 %272, label %273, label %275
273: ; preds = %269
store i32 1, i32* %30
%274 = load i32, i32* %30
store i32 %274, i32* %3
br label %350
275: ; preds = %269
%276 = load double, double* %11
%277 = load double, double* %9
%278 = fdiv double %276, %277
store double %278, double* %16
%279 = load double, double* %15
%280 = load double, double* %16
%281 = load double, double* %14
%282 = fneg double %280
%283 = call double @llvm.fmuladd.f64(double %282, double %281, double %279)
%284 = load double, double* %12
%285 = load double, double* %16
%286 = load double, double* %10
%287 = fneg double %285
%288 = call double @llvm.fmuladd.f64(double %287, double %286, double %284)
%289 = fdiv double %283, %288
store double %289, double* %20
%290 = load double, double* %14
%291 = load double, double* %10
%292 = load double, double* %20
%293 = fneg double %291
%294 = call double @llvm.fmuladd.f64(double %293, double %292, double %290)
%295 = load double, double* %9
%296 = fdiv double %294, %295
store double %296, double* %19
br label %328
297: ; preds = %258
%298 = load double, double* %32
%299 = load double, double* @DBL_EPSILON
%300 = fcmp olt double %298, %299
br i1 %300, label %301, label %303
301: ; preds = %297
store i32 1, i32* %30
%302 = load i32, i32* %30
store i32 %302, i32* %3
br label %350
303: ; preds = %297
%304 = load double, double* %9
%305 = load double, double* %11
%306 = fdiv double %304, %305
store double %306, double* %16
%307 = load double, double* %14
%308 = load double, double* %16
%309 = load double, double* %15
%310 = fneg double %308
%311 = call double @llvm.fmuladd.f64(double %310, double %309, double %307)
%312 = load double, double* %10
%313 = load double, double* %16
%314 = load double, double* %12
%315 = fneg double %313
%316 = call double @llvm.fmuladd.f64(double %315, double %314, double %312)
%317 = fdiv double %311, %316
store double %317, double* %20
%318 = load double, double* %15
%319 = load double, double* %12
%320 = load double, double* %20
%321 = fneg double %319
%322 = call double @llvm.fmuladd.f64(double %321, double %320, double %318)
%323 = load double, double* %11
%324 = fdiv double %322, %323
store double %324, double* %19
br label %328
325: ; preds = %258
%326 = load i32, i32* @EXIT_FAILURE
%327 = call i32 @exit(i32 %326)
unreachable
328: ; preds = %303, %275
%329 = load double, double* %13
%330 = load double, double* %19
%331 = load double, double* %7
%332 = fneg double %330
%333 = call double @llvm.fmuladd.f64(double %332, double %331, double %329)
%334 = load double, double* %20
%335 = load double, double* %8
%336 = fneg double %334
%337 = call double @llvm.fmuladd.f64(double %336, double %335, double %333)
%338 = load double, double* %6
%339 = fdiv double %337, %338
store double %339, double* %18
%340 = load double, double* %18
%341 = load double*, double** %5
%342 = getelementptr inbounds double, double* %341, i64 0
store double %340, double* %342
%343 = load double, double* %19
%344 = load double*, double** %5
%345 = getelementptr inbounds double, double* %344, i64 1
store double %343, double* %345
%346 = load double, double* %20
%347 = load double*, double** %5
%348 = getelementptr inbounds double, double* %347, i64 2
store double %346, double* %348
%349 = load i32, i32* %30
store i32 %349, i32* %3
br label %350
350: ; preds = %328, %301, %273, %256
%351 = load i32, i32* %3
ret i32 %351
}

LLVM IR (-O2):
@EXIT_FAILURE = global i32 0
@DBL_EPSILON = global double 0.000000e+00
define i32 @solve_3x3_gepp(double* noalias %0, double* noalias nocapture %1) {
%3 = bitcast double* %0 to <2 x double>*
%4 = load <2 x double>, <2 x double>* %3
%5 = getelementptr inbounds double, double* %0, i64 2
%6 = load double, double* %5
%7 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %4)
%8 = tail call double @llvm.fabs.f64(double %6)
%9 = extractelement <2 x double> %7, i64 0
%10 = extractelement <2 x double> %7, i64 1
%11 = fcmp ult double %9, %10
%12 = fcmp oge double %9, %8
%13 = select i1 %12, i32 0, i32 20
%14 = fcmp oge double %10, %8
%15 = select i1 %14, i32 10, i32 20
%16 = select i1 %11, i32 %15, i32 %13
switch i32 %16, label %125 [
i32 0, label %17
i32 10, label %53
i32 20, label %91
]
17: ; preds = %2
%18 = getelementptr inbounds double, double* %0, i64 3
%19 = load double, double* %18
%20 = getelementptr inbounds double, double* %0, i64 6
%21 = load double, double* %20
%22 = getelementptr inbounds double, double* %0, i64 4
%23 = getelementptr inbounds double, double* %0, i64 7
%24 = load double, double* %23
%25 = bitcast double* %22 to <2 x double>*
%26 = load <2 x double>, <2 x double>* %25
%27 = insertelement <2 x double> %4, double %6, i64 0
%28 = fneg <2 x double> %27
%29 = extractelement <2 x double> %4, i64 0
%30 = shufflevector <2 x double> %4, <2 x double> undef, <2 x i32> zeroinitializer
%31 = fdiv <2 x double> %28, %30
%32 = shufflevector <2 x double> %31, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%33 = insertelement <2 x double> poison, double %19, i64 0
%34 = shufflevector <2 x double> %33, <2 x double> poison, <2 x i32> zeroinitializer
%35 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %32, <2 x double> %34, <2 x double> %26)
%36 = getelementptr inbounds double, double* %0, i64 8
%37 = load double, double* %36
%38 = load double, double* %1
%39 = getelementptr inbounds double, double* %1, i64 1
%40 = load double, double* %39
%41 = shufflevector <2 x double> %31, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%42 = insertelement <2 x double> poison, double %38, i64 0
%43 = insertelement <2 x double> %42, double %21, i64 1
%44 = insertelement <2 x double> poison, double %40, i64 0
%45 = insertelement <2 x double> %44, double %24, i64 1
%46 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %41, <2 x double> %43, <2 x double> %45)
%47 = getelementptr inbounds double, double* %1, i64 2
%48 = load double, double* %47
%49 = shufflevector <2 x double> %31, <2 x double> undef, <2 x i32> zeroinitializer
%50 = insertelement <2 x double> poison, double %48, i64 0
%51 = insertelement <2 x double> %50, double %37, i64 1
%52 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %49, <2 x double> %43, <2 x double> %51)
br label %128
53: ; preds = %2
%54 = getelementptr inbounds double, double* %0, i64 4
%55 = load double, double* %54
%56 = getelementptr inbounds double, double* %0, i64 7
%57 = load double, double* %56
%58 = getelementptr inbounds double, double* %0, i64 3
%59 = load double, double* %58
%60 = getelementptr inbounds double, double* %0, i64 6
%61 = load double, double* %60
%62 = getelementptr inbounds double, double* %0, i64 5
%63 = load double, double* %62
%64 = insertelement <2 x double> %4, double %6, i64 1
%65 = fneg <2 x double> %64
%66 = extractelement <2 x double> %4, i64 1
%67 = shufflevector <2 x double> %4, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%68 = fdiv <2 x double> %65, %67
%69 = insertelement <2 x double> poison, double %55, i64 0
%70 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> zeroinitializer
%71 = insertelement <2 x double> poison, double %59, i64 0
%72 = insertelement <2 x double> %71, double %63, i64 1
%73 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %68, <2 x double> %70, <2 x double> %72)
%74 = getelementptr inbounds double, double* %0, i64 8
%75 = load double, double* %74
%76 = getelementptr inbounds double, double* %1, i64 1
%77 = load double, double* %76
%78 = load double, double* %1
%79 = shufflevector <2 x double> %68, <2 x double> undef, <2 x i32> zeroinitializer
%80 = insertelement <2 x double> poison, double %77, i64 0
%81 = insertelement <2 x double> %80, double %57, i64 1
%82 = insertelement <2 x double> poison, double %78, i64 0
%83 = insertelement <2 x double> %82, double %61, i64 1
%84 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %79, <2 x double> %81, <2 x double> %83)
%85 = getelementptr inbounds double, double* %1, i64 2
%86 = load double, double* %85
%87 = shufflevector <2 x double> %68, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%88 = insertelement <2 x double> poison, double %86, i64 0
%89 = insertelement <2 x double> %88, double %75, i64 1
%90 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %87, <2 x double> %81, <2 x double> %89)
br label %128
91: ; preds = %2
%92 = getelementptr inbounds double, double* %0, i64 5
%93 = load double, double* %92
%94 = getelementptr inbounds double, double* %0, i64 8
%95 = load double, double* %94
%96 = getelementptr inbounds double, double* %0, i64 3
%97 = getelementptr inbounds double, double* %0, i64 6
%98 = load double, double* %97
%99 = bitcast double* %96 to <2 x double>*
%100 = load <2 x double>, <2 x double>* %99
%101 = fneg <2 x double> %4
%102 = insertelement <2 x double> poison, double %6, i64 0
%103 = shufflevector <2 x double> %102, <2 x double> poison, <2 x i32> zeroinitializer
%104 = fdiv <2 x double> %101, %103
%105 = insertelement <2 x double> poison, double %93, i64 0
%106 = shufflevector <2 x double> %105, <2 x double> poison, <2 x i32> zeroinitializer
%107 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %104, <2 x double> %106, <2 x double> %100)
%108 = getelementptr inbounds double, double* %0, i64 7
%109 = load double, double* %108
%110 = getelementptr inbounds double, double* %1, i64 2
%111 = load double, double* %110
%112 = load double, double* %1
%113 = shufflevector <2 x double> %104, <2 x double> undef, <2 x i32> zeroinitializer
%114 = insertelement <2 x double> poison, double %111, i64 0
%115 = insertelement <2 x double> %114, double %95, i64 1
%116 = insertelement <2 x double> poison, double %112, i64 0
%117 = insertelement <2 x double> %116, double %98, i64 1
%118 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %113, <2 x double> %115, <2 x double> %117)
%119 = getelementptr inbounds double, double* %1, i64 1
%120 = load double, double* %119
%121 = shufflevector <2 x double> %104, <2 x double> undef, <2 x i32> <i32 1, i32 1>
%122 = insertelement <2 x double> poison, double %120, i64 0
%123 = insertelement <2 x double> %122, double %109, i64 1
%124 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %115, <2 x double> %123)
br label %128
125: ; preds = %2
%126 = load i32, i32* @EXIT_FAILURE
%127 = tail call i32 @exit(i32 %126)
unreachable
128: ; preds = %91, %53, %17
%129 = phi double [ %8, %91 ], [ %10, %53 ], [ %9, %17 ]
%130 = phi double [ %111, %91 ], [ %77, %53 ], [ %38, %17 ]
%131 = phi double [ %95, %91 ], [ %57, %53 ], [ %21, %17 ]
%132 = phi double [ %93, %91 ], [ %55, %53 ], [ %19, %17 ]
%133 = phi double [ %6, %91 ], [ %66, %53 ], [ %29, %17 ]
%134 = phi <2 x double> [ %124, %91 ], [ %90, %53 ], [ %52, %17 ]
%135 = phi <2 x double> [ %118, %91 ], [ %84, %53 ], [ %46, %17 ]
%136 = phi <2 x double> [ %107, %91 ], [ %73, %53 ], [ %35, %17 ]
%137 = load double, double* @DBL_EPSILON
%138 = fcmp ugt double %129, %137
br i1 %138, label %139, label %190
139: ; preds = %128
%140 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %136)
%141 = extractelement <2 x double> %140, i64 0
%142 = extractelement <2 x double> %140, i64 1
%143 = fcmp ult double %141, %142
br i1 %143, label %162, label %144
144: ; preds = %139
%145 = fcmp olt double %141, %137
br i1 %145, label %190, label %146
146: ; preds = %144
%147 = extractelement <2 x double> %136, i64 1
%148 = fneg double %147
%149 = extractelement <2 x double> %136, i64 0
%150 = fdiv double %148, %149
%151 = insertelement <2 x double> poison, double %150, i64 0
%152 = shufflevector <2 x double> %151, <2 x double> poison, <2 x i32> zeroinitializer
%153 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %152, <2 x double> %135, <2 x double> %134)
%154 = extractelement <2 x double> %153, i64 0
%155 = extractelement <2 x double> %153, i64 1
%156 = fdiv double %154, %155
%157 = extractelement <2 x double> %135, i64 1
%158 = fneg double %157
%159 = extractelement <2 x double> %135, i64 0
%160 = tail call double @llvm.fmuladd.f64(double %158, double %156, double %159)
%161 = fdiv double %160, %149
br label %180
162: ; preds = %139
%163 = fcmp olt double %142, %137
br i1 %163, label %190, label %164
164: ; preds = %162
%165 = extractelement <2 x double> %136, i64 0
%166 = fneg double %165
%167 = extractelement <2 x double> %136, i64 1
%168 = fdiv double %166, %167
%169 = insertelement <2 x double> poison, double %168, i64 0
%170 = shufflevector <2 x double> %169, <2 x double> poison, <2 x i32> zeroinitializer
%171 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %170, <2 x double> %134, <2 x double> %135)
%172 = extractelement <2 x double> %171, i64 0
%173 = extractelement <2 x double> %171, i64 1
%174 = fdiv double %172, %173
%175 = extractelement <2 x double> %134, i64 1
%176 = fneg double %175
%177 = extractelement <2 x double> %134, i64 0
%178 = tail call double @llvm.fmuladd.f64(double %176, double %174, double %177)
%179 = fdiv double %178, %167
br label %180
180: ; preds = %164, %146
%181 = phi double [ %179, %164 ], [ %161, %146 ]
%182 = phi double [ %174, %164 ], [ %156, %146 ]
%183 = fneg double %181
%184 = tail call double @llvm.fmuladd.f64(double %183, double %132, double %130)
%185 = fneg double %182
%186 = tail call double @llvm.fmuladd.f64(double %185, double %131, double %184)
%187 = fdiv double %186, %133
store double %187, double* %1
%188 = getelementptr inbounds double, double* %1, i64 1
store double %181, double* %188
%189 = getelementptr inbounds double, double* %1, i64 2
store double %182, double* %189
br label %190
190: ; preds = %180, %144, %162, %128
%191 = phi i32 [ 1, %128 ], [ 0, %180 ], [ 1, %144 ], [ 1, %162 ]
ret i32 %191
}