#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ __m128d;

/* Variables and functions */
int /*<<< orphan*/ _mm_load_sd(double *);
int /*<<< orphan*/ _mm_setzero_pd();
int /*<<< orphan*/ _mm_store_sd(double *, int /*<<< orphan*/);
void kernel_dsyr0_1_lib4(int kmax, int tri, int alg, double *C, double *D) {
  const int bs = 4;
  int k;
  __m128d zero, c_0, d_0;
  zero = _mm_setzero_pd();
  kmax = tri < kmax ? tri : kmax;
  if (alg == 0) {
    k = 0;
    for (; k < kmax - 3; k += 4) {
      _mm_store_sd(&D[0], zero);
      _mm_store_sd(&D[4], zero);
      _mm_store_sd(&D[8], zero);
      _mm_store_sd(&D[12], zero);
      D += 16;
    }
    for (; k < kmax; k++) {
      _mm_store_sd(&D[0], zero);
      D += 4;
    }
    if (tri - k > 0) {
      _mm_store_sd(&D[0], zero);
    }
  } else {
    k = 0;
    for (; k < kmax - 3; k += 4) {
      c_0 = _mm_load_sd(&C[0]);
      _mm_store_sd(&D[0], c_0);
      c_0 = _mm_load_sd(&C[4]);
      _mm_store_sd(&D[4], c_0);
      c_0 = _mm_load_sd(&C[8]);
      _mm_store_sd(&D[8], c_0);
      c_0 = _mm_load_sd(&C[12]);
      _mm_store_sd(&D[12], c_0);
      C += 16;
      D += 16;
    }
    for (; k < kmax; k++) {
      c_0 = _mm_load_sd(&C[0]);
      _mm_store_sd(&D[0], c_0);
      C += 4;
      D += 4;
    }
    if (tri - k > 0) {
      c_0 = _mm_load_sd(&C[0]);
      _mm_store_sd(&D[0], c_0);
    }
  }
}


x86 assembly (clang, -O0):
<kernel_dsyr0_1_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
movl   $0x4,-0x24(%rbp)
mov    $0x0,%al
call   1040 <_mm_setzero_pd@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1171 <kernel_dsyr0_1_lib4+0x41>
mov    -0x8(%rbp),%eax
mov    %eax,-0x38(%rbp)
jmp    1177 <kernel_dsyr0_1_lib4+0x47>
mov    -0x4(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%eax
mov    %eax,-0x4(%rbp)
cmpl   $0x0,-0xc(%rbp)
jne    124e <kernel_dsyr0_1_lib4+0x11e>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    11f7 <kernel_dsyr0_1_lib4+0xc7>
mov    -0x20(%rbp),%rdi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x20(%rbp),%rdi
add    $0x20,%rdi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x20(%rbp),%rdi
add    $0x40,%rdi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x20(%rbp),%rdi
add    $0x60,%rdi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x28(%rbp)
jmp    118e <kernel_dsyr0_1_lib4+0x5e>
jmp    11fc <kernel_dsyr0_1_lib4+0xcc>
mov    -0x28(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    122e <kernel_dsyr0_1_lib4+0xfe>
mov    -0x20(%rbp),%rdi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11fc <kernel_dsyr0_1_lib4+0xcc>
mov    -0x8(%rbp),%eax
sub    -0x28(%rbp),%eax
cmp    $0x0,%eax
jle    1249 <kernel_dsyr0_1_lib4+0x119>
mov    -0x20(%rbp),%rdi
mov    -0x2c(%rbp),%esi
call   1050 <_mm_store_sd@plt>
jmp    1383 <kernel_dsyr0_1_lib4+0x253>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    1308 <kernel_dsyr0_1_lib4+0x1d8>
mov    -0x18(%rbp),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x18(%rbp),%rdi
add    $0x20,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x20,%rdi
mov    -0x30(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x18(%rbp),%rdi
add    $0x40,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x40,%rdi
mov    -0x30(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x18(%rbp),%rdi
add    $0x60,%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rdi
add    $0x60,%rdi
mov    -0x30(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x18(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%rax
add    $0x80,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x28(%rbp)
jmp    1255 <kernel_dsyr0_1_lib4+0x125>
jmp    130d <kernel_dsyr0_1_lib4+0x1dd>
mov    -0x28(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1357 <kernel_dsyr0_1_lib4+0x227>
mov    -0x18(%rbp),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%esi
call   1050 <_mm_store_sd@plt>
mov    -0x18(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x18(%rbp)
mov    -0x20(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    130d <kernel_dsyr0_1_lib4+0x1dd>
mov    -0x8(%rbp),%eax
sub    -0x28(%rbp),%eax
cmp    $0x0,%eax
jle    137e <kernel_dsyr0_1_lib4+0x24e>
mov    -0x18(%rbp),%rdi
call   1030 <_mm_load_sd@plt>
mov    %eax,-0x30(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%esi
call   1050 <_mm_store_sd@plt>
jmp    1383 <kernel_dsyr0_1_lib4+0x253>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dsyr0_1_lib4>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r8,%rbx
mov    %rcx,%r13
mov    %edx,0x4(%rsp)
mov    %esi,%r14d
mov    %edi,%ebp
xor    %r15d,%r15d
xor    %eax,%eax
call   1040 <_mm_setzero_pd@plt>
cmp    %ebp,%r14d
mov    %r14d,(%rsp)
cmovl  %r14d,%ebp
lea    -0x3(%rbp),%r14d
cmpl   $0x0,0x4(%rsp)
je     11f7 <kernel_dsyr0_1_lib4+0xc7>
cmp    $0x4,%ebp
jl     11df <kernel_dsyr0_1_lib4+0xaf>
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
mov    %r13,%rdi
call   1030 <_mm_load_sd@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   1050 <_mm_store_sd@plt>
lea    0x20(%r13),%rdi
call   1030 <_mm_load_sd@plt>
lea    0x20(%rbx),%rdi
mov    %eax,%esi
call   1050 <_mm_store_sd@plt>
lea    0x40(%r13),%rdi
call   1030 <_mm_load_sd@plt>
lea    0x40(%rbx),%rdi
mov    %eax,%esi
call   1050 <_mm_store_sd@plt>
lea    0x60(%r13),%rdi
call   1030 <_mm_load_sd@plt>
lea    0x60(%rbx),%rdi
mov    %eax,%esi
call   1050 <_mm_store_sd@plt>
sub    $0xffffffffffffff80,%r13
sub    $0xffffffffffffff80,%rbx
add    $0x4,%r15d
cmp    %r14d,%r15d
jl     1180 <kernel_dsyr0_1_lib4+0x50>
cmp    %ebp,%r15d
jl     1285 <kernel_dsyr0_1_lib4+0x155>
cmp    (%rsp),%r15d
jl     12b8 <kernel_dsyr0_1_lib4+0x188>
jmp    12d8 <kernel_dsyr0_1_lib4+0x1a8>
mov    %eax,%r12d
xor    %r15d,%r15d
cmp    $0x4,%ebp
jl     124c <kernel_dsyr0_1_lib4+0x11c>
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <_mm_store_sd@plt>
lea    0x20(%rbx),%rdi
mov    %r12d,%esi
call   1050 <_mm_store_sd@plt>
lea    0x40(%rbx),%rdi
mov    %r12d,%esi
call   1050 <_mm_store_sd@plt>
lea    0x60(%rbx),%rdi
mov    %r12d,%esi
call   1050 <_mm_store_sd@plt>
sub    $0xffffffffffffff80,%rbx
add    $0x4,%r15d
cmp    %r14d,%r15d
jl     1210 <kernel_dsyr0_1_lib4+0xe0>
cmp    %ebp,%r15d
jge    1277 <kernel_dsyr0_1_lib4+0x147>
mov    %rbp,%r14
sub    %r15d,%ebp
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    %r12d,%esi
call   1050 <_mm_store_sd@plt>
add    $0x20,%rbx
add    $0xffffffff,%ebp
jne    1260 <kernel_dsyr0_1_lib4+0x130>
mov    %r14d,%r15d
cmp    (%rsp),%r15d
jge    12d8 <kernel_dsyr0_1_lib4+0x1a8>
mov    %rbx,%rdi
mov    %r12d,%esi
jmp    12c5 <kernel_dsyr0_1_lib4+0x195>
mov    %rbp,%r14
sub    %r15d,%ebp
nopl   0x0(%rax,%rax,1)
mov    %r13,%rdi
call   1030 <_mm_load_sd@plt>
mov    %rbx,%rdi
mov    %eax,%esi
call   1050 <_mm_store_sd@plt>
add    $0x20,%r13
add    $0x20,%rbx
add    $0xffffffff,%ebp
jne    1290 <kernel_dsyr0_1_lib4+0x160>
mov    %r14d,%r15d
cmp    (%rsp),%r15d
jge    12d8 <kernel_dsyr0_1_lib4+0x1a8>
mov    %r13,%rdi
call   1030 <_mm_load_sd@plt>
mov    %rbx,%rdi
mov    %eax,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <_mm_store_sd@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @kernel_dsyr0_1_lib4(i32 %0, i32 %1, i32 %2, double* %3, double* %4) {
%6 = tail call i32 (...) @_mm_setzero_pd()
%7 = icmp slt i32 %1, %0
%8 = select i1 %7, i32 %1, i32 %0
%9 = icmp eq i32 %2, 0
%10 = add nsw i32 %8, -3
%11 = icmp sgt i32 %8, 3
br i1 %9, label %13, label %12
12: ; preds = %5
br i1 %11, label %49, label %44
13: ; preds = %5
br i1 %11, label %18, label %14
14: ; preds = %18, %13
%15 = phi double* [ %4, %13 ], [ %28, %18 ]
%16 = phi i32 [ 0, %13 ], [ %29, %18 ]
%17 = icmp slt i32 %16, %8
br i1 %17, label %31, label %38
18: ; preds = %13, %18
%19 = phi i32 [ %29, %18 ], [ 0, %13 ]
%20 = phi double* [ %28, %18 ], [ %4, %13 ]
%21 = tail call i32 @_mm_store_sd(double* %20, i32 %6)
%22 = getelementptr inbounds double, double* %20, i64 4
%23 = tail call i32 @_mm_store_sd(double* %22, i32 %6)
%24 = getelementptr inbounds double, double* %20, i64 8
%25 = tail call i32 @_mm_store_sd(double* %24, i32 %6)
%26 = getelementptr inbounds double, double* %20, i64 12
%27 = tail call i32 @_mm_store_sd(double* %26, i32 %6)
%28 = getelementptr inbounds double, double* %20, i64 16
%29 = add nuw nsw i32 %19, 4
%30 = icmp slt i32 %29, %10
br i1 %30, label %18, label %14
31: ; preds = %14, %31
%32 = phi i32 [ %36, %31 ], [ %16, %14 ]
%33 = phi double* [ %35, %31 ], [ %15, %14 ]
%34 = tail call i32 @_mm_store_sd(double* %33, i32 %6)
%35 = getelementptr inbounds double, double* %33, i64 4
%36 = add i32 %32, 1
%37 = icmp eq i32 %36, %8
br i1 %37, label %38, label %31
38: ; preds = %31, %14
%39 = phi double* [ %15, %14 ], [ %35, %31 ]
%40 = phi i32 [ %16, %14 ], [ %8, %31 ]
%41 = icmp slt i32 %40, %1
br i1 %41, label %42, label %89
42: ; preds = %38
%43 = tail call i32 @_mm_store_sd(double* %39, i32 %6)
br label %89
44: ; preds = %49, %12
%45 = phi double* [ %4, %12 ], [ %68, %49 ]
%46 = phi i32 [ 0, %12 ], [ %69, %49 ]
%47 = phi double* [ %3, %12 ], [ %67, %49 ]
%48 = icmp slt i32 %46, %8
br i1 %48, label %71, label %81
49: ; preds = %12, %49
%50 = phi double* [ %67, %49 ], [ %3, %12 ]
%51 = phi i32 [ %69, %49 ], [ 0, %12 ]
%52 = phi double* [ %68, %49 ], [ %4, %12 ]
%53 = tail call i32 @_mm_load_sd(double* %50)
%54 = tail call i32 @_mm_store_sd(double* %52, i32 %53)
%55 = getelementptr inbounds double, double* %50, i64 4
%56 = tail call i32 @_mm_load_sd(double* %55)
%57 = getelementptr inbounds double, double* %52, i64 4
%58 = tail call i32 @_mm_store_sd(double* %57, i32 %56)
%59 = getelementptr inbounds double, double* %50, i64 8
%60 = tail call i32 @_mm_load_sd(double* %59)
%61 = getelementptr inbounds double, double* %52, i64 8
%62 = tail call i32 @_mm_store_sd(double* %61, i32 %60)
%63 = getelementptr inbounds double, double* %50, i64 12
%64 = tail call i32 @_mm_load_sd(double* %63)
%65 = getelementptr inbounds double, double* %52, i64 12
%66 = tail call i32 @_mm_store_sd(double* %65, i32 %64)
%67 = getelementptr inbounds double, double* %50, i64 16
%68 = getelementptr inbounds double, double* %52, i64 16
%69 = add nuw nsw i32 %51, 4
%70 = icmp slt i32 %69, %10
br i1 %70, label %49, label %44
71: ; preds = %44, %71
%72 = phi double* [ %77, %71 ], [ %47, %44 ]
%73 = phi i32 [ %79, %71 ], [ %46, %44 ]
%74 = phi double* [ %78, %71 ], [ %45, %44 ]
%75 = tail call i32 @_mm_load_sd(double* %72)
%76 = tail call i32 @_mm_store_sd(double* %74, i32 %75)
%77 = getelementptr inbounds double, double* %72, i64 4
%78 = getelementptr inbounds double, double* %74, i64 4
%79 = add i32 %73, 1
%80 = icmp eq i32 %79, %8
br i1 %80, label %81, label %71
81: ; preds = %71, %44
%82 = phi double* [ %45, %44 ], [ %78, %71 ]
%83 = phi i32 [ %46, %44 ], [ %8, %71 ]
%84 = phi double* [ %47, %44 ], [ %77, %71 ]
%85 = icmp slt i32 %83, %1
br i1 %85, label %86, label %89
86: ; preds = %81
%87 = tail call i32 @_mm_load_sd(double* %84)
%88 = tail call i32 @_mm_store_sd(double* %82, i32 %87)
br label %89
89: ; preds = %81, %86, %38, %42
ret void
}