void initializeArray(double **X, unsigned long int x, unsigned long int y) {
  unsigned long int i, j;
  for (i = 1; i < x; i++) {
    for (j = 1; j < y; j++) {
      X[i][j] = (double)1000 + (i * (x - i - 1) * j * (y - j - 1));
    }
  }
  for (i = 0; i < x; i++) {
    X[i][0] = 0;
    X[i][y - 1] = 0;
  }
  for (j = 1; j < y; j++) {
    X[0][j] = 0;
    X[x - 1][j] = 0;
  }
}


x86 assembly (clang, -O0):
<initializeArray>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movq   $0x1,-0x20(%rbp)
mov    -0x20(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    11d6 <initializeArray+0xd6>
movq   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    11c0 <initializeArray+0xc0>
mov    -0x20(%rbp),%rax
mov    -0x10(%rbp),%rdx
mov    %rax,%rcx
not    %rcx
add    %rdx,%rcx
imul   %rcx,%rax
mov    -0x28(%rbp),%rcx
imul   %rcx,%rax
mov    -0x18(%rbp),%rdx
not    %rcx
add    %rdx,%rcx
imul   %rcx,%rax
movq   %rax,%xmm1
movaps 0xe9d(%rip),%xmm0
punpckldq %xmm0,%xmm1
movapd 0xea1(%rip),%xmm0
subpd  %xmm0,%xmm1
movaps %xmm1,%xmm0
unpckhpd %xmm1,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe6a(%rip),%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    112e <initializeArray+0x2e>
jmp    11c5 <initializeArray+0xc5>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    1118 <initializeArray+0x18>
movq   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    122c <initializeArray+0x12c>
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x18(%rbp),%rcx
sub    $0x1,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    11de <initializeArray+0xde>
movq   $0x1,-0x28(%rbp)
mov    -0x28(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    1282 <initializeArray+0x182>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    -0x28(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    $0x1,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x28(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    1234 <initializeArray+0x134>
pop    %rbp
ret

x86 assembly (clang, -O2):
<initializeArray>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
cmp    $0x2,%rsi
jb     14ea <initializeArray+0x3ea>
lea    -0x1(%rdx),%r15
lea    -0x3(%rdx),%r8
mov    %r8,%r14
shr    %r14
add    $0x1,%r14
mov    %r15,%r9
and    $0xfffffffffffffffe,%r9
mov    %r15,%r11
or     $0x1,%r11
movq   %rdx,%xmm0
pshufd $0x44,%xmm0,%xmm15
mov    %r14,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,-0x8(%rsp)
lea    -0x2(%rsi),%rbx
lea    -0x4(%rsi),%r12
mov    $0x1,%r13d
movdqa 0xf2f(%rip),%xmm3
movdqa 0xf37(%rip),%xmm6
movsd  0xf3f(%rip),%xmm7
pcmpeqd %xmm11,%xmm11
movdqa 0xe91(%rip),%xmm14
movdqa 0xe99(%rip),%xmm4
movdqa 0xea1(%rip),%xmm2
movapd 0xea9(%rip),%xmm1
movapd 0xeb0(%rip),%xmm10
movdqa 0xeb7(%rip),%xmm8
movdqa 0xebe(%rip),%xmm12
jmp    11d4 <initializeArray+0xd4>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%r13
add    %r12,%rbx
add    $0xfffffffffffffffe,%r12
cmp    %rsi,%r13
je     14ea <initializeArray+0x3ea>
cmp    $0x2,%rdx
jb     11c0 <initializeArray+0xc0>
mov    (%rdi,%r13,8),%rcx
mov    $0x1,%r10d
cmp    $0x2,%r15
jb     1499 <initializeArray+0x399>
mov    %r13,%rax
not    %rax
add    %rsi,%rax
imul   %r13,%rax
movq   %rax,%xmm0
pshufd $0x44,%xmm0,%xmm9
movdqa %xmm9,%xmm7
psrlq  $0x20,%xmm7
cmp    $0x2,%r8
jae    1226 <initializeArray+0x126>
xor    %eax,%eax
movdqa 0xddf(%rip),%xmm13
jmp    13cb <initializeArray+0x2cb>
mov    -0x8(%rsp),%rbp
xor    %eax,%eax
movdqa 0xdca(%rip),%xmm13
cs nopw 0x0(%rax,%rax,1)
movdqa %xmm7,%xmm0
pmuludq %xmm13,%xmm0
movdqa %xmm13,%xmm5
psrlq  $0x20,%xmm5
pmuludq %xmm9,%xmm5
paddq  %xmm0,%xmm5
psllq  $0x20,%xmm5
movapd %xmm10,%xmm3
movdqa %xmm9,%xmm10
pmuludq %xmm13,%xmm10
paddq  %xmm5,%xmm10
movdqa %xmm12,%xmm6
movdqa %xmm8,%xmm12
movdqa %xmm13,%xmm8
pxor   %xmm11,%xmm8
paddq  %xmm15,%xmm8
movdqa %xmm8,%xmm5
psrlq  $0x20,%xmm5
pmuludq %xmm10,%xmm5
movdqa %xmm10,%xmm0
psrlq  $0x20,%xmm0
pmuludq %xmm8,%xmm0
paddq  %xmm5,%xmm0
psllq  $0x20,%xmm0
pmuludq %xmm10,%xmm8
movapd %xmm3,%xmm10
paddq  %xmm0,%xmm8
movdqa %xmm8,%xmm0
pand   %xmm14,%xmm0
por    %xmm4,%xmm0
psrlq  $0x20,%xmm8
por    %xmm2,%xmm8
subpd  %xmm1,%xmm8
addpd  %xmm0,%xmm8
addpd  %xmm3,%xmm8
movupd %xmm8,0x8(%rcx,%rax,8)
movdqa %xmm12,%xmm8
movdqa %xmm6,%xmm12
movdqa %xmm13,%xmm5
paddq  %xmm8,%xmm5
movdqa %xmm7,%xmm0
pmuludq %xmm5,%xmm0
movdqa %xmm2,%xmm11
movapd %xmm1,%xmm2
movdqa %xmm4,%xmm1
movdqa %xmm7,%xmm3
movdqa %xmm9,%xmm7
pmuludq %xmm5,%xmm7
psrlq  $0x20,%xmm5
pmuludq %xmm9,%xmm5
paddq  %xmm0,%xmm5
psllq  $0x20,%xmm5
paddq  %xmm7,%xmm5
movdqa %xmm15,%xmm0
psubq  %xmm13,%xmm0
paddq  %xmm6,%xmm0
movdqa %xmm0,%xmm7
psrlq  $0x20,%xmm7
pmuludq %xmm5,%xmm7
movdqa %xmm5,%xmm6
psrlq  $0x20,%xmm6
pmuludq %xmm0,%xmm6
paddq  %xmm7,%xmm6
movdqa %xmm3,%xmm7
movapd %xmm2,%xmm1
movdqa %xmm11,%xmm2
pmuludq %xmm5,%xmm0
psllq  $0x20,%xmm6
paddq  %xmm6,%xmm0
pcmpeqd %xmm11,%xmm11
movdqa %xmm0,%xmm5
pand   %xmm14,%xmm5
por    %xmm4,%xmm5
psrlq  $0x20,%xmm0
por    %xmm2,%xmm0
subpd  %xmm1,%xmm0
addpd  %xmm5,%xmm0
addpd  %xmm10,%xmm0
movupd %xmm0,0x18(%rcx,%rax,8)
add    $0x4,%rax
paddq  0xcbf(%rip),%xmm13
add    $0xfffffffffffffffe,%rbp
jne    1240 <initializeArray+0x140>
test   $0x1,%r14b
je     1475 <initializeArray+0x375>
shl    $0x3,%rax
pmuludq %xmm13,%xmm7
movdqa %xmm13,%xmm0
psrlq  $0x20,%xmm0
pmuludq %xmm9,%xmm0
paddq  %xmm7,%xmm0
psllq  $0x20,%xmm0
pmuludq %xmm13,%xmm9
paddq  %xmm0,%xmm9
pxor   %xmm11,%xmm13
paddq  %xmm15,%xmm13
movdqa %xmm13,%xmm0
psrlq  $0x20,%xmm0
pmuludq %xmm9,%xmm0
movdqa %xmm9,%xmm5
psrlq  $0x20,%xmm5
pmuludq %xmm13,%xmm5
paddq  %xmm0,%xmm5
psllq  $0x20,%xmm5
pmuludq %xmm9,%xmm13
paddq  %xmm5,%xmm13
movdqa %xmm13,%xmm0
pand   %xmm14,%xmm0
por    %xmm4,%xmm0
psrlq  $0x20,%xmm13
por    %xmm2,%xmm13
subpd  0xbe3(%rip),%xmm13
addpd  %xmm0,%xmm13
addpd  0xbe5(%rip),%xmm13
or     $0x8,%rax
movupd %xmm13,(%rcx,%rax,1)
mov    %r11,%r10
cmp    %r9,%r15
movdqa 0xc0d(%rip),%xmm3
movdqa 0xc15(%rip),%xmm6
movsd  0xc1d(%rip),%xmm7
je     11c0 <initializeArray+0xc0>
mov    %r15,%rbp
sub    %r10,%rbp
lea    (%rcx,%r10,8),%rcx
imul   %rbx,%r10
nopw   0x0(%rax,%rax,1)
mov    %r10,%rax
imul   %rbp,%rax
movq   %rax,%xmm0
punpckldq %xmm3,%xmm0
subpd  %xmm6,%xmm0
movapd %xmm0,%xmm5
unpckhpd %xmm0,%xmm5
addsd  %xmm0,%xmm5
addsd  %xmm7,%xmm5
movsd  %xmm5,(%rcx)
add    $0x8,%rcx
add    %rbx,%r10
add    $0xffffffffffffffff,%rbp
jb     14b0 <initializeArray+0x3b0>
jmp    11c0 <initializeArray+0xc0>
test   %rsi,%rsi
je     159d <initializeArray+0x49d>
lea    -0x1(%rsi),%rcx
mov    %esi,%eax
and    $0x3,%eax
cmp    $0x3,%rcx
jae    1506 <initializeArray+0x406>
xor    %ecx,%ecx
jmp    156c <initializeArray+0x46c>
mov    %rsi,%rbp
and    $0xfffffffffffffffc,%rbp
xor    %ecx,%ecx
nop
mov    (%rdi,%rcx,8),%rbx
movq   $0x0,(%rbx)
movq   $0x0,-0x8(%rbx,%rdx,8)
mov    0x8(%rdi,%rcx,8),%rbx
movq   $0x0,(%rbx)
movq   $0x0,-0x8(%rbx,%rdx,8)
mov    0x10(%rdi,%rcx,8),%rbx
movq   $0x0,(%rbx)
movq   $0x0,-0x8(%rbx,%rdx,8)
mov    0x18(%rdi,%rcx,8),%rbx
movq   $0x0,(%rbx)
movq   $0x0,-0x8(%rbx,%rdx,8)
add    $0x4,%rcx
cmp    %rcx,%rbp
jne    1510 <initializeArray+0x410>
test   %rax,%rax
je     159d <initializeArray+0x49d>
lea    (%rdi,%rcx,8),%rcx
xor    %ebp,%ebp
nopw   0x0(%rax,%rax,1)
mov    (%rcx,%rbp,8),%rbx
movq   $0x0,(%rbx)
movq   $0x0,-0x8(%rbx,%rdx,8)
add    $0x1,%rbp
cmp    %rbp,%rax
jne    1580 <initializeArray+0x480>
cmp    $0x2,%rdx
jb     175f <initializeArray+0x65f>
mov    (%rdi),%rax
mov    -0x8(%rdi,%rsi,8),%rcx
lea    -0x1(%rdx),%r8
mov    $0x1,%esi
cmp    $0x4,%r8
jb     16d9 <initializeArray+0x5d9>
lea    0x8(%rax),%rdi
lea    (%rcx,%rdx,8),%rbp
cmp    %rbp,%rdi
jae    15e0 <initializeArray+0x4e0>
lea    (%rax,%rdx,8),%rdi
lea    0x8(%rcx),%rbp
cmp    %rdi,%rbp
jb     16d9 <initializeArray+0x5d9>
mov    %r8,%rsi
and    $0xfffffffffffffffc,%rsi
lea    -0x4(%rsi),%rbx
mov    %rbx,%rbp
shr    $0x2,%rbp
add    $0x1,%rbp
mov    %ebp,%edi
and    $0x3,%edi
cmp    $0xc,%rbx
jae    1608 <initializeArray+0x508>
xor    %ebx,%ebx
jmp    168a <initializeArray+0x58a>
and    $0xfffffffffffffffc,%rbp
xor    %ebx,%ebx
pxor   %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movdqu %xmm0,0x8(%rax,%rbx,8)
movdqu %xmm0,0x18(%rax,%rbx,8)
movdqu %xmm0,0x8(%rcx,%rbx,8)
movdqu %xmm0,0x18(%rcx,%rbx,8)
movdqu %xmm0,0x28(%rax,%rbx,8)
movdqu %xmm0,0x38(%rax,%rbx,8)
movdqu %xmm0,0x28(%rcx,%rbx,8)
movdqu %xmm0,0x38(%rcx,%rbx,8)
movdqu %xmm0,0x48(%rax,%rbx,8)
movdqu %xmm0,0x58(%rax,%rbx,8)
movdqu %xmm0,0x48(%rcx,%rbx,8)
movdqu %xmm0,0x58(%rcx,%rbx,8)
movdqu %xmm0,0x68(%rax,%rbx,8)
movdqu %xmm0,0x78(%rax,%rbx,8)
movdqu %xmm0,0x68(%rcx,%rbx,8)
movdqu %xmm0,0x78(%rcx,%rbx,8)
add    $0x10,%rbx
add    $0xfffffffffffffffc,%rbp
jne    1620 <initializeArray+0x520>
test   %rdi,%rdi
je     16cc <initializeArray+0x5cc>
pxor   %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    0x0(,%rbx,8),%rbp
or     $0x8,%rbp
movdqu %xmm0,(%rax,%rbp,1)
movdqu %xmm0,0x10(%rax,%rbp,1)
movdqu %xmm0,(%rcx,%rbp,1)
movdqu %xmm0,0x10(%rcx,%rbp,1)
add    $0x4,%rbx
add    $0xffffffffffffffff,%rdi
jne    16a0 <initializeArray+0x5a0>
cmp    %rsi,%r8
je     175f <initializeArray+0x65f>
or     $0x1,%rsi
mov    %edx,%ebp
sub    %esi,%ebp
mov    %rsi,%rdi
not    %rdi
add    %rdx,%rdi
and    $0x3,%rbp
je     170a <initializeArray+0x60a>
nopl   0x0(%rax)
movq   $0x0,(%rax,%rsi,8)
movq   $0x0,(%rcx,%rsi,8)
add    $0x1,%rsi
add    $0xffffffffffffffff,%rbp
jne    16f0 <initializeArray+0x5f0>
cmp    $0x3,%rdi
jb     175f <initializeArray+0x65f>
movq   $0x0,(%rax,%rsi,8)
movq   $0x0,(%rcx,%rsi,8)
movq   $0x0,0x8(%rax,%rsi,8)
movq   $0x0,0x8(%rcx,%rsi,8)
movq   $0x0,0x10(%rax,%rsi,8)
movq   $0x0,0x10(%rcx,%rsi,8)
movq   $0x0,0x18(%rax,%rsi,8)
movq   $0x0,0x18(%rcx,%rsi,8)
add    $0x4,%rsi
cmp    %rsi,%rdx
jne    1710 <initializeArray+0x610>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @initializeArray(double** %0, i64 %1, i64 %2) {
%4 = alloca double**
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
store double** %0, double*** %4
store i64 %1, i64* %5
store i64 %2, i64* %6
store i64 1, i64* %7
br label %9
9: ; preds = %44, %3
%10 = load i64, i64* %7
%11 = load i64, i64* %5
%12 = icmp ult i64 %10, %11
br i1 %12, label %13, label %47
13: ; preds = %9
store i64 1, i64* %8
br label %14
14: ; preds = %40, %13
%15 = load i64, i64* %8
%16 = load i64, i64* %6
%17 = icmp ult i64 %15, %16
br i1 %17, label %18, label %43
18: ; preds = %14
%19 = load i64, i64* %7
%20 = load i64, i64* %5
%21 = load i64, i64* %7
%22 = sub i64 %20, %21
%23 = sub i64 %22, 1
%24 = mul i64 %19, %23
%25 = load i64, i64* %8
%26 = mul i64 %24, %25
%27 = load i64, i64* %6
%28 = load i64, i64* %8
%29 = sub i64 %27, %28
%30 = sub i64 %29, 1
%31 = mul i64 %26, %30
%32 = uitofp i64 %31 to double
%33 = fadd double 1.000000e+03, %32
%34 = load double**, double*** %4
%35 = load i64, i64* %7
%36 = getelementptr inbounds double*, double** %34, i64 %35
%37 = load double*, double** %36
%38 = load i64, i64* %8
%39 = getelementptr inbounds double, double* %37, i64 %38
store double %33, double* %39
br label %40
40: ; preds = %18
%41 = load i64, i64* %8
%42 = add i64 %41, 1
store i64 %42, i64* %8
br label %14
43: ; preds = %14
br label %44
44: ; preds = %43
%45 = load i64, i64* %7
%46 = add i64 %45, 1
store i64 %46, i64* %7
br label %9
47: ; preds = %9
store i64 0, i64* %7
br label %48
48: ; preds = %65, %47
%49 = load i64, i64* %7
%50 = load i64, i64* %5
%51 = icmp ult i64 %49, %50
br i1 %51, label %52, label %68
52: ; preds = %48
%53 = load double**, double*** %4
%54 = load i64, i64* %7
%55 = getelementptr inbounds double*, double** %53, i64 %54
%56 = load double*, double** %55
%57 = getelementptr inbounds double, double* %56, i64 0
store double 0.000000e+00, double* %57
%58 = load double**, double*** %4
%59 = load i64, i64* %7
%60 = getelementptr inbounds double*, double** %58, i64 %59
%61 = load double*, double** %60
%62 = load i64, i64* %6
%63 = sub i64 %62, 1
%64 = getelementptr inbounds double, double* %61, i64 %63
store double 0.000000e+00, double* %64
br label %65
65: ; preds = %52
%66 = load i64, i64* %7
%67 = add i64 %66, 1
store i64 %67, i64* %7
br label %48
68: ; preds = %48
store i64 1, i64* %8
br label %69
69: ; preds = %86, %68
%70 = load i64, i64* %8
%71 = load i64, i64* %6
%72 = icmp ult i64 %70, %71
br i1 %72, label %73, label %89
73: ; preds = %69
%74 = load double**, double*** %4
%75 = getelementptr inbounds double*, double** %74, i64 0
%76 = load double*, double** %75
%77 = load i64, i64* %8
%78 = getelementptr inbounds double, double* %76, i64 %77
store double 0.000000e+00, double* %78
%79 = load double**, double*** %4
%80 = load i64, i64* %5
%81 = sub i64 %80, 1
%82 = getelementptr inbounds double*, double** %79, i64 %81
%83 = load double*, double** %82
%84 = load i64, i64* %8
%85 = getelementptr inbounds double, double* %83, i64 %84
store double 0.000000e+00, double* %85
br label %86
86: ; preds = %73
%87 = load i64, i64* %8
%88 = add i64 %87, 1
store i64 %88, i64* %8
br label %69
89: ; preds = %69
ret void
}

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