void kernel_dgecp_4_0_lib4(int tri, int kmax, double *A, double *B) {
  if (tri == 1) {
    kmax += 1;
  }
  if (kmax <= 0)
    return;
  const int bs = 4;
  int k;
  for (k = 0; k < kmax - 3; k += 4) {
    B[0 + bs * 0] = A[0 + bs * 0];
    B[1 + bs * 0] = A[1 + bs * 0];
    B[2 + bs * 0] = A[2 + bs * 0];
    B[3 + bs * 0] = A[3 + bs * 0];
    B[0 + bs * 1] = A[0 + bs * 1];
    B[1 + bs * 1] = A[1 + bs * 1];
    B[2 + bs * 1] = A[2 + bs * 1];
    B[3 + bs * 1] = A[3 + bs * 1];
    B[0 + bs * 2] = A[0 + bs * 2];
    B[1 + bs * 2] = A[1 + bs * 2];
    B[2 + bs * 2] = A[2 + bs * 2];
    B[3 + bs * 2] = A[3 + bs * 2];
    B[0 + bs * 3] = A[0 + bs * 3];
    B[1 + bs * 3] = A[1 + bs * 3];
    B[2 + bs * 3] = A[2 + bs * 3];
    B[3 + bs * 3] = A[3 + bs * 3];
    A += 16;
    B += 16;
  }
  for (; k < kmax; k++) {
    B[0 + bs * 0] = A[0 + bs * 0];
    B[1 + bs * 0] = A[1 + bs * 0];
    B[2 + bs * 0] = A[2 + bs * 0];
    B[3 + bs * 0] = A[3 + bs * 0];
    A += 4;
    B += 4;
  }
  if (tri == 1) {
    B[1 + bs * 0] = A[1 + bs * 0];
    B[2 + bs * 0] = A[2 + bs * 0];
    B[3 + bs * 0] = A[3 + bs * 0];
    B[2 + bs * 1] = A[2 + bs * 1];
    B[3 + bs * 1] = A[3 + bs * 1];
    B[3 + bs * 2] = A[3 + bs * 2];
  }
}


x86 assembly (clang, -O0):
<kernel_dgecp_4_0_lib4>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
cmpl   $0x1,-0x4(%rbp)
jne    1125 <kernel_dgecp_4_0_lib4+0x25>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jg     1134 <kernel_dgecp_4_0_lib4+0x34>
jmp    138e <kernel_dgecp_4_0_lib4+0x28e>
movl   $0x4,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    129b <kernel_dgecp_4_0_lib4+0x19b>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x40(%rax)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x48(%rax)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x50(%rax)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x58(%rax)
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x60(%rax)
mov    -0x10(%rbp),%rax
movsd  0x68(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x70(%rax)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x78(%rax)
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x20(%rbp)
jmp    1142 <kernel_dgecp_4_0_lib4+0x42>
jmp    12a0 <kernel_dgecp_4_0_lib4+0x1a0>
mov    -0x20(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1318 <kernel_dgecp_4_0_lib4+0x218>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x18(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12a0 <kernel_dgecp_4_0_lib4+0x1a0>
cmpl   $0x1,-0x4(%rbp)
jne    138e <kernel_dgecp_4_0_lib4+0x28e>
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x38(%rax)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x58(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgecp_4_0_lib4>:
xor    %eax,%eax
cmp    $0x1,%edi
sete   %al
add    %esi,%eax
test   %eax,%eax
jle    12dc <kernel_dgecp_4_0_lib4+0x1dc>
xor    %esi,%esi
cmp    $0x4,%eax
jb     11e2 <kernel_dgecp_4_0_lib4+0xe2>
lea    -0x3(%rax),%r8d
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%rdx),%xmm0
movsd  %xmm0,(%rcx)
movsd  0x8(%rdx),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x18(%rcx)
movsd  0x20(%rdx),%xmm0
movsd  %xmm0,0x20(%rcx)
movsd  0x28(%rdx),%xmm0
movsd  %xmm0,0x28(%rcx)
movsd  0x30(%rdx),%xmm0
movsd  %xmm0,0x30(%rcx)
movsd  0x38(%rdx),%xmm0
movsd  %xmm0,0x38(%rcx)
movsd  0x40(%rdx),%xmm0
movsd  %xmm0,0x40(%rcx)
movsd  0x48(%rdx),%xmm0
movsd  %xmm0,0x48(%rcx)
movsd  0x50(%rdx),%xmm0
movsd  %xmm0,0x50(%rcx)
movsd  0x58(%rdx),%xmm0
movsd  %xmm0,0x58(%rcx)
movsd  0x60(%rdx),%xmm0
movsd  %xmm0,0x60(%rcx)
movsd  0x68(%rdx),%xmm0
movsd  %xmm0,0x68(%rcx)
movsd  0x70(%rdx),%xmm0
movsd  %xmm0,0x70(%rcx)
movsd  0x78(%rdx),%xmm0
movsd  %xmm0,0x78(%rcx)
sub    $0xffffffffffffff80,%rdx
sub    $0xffffffffffffff80,%rcx
add    $0x4,%esi
cmp    %r8d,%esi
jl     1130 <kernel_dgecp_4_0_lib4+0x30>
cmp    %eax,%esi
jge    129b <kernel_dgecp_4_0_lib4+0x19b>
mov    %eax,%r9d
sub    %esi,%r9d
lea    0x1(%rsi),%r8d
test   $0x1,%r9b
je     122b <kernel_dgecp_4_0_lib4+0x12b>
movsd  (%rdx),%xmm0
movsd  %xmm0,(%rcx)
movsd  0x8(%rdx),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x18(%rcx)
add    $0x20,%rdx
add    $0x20,%rcx
mov    %r8d,%esi
cmp    %r8d,%eax
je     129b <kernel_dgecp_4_0_lib4+0x19b>
sub    %esi,%eax
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%rdx),%xmm0
movsd  %xmm0,(%rcx)
movsd  0x8(%rdx),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x18(%rcx)
movsd  0x20(%rdx),%xmm0
movsd  %xmm0,0x20(%rcx)
movsd  0x28(%rdx),%xmm0
movsd  %xmm0,0x28(%rcx)
movsd  0x30(%rdx),%xmm0
movsd  %xmm0,0x30(%rcx)
movsd  0x38(%rdx),%xmm0
movsd  %xmm0,0x38(%rcx)
add    $0x40,%rdx
add    $0x40,%rcx
add    $0xfffffffe,%eax
jne    1240 <kernel_dgecp_4_0_lib4+0x140>
cmp    $0x1,%edi
jne    12dc <kernel_dgecp_4_0_lib4+0x1dc>
movsd  0x8(%rdx),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x18(%rcx)
movsd  0x30(%rdx),%xmm0
movsd  %xmm0,0x30(%rcx)
movsd  0x38(%rdx),%xmm0
movsd  %xmm0,0x38(%rcx)
movsd  0x58(%rdx),%xmm0
movsd  %xmm0,0x58(%rcx)
ret

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

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