#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 calculateImagePixels(int);
int pow(int, int);
int sqrt(int);
void fillColorArrays(unsigned char *image, double **node_array, int size,
                     double **r, double **g, double **b) {
  int i, j, k, l, nodes_per_row, layer_box_size, nodes_in_layer, x_offset,
      y_offset;
  double belief;
  x_offset = y_offset = 0;
  for (i = 0; i < size; i++) {
    nodes_in_layer = pow(4, (size - i) - 1);
    for (j = 0; j < nodes_in_layer; j++) {
      nodes_per_row = sqrt(nodes_in_layer);
      layer_box_size = calculateImagePixels(size) / nodes_per_row;
      belief = node_array[i][j];
      x_offset = (j % nodes_per_row) * layer_box_size;
      y_offset = (i * calculateImagePixels(size)) +
                 (j / nodes_per_row) * layer_box_size + i;
      for (k = x_offset; k < x_offset + layer_box_size; k++) {
        for (l = y_offset; l < y_offset + layer_box_size; l++) {
          r[k][l] = belief;
          g[k][l] = belief;
          b[k][l] = belief;
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<fillColorArrays>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x50(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12cf <fillColorArrays+0x19f>
mov    -0x14(%rbp),%esi
sub    -0x34(%rbp),%esi
sub    $0x1,%esi
mov    $0x4,%edi
call   1040 <pow@plt>
mov    %eax,-0x4c(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x4c(%rbp),%eax
jge    12bc <fillColorArrays+0x18c>
mov    -0x4c(%rbp),%edi
call   1050 <sqrt@plt>
mov    %eax,-0x44(%rbp)
mov    -0x14(%rbp),%edi
call   1030 <calculateImagePixels@plt>
cltd
idivl  -0x44(%rbp)
mov    %eax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x38(%rbp),%eax
cltd
idivl  -0x44(%rbp)
imul   -0x48(%rbp),%edx
mov    %edx,-0x50(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x14(%rbp),%edi
call   1030 <calculateImagePixels@plt>
mov    %eax,%ecx
mov    -0x68(%rbp),%eax
imul   %ecx,%eax
mov    %eax,-0x64(%rbp)
mov    -0x38(%rbp),%eax
cltd
idivl  -0x44(%rbp)
mov    %eax,%ecx
mov    -0x64(%rbp),%eax
imul   -0x48(%rbp),%ecx
add    %ecx,%eax
add    -0x34(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
mov    -0x50(%rbp),%ecx
add    -0x48(%rbp),%ecx
cmp    %ecx,%eax
jge    12a9 <fillColorArrays+0x179>
mov    -0x54(%rbp),%eax
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%eax
mov    -0x54(%rbp),%ecx
add    -0x48(%rbp),%ecx
cmp    %ecx,%eax
jge    1296 <fillColorArrays+0x166>
movsd  -0x60(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x40(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    1229 <fillColorArrays+0xf9>
jmp    129b <fillColorArrays+0x16b>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1212 <fillColorArrays+0xe2>
jmp    12ae <fillColorArrays+0x17e>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    118d <fillColorArrays+0x5d>
jmp    12c1 <fillColorArrays+0x191>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1164 <fillColorArrays+0x34>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fillColorArrays>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    %r8,0x88(%rsp)
mov    %rcx,0x80(%rsp)
mov    %rsi,0x20(%rsp)
mov    %edx,0x8(%rsp)
test   %edx,%edx
jle    148e <fillColorArrays+0x35e>
mov    %r9,%r13
mov    0x8(%rsp),%eax
mov    %rax,0x18(%rsp)
xor    %r14d,%r14d
mov    %r9,0x60(%rsp)
jmp    118f <fillColorArrays+0x5f>
nopl   0x0(%rax,%rax,1)
add    $0x1,%r14
cmp    0x18(%rsp),%r14
je     148e <fillColorArrays+0x35e>
mov    %r14d,%esi
not    %esi
add    0x8(%rsp),%esi
mov    $0x4,%edi
call   1040 <pow@plt>
mov    %eax,0xc(%rsp)
test   %eax,%eax
jle    1180 <fillColorArrays+0x50>
mov    0xc(%rsp),%eax
mov    %rax,0x28(%rsp)
xor    %ebx,%ebx
mov    %r14,0x10(%rsp)
jmp    11d5 <fillColorArrays+0xa5>
nopl   0x0(%rax)
mov    0x30(%rsp),%rbx
add    $0x1,%rbx
cmp    0x28(%rsp),%rbx
mov    0x10(%rsp),%r14
je     1180 <fillColorArrays+0x50>
mov    0xc(%rsp),%edi
call   1050 <sqrt@plt>
mov    %eax,%ebp
mov    0x8(%rsp),%edi
call   1030 <calculateImagePixels@plt>
cltd
idiv   %ebp
mov    %eax,%r15d
mov    0x20(%rsp),%rax
mov    (%rax,%r14,8),%rax
movsd  (%rax,%rbx,8),%xmm0
movaps %xmm0,0x90(%rsp)
mov    %rbx,0x30(%rsp)
mov    %ebx,%eax
cltd
idiv   %ebp
mov    %edx,%r12d
mov    %eax,%r14d
mov    0x8(%rsp),%edi
call   1030 <calculateImagePixels@plt>
movaps 0x90(%rsp),%xmm1
test   %r15d,%r15d
jle    11c0 <fillColorArrays+0x90>
imul   %r15d,%r12d
mov    %r14d,%ecx
imul   %r15d,%ecx
mov    %eax,%edx
mov    0x10(%rsp),%rsi
imul   %esi,%edx
add    %esi,%edx
add    %ecx,%edx
add    %r15d,%edx
add    $0x1,%eax
imul   %esi,%eax
add    %eax,%ecx
mov    %r15d,%ebx
movslq %ecx,%r15
movslq %edx,%rdx
movslq %r12d,%rsi
add    %ebx,%r12d
lea    0x1(%r15),%rcx
cmp    %rdx,%rcx
mov    %rdx,%rbp
cmovg  %rcx,%rbp
movslq %r12d,%rdi
mov    %rbp,0x78(%rsp)
mov    %rbp,%r12
sub    %r15,%r12
lea    -0x4(%r12),%rbp
mov    %rbp,0x58(%rsp)
shr    $0x2,%rbp
add    $0x1,%rbp
mov    %rbp,0x50(%rsp)
mov    %r12,%rbp
and    $0xfffffffffffffffc,%rbp
mov    %rbp,0x48(%rsp)
add    %r15,%rbp
mov    %rbp,0x40(%rsp)
movaps %xmm1,%xmm0
movlhps %xmm1,%xmm0
add    $0x1,%r14d
imul   %ebx,%r14d
add    %eax,%r14d
movslq %r14d,%rax
cmp    %rax,%rcx
cmovg  %rcx,%rax
sub    %r15,%rax
add    $0xfffffffffffffffc,%rax
shr    $0x2,%rax
add    $0x1,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0x38(%rsp)
mov    %rdi,0x70(%rsp)
mov    %r12,0x68(%rsp)
jmp    12fd <fillColorArrays+0x1cd>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rsi
cmp    %rdi,%rsi
jge    11c0 <fillColorArrays+0x90>
mov    0x80(%rsp),%rax
mov    (%rax,%rsi,8),%rax
mov    0x88(%rsp),%rcx
mov    (%rcx,%rsi,8),%rbx
mov    0x0(%r13,%rsi,8),%r11
mov    %r15,%rcx
cmp    $0x4,%r12
jb     1470 <fillColorArrays+0x340>
lea    (%rax,%r15,8),%rcx
mov    0x78(%rsp),%rdi
lea    (%rax,%rdi,8),%rbp
lea    (%rbx,%r15,8),%r8
lea    (%rbx,%rdi,8),%r10
lea    (%r11,%r15,8),%r12
lea    (%r11,%rdi,8),%rdi
cmp    %r10,%rcx
setb   0x7(%rsp)
cmp    %rbp,%r8
setb   %r13b
cmp    %rdi,%rcx
setb   %r9b
cmp    %rbp,%r12
setb   %bpl
cmp    %rdi,%r8
mov    0x70(%rsp),%rdi
setb   %r8b
cmp    %r10,%r12
mov    0x68(%rsp),%r12
setb   %r10b
mov    %r15,%rcx
test   %r13b,0x7(%rsp)
mov    0x60(%rsp),%r13
jne    1470 <fillColorArrays+0x340>
mov    %r15,%rcx
and    %bpl,%r9b
jne    1470 <fillColorArrays+0x340>
mov    %r15,%rcx
and    %r10b,%r8b
jne    1470 <fillColorArrays+0x340>
cmpq   $0x4,0x58(%rsp)
jae    13b1 <fillColorArrays+0x281>
xor    %r8d,%r8d
jmp    142f <fillColorArrays+0x2ff>
lea    (%r11,%r15,8),%r10
add    $0x30,%r10
lea    (%rbx,%r15,8),%r9
add    $0x30,%r9
lea    (%rax,%r15,8),%rcx
add    $0x30,%rcx
mov    0x38(%rsp),%r14
xor    %r8d,%r8d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movups %xmm0,-0x30(%rcx,%r8,8)
movups %xmm0,-0x20(%rcx,%r8,8)
movups %xmm0,-0x30(%r9,%r8,8)
movups %xmm0,-0x20(%r9,%r8,8)
movups %xmm0,-0x30(%r10,%r8,8)
movups %xmm0,-0x20(%r10,%r8,8)
movups %xmm0,-0x10(%rcx,%r8,8)
movups %xmm0,(%rcx,%r8,8)
movups %xmm0,-0x10(%r9,%r8,8)
movups %xmm0,(%r9,%r8,8)
movups %xmm0,-0x10(%r10,%r8,8)
movups %xmm0,(%r10,%r8,8)
add    $0x8,%r8
add    $0xfffffffffffffffe,%r14
jne    13e0 <fillColorArrays+0x2b0>
testb  $0x1,0x50(%rsp)
je     145a <fillColorArrays+0x32a>
add    %r15,%r8
movups %xmm0,(%rax,%r8,8)
movups %xmm0,0x10(%rax,%r8,8)
movups %xmm0,(%rbx,%r8,8)
movups %xmm0,0x10(%rbx,%r8,8)
movups %xmm0,(%r11,%r8,8)
movups %xmm0,0x10(%r11,%r8,8)
mov    0x40(%rsp),%rcx
cmp    0x48(%rsp),%r12
je     12f0 <fillColorArrays+0x1c0>
nopw   0x0(%rax,%rax,1)
movsd  %xmm1,(%rax,%rcx,8)
movsd  %xmm1,(%rbx,%rcx,8)
movsd  %xmm1,(%r11,%rcx,8)
add    $0x1,%rcx
cmp    %rdx,%rcx
jl     1470 <fillColorArrays+0x340>
jmp    12f0 <fillColorArrays+0x1c0>
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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