void kernel_dgecp_3_3_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[3 + bs * 0];
    B[1 + bs * 0] = A1[0 + bs * 0];
    B[2 + bs * 0] = A1[1 + bs * 0];
    B[0 + bs * 1] = A0[3 + bs * 1];
    B[1 + bs * 1] = A1[0 + bs * 1];
    B[2 + bs * 1] = A1[1 + bs * 1];
    B[0 + bs * 2] = A0[3 + bs * 2];
    B[1 + bs * 2] = A1[0 + bs * 2];
    B[2 + bs * 2] = A1[1 + bs * 2];
    B[0 + bs * 3] = A0[3 + bs * 3];
    B[1 + bs * 3] = A1[0 + bs * 3];
    B[2 + bs * 3] = A1[1 + bs * 3];
    A0 += 16;
    A1 += 16;
    B += 16;
  }
  for (; k < kmax; k++) {
    B[0 + bs * 0] = A0[3 + bs * 0];
    B[1 + bs * 0] = A1[0 + bs * 0];
    B[2 + bs * 0] = A1[1 + bs * 0];
    A0 += 4;
    A1 += 4;
    B += 4;
  }
  if (tri == 1) {
    B[1 + bs * 0] = A1[0 + bs * 0];
    B[2 + bs * 0] = A1[1 + bs * 0];
    B[2 + bs * 1] = A1[1 + bs * 1];
  }
}


x86 assembly (clang, -O0):
<kernel_dgecp_3_3_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_3_lib4+0x28>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x0,-0x8(%rbp)
jg     1137 <kernel_dgecp_3_3_lib4+0x37>
jmp    1332 <kernel_dgecp_3_3_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_3_lib4+0x17c>
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x30(%rbp),%rax
movsd  0x20(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x28(%rax)
mov    -0x30(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x40(%rax)
mov    -0x30(%rbp),%rax
movsd  0x40(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x48(%rax)
mov    -0x30(%rbp),%rax
movsd  0x48(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x50(%rax)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x60(%rax)
mov    -0x30(%rbp),%rax
movsd  0x60(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x68(%rax)
mov    -0x30(%rbp),%rax
movsd  0x68(%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_3_lib4+0x5d>
jmp    1281 <kernel_dgecp_3_3_lib4+0x181>
mov    -0x34(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12f3 <kernel_dgecp_3_3_lib4+0x1f3>
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x8(%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_3_lib4+0x181>
cmpl   $0x1,-0x4(%rbp)
jne    1332 <kernel_dgecp_3_3_lib4+0x232>
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x30(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x30(%rbp),%rax
movsd  0x28(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x30(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dgecp_3_3_lib4>:
xor    %eax,%eax
cmp    $0x1,%edi
sete   %al
add    %esi,%eax
test   %eax,%eax
jle    12b5 <kernel_dgecp_3_3_lib4+0x1b5>
shl    $0x2,%ecx
movslq %ecx,%rcx
cmp    $0x4,%eax
jb     11db <kernel_dgecp_3_3_lib4+0xdb>
lea    -0x3(%rax),%r9d
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,(%r8)
movsd  (%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  0x8(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x10(%r8)
movsd  0x38(%rdx),%xmm0
movsd  %xmm0,0x20(%r8)
movsd  0x20(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x28(%r8)
movsd  0x28(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x30(%r8)
movsd  0x58(%rdx),%xmm0
movsd  %xmm0,0x40(%r8)
movsd  0x40(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x48(%r8)
movsd  0x48(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x50(%r8)
movsd  0x78(%rdx),%xmm0
movsd  %xmm0,0x60(%r8)
movsd  0x60(%rdx,%rcx,8),%xmm0
movsd  %xmm0,0x68(%r8)
movsd  0x68(%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_3_lib4+0x30>
lea    (%rdx,%rcx,8),%rcx
cmp    %eax,%esi
jl     11e9 <kernel_dgecp_3_3_lib4+0xe9>
jmp    1290 <kernel_dgecp_3_3_lib4+0x190>
lea    (%rdx,%rcx,8),%rcx
xor    %esi,%esi
cmp    %eax,%esi
jge    1290 <kernel_dgecp_3_3_lib4+0x190>
mov    %eax,%r10d
sub    %esi,%r10d
lea    0x1(%rsi),%r9d
test   $0x1,%r10b
je     1227 <kernel_dgecp_3_3_lib4+0x127>
movsd  0x18(%rdx),%xmm0
movsd  %xmm0,(%r8)
movsd  (%rcx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  0x8(%rcx),%xmm0
movsd  %xmm0,0x10(%r8)
add    $0x20,%rdx
add    $0x20,%rcx
add    $0x20,%r8
mov    %r9d,%esi
cmp    %r9d,%eax
je     1290 <kernel_dgecp_3_3_lib4+0x190>
sub    %esi,%eax
add    $0x38,%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  -0x20(%rdx),%xmm0
movsd  %xmm0,(%r8)
movsd  (%rcx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  0x8(%rcx),%xmm0
movsd  %xmm0,0x10(%r8)
movsd  (%rdx),%xmm0
movsd  %xmm0,0x20(%r8)
movsd  0x20(%rcx),%xmm0
movsd  %xmm0,0x28(%r8)
movsd  0x28(%rcx),%xmm0
movsd  %xmm0,0x30(%r8)
add    $0x40,%rcx
add    $0x40,%r8
add    $0x40,%rdx
add    $0xfffffffe,%eax
jne    1240 <kernel_dgecp_3_3_lib4+0x140>
cmp    $0x1,%edi
jne    12b5 <kernel_dgecp_3_3_lib4+0x1b5>
movsd  (%rcx),%xmm0
movsd  %xmm0,0x8(%r8)
movsd  0x8(%rcx),%xmm0
movsd  %xmm0,0x10(%r8)
movsd  0x28(%rcx),%xmm0
movsd  %xmm0,0x30(%r8)
ret

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