#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 fabs(double);
int /*<<< orphan*/ pivot(double **, double *, double *, int, int);
void eliminate_mod(double **a, double *s, int n, double *b, double tol,
                   int *er) {
  int k, i, j;
  double factor;
  for (k = 0; k < n - 1; k++) {
    pivot(a, b, s, n, k);
    for (i = k + 1; i < n; i++) {
      factor = a[i][k] / a[k][k];
      for (j = k + 1; j < n; j++) {
        a[i][j] = a[i][j] - factor * a[k][j];
      }
      b[i] = b[i] - factor * b[k];
    }
  }
  if (fabs(a[k][k] / s[k]) < tol)
    *er = -1;
}


x86 assembly (clang, -O0):
<eliminate_mod>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1296 <eliminate_mod+0x186>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rsi
mov    -0x10(%rbp),%rdx
mov    -0x14(%rbp),%ecx
mov    -0x34(%rbp),%r8d
call   1030 <pivot@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1283 <eliminate_mod+0x173>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    122a <eliminate_mod+0x11a>
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x3c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11ad <eliminate_mod+0x9d>
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1169 <eliminate_mod+0x59>
jmp    1288 <eliminate_mod+0x178>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1137 <eliminate_mod+0x27>
mov    -0x8(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm1
movaps 0xd41(%rip),%xmm0
pand   %xmm0,%xmm1
movsd  -0x28(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jbe    12dc <eliminate_mod+0x1cc>
mov    -0x30(%rbp),%rax
movl   $0xffffffff,(%rax)
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<eliminate_mod>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
mov    %rsi,0x8(%rsp)
cmp    $0x2,%edx
jl     143b <eliminate_mod+0x32b>
mov    %rcx,%r12
mov    %edx,%ecx
movsd  %xmm0,0x30(%rsp)
mov    %r8,0x38(%rsp)
lea    -0x1(%rcx),%eax
mov    %edx,%r15d
mov    %eax,%edx
mov    %r15,%r10
neg    %r10
lea    -0x5(%r15),%rax
mov    %rax,0x10(%rsp)
mov    $0x1,%r11d
mov    $0x7,%eax
mov    %rax,(%rsp)
xor    %r13d,%r13d
mov    %rdx,0x48(%rsp)
mov    %rcx,0x40(%rsp)
mov    %r10,0x20(%rsp)
mov    %rdi,0x18(%rsp)
jmp    11a7 <eliminate_mod+0x97>
xchg   %ax,%ax
add    $0x1,%r11
addq   $0x1,(%rsp)
addq   $0xffffffffffffffff,0x10(%rsp)
mov    0x48(%rsp),%rdx
mov    0x50(%rsp),%r13
cmp    %rdx,%r13
mov    0x40(%rsp),%rcx
je     143f <eliminate_mod+0x32f>
mov    %r11,0x28(%rsp)
mov    %r12,%rsi
mov    0x8(%rsp),%rdx
mov    %r13d,%r8d
call   1030 <pivot@plt>
mov    0x28(%rsp),%r11
mov    0x18(%rsp),%rdi
movapd 0xe32(%rip),%xmm7
mov    0x20(%rsp),%r10
lea    0x1(%r13),%rax
mov    %rax,0x50(%rsp)
cmp    %r15,%rax
jae    1180 <eliminate_mod+0x70>
mov    0x10(%rsp),%rax
shr    $0x2,%rax
add    $0x1,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0x58(%rsp)
mov    %r13,%rbp
not    %rbp
lea    (%r15,%rbp,1),%rax
add    $0xfffffffffffffffc,%rax
add    %r15,%rbp
mov    %rax,0x78(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %rax,0x70(%rsp)
mov    (%rdi,%r13,8),%rax
lea    (%rax,%r11,8),%rcx
mov    %rcx,0x80(%rsp)
lea    (%rax,%r15,8),%rdx
mov    %rbp,%rcx
and    $0xfffffffffffffffc,%rcx
mov    %rcx,0x68(%rsp)
add    %r11,%rcx
mov    %rcx,0x60(%rsp)
mov    (%rsp),%rcx
lea    (%rax,%rcx,8),%r8
mov    %r11,%r14
jmp    126f <eliminate_mod+0x15f>
nop
mulsd  (%r12,%r13,8),%xmm0
addsd  (%r12,%r14,8),%xmm0
movsd  %xmm0,(%r12,%r14,8)
add    $0x1,%r14
cmp    %r15,%r14
je     1180 <eliminate_mod+0x70>
mov    (%rdi,%r14,8),%r9
movsd  (%r9,%r13,8),%xmm0
xorpd  %xmm7,%xmm0
divsd  (%rax,%r13,8),%xmm0
mov    %r11,%rbx
cmp    $0x4,%rbp
jb     13c0 <eliminate_mod+0x2b0>
lea    (%r9,%r11,8),%rsi
cmp    %rdx,%rsi
jae    12ae <eliminate_mod+0x19e>
lea    (%r9,%r15,8),%rcx
mov    %r11,%rbx
cmp    %rcx,0x80(%rsp)
jb     13c0 <eliminate_mod+0x2b0>
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
cmpq   $0x4,0x78(%rsp)
jae    12c6 <eliminate_mod+0x1b6>
xor    %r10d,%r10d
jmp    135b <eliminate_mod+0x24b>
mov    (%rsp),%rcx
lea    (%r9,%rcx,8),%r11
mov    0x58(%rsp),%rdi
xor    %r10d,%r10d
cs nopw 0x0(%rax,%rax,1)
movupd -0x30(%r8,%r10,8),%xmm2
movupd -0x20(%r8,%r10,8),%xmm3
mulpd  %xmm1,%xmm2
movupd -0x30(%r11,%r10,8),%xmm4
addpd  %xmm2,%xmm4
movupd -0x20(%r11,%r10,8),%xmm2
movupd -0x10(%r11,%r10,8),%xmm5
movupd (%r11,%r10,8),%xmm6
mulpd  %xmm1,%xmm3
addpd  %xmm2,%xmm3
movupd %xmm4,-0x30(%r11,%r10,8)
movupd %xmm3,-0x20(%r11,%r10,8)
movupd -0x10(%r8,%r10,8),%xmm2
movupd (%r8,%r10,8),%xmm3
mulpd  %xmm1,%xmm2
addpd  %xmm5,%xmm2
mulpd  %xmm1,%xmm3
addpd  %xmm6,%xmm3
movupd %xmm2,-0x10(%r11,%r10,8)
movupd %xmm3,(%r11,%r10,8)
add    $0x8,%r10
add    $0xfffffffffffffffe,%rdi
jne    12e0 <eliminate_mod+0x1d0>
testb  $0x1,0x70(%rsp)
mov    0x18(%rsp),%rdi
mov    0x28(%rsp),%r11
je     13a6 <eliminate_mod+0x296>
add    %r11,%r10
movupd (%r9,%r10,8),%xmm2
movupd 0x10(%r9,%r10,8),%xmm3
movupd (%rax,%r10,8),%xmm4
movupd 0x10(%rax,%r10,8),%xmm5
mulpd  %xmm1,%xmm4
addpd  %xmm2,%xmm4
mulpd  %xmm1,%xmm5
addpd  %xmm3,%xmm5
movupd %xmm4,(%r9,%r10,8)
movupd %xmm5,0x10(%r9,%r10,8)
mov    0x60(%rsp),%rbx
cmp    0x68(%rsp),%rbp
mov    0x20(%rsp),%r10
je     1250 <eliminate_mod+0x140>
nopl   0x0(%rax,%rax,1)
mov    %r15d,%ecx
sub    %ebx,%ecx
mov    %rbx,%rsi
test   $0x1,%cl
je     13e6 <eliminate_mod+0x2d6>
movsd  (%rax,%rbx,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  (%r9,%rbx,8),%xmm1
movsd  %xmm1,(%r9,%rbx,8)
lea    0x1(%rbx),%rsi
not    %rbx
cmp    %r10,%rbx
je     1250 <eliminate_mod+0x140>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%rax,%rsi,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  (%r9,%rsi,8),%xmm1
movsd  %xmm1,(%r9,%rsi,8)
movsd  0x8(%rax,%rsi,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x8(%r9,%rsi,8),%xmm1
movsd  %xmm1,0x8(%r9,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%r15
jne    1400 <eliminate_mod+0x2f0>
jmp    1250 <eliminate_mod+0x140>
xor    %edx,%edx
jmp    144a <eliminate_mod+0x33a>
mov    0x38(%rsp),%r8
movsd  0x30(%rsp),%xmm0
mov    (%rdi,%rdx,8),%rax
movsd  (%rax,%rdx,8),%xmm1
mov    0x8(%rsp),%rax
divsd  (%rax,%rdx,8),%xmm1
andpd  0xbab(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1472 <eliminate_mod+0x362>
movl   $0xffffffff,(%r8)
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @eliminate_mod(double** %0, double* %1, i32 %2, double* %3, double %4, i32* %5) {
%7 = alloca double**
%8 = alloca double*
%9 = alloca i32
%10 = alloca double*
%11 = alloca double
%12 = alloca i32*
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca double
store double** %0, double*** %7
store double* %1, double** %8
store i32 %2, i32* %9
store double* %3, double** %10
store double %4, double* %11
store i32* %5, i32** %12
store i32 0, i32* %13
br label %17
17: ; preds = %116, %6
%18 = load i32, i32* %13
%19 = load i32, i32* %9
%20 = sub nsw i32 %19, 1
%21 = icmp slt i32 %18, %20
br i1 %21, label %22, label %119
22: ; preds = %17
%23 = load double**, double*** %7
%24 = load double*, double** %10
%25 = load double*, double** %8
%26 = load i32, i32* %9
%27 = load i32, i32* %13
%28 = call i32 @pivot(double** %23, double* %24, double* %25, i32 %26, i32 %27)
%29 = load i32, i32* %13
%30 = add nsw i32 %29, 1
store i32 %30, i32* %14
br label %31
31: ; preds = %112, %22
%32 = load i32, i32* %14
%33 = load i32, i32* %9
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %115
35: ; preds = %31
%36 = load double**, double*** %7
%37 = load i32, i32* %14
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double*, double** %36, i64 %38
%40 = load double*, double** %39
%41 = load i32, i32* %13
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double, double* %40, i64 %42
%44 = load double, double* %43
%45 = load double**, double*** %7
%46 = load i32, i32* %13
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double*, double** %45, i64 %47
%49 = load double*, double** %48
%50 = load i32, i32* %13
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, double* %49, i64 %51
%53 = load double, double* %52
%54 = fdiv double %44, %53
store double %54, double* %16
%55 = load i32, i32* %13
%56 = add nsw i32 %55, 1
store i32 %56, i32* %15
br label %57
57: ; preds = %91, %35
%58 = load i32, i32* %15
%59 = load i32, i32* %9
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %94
61: ; preds = %57
%62 = load double**, double*** %7
%63 = load i32, i32* %14
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double*, double** %62, i64 %64
%66 = load double*, double** %65
%67 = load i32, i32* %15
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, double* %66, i64 %68
%70 = load double, double* %69
%71 = load double, double* %16
%72 = load double**, double*** %7
%73 = load i32, i32* %13
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double*, double** %72, i64 %74
%76 = load double*, double** %75
%77 = load i32, i32* %15
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %76, i64 %78
%80 = load double, double* %79
%81 = fneg double %71
%82 = call double @llvm.fmuladd.f64(double %81, double %80, double %70)
%83 = load double**, double*** %7
%84 = load i32, i32* %14
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds double*, double** %83, i64 %85
%87 = load double*, double** %86
%88 = load i32, i32* %15
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, double* %87, i64 %89
store double %82, double* %90
br label %91
91: ; preds = %61
%92 = load i32, i32* %15
%93 = add nsw i32 %92, 1
store i32 %93, i32* %15
br label %57
94: ; preds = %57
%95 = load double*, double** %10
%96 = load i32, i32* %14
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %95, i64 %97
%99 = load double, double* %98
%100 = load double, double* %16
%101 = load double*, double** %10
%102 = load i32, i32* %13
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, double* %101, i64 %103
%105 = load double, double* %104
%106 = fneg double %100
%107 = call double @llvm.fmuladd.f64(double %106, double %105, double %99)
%108 = load double*, double** %10
%109 = load i32, i32* %14
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, double* %108, i64 %110
store double %107, double* %111
br label %112
112: ; preds = %94
%113 = load i32, i32* %14
%114 = add nsw i32 %113, 1
store i32 %114, i32* %14
br label %31
115: ; preds = %31
br label %116
116: ; preds = %115
%117 = load i32, i32* %13
%118 = add nsw i32 %117, 1
store i32 %118, i32* %13
br label %17
119: ; preds = %17
%120 = load double**, double*** %7
%121 = load i32, i32* %13
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double*, double** %120, i64 %122
%124 = load double*, double** %123
%125 = load i32, i32* %13
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, double* %124, i64 %126
%128 = load double, double* %127
%129 = load double*, double** %8
%130 = load i32, i32* %13
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds double, double* %129, i64 %131
%133 = load double, double* %132
%134 = fdiv double %128, %133
%135 = call double @llvm.fabs.f64(double %134)
%136 = load double, double* %11
%137 = fcmp olt double %135, %136
br i1 %137, label %138, label %140
138: ; preds = %119
%139 = load i32*, i32** %12
store i32 -1, i32* %139
br label %140
140: ; preds = %138, %119
ret void
}

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