void crosscheckusevoter(double **x, double **ystar, int **ok, int n, int q,
                        int j, double **xpx, double *xpy, int *usevoter) {
  int i, k, l, okij;
  double *xrow, ystarij, xk, xl;
  for (k = 0; k < q; k++) {
    xpy[k] = 0.0;
    for (l = 0; l < q; l++) {
      xpx[k][l] = 0.0;
    }
  }
  for (i = 0; i < n; i++) {
    okij = ok[i][j];
    if (okij && (usevoter[i] > 0)) {
      xrow = x[i];
      ystarij = ystar[i][j];
      for (k = 0; k < q; k++) {
        xk = xrow[k];
        xpy[k] += xk * ystarij;
        for (l = 0; l < q; l++) {
          xl = xrow[l];
          xpx[k][l] += xk * xl;
        }
      }
    }
  }
  return;
}


x86 assembly (clang, -O0):
<crosscheckusevoter>:
push   %rbp
mov    %rsp,%rbp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    %r8d,-0x20(%rbp)
mov    %r9d,-0x24(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1196 <crosscheckusevoter+0x96>
mov    0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1183 <crosscheckusevoter+0x83>
mov    0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1151 <crosscheckusevoter+0x51>
jmp    1188 <crosscheckusevoter+0x88>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    112e <crosscheckusevoter+0x2e>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12d8 <crosscheckusevoter+0x1d8>
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
je     12c5 <crosscheckusevoter+0x1c5>
mov    0x20(%rbp),%rax
movslq -0x28(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
jle    12c5 <crosscheckusevoter+0x1c5>
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    12c0 <crosscheckusevoter+0x1c0>
mov    -0x40(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x48(%rbp),%xmm2
mov    0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    12ad <crosscheckusevoter+0x1ad>
mov    -0x40(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
mov    0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1255 <crosscheckusevoter+0x155>
jmp    12b2 <crosscheckusevoter+0x1b2>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    120c <crosscheckusevoter+0x10c>
jmp    12c5 <crosscheckusevoter+0x1c5>
jmp    12ca <crosscheckusevoter+0x1ca>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    119d <crosscheckusevoter+0x9d>
pop    %rbp
ret

x86 assembly (clang, -O2):
<crosscheckusevoter>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r9d,0x20(%rsp)
mov    %r8d,%ebx
mov    %ecx,0x28(%rsp)
mov    %rdx,0x40(%rsp)
mov    %rsi,0x38(%rsp)
mov    %rdi,0x30(%rsp)
mov    0x88(%rsp),%r15
mov    0x80(%rsp),%r12
mov    %r8d,%ebp
test   %r8d,%r8d
jle    124b <crosscheckusevoter+0x13b>
lea    0x0(,%rbp,8),%r13
lea    -0x1(%rbp),%rax
mov    %ebp,%ecx
and    $0x3,%ecx
mov    %rcx,0x18(%rsp)
cmp    $0x3,%rax
jae    1179 <crosscheckusevoter+0x69>
xor    %r14d,%r14d
jmp    11f9 <crosscheckusevoter+0xe9>
mov    %ebp,%eax
and    $0xfffffffc,%eax
mov    %rax,0x8(%rsp)
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
movq   $0x0,(%r15,%r14,8)
mov    (%r12,%r14,8),%rdi
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
movq   $0x0,0x8(%r15,%r14,8)
mov    0x8(%r12,%r14,8),%rdi
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
movq   $0x0,0x10(%r15,%r14,8)
mov    0x10(%r12,%r14,8),%rdi
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
movq   $0x0,0x18(%r15,%r14,8)
mov    0x18(%r12,%r14,8),%rdi
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
add    $0x4,%r14
cmp    %r14,0x8(%rsp)
jne    1190 <crosscheckusevoter+0x80>
cmpq   $0x0,0x18(%rsp)
je     124b <crosscheckusevoter+0x13b>
lea    (%r12,%r14,8),%rax
mov    %rax,0x8(%rsp)
lea    (%r15,%r14,8),%rax
mov    %rax,0x10(%rsp)
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
mov    0x10(%rsp),%rax
movq   $0x0,(%rax,%r14,8)
mov    0x8(%rsp),%rax
mov    (%rax,%r14,8),%rdi
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
add    $0x1,%r14
cmp    %r14,0x18(%rsp)
jne    1220 <crosscheckusevoter+0x110>
mov    0x28(%rsp),%ecx
test   %ecx,%ecx
jle    14a6 <crosscheckusevoter+0x396>
movslq 0x20(%rsp),%rax
mov    %rax,0x10(%rsp)
mov    %ecx,%eax
mov    %rax,0x20(%rsp)
mov    %ebp,%r13d
and    $0xfffffffc,%r13d
lea    -0x4(%r13),%rax
mov    %rax,0x18(%rsp)
mov    %rax,%rcx
shr    $0x2,%rcx
add    $0x1,%rcx
mov    %rcx,%rax
mov    %rcx,0x8(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x28(%rsp)
mov    %rbp,%rcx
neg    %rcx
xor    %edx,%edx
jmp    12af <crosscheckusevoter+0x19f>
xchg   %ax,%ax
add    $0x1,%rdx
cmp    0x20(%rsp),%rdx
je     14a6 <crosscheckusevoter+0x396>
mov    0x40(%rsp),%rax
mov    (%rax,%rdx,8),%rax
mov    0x10(%rsp),%rsi
cmpl   $0x0,(%rax,%rsi,4)
je     12a0 <crosscheckusevoter+0x190>
mov    0x90(%rsp),%rax
cmpl   $0x0,(%rax,%rdx,4)
jle    12a0 <crosscheckusevoter+0x190>
test   %ebx,%ebx
jle    12a0 <crosscheckusevoter+0x190>
mov    0x30(%rsp),%rax
mov    (%rax,%rdx,8),%rax
mov    0x38(%rsp),%rsi
mov    (%rsi,%rdx,8),%rsi
mov    0x10(%rsp),%rdi
movsd  (%rsi,%rdi,8),%xmm0
lea    (%rax,%rbp,8),%r8
xor    %r14d,%r14d
jmp    1309 <crosscheckusevoter+0x1f9>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r14
cmp    %rbp,%r14
je     12a0 <crosscheckusevoter+0x190>
movsd  (%rax,%r14,8),%xmm1
movapd %xmm1,%xmm2
mulsd  %xmm0,%xmm2
addsd  (%r15,%r14,8),%xmm2
movsd  %xmm2,(%r15,%r14,8)
mov    (%r12,%r14,8),%r9
cmp    $0x4,%ebx
jb     133a <crosscheckusevoter+0x22a>
cmp    %r8,%r9
jae    13b0 <crosscheckusevoter+0x2a0>
lea    (%r9,%rbp,8),%rsi
cmp    %rsi,%rax
jae    13b0 <crosscheckusevoter+0x2a0>
xor    %esi,%esi
mov    %rsi,%rdi
test   $0x1,%bpl
je     1361 <crosscheckusevoter+0x251>
movsd  (%rax,%rsi,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%r9,%rsi,8),%xmm2
movsd  %xmm2,(%r9,%rsi,8)
mov    %rsi,%rdi
or     $0x1,%rdi
not    %rsi
cmp    %rcx,%rsi
je     1300 <crosscheckusevoter+0x1f0>
nopl   0x0(%rax)
movsd  (%rax,%rdi,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%r9,%rdi,8),%xmm2
movsd  %xmm2,(%r9,%rdi,8)
movsd  0x8(%rax,%rdi,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  0x8(%r9,%rdi,8),%xmm2
movsd  %xmm2,0x8(%r9,%rdi,8)
add    $0x2,%rdi
cmp    %rdi,%rbp
jne    1370 <crosscheckusevoter+0x260>
jmp    1300 <crosscheckusevoter+0x1f0>
nopl   0x0(%rax,%rax,1)
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
cmpq   $0x0,0x18(%rsp)
je     149a <crosscheckusevoter+0x38a>
mov    0x28(%rsp),%r11
xor    %r10d,%r10d
nopl   0x0(%rax)
movupd (%rax,%r10,8),%xmm3
movupd 0x10(%rax,%r10,8),%xmm4
mulpd  %xmm2,%xmm3
movupd (%r9,%r10,8),%xmm5
addpd  %xmm3,%xmm5
movupd 0x10(%r9,%r10,8),%xmm3
movupd 0x20(%r9,%r10,8),%xmm6
movupd 0x30(%r9,%r10,8),%xmm7
mulpd  %xmm2,%xmm4
addpd  %xmm3,%xmm4
movupd %xmm5,(%r9,%r10,8)
movupd %xmm4,0x10(%r9,%r10,8)
movupd 0x20(%rax,%r10,8),%xmm3
movupd 0x30(%rax,%r10,8),%xmm4
mulpd  %xmm2,%xmm3
addpd  %xmm6,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm7,%xmm4
movupd %xmm3,0x20(%r9,%r10,8)
movupd %xmm4,0x30(%r9,%r10,8)
add    $0x8,%r10
add    $0xfffffffffffffffe,%r11
jne    13d0 <crosscheckusevoter+0x2c0>
testb  $0x1,0x8(%rsp)
je     1489 <crosscheckusevoter+0x379>
movupd (%rax,%r10,8),%xmm3
movupd 0x10(%rax,%r10,8),%xmm4
movupd (%r9,%r10,8),%xmm5
movupd 0x10(%r9,%r10,8),%xmm6
mulpd  %xmm2,%xmm3
addpd  %xmm5,%xmm3
mulpd  %xmm2,%xmm4
addpd  %xmm6,%xmm4
movupd %xmm3,(%r9,%r10,8)
movupd %xmm4,0x10(%r9,%r10,8)
mov    %r13,%rsi
cmp    %rbp,%r13
je     1300 <crosscheckusevoter+0x1f0>
jmp    133c <crosscheckusevoter+0x22c>
xor    %r10d,%r10d
testb  $0x1,0x8(%rsp)
jne    1452 <crosscheckusevoter+0x342>
jmp    1489 <crosscheckusevoter+0x379>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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