void crosscheckx(double **beta, double **w, int **ok, int m, int d, int i,
                 double **bpb, double *bpw) {
  int j, k, l, okij = 1;
  double *betarow, wij, bk;
  for (k = 0; k < d; k++) {
    bpw[k] = 0.0;
    for (l = 0; l < d; l++) {
      bpb[k][l] = 0.0;
    }
  }
  for (j = 0; j < m; j++) {
    wij = w[i][j];
    okij = ok[i][j];
    if (okij) {
      betarow = beta[j];
      for (k = 0; k < d; k++) {
        bk = betarow[k];
        bpw[k] += bk * wij;
        for (l = 0; l < d; l++) {
          bpb[k][l] += bk * betarow[l];
        }
      }
    }
  }
  return;
}


x86 assembly (clang, -O0):
<crosscheckx>:
push   %rbp
mov    %rsp,%rbp
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   $0x1,-0x34(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1199 <crosscheckx+0x99>
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    1186 <crosscheckx+0x86>
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    1154 <crosscheckx+0x54>
jmp    118b <crosscheckx+0x8b>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1131 <crosscheckx+0x31>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12bf <crosscheckx+0x1bf>
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
je     12ac <crosscheckx+0x1ac>
mov    -0x8(%rbp),%rax
movslq -0x28(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    12a7 <crosscheckx+0x1a7>
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    1294 <crosscheckx+0x194>
movsd  -0x50(%rbp),%xmm0
mov    -0x40(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%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    1246 <crosscheckx+0x146>
jmp    1299 <crosscheckx+0x199>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11fd <crosscheckx+0xfd>
jmp    12ac <crosscheckx+0x1ac>
jmp    12b1 <crosscheckx+0x1b1>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11a0 <crosscheckx+0xa0>
pop    %rbp
ret

x86 assembly (clang, -O2):
<crosscheckx>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %r9d,0x28(%rsp)
mov    %r8d,%ebx
mov    %ecx,0x20(%rsp)
mov    %rdx,0x38(%rsp)
mov    %rsi,0x18(%rsp)
mov    %rdi,0x40(%rsp)
mov    0x88(%rsp),%r12
mov    0x80(%rsp),%r13
mov    %r8d,%ebp
test   %r8d,%r8d
jle    124b <crosscheckx+0x13b>
lea    0x0(,%rbp,8),%r15
lea    -0x1(%rbp),%rax
mov    %ebp,%ecx
and    $0x3,%ecx
mov    %rcx,0x10(%rsp)
cmp    $0x3,%rax
jae    1179 <crosscheckx+0x69>
xor    %r14d,%r14d
jmp    11fa <crosscheckx+0xea>
mov    %ebp,%eax
and    $0xfffffffc,%eax
mov    %rax,0x8(%rsp)
xor    %r14d,%r14d
cs nopw 0x0(%rax,%rax,1)
movq   $0x0,(%r12,%r14,8)
mov    0x0(%r13,%r14,8),%rdi
xor    %esi,%esi
mov    %r15,%rdx
call   1030 <memset@plt>
movq   $0x0,0x8(%r12,%r14,8)
mov    0x8(%r13,%r14,8),%rdi
xor    %esi,%esi
mov    %r15,%rdx
call   1030 <memset@plt>
movq   $0x0,0x10(%r12,%r14,8)
mov    0x10(%r13,%r14,8),%rdi
xor    %esi,%esi
mov    %r15,%rdx
call   1030 <memset@plt>
movq   $0x0,0x18(%r12,%r14,8)
mov    0x18(%r13,%r14,8),%rdi
xor    %esi,%esi
mov    %r15,%rdx
call   1030 <memset@plt>
add    $0x4,%r14
cmp    %r14,0x8(%rsp)
jne    1190 <crosscheckx+0x80>
cmpq   $0x0,0x10(%rsp)
je     124b <crosscheckx+0x13b>
lea    0x0(,%r14,8),%rax
add    %r13,%rax
mov    %rax,0x8(%rsp)
lea    (%r12,%r14,8),%rax
mov    %rax,0x30(%rsp)
xor    %r14d,%r14d
xchg   %ax,%ax
mov    0x30(%rsp),%rax
movq   $0x0,(%rax,%r14,8)
mov    0x8(%rsp),%rax
mov    (%rax,%r14,8),%rdi
xor    %esi,%esi
mov    %r15,%rdx
call   1030 <memset@plt>
add    $0x1,%r14
cmp    %r14,0x10(%rsp)
jne    1220 <crosscheckx+0x110>
mov    0x20(%rsp),%edx
test   %edx,%edx
jle    14a6 <crosscheckx+0x396>
movslq 0x28(%rsp),%rax
mov    0x18(%rsp),%rcx
mov    (%rcx,%rax,8),%rcx
mov    %rcx,0x18(%rsp)
mov    0x38(%rsp),%rcx
mov    (%rcx,%rax,8),%rax
mov    %rax,0x28(%rsp)
mov    %edx,%eax
mov    %rax,0x20(%rsp)
mov    %ebp,%r15d
and    $0xfffffffc,%r15d
lea    -0x4(%r15),%rax
mov    %rax,0x10(%rsp)
mov    %rax,%rcx
shr    $0x2,%rcx
add    $0x1,%rcx
mov    %rcx,%rax
mov    %rcx,0x8(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x30(%rsp)
mov    %rbp,%rdx
neg    %rdx
xor    %ecx,%ecx
jmp    12cf <crosscheckx+0x1bf>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rcx
cmp    0x20(%rsp),%rcx
je     14a6 <crosscheckx+0x396>
mov    0x28(%rsp),%rax
cmpl   $0x0,(%rax,%rcx,4)
je     12c0 <crosscheckx+0x1b0>
test   %ebx,%ebx
jle    12c0 <crosscheckx+0x1b0>
mov    0x18(%rsp),%rax
movsd  (%rax,%rcx,8),%xmm0
mov    0x40(%rsp),%rax
mov    (%rax,%rcx,8),%rax
lea    (%rax,%rbp,8),%r14
xor    %r8d,%r8d
jmp    1309 <crosscheckx+0x1f9>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r8
cmp    %rbp,%r8
je     12c0 <crosscheckx+0x1b0>
movsd  (%rax,%r8,8),%xmm1
movapd %xmm1,%xmm2
mulsd  %xmm0,%xmm2
addsd  (%r12,%r8,8),%xmm2
movsd  %xmm2,(%r12,%r8,8)
mov    0x0(%r13,%r8,8),%r9
cmp    $0x4,%ebx
jb     133b <crosscheckx+0x22b>
cmp    %r14,%r9
jae    13b0 <crosscheckx+0x2a0>
lea    (%r9,%rbp,8),%rsi
cmp    %rsi,%rax
jae    13b0 <crosscheckx+0x2a0>
xor    %esi,%esi
mov    %rsi,%rdi
test   $0x1,%bpl
je     1362 <crosscheckx+0x252>
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    %rdx,%rsi
je     1300 <crosscheckx+0x1f0>
nopw   0x0(%rax,%rax,1)
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 <crosscheckx+0x260>
jmp    1300 <crosscheckx+0x1f0>
nopl   0x0(%rax,%rax,1)
movapd %xmm1,%xmm2
unpcklpd %xmm1,%xmm2
cmpq   $0x0,0x10(%rsp)
je     149a <crosscheckx+0x38a>
mov    0x30(%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 <crosscheckx+0x2c0>
testb  $0x1,0x8(%rsp)
je     1489 <crosscheckx+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    %r15,%rsi
cmp    %rbp,%r15
je     1300 <crosscheckx+0x1f0>
jmp    133d <crosscheckx+0x22d>
xor    %r10d,%r10d
testb  $0x1,0x8(%rsp)
jne    1452 <crosscheckx+0x342>
jmp    1489 <crosscheckx+0x379>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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