void kernel_align_panel_4_3_lib4(int kmax, double *A0, int sda, double *B) {
  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[3 + bs * 0] = A1[2 + 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[3 + bs * 1] = A1[2 + 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[3 + bs * 2] = A1[2 + 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];
    B[3 + bs * 3] = A1[2 + 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];
    B[3 + bs * 0] = A1[2 + bs * 0];
    A0 += 4;
    A1 += 4;
    B += 4;
  }
}


x86 assembly (clang, -O0):
<kernel_align_panel_4_3_lib4>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
cmpl   $0x0,-0x4(%rbp)
jg     1121 <kernel_align_panel_4_3_lib4+0x21>
jmp    1337 <kernel_align_panel_4_3_lib4+0x237>
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    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    12ae <kernel_align_panel_4_3_lib4+0x1ae>
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    -0x30(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%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    -0x30(%rbp),%rax
movsd  0x30(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x38(%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    -0x30(%rbp),%rax
movsd  0x50(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x58(%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    -0x30(%rbp),%rax
movsd  0x70(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x78(%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    1147 <kernel_align_panel_4_3_lib4+0x47>
jmp    12b3 <kernel_align_panel_4_3_lib4+0x1b3>
mov    -0x34(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1337 <kernel_align_panel_4_3_lib4+0x237>
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    -0x30(%rbp),%rax
movsd  0x10(%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,0x18(%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    12b3 <kernel_align_panel_4_3_lib4+0x1b3>
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_align_panel_4_3_lib4>:
test   %edi,%edi
jle    12b7 <kernel_align_panel_4_3_lib4+0x1b7>
shl    $0x2,%edx
movslq %edx,%rax
cmp    $0x4,%edi
jb     11f0 <kernel_align_panel_4_3_lib4+0xf0>
lea    -0x3(%rdi),%r8d
xor    %edx,%edx
nopl   (%rax)
movsd  0x18(%rsi),%xmm0
movsd  %xmm0,(%rcx)
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x8(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x10(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x18(%rcx)
movsd  0x38(%rsi),%xmm0
movsd  %xmm0,0x20(%rcx)
movsd  0x20(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x28(%rcx)
movsd  0x28(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x30(%rcx)
movsd  0x30(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x38(%rcx)
movsd  0x58(%rsi),%xmm0
movsd  %xmm0,0x40(%rcx)
movsd  0x40(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x48(%rcx)
movsd  0x48(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x50(%rcx)
movsd  0x50(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x58(%rcx)
movsd  0x78(%rsi),%xmm0
movsd  %xmm0,0x60(%rcx)
movsd  0x60(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x68(%rcx)
movsd  0x68(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x70(%rcx)
movsd  0x70(%rsi,%rax,8),%xmm0
movsd  %xmm0,0x78(%rcx)
sub    $0xffffffffffffff80,%rsi
sub    $0xffffffffffffff80,%rcx
add    $0x4,%edx
cmp    %r8d,%edx
jl     1120 <kernel_align_panel_4_3_lib4+0x20>
mov    %edi,%edx
and    $0xfffffffc,%edx
lea    (%rsi,%rax,8),%rax
cmp    %edi,%edx
jl     11fe <kernel_align_panel_4_3_lib4+0xfe>
jmp    12b7 <kernel_align_panel_4_3_lib4+0x1b7>
lea    (%rsi,%rax,8),%rax
xor    %edx,%edx
cmp    %edi,%edx
jge    12b7 <kernel_align_panel_4_3_lib4+0x1b7>
mov    %edx,%r8d
not    %r8d
test   $0x1,%dil
je     123f <kernel_align_panel_4_3_lib4+0x13f>
movsd  0x18(%rsi),%xmm0
movsd  %xmm0,(%rcx)
movsd  (%rax),%xmm0
movsd  %xmm0,0x8(%rcx)
movsd  0x8(%rax),%xmm0
movsd  %xmm0,0x10(%rcx)
movsd  0x10(%rax),%xmm0
movsd  %xmm0,0x18(%rcx)
add    $0x20,%rsi
add    $0x20,%rax
add    $0x20,%rcx
or     $0x1,%edx
add    %edi,%r8d
je     12b7 <kernel_align_panel_4_3_lib4+0x1b7>
sub    %edx,%edi
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
movsd  0x18(%rsi,%rdx,1),%xmm0
movsd  %xmm0,(%rcx,%rdx,1)
movsd  (%rax,%rdx,1),%xmm0
movsd  %xmm0,0x8(%rcx,%rdx,1)
movsd  0x8(%rax,%rdx,1),%xmm0
movsd  %xmm0,0x10(%rcx,%rdx,1)
movsd  0x10(%rax,%rdx,1),%xmm0
movsd  %xmm0,0x18(%rcx,%rdx,1)
movsd  0x38(%rsi,%rdx,1),%xmm0
movsd  %xmm0,0x20(%rcx,%rdx,1)
movsd  0x20(%rax,%rdx,1),%xmm0
movsd  %xmm0,0x28(%rcx,%rdx,1)
movsd  0x28(%rax,%rdx,1),%xmm0
movsd  %xmm0,0x30(%rcx,%rdx,1)
movsd  0x30(%rax,%rdx,1),%xmm0
movsd  %xmm0,0x38(%rcx,%rdx,1)
add    $0x40,%rdx
add    $0xfffffffe,%edi
jne    1250 <kernel_align_panel_4_3_lib4+0x150>
ret

LLVM IR (-O0):
define void @kernel_align_panel_4_3_lib4(i32 %0, double* %1, i32 %2, double* %3) {
%5 = alloca i32
%6 = alloca double*
%7 = alloca i32
%8 = alloca double*
%9 = alloca i32
%10 = alloca double*
%11 = alloca i32
store i32 %0, i32* %5
store double* %1, double** %6
store i32 %2, i32* %7
store double* %3, double** %8
%12 = load i32, i32* %5
%13 = icmp sle i32 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %4
br label %151
15: ; preds = %4
store i32 4, i32* %9
%16 = load double*, double** %6
%17 = load i32, i32* %7
%18 = mul nsw i32 4, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, double* %16, i64 %19
store double* %20, double** %10
store i32 0, i32* %11
br label %21
21: ; preds = %113, %15
%22 = load i32, i32* %11
%23 = load i32, i32* %5
%24 = sub nsw i32 %23, 3
%25 = icmp slt i32 %22, %24
br i1 %25, label %26, label %116
26: ; preds = %21
%27 = load double*, double** %6
%28 = getelementptr inbounds double, double* %27, i64 3
%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** %10
%33 = getelementptr inbounds double, double* %32, i64 0
%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** %10
%38 = getelementptr inbounds double, double* %37, i64 1
%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** %10
%43 = getelementptr inbounds double, double* %42, i64 2
%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** %6
%48 = getelementptr inbounds double, double* %47, i64 7
%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** %10
%53 = getelementptr inbounds double, double* %52, i64 4
%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** %10
%58 = getelementptr inbounds double, double* %57, i64 5
%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** %10
%63 = getelementptr inbounds double, double* %62, i64 6
%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** %6
%68 = getelementptr inbounds double, double* %67, i64 11
%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** %10
%73 = getelementptr inbounds double, double* %72, i64 8
%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** %10
%78 = getelementptr inbounds double, double* %77, i64 9
%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** %10
%83 = getelementptr inbounds double, double* %82, i64 10
%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** %6
%88 = getelementptr inbounds double, double* %87, i64 15
%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** %10
%93 = getelementptr inbounds double, double* %92, i64 12
%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** %10
%98 = getelementptr inbounds double, double* %97, i64 13
%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** %10
%103 = getelementptr inbounds double, double* %102, i64 14
%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** %6
%108 = getelementptr inbounds double, double* %107, i64 16
store double* %108, double** %6
%109 = load double*, double** %10
%110 = getelementptr inbounds double, double* %109, i64 16
store double* %110, double** %10
%111 = load double*, double** %8
%112 = getelementptr inbounds double, double* %111, i64 16
store double* %112, double** %8
br label %113
113: ; preds = %26
%114 = load i32, i32* %11
%115 = add nsw i32 %114, 4
store i32 %115, i32* %11
br label %21
116: ; preds = %21
br label %117
117: ; preds = %148, %116
%118 = load i32, i32* %11
%119 = load i32, i32* %5
%120 = icmp slt i32 %118, %119
br i1 %120, label %121, label %151
121: ; preds = %117
%122 = load double*, double** %6
%123 = getelementptr inbounds double, double* %122, i64 3
%124 = load double, double* %123
%125 = load double*, double** %8
%126 = getelementptr inbounds double, double* %125, i64 0
store double %124, double* %126
%127 = load double*, double** %10
%128 = getelementptr inbounds double, double* %127, i64 0
%129 = load double, double* %128
%130 = load double*, double** %8
%131 = getelementptr inbounds double, double* %130, i64 1
store double %129, double* %131
%132 = load double*, double** %10
%133 = getelementptr inbounds double, double* %132, i64 1
%134 = load double, double* %133
%135 = load double*, double** %8
%136 = getelementptr inbounds double, double* %135, i64 2
store double %134, double* %136
%137 = load double*, double** %10
%138 = getelementptr inbounds double, double* %137, i64 2
%139 = load double, double* %138
%140 = load double*, double** %8
%141 = getelementptr inbounds double, double* %140, i64 3
store double %139, double* %141
%142 = load double*, double** %6
%143 = getelementptr inbounds double, double* %142, i64 4
store double* %143, double** %6
%144 = load double*, double** %10
%145 = getelementptr inbounds double, double* %144, i64 4
store double* %145, double** %10
%146 = load double*, double** %8
%147 = getelementptr inbounds double, double* %146, i64 4
store double* %147, double** %8
br label %148
148: ; preds = %121
%149 = load i32, i32* %11
%150 = add nsw i32 %149, 1
store i32 %150, i32* %11
br label %117
151: ; preds = %14, %117
ret void
}

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