#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 */

/* Variables and functions */
int /*<<< orphan*/ convolutions_convolve(double const *, size_t, double const *,
                                         size_t, double *);
int convolutions_split_convolve(const double first[], size_t first_len,
                                const double second[], size_t second_len,
                                size_t delta_second, double convolved[]) {
  const double *shifted_first;
  double *shifted_convolved;
  int k;
  if (first_len < delta_second) {
    for (k = 0; k < first_len; k++) {
      convolved[k] = first[k];
    }
    return 1;
  }
  shifted_first = &(first[delta_second + 1]);
  shifted_convolved = &(convolved[delta_second + 1]);
  convolutions_convolve(shifted_first, first_len - (delta_second + 1), second,
                        second_len, shifted_convolved);
  for (k = 0; k <= delta_second; k++) {
    convolved[k] = first[k];
  }
  return 1;
}


x86 assembly (clang, -O0):
<convolutions_split_convolve>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
mov    %r8,-0x30(%rbp)
mov    %r9,-0x38(%rbp)
mov    -0x18(%rbp),%rax
cmp    -0x30(%rbp),%rax
jae    1187 <convolutions_split_convolve+0x77>
movl   $0x0,-0x4c(%rbp)
movslq -0x4c(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    117b <convolutions_split_convolve+0x6b>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1145 <convolutions_split_convolve+0x35>
movl   $0x1,-0x4(%rbp)
jmp    121d <convolutions_split_convolve+0x10d>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%rcx
add    $0x1,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x40(%rbp)
mov    -0x38(%rbp),%rax
mov    -0x30(%rbp),%rcx
add    $0x1,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x48(%rbp)
mov    -0x40(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    -0x30(%rbp),%rax
add    $0x1,%rax
sub    %rax,%rsi
mov    -0x20(%rbp),%rdx
mov    -0x28(%rbp),%rcx
mov    -0x48(%rbp),%r8
call   1030 <convolutions_convolve@plt>
movl   $0x0,-0x4c(%rbp)
movslq -0x4c(%rbp),%rax
cmp    -0x30(%rbp),%rax
ja     1216 <convolutions_split_convolve+0x106>
mov    -0x10(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
movslq -0x4c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    11e0 <convolutions_split_convolve+0xd0>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<convolutions_split_convolve>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %r9,%r14
mov    %rdi,%rbx
cmp    %r8,%rsi
jae    11d0 <convolutions_split_convolve+0xc0>
test   %rsi,%rsi
je     1454 <convolutions_split_convolve+0x344>
cmp    $0x4,%rsi
jb     1153 <convolutions_split_convolve+0x43>
lea    (%rbx,%rsi,8),%rax
cmp    %r14,%rax
jbe    12c4 <convolutions_split_convolve+0x1b4>
lea    (%r14,%rsi,8),%rax
cmp    %rbx,%rax
jbe    12c4 <convolutions_split_convolve+0x1b4>
xor    %eax,%eax
mov    %rax,%rcx
not    %rcx
add    %rsi,%rcx
mov    %rsi,%rdx
and    $0x3,%rdx
je     1185 <convolutions_split_convolve+0x75>
nopw   0x0(%rax,%rax,1)
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,(%r14,%rax,8)
add    $0x1,%rax
add    $0xffffffffffffffff,%rdx
jne    1170 <convolutions_split_convolve+0x60>
cmp    $0x3,%rcx
jb     1454 <convolutions_split_convolve+0x344>
nop
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,(%r14,%rax,8)
movsd  0x8(%rbx,%rax,8),%xmm0
movsd  %xmm0,0x8(%r14,%rax,8)
movsd  0x10(%rbx,%rax,8),%xmm0
movsd  %xmm0,0x10(%r14,%rax,8)
movsd  0x18(%rbx,%rax,8),%xmm0
movsd  %xmm0,0x18(%r14,%rax,8)
add    $0x4,%rax
cmp    %rax,%rsi
jne    1190 <convolutions_split_convolve+0x80>
jmp    1454 <convolutions_split_convolve+0x344>
mov    %r8,%r15
lea    0x1(%r8),%rbp
lea    (%rbx,%r8,8),%r13
add    $0x8,%r13
lea    (%r14,%r8,8),%r12
add    $0x8,%r12
sub    %rbp,%rsi
mov    %r13,%rdi
mov    %r12,%r8
call   1030 <convolutions_convolve@plt>
cmp    $0x4,%rbp
jb     120d <convolutions_split_convolve+0xfd>
cmp    %r14,%r13
jbe    129c <convolutions_split_convolve+0x18c>
cmp    %rbx,%r12
jbe    129c <convolutions_split_convolve+0x18c>
xor    %eax,%eax
lea    0x1(%r15),%edx
mov    %r15,%rcx
sub    %rax,%rcx
and    $0x3,%rdx
je     1235 <convolutions_split_convolve+0x125>
nop
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,(%r14,%rax,8)
add    $0x1,%rax
add    $0xffffffffffffffff,%rdx
jne    1220 <convolutions_split_convolve+0x110>
cmp    $0x3,%rcx
jb     1454 <convolutions_split_convolve+0x344>
sub    %rax,%r15
lea    (%r14,%rax,8),%rcx
add    $0x18,%rcx
lea    (%rbx,%rax,8),%rax
add    $0x18,%rax
mov    $0xffffffffffffffff,%rdx
nopl   0x0(%rax)
movsd  -0x10(%rax,%rdx,8),%xmm0
movsd  %xmm0,-0x10(%rcx,%rdx,8)
movsd  -0x8(%rax,%rdx,8),%xmm0
movsd  %xmm0,-0x8(%rcx,%rdx,8)
movsd  (%rax,%rdx,8),%xmm0
movsd  %xmm0,(%rcx,%rdx,8)
movsd  0x8(%rax,%rdx,8),%xmm0
movsd  %xmm0,0x8(%rcx,%rdx,8)
add    $0x4,%rdx
cmp    %rdx,%r15
jne    1260 <convolutions_split_convolve+0x150>
jmp    1454 <convolutions_split_convolve+0x344>
mov    %rbp,%rax
and    $0xfffffffffffffffc,%rax
lea    -0x4(%rax),%rsi
mov    %rsi,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %edx,%ecx
and    $0x3,%ecx
cmp    $0xc,%rsi
jae    12f0 <convolutions_split_convolve+0x1e0>
xor    %esi,%esi
jmp    1360 <convolutions_split_convolve+0x250>
mov    %rsi,%rax
and    $0xfffffffffffffffc,%rax
lea    -0x4(%rax),%rdi
mov    %rdi,%rdx
shr    $0x2,%rdx
add    $0x1,%rdx
mov    %edx,%ecx
and    $0x3,%ecx
cmp    $0xc,%rdi
jae    13a9 <convolutions_split_convolve+0x299>
xor    %edi,%edi
jmp    1410 <convolutions_split_convolve+0x300>
and    $0xfffffffffffffffc,%rdx
xor    %esi,%esi
cs nopw 0x0(%rax,%rax,1)
movups (%rbx,%rsi,8),%xmm0
movups 0x10(%rbx,%rsi,8),%xmm1
movups %xmm0,(%r14,%rsi,8)
movups %xmm1,0x10(%r14,%rsi,8)
movups 0x20(%rbx,%rsi,8),%xmm0
movups 0x30(%rbx,%rsi,8),%xmm1
movups %xmm0,0x20(%r14,%rsi,8)
movups %xmm1,0x30(%r14,%rsi,8)
movups 0x40(%rbx,%rsi,8),%xmm0
movups 0x50(%rbx,%rsi,8),%xmm1
movups %xmm0,0x40(%r14,%rsi,8)
movups %xmm1,0x50(%r14,%rsi,8)
movups 0x60(%rbx,%rsi,8),%xmm0
movups 0x70(%rbx,%rsi,8),%xmm1
movups %xmm0,0x60(%r14,%rsi,8)
movups %xmm1,0x70(%r14,%rsi,8)
add    $0x10,%rsi
add    $0xfffffffffffffffc,%rdx
jne    1300 <convolutions_split_convolve+0x1f0>
test   %rcx,%rcx
je     139b <convolutions_split_convolve+0x28b>
lea    (%r14,%rsi,8),%rdx
add    $0x10,%rdx
lea    (%rbx,%rsi,8),%rsi
add    $0x10,%rsi
shl    $0x5,%rcx
xor    %edi,%edi
nopl   0x0(%rax,%rax,1)
movups -0x10(%rsi,%rdi,1),%xmm0
movups (%rsi,%rdi,1),%xmm1
movups %xmm0,-0x10(%rdx,%rdi,1)
movups %xmm1,(%rdx,%rdi,1)
add    $0x20,%rdi
cmp    %rdi,%rcx
jne    1380 <convolutions_split_convolve+0x270>
cmp    %rax,%rbp
je     1454 <convolutions_split_convolve+0x344>
jmp    120f <convolutions_split_convolve+0xff>
and    $0xfffffffffffffffc,%rdx
xor    %edi,%edi
nop
movups (%rbx,%rdi,8),%xmm0
movups 0x10(%rbx,%rdi,8),%xmm1
movups %xmm0,(%r14,%rdi,8)
movups %xmm1,0x10(%r14,%rdi,8)
movups 0x20(%rbx,%rdi,8),%xmm0
movups 0x30(%rbx,%rdi,8),%xmm1
movups %xmm0,0x20(%r14,%rdi,8)
movups %xmm1,0x30(%r14,%rdi,8)
movups 0x40(%rbx,%rdi,8),%xmm0
movups 0x50(%rbx,%rdi,8),%xmm1
movups %xmm0,0x40(%r14,%rdi,8)
movups %xmm1,0x50(%r14,%rdi,8)
movups 0x60(%rbx,%rdi,8),%xmm0
movups 0x70(%rbx,%rdi,8),%xmm1
movups %xmm0,0x60(%r14,%rdi,8)
movups %xmm1,0x70(%r14,%rdi,8)
add    $0x10,%rdi
add    $0xfffffffffffffffc,%rdx
jne    13b0 <convolutions_split_convolve+0x2a0>
test   %rcx,%rcx
je     144b <convolutions_split_convolve+0x33b>
lea    (%r14,%rdi,8),%rdx
add    $0x10,%rdx
lea    (%rbx,%rdi,8),%rdi
add    $0x10,%rdi
shl    $0x5,%rcx
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movups -0x10(%rdi,%rbp,1),%xmm0
movups (%rdi,%rbp,1),%xmm1
movups %xmm0,-0x10(%rdx,%rbp,1)
movups %xmm1,(%rdx,%rbp,1)
add    $0x20,%rbp
cmp    %rbp,%rcx
jne    1430 <convolutions_split_convolve+0x320>
cmp    %rsi,%rax
jne    1155 <convolutions_split_convolve+0x45>
mov    $0x1,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @convolutions_split_convolve(double* %0, i64 %1, double* %2, i64 %3, i64 %4, double* %5) {
%7 = alloca i32
%8 = alloca double*
%9 = alloca i64
%10 = alloca double*
%11 = alloca i64
%12 = alloca i64
%13 = alloca double*
%14 = alloca double*
%15 = alloca double*
%16 = alloca i32
store double* %0, double** %8
store i64 %1, i64* %9
store double* %2, double** %10
store i64 %3, i64* %11
store i64 %4, i64* %12
store double* %5, double** %13
%17 = load i64, i64* %9
%18 = load i64, i64* %12
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %40
20: ; preds = %6
store i32 0, i32* %16
br label %21
21: ; preds = %36, %20
%22 = load i32, i32* %16
%23 = sext i32 %22 to i64
%24 = load i64, i64* %9
%25 = icmp ult i64 %23, %24
br i1 %25, label %26, label %39
26: ; preds = %21
%27 = load double*, double** %8
%28 = load i32, i32* %16
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, double* %27, i64 %29
%31 = load double, double* %30
%32 = load double*, double** %13
%33 = load i32, i32* %16
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, double* %32, i64 %34
store double %31, double* %35
br label %36
36: ; preds = %26
%37 = load i32, i32* %16
%38 = add nsw i32 %37, 1
store i32 %38, i32* %16
br label %21
39: ; preds = %21
store i32 1, i32* %7
br label %77
40: ; preds = %6
%41 = load double*, double** %8
%42 = load i64, i64* %12
%43 = add i64 %42, 1
%44 = getelementptr inbounds double, double* %41, i64 %43
store double* %44, double** %14
%45 = load double*, double** %13
%46 = load i64, i64* %12
%47 = add i64 %46, 1
%48 = getelementptr inbounds double, double* %45, i64 %47
store double* %48, double** %15
%49 = load double*, double** %14
%50 = load i64, i64* %9
%51 = load i64, i64* %12
%52 = add i64 %51, 1
%53 = sub i64 %50, %52
%54 = load double*, double** %10
%55 = load i64, i64* %11
%56 = load double*, double** %15
%57 = call i32 @convolutions_convolve(double* %49, i64 %53, double* %54, i64 %55, double* %56)
store i32 0, i32* %16
br label %58
58: ; preds = %73, %40
%59 = load i32, i32* %16
%60 = sext i32 %59 to i64
%61 = load i64, i64* %12
%62 = icmp ule i64 %60, %61
br i1 %62, label %63, label %76
63: ; preds = %58
%64 = load double*, double** %8
%65 = load i32, i32* %16
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %64, i64 %66
%68 = load double, double* %67
%69 = load double*, double** %13
%70 = load i32, i32* %16
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, double* %69, i64 %71
store double %68, double* %72
br label %73
73: ; preds = %63
%74 = load i32, i32* %16
%75 = add nsw i32 %74, 1
store i32 %75, i32* %16
br label %58
76: ; preds = %58
store i32 1, i32* %7
br label %77
77: ; preds = %76, %39
%78 = load i32, i32* %7
ret i32 %78
}

LLVM IR (-O2):
define i32 @convolutions_split_convolve(double* %0, i64 %1, double* %2, i64 %3, i64 %4, double* %5) {
%7 = icmp ult i64 %1, %4
br i1 %7, label %8, label %134
8: ; preds = %6
%9 = icmp eq i64 %1, 0
br i1 %9, label %264, label %10
10: ; preds = %8
%11 = icmp ult i64 %1, 4
br i1 %11, label %97, label %12
12: ; preds = %10
%13 = getelementptr double, double* %5, i64 %1
%14 = getelementptr double, double* %0, i64 %1
%15 = icmp ugt double* %14, %5
%16 = icmp ugt double* %13, %0
%17 = and i1 %15, %16
br i1 %17, label %97, label %18
18: ; preds = %12
%19 = and i64 %1, -4
%20 = add i64 %19, -4
%21 = lshr exact i64 %20, 2
%22 = add nuw nsw i64 %21, 1
%23 = and i64 %22, 3
%24 = icmp ult i64 %20, 12
br i1 %24, label %76, label %25
25: ; preds = %18
%26 = and i64 %22, 9223372036854775804
br label %27
27: ; preds = %27, %25
%28 = phi i64 [ 0, %25 ], [ %73, %27 ]
%29 = phi i64 [ 0, %25 ], [ %74, %27 ]
%30 = getelementptr inbounds double, double* %0, i64 %28
%31 = bitcast double* %30 to <2 x double>*
%32 = load <2 x double>, <2 x double>* %31
%33 = getelementptr inbounds double, double* %30, i64 2
%34 = bitcast double* %33 to <2 x double>*
%35 = load <2 x double>, <2 x double>* %34
%36 = getelementptr inbounds double, double* %5, i64 %28
%37 = bitcast double* %36 to <2 x double>*
store <2 x double> %32, <2 x double>* %37
%38 = getelementptr inbounds double, double* %36, i64 2
%39 = bitcast double* %38 to <2 x double>*
store <2 x double> %35, <2 x double>* %39
%40 = or i64 %28, 4
%41 = getelementptr inbounds double, double* %0, i64 %40
%42 = bitcast double* %41 to <2 x double>*
%43 = load <2 x double>, <2 x double>* %42
%44 = getelementptr inbounds double, double* %41, i64 2
%45 = bitcast double* %44 to <2 x double>*
%46 = load <2 x double>, <2 x double>* %45
%47 = getelementptr inbounds double, double* %5, i64 %40
%48 = bitcast double* %47 to <2 x double>*
store <2 x double> %43, <2 x double>* %48
%49 = getelementptr inbounds double, double* %47, i64 2
%50 = bitcast double* %49 to <2 x double>*
store <2 x double> %46, <2 x double>* %50
%51 = or i64 %28, 8
%52 = getelementptr inbounds double, double* %0, i64 %51
%53 = bitcast double* %52 to <2 x double>*
%54 = load <2 x double>, <2 x double>* %53
%55 = getelementptr inbounds double, double* %52, i64 2
%56 = bitcast double* %55 to <2 x double>*
%57 = load <2 x double>, <2 x double>* %56
%58 = getelementptr inbounds double, double* %5, i64 %51
%59 = bitcast double* %58 to <2 x double>*
store <2 x double> %54, <2 x double>* %59
%60 = getelementptr inbounds double, double* %58, i64 2
%61 = bitcast double* %60 to <2 x double>*
store <2 x double> %57, <2 x double>* %61
%62 = or i64 %28, 12
%63 = getelementptr inbounds double, double* %0, i64 %62
%64 = bitcast double* %63 to <2 x double>*
%65 = load <2 x double>, <2 x double>* %64
%66 = getelementptr inbounds double, double* %63, i64 2
%67 = bitcast double* %66 to <2 x double>*
%68 = load <2 x double>, <2 x double>* %67
%69 = getelementptr inbounds double, double* %5, i64 %62
%70 = bitcast double* %69 to <2 x double>*
store <2 x double> %65, <2 x double>* %70
%71 = getelementptr inbounds double, double* %69, i64 2
%72 = bitcast double* %71 to <2 x double>*
store <2 x double> %68, <2 x double>* %72
%73 = add nuw i64 %28, 16
%74 = add nuw i64 %29, 4
%75 = icmp eq i64 %74, %26
br i1 %75, label %76, label %27
76: ; preds = %27, %18
%77 = phi i64 [ 0, %18 ], [ %73, %27 ]
%78 = icmp eq i64 %23, 0
br i1 %78, label %95, label %79
79: ; preds = %76, %79
%80 = phi i64 [ %92, %79 ], [ %77, %76 ]
%81 = phi i64 [ %93, %79 ], [ 0, %76 ]
%82 = getelementptr inbounds double, double* %0, i64 %80
%83 = bitcast double* %82 to <2 x double>*
%84 = load <2 x double>, <2 x double>* %83
%85 = getelementptr inbounds double, double* %82, i64 2
%86 = bitcast double* %85 to <2 x double>*
%87 = load <2 x double>, <2 x double>* %86
%88 = getelementptr inbounds double, double* %5, i64 %80
%89 = bitcast double* %88 to <2 x double>*
store <2 x double> %84, <2 x double>* %89
%90 = getelementptr inbounds double, double* %88, i64 2
%91 = bitcast double* %90 to <2 x double>*
store <2 x double> %87, <2 x double>* %91
%92 = add nuw i64 %80, 4
%93 = add i64 %81, 1
%94 = icmp eq i64 %93, %23
br i1 %94, label %95, label %79
95: ; preds = %79, %76
%96 = icmp eq i64 %19, %1
br i1 %96, label %264, label %97
97: ; preds = %12, %10, %95
%98 = phi i64 [ 0, %12 ], [ 0, %10 ], [ %19, %95 ]
%99 = xor i64 %98, -1
%100 = add i64 %99, %1
%101 = and i64 %1, 3
%102 = icmp eq i64 %101, 0
br i1 %102, label %112, label %103
103: ; preds = %97, %103
%104 = phi i64 [ %109, %103 ], [ %98, %97 ]
%105 = phi i64 [ %110, %103 ], [ 0, %97 ]
%106 = getelementptr inbounds double, double* %0, i64 %104
%107 = load double, double* %106
%108 = getelementptr inbounds double, double* %5, i64 %104
store double %107, double* %108
%109 = add nuw nsw i64 %104, 1
%110 = add i64 %105, 1
%111 = icmp eq i64 %110, %101
br i1 %111, label %112, label %103
112: ; preds = %103, %97
%113 = phi i64 [ %98, %97 ], [ %109, %103 ]
%114 = icmp ult i64 %100, 3
br i1 %114, label %264, label %115
115: ; preds = %112, %115
%116 = phi i64 [ %132, %115 ], [ %113, %112 ]
%117 = getelementptr inbounds double, double* %0, i64 %116
%118 = load double, double* %117
%119 = getelementptr inbounds double, double* %5, i64 %116
store double %118, double* %119
%120 = add nuw nsw i64 %116, 1
%121 = getelementptr inbounds double, double* %0, i64 %120
%122 = load double, double* %121
%123 = getelementptr inbounds double, double* %5, i64 %120
store double %122, double* %123
%124 = add nuw nsw i64 %116, 2
%125 = getelementptr inbounds double, double* %0, i64 %124
%126 = load double, double* %125
%127 = getelementptr inbounds double, double* %5, i64 %124
store double %126, double* %127
%128 = add nuw nsw i64 %116, 3
%129 = getelementptr inbounds double, double* %0, i64 %128
%130 = load double, double* %129
%131 = getelementptr inbounds double, double* %5, i64 %128
store double %130, double* %131
%132 = add nuw nsw i64 %116, 4
%133 = icmp eq i64 %132, %1
br i1 %133, label %264, label %115
134: ; preds = %6
%135 = add i64 %4, 1
%136 = getelementptr inbounds double, double* %0, i64 %135
%137 = getelementptr inbounds double, double* %5, i64 %135
%138 = sub i64 %1, %135
%139 = tail call i32 @convolutions_convolve(double* %136, i64 %138, double* %2, i64 %3, double* %137)
%140 = icmp ult i64 %135, 4
br i1 %140, label %227, label %141
141: ; preds = %134
%142 = add i64 %4, 1
%143 = getelementptr double, double* %5, i64 %142
%144 = getelementptr double, double* %0, i64 %142
%145 = icmp ugt double* %144, %5
%146 = icmp ugt double* %143, %0
%147 = and i1 %145, %146
br i1 %147, label %227, label %148
148: ; preds = %141
%149 = and i64 %135, -4
%150 = add i64 %149, -4
%151 = lshr exact i64 %150, 2
%152 = add nuw nsw i64 %151, 1
%153 = and i64 %152, 3
%154 = icmp ult i64 %150, 12
br i1 %154, label %206, label %155
155: ; preds = %148
%156 = and i64 %152, 9223372036854775804
br label %157
157: ; preds = %157, %155
%158 = phi i64 [ 0, %155 ], [ %203, %157 ]
%159 = phi i64 [ 0, %155 ], [ %204, %157 ]
%160 = getelementptr inbounds double, double* %0, i64 %158
%161 = bitcast double* %160 to <2 x double>*
%162 = load <2 x double>, <2 x double>* %161
%163 = getelementptr inbounds double, double* %160, i64 2
%164 = bitcast double* %163 to <2 x double>*
%165 = load <2 x double>, <2 x double>* %164
%166 = getelementptr inbounds double, double* %5, i64 %158
%167 = bitcast double* %166 to <2 x double>*
store <2 x double> %162, <2 x double>* %167
%168 = getelementptr inbounds double, double* %166, i64 2
%169 = bitcast double* %168 to <2 x double>*
store <2 x double> %165, <2 x double>* %169
%170 = or i64 %158, 4
%171 = getelementptr inbounds double, double* %0, i64 %170
%172 = bitcast double* %171 to <2 x double>*
%173 = load <2 x double>, <2 x double>* %172
%174 = getelementptr inbounds double, double* %171, i64 2
%175 = bitcast double* %174 to <2 x double>*
%176 = load <2 x double>, <2 x double>* %175
%177 = getelementptr inbounds double, double* %5, i64 %170
%178 = bitcast double* %177 to <2 x double>*
store <2 x double> %173, <2 x double>* %178
%179 = getelementptr inbounds double, double* %177, i64 2
%180 = bitcast double* %179 to <2 x double>*
store <2 x double> %176, <2 x double>* %180
%181 = or i64 %158, 8
%182 = getelementptr inbounds double, double* %0, i64 %181
%183 = bitcast double* %182 to <2 x double>*
%184 = load <2 x double>, <2 x double>* %183
%185 = getelementptr inbounds double, double* %182, i64 2
%186 = bitcast double* %185 to <2 x double>*
%187 = load <2 x double>, <2 x double>* %186
%188 = getelementptr inbounds double, double* %5, i64 %181
%189 = bitcast double* %188 to <2 x double>*
store <2 x double> %184, <2 x double>* %189
%190 = getelementptr inbounds double, double* %188, i64 2
%191 = bitcast double* %190 to <2 x double>*
store <2 x double> %187, <2 x double>* %191
%192 = or i64 %158, 12
%193 = getelementptr inbounds double, double* %0, i64 %192
%194 = bitcast double* %193 to <2 x double>*
%195 = load <2 x double>, <2 x double>* %194
%196 = getelementptr inbounds double, double* %193, i64 2
%197 = bitcast double* %196 to <2 x double>*
%198 = load <2 x double>, <2 x double>* %197
%199 = getelementptr inbounds double, double* %5, i64 %192
%200 = bitcast double* %199 to <2 x double>*
store <2 x double> %195, <2 x double>* %200
%201 = getelementptr inbounds double, double* %199, i64 2
%202 = bitcast double* %201 to <2 x double>*
store <2 x double> %198, <2 x double>* %202
%203 = add nuw i64 %158, 16
%204 = add nuw i64 %159, 4
%205 = icmp eq i64 %204, %156
br i1 %205, label %206, label %157
206: ; preds = %157, %148
%207 = phi i64 [ 0, %148 ], [ %203, %157 ]
%208 = icmp eq i64 %153, 0
br i1 %208, label %225, label %209
209: ; preds = %206, %209
%210 = phi i64 [ %222, %209 ], [ %207, %206 ]
%211 = phi i64 [ %223, %209 ], [ 0, %206 ]
%212 = getelementptr inbounds double, double* %0, i64 %210
%213 = bitcast double* %212 to <2 x double>*
%214 = load <2 x double>, <2 x double>* %213
%215 = getelementptr inbounds double, double* %212, i64 2
%216 = bitcast double* %215 to <2 x double>*
%217 = load <2 x double>, <2 x double>* %216
%218 = getelementptr inbounds double, double* %5, i64 %210
%219 = bitcast double* %218 to <2 x double>*
store <2 x double> %214, <2 x double>* %219
%220 = getelementptr inbounds double, double* %218, i64 2
%221 = bitcast double* %220 to <2 x double>*
store <2 x double> %217, <2 x double>* %221
%222 = add nuw i64 %210, 4
%223 = add i64 %211, 1
%224 = icmp eq i64 %223, %153
br i1 %224, label %225, label %209
225: ; preds = %209, %206
%226 = icmp eq i64 %135, %149
br i1 %226, label %264, label %227
227: ; preds = %141, %134, %225
%228 = phi i64 [ 0, %141 ], [ 0, %134 ], [ %149, %225 ]
%229 = add i64 %4, 1
%230 = sub i64 %4, %228
%231 = and i64 %229, 3
%232 = icmp eq i64 %231, 0
br i1 %232, label %242, label %233
233: ; preds = %227, %233
%234 = phi i64 [ %239, %233 ], [ %228, %227 ]
%235 = phi i64 [ %240, %233 ], [ 0, %227 ]
%236 = getelementptr inbounds double, double* %0, i64 %234
%237 = load double, double* %236
%238 = getelementptr inbounds double, double* %5, i64 %234
store double %237, double* %238
%239 = add nuw nsw i64 %234, 1
%240 = add i64 %235, 1
%241 = icmp eq i64 %240, %231
br i1 %241, label %242, label %233
242: ; preds = %233, %227
%243 = phi i64 [ %228, %227 ], [ %239, %233 ]
%244 = icmp ult i64 %230, 3
br i1 %244, label %264, label %245
245: ; preds = %242, %245
%246 = phi i64 [ %262, %245 ], [ %243, %242 ]
%247 = getelementptr inbounds double, double* %0, i64 %246
%248 = load double, double* %247
%249 = getelementptr inbounds double, double* %5, i64 %246
store double %248, double* %249
%250 = add nuw nsw i64 %246, 1
%251 = getelementptr inbounds double, double* %0, i64 %250
%252 = load double, double* %251
%253 = getelementptr inbounds double, double* %5, i64 %250
store double %252, double* %253
%254 = add nuw nsw i64 %246, 2
%255 = getelementptr inbounds double, double* %0, i64 %254
%256 = load double, double* %255
%257 = getelementptr inbounds double, double* %5, i64 %254
store double %256, double* %257
%258 = add nuw nsw i64 %246, 3
%259 = getelementptr inbounds double, double* %0, i64 %258
%260 = load double, double* %259
%261 = getelementptr inbounds double, double* %5, i64 %258
store double %260, double* %261
%262 = add nuw nsw i64 %246, 4
%263 = icmp eq i64 %258, %4
br i1 %263, label %264, label %245
264: ; preds = %242, %245, %112, %115, %225, %95, %8
ret i32 1
}