void ElTran(n, low, high, a, intchg, z) int n, low, high;
double **a;
int *intchg;
double **z;
{
  int i, j, mp;
  for (j = 0; j < n; j++) {
    for (i = 0; i < n; i++)
      z[i][j] = 0.0;
    z[j][j] = 1.0;
  }
  for (mp = high - 1; mp >= low + 1; mp--) {
    for (i = mp + 1; i <= high; i++)
      z[i][mp] = a[i][mp - 1];
    i = intchg[mp];
    if (i != mp) {
      for (j = mp; j <= high; j++) {
        z[mp][j] = z[i][j];
        z[i][j] = 0.0;
      }
      z[i][mp] = 1.0;
    }
  }
}


x86 assembly (clang, -O0):
<ElTran>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1190 <ElTran+0x90>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1165 <ElTran+0x65>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1133 <ElTran+0x33>
mov    -0x28(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  0xe83(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1120 <ElTran+0x20>
mov    -0xc(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jl     12a8 <ElTran+0x1a8>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     11fc <ElTran+0xfc>
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x34(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11b3 <ElTran+0xb3>
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x34(%rbp),%eax
je     1295 <ElTran+0x195>
mov    -0x34(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0xc(%rbp),%eax
jg     1278 <ElTran+0x178>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x30(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    121c <ElTran+0x11c>
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x34(%rbp),%rcx
movsd  0xd70(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
jmp    129a <ElTran+0x19a>
mov    -0x34(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x34(%rbp)
jmp    1199 <ElTran+0x99>
pop    %rbp
ret

x86 assembly (clang, -O2):
<ElTran>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %r8,-0x8(%rsp)
mov    %rdx,-0x50(%rsp)
movabs $0x3ff0000000000000,%r14
test   %edi,%edi
jle    11ca <ElTran+0xca>
mov    %edi,%r10d
lea    -0x1(%r10),%r8
mov    %r10d,%edi
and    $0x3,%edi
mov    %r10d,%r11d
and    $0xfffffffc,%r11d
xor    %ebx,%ebx
jmp    1151 <ElTran+0x51>
xchg   %ax,%ax
mov    (%r9,%rbx,8),%rax
mov    %r14,(%rax,%rbx,8)
add    $0x1,%rbx
cmp    %r10,%rbx
je     11ca <ElTran+0xca>
xor    %edx,%edx
cmp    $0x3,%r8
jb     11a0 <ElTran+0xa0>
nopl   0x0(%rax)
mov    (%r9,%rdx,8),%rbp
movq   $0x0,0x0(%rbp,%rbx,8)
mov    0x8(%r9,%rdx,8),%rbp
movq   $0x0,0x0(%rbp,%rbx,8)
mov    0x10(%r9,%rdx,8),%rbp
movq   $0x0,0x0(%rbp,%rbx,8)
mov    0x18(%r9,%rdx,8),%rbp
movq   $0x0,0x0(%rbp,%rbx,8)
add    $0x4,%rdx
cmp    %rdx,%r11
jne    1160 <ElTran+0x60>
test   %rdi,%rdi
je     1140 <ElTran+0x40>
lea    (%r9,%rdx,8),%rdx
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
mov    (%rdx,%rbp,8),%rax
movq   $0x0,(%rax,%rbx,8)
add    $0x1,%rbp
cmp    %rbp,%rdi
jne    11b0 <ElTran+0xb0>
jmp    1140 <ElTran+0x40>
add    $0x1,%esi
cmp    -0x50(%rsp),%esi
jge    1527 <ElTran+0x427>
mov    -0x50(%rsp),%rax
movslq %eax,%rbp
lea    0x1(%rax),%r12d
movslq %esi,%r10
lea    0x1(%rbp),%rax
mov    %rax,-0x38(%rsp)
mov    %rbp,%rsi
neg    %rsi
lea    (%r9,%rbp,8),%r15
lea    (%rcx,%rbp,8),%r13
lea    0x5(%rbp),%r14
mov    $0x1,%bl
mov    $0xfffffffffffffffe,%rdi
xor    %r11d,%r11d
xorps  %xmm0,%xmm0
mov    %rbp,-0x48(%rsp)
mov    %r10,-0x18(%rsp)
jmp    1269 <ElTran+0x169>
nopl   0x0(%rax)
movabs $0x3ff0000000000000,%rax
mov    %rax,(%rdx,%r8,8)
mov    -0x18(%rsp),%r10
mov    -0x10(%rsp),%rsi
mov    -0x28(%rsp),%r14
mov    -0x30(%rsp),%rdi
add    $0x1,%r11
add    $0x1,%rsi
add    $0xfffffffffffffff8,%r15
add    $0xfffffffffffffff8,%r13
add    $0x1,%bl
add    $0xffffffffffffffff,%r14
add    $0x1,%rdi
mov    %r8,%rbp
cmp    %r10,%r8
jle    1527 <ElTran+0x427>
movzbl %bl,%ebx
and    $0x3,%ebx
lea    -0x1(%rbp),%r8
cmp    -0x48(%rsp),%rbp
jg     131f <ElTran+0x21f>
lea    0x1(%r11),%eax
mov    %rbp,%rdx
test   $0x3,%al
je     12b0 <ElTran+0x1b0>
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
mov    0x0(%r13,%rdx,8),%rax
movsd  -0x10(%rax,%rbp,8),%xmm1
mov    (%r15,%rdx,8),%rax
movsd  %xmm1,(%rax,%r8,8)
add    $0x1,%rdx
cmp    %edx,%ebx
jne    1290 <ElTran+0x190>
sub    %rsi,%rdx
cmp    $0x3,%r11d
jb     131f <ElTran+0x21f>
cs nopw 0x0(%rax,%rax,1)
mov    (%rcx,%rdx,8),%rax
movsd  -0x10(%rax,%rbp,8),%xmm1
mov    (%r9,%rdx,8),%rax
movsd  %xmm1,(%rax,%r8,8)
mov    0x8(%rcx,%rdx,8),%rax
movsd  -0x10(%rax,%rbp,8),%xmm1
mov    0x8(%r9,%rdx,8),%rax
movsd  %xmm1,(%rax,%r8,8)
mov    0x10(%rcx,%rdx,8),%rax
movsd  -0x10(%rax,%rbp,8),%xmm1
mov    0x10(%r9,%rdx,8),%rax
movsd  %xmm1,(%rax,%r8,8)
mov    0x18(%rcx,%rdx,8),%rax
movsd  -0x10(%rax,%rbp,8),%xmm1
mov    0x18(%r9,%rdx,8),%rax
movsd  %xmm1,(%rax,%r8,8)
add    $0x4,%rdx
cmp    %edx,%r12d
jne    12c0 <ElTran+0x1c0>
mov    -0x8(%rsp),%rax
movslq (%rax,%r8,4),%rax
cmp    %r8d,%eax
je     1242 <ElTran+0x142>
mov    %rdi,-0x30(%rsp)
mov    %r14,-0x28(%rsp)
mov    %rsi,-0x10(%rsp)
mov    (%r9,%rax,8),%rdx
cmp    -0x48(%rsp),%r8
jg     1220 <ElTran+0x120>
lea    0x2(%r11),%rbp
mov    (%r9,%r8,8),%r14
mov    %r8,%r10
cmp    $0x4,%rbp
jb     1470 <ElTran+0x370>
mov    %r11,%rax
not    %rax
add    -0x48(%rsp),%rax
lea    (%r14,%rax,8),%rsi
mov    -0x38(%rsp),%rdi
lea    (%rdx,%rdi,8),%rdi
cmp    %rdi,%rsi
jae    139a <ElTran+0x29a>
mov    -0x38(%rsp),%rsi
lea    (%r14,%rsi,8),%rsi
lea    (%rdx,%rax,8),%rax
mov    %r8,%r10
cmp    %rsi,%rax
jb     1470 <ElTran+0x370>
mov    %rbp,-0x40(%rsp)
lea    -0x2(%r11),%rax
mov    %rax,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
mov    %rsi,-0x20(%rsp)
cmp    $0x4,%rax
jae    13bd <ElTran+0x2bd>
xor    %ebp,%ebp
jmp    1423 <ElTran+0x323>
mov    -0x30(%rsp),%rax
shr    $0x2,%rax
add    $0x1,%rax
and    $0xfffffffffffffffe,%rax
mov    -0x28(%rsp),%rdi
lea    (%r14,%rdi,8),%rsi
lea    (%rdx,%rdi,8),%rdi
xor    %ebp,%ebp
nopl   (%rax)
movups -0x30(%rdi,%rbp,8),%xmm1
movups -0x20(%rdi,%rbp,8),%xmm2
movups %xmm1,-0x30(%rsi,%rbp,8)
movups %xmm2,-0x20(%rsi,%rbp,8)
movups %xmm0,-0x30(%rdi,%rbp,8)
movups %xmm0,-0x20(%rdi,%rbp,8)
movups -0x10(%rdi,%rbp,8),%xmm1
movups (%rdi,%rbp,8),%xmm2
movups %xmm1,-0x10(%rsi,%rbp,8)
movups %xmm2,(%rsi,%rbp,8)
movups %xmm0,-0x10(%rdi,%rbp,8)
movups %xmm0,(%rdi,%rbp,8)
add    $0x8,%rbp
add    $0xfffffffffffffffe,%rax
jne    13e0 <ElTran+0x2e0>
mov    -0x40(%rsp),%r10
and    $0xfffffffffffffffc,%r10
testb  $0x1,-0x20(%rsp)
je     1453 <ElTran+0x353>
add    %r8,%rbp
movups (%rdx,%rbp,8),%xmm1
movups 0x10(%rdx,%rbp,8),%xmm2
movups %xmm1,(%r14,%rbp,8)
movups %xmm2,0x10(%r14,%rbp,8)
movups %xmm0,(%rdx,%rbp,8)
movups %xmm0,0x10(%rdx,%rbp,8)
cmp    %r10,-0x40(%rsp)
je     1220 <ElTran+0x120>
add    %r8,%r10
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    %r12d,%esi
sub    %r10d,%esi
mov    -0x50(%rsp),%rax
sub    %r10d,%eax
and    $0x3,%esi
je     14ad <ElTran+0x3ad>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%rdx,%r10,8),%xmm1
movsd  %xmm1,(%r14,%r10,8)
movq   $0x0,(%rdx,%r10,8)
add    $0x1,%r10
add    $0xffffffff,%esi
jne    1490 <ElTran+0x390>
cmp    $0x3,%eax
jb     1220 <ElTran+0x120>
cs nopw 0x0(%rax,%rax,1)
movsd  (%rdx,%r10,8),%xmm1
movsd  %xmm1,(%r14,%r10,8)
movq   $0x0,(%rdx,%r10,8)
movsd  0x8(%rdx,%r10,8),%xmm1
movsd  %xmm1,0x8(%r14,%r10,8)
movq   $0x0,0x8(%rdx,%r10,8)
movsd  0x10(%rdx,%r10,8),%xmm1
movsd  %xmm1,0x10(%r14,%r10,8)
movq   $0x0,0x10(%rdx,%r10,8)
movsd  0x18(%rdx,%r10,8),%xmm1
movsd  %xmm1,0x18(%r14,%r10,8)
movq   $0x0,0x18(%rdx,%r10,8)
add    $0x4,%r10
cmp    %r10d,%r12d
jne    14c0 <ElTran+0x3c0>
jmp    1220 <ElTran+0x120>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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