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


x86 assembly (clang, -O0):
<kernel_dgecp_3_2_lib4>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
mov    %r8,-0x20(%rbp)
cmpl   $0x1,-0x4(%rbp)
jne    1128 <kernel_dgecp_3_2_lib4+0x28>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jg     1137 <kernel_dgecp_3_2_lib4+0x37>
jmp    1332 <kernel_dgecp_3_2_lib4+0x232>
movl   $0x4,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x8(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    127c <kernel_dgecp_3_2_lib4+0x17c>
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x30(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x40(%rax)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x48(%rax)
mov    -0x30(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x50(%rax)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x60(%rax)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x30(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x70(%rax)
mov    -0x10(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x10(%rbp)
mov    -0x30(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x20(%rbp)
mov    -0x34(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x34(%rbp)
jmp    115d <kernel_dgecp_3_2_lib4+0x5d>
jmp    1281 <kernel_dgecp_3_2_lib4+0x181>
mov    -0x34(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12f3 <kernel_dgecp_3_2_lib4+0x1f3>
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x30(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x20(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1281 <kernel_dgecp_3_2_lib4+0x181>
cmpl   $0x1,-0x4(%rbp)
jne    1332 <kernel_dgecp_3_2_lib4+0x232>
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x30(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgecp_3_2_lib4>:
xor    %eax,%eax
cmp    $0x1,%edi
sete   %al
add    %esi,%eax
test   %eax,%eax
jle    12a6 <kernel_dgecp_3_2_lib4+0x1a6>
shl    $0x2,%ecx
movslq %ecx,%rcx
cmp    $0x4,%eax
jb     11d7 <kernel_dgecp_3_2_lib4+0xd7>
lea    -0x3(%rax),%r9d
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,(%r8)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  (%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x10(%r8)
movsd  0x30(%rdx),%xmm0
movsd  %xmm0,0x20(%r8)
movsd  0x38(%rdx),%xmm0
movsd  %xmm0,0x28(%r8)
movsd  0x20(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x30(%r8)
movsd  0x50(%rdx),%xmm0
movsd  %xmm0,0x40(%r8)
movsd  0x58(%rdx),%xmm0
movsd  %xmm0,0x48(%r8)
movsd  0x40(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x50(%r8)
movsd  0x70(%rdx),%xmm0
movsd  %xmm0,0x60(%r8)
movsd  0x78(%rdx),%xmm0
movsd  %xmm0,0x68(%r8)
movsd  0x60(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x70(%r8)
sub    $0xffffffffffffff80,%rdx
sub    $0xffffffffffffff80,%r8
add    $0x4,%esi
cmp    %r9d,%esi
jl     1130 <kernel_dgecp_3_2_lib4+0x30>
lea    (%rdx,%rcx,8),%rcx
cmp    %eax,%esi
jl     11e5 <kernel_dgecp_3_2_lib4+0xe5>
jmp    1281 <kernel_dgecp_3_2_lib4+0x181>
lea    (%rdx,%rcx,8),%rcx
xor    %esi,%esi
cmp    %eax,%esi
jge    1281 <kernel_dgecp_3_2_lib4+0x181>
mov    %eax,%r10d
sub    %esi,%r10d
lea    0x1(%rsi),%r9d
test   $0x1,%r10b
je     1223 <kernel_dgecp_3_2_lib4+0x123>
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,(%r8)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  (%rcx),%xmm0
movsd  %xmm0,0x10(%r8)
add    $0x20,%rdx
add    $0x20,%rcx
add    $0x20,%r8
mov    %r9d,%esi
cmp    %r9d,%eax
je     1281 <kernel_dgecp_3_2_lib4+0x181>
sub    %esi,%eax
nopw   0x0(%rax,%rax,1)
movsd  0x10(%rdx),%xmm0
movsd  %xmm0,(%r8)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  (%rcx),%xmm0
movsd  %xmm0,0x10(%r8)
movsd  0x30(%rdx),%xmm0
movsd  %xmm0,0x20(%r8)
movsd  0x38(%rdx),%xmm0
movsd  %xmm0,0x28(%r8)
movsd  0x20(%rcx),%xmm0
movsd  %xmm0,0x30(%r8)
add    $0x40,%rdx
add    $0x40,%rcx
add    $0x40,%r8
add    $0xfffffffe,%eax
jne    1230 <kernel_dgecp_3_2_lib4+0x130>
cmp    $0x1,%edi
jne    12a6 <kernel_dgecp_3_2_lib4+0x1a6>
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  (%rcx),%xmm0
movsd  %xmm0,0x10(%r8)
movsd  0x20(%rcx),%xmm0
movsd  %xmm0,0x30(%r8)
ret

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

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