void transxy(int gridID, double *array1, double *array2) {
  int i, j;
  int nx, ny;
  double **a2D1, **a2D2;
  nx = gridInqXsize(gridID);
  ny = gridInqYsize(gridID);
  a2D1 = (double **)Malloc(
      __func__,
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/AZed/cdo/refs/heads/master/src/Transpose.c",
      40, (ny * sizeof(double *)));
  a2D2 = (double **)Malloc(
      __func__,
      "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
      "2022-01-22/02-19-57/repos/AZed/cdo/refs/heads/master/src/Transpose.c",
      41, (nx * sizeof(double *)));
  for (j = 0; j < ny; ++j)
    a2D1[j] = array1 + j * nx;
  for (i = 0; i < nx; ++i)
    a2D2[i] = array2 + i * ny;
  for (j = 0; j < ny; ++j)
    for (i = 0; i < nx; ++i)
      a2D2[i][j] = a2D1[j][i];
  Free(__func__,
       "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
       "2022-01-22/02-19-57/repos/AZed/cdo/refs/heads/master/src/Transpose.c",
       50, (a2D1));
  Free(__func__,
       "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/"
       "2022-01-22/02-19-57/repos/AZed/cdo/refs/heads/master/src/Transpose.c",
       51, (a2D2));
}


x86 assembly (clang, -O0):
<transxy>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x4(%rbp),%edi
mov    $0x0,%al
call   1050 <gridInqXsize@plt>
mov    %eax,-0x24(%rbp)
mov    -0x4(%rbp),%edi
mov    $0x0,%al
call   1040 <gridInqYsize@plt>
mov    %eax,-0x28(%rbp)
movslq -0x28(%rbp),%rcx
shl    $0x3,%rcx
lea    0xe84(%rip),%rdi
lea    0xe85(%rip),%rsi
mov    $0x28,%edx
mov    $0x0,%al
call   1030 <Malloc@plt>
cltq
mov    %rax,-0x30(%rbp)
movslq -0x24(%rbp),%rcx
shl    $0x3,%rcx
lea    0xe5c(%rip),%rdi
lea    0xe5d(%rip),%rsi
mov    $0x29,%edx
mov    $0x0,%al
call   1030 <Malloc@plt>
cltq
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    11fe <transxy+0xbe>
mov    -0x10(%rbp),%rdx
mov    -0x20(%rbp),%eax
imul   -0x24(%rbp),%eax
cltq
shl    $0x3,%rax
add    %rax,%rdx
mov    -0x30(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11c4 <transxy+0x84>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    123f <transxy+0xff>
mov    -0x18(%rbp),%rdx
mov    -0x1c(%rbp),%eax
imul   -0x28(%rbp),%eax
cltq
shl    $0x3,%rax
add    %rax,%rdx
mov    -0x38(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1205 <transxy+0xc5>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    12b0 <transxy+0x170>
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    129d <transxy+0x15d>
mov    -0x30(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x20(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1259 <transxy+0x119>
jmp    12a2 <transxy+0x162>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1246 <transxy+0x106>
mov    -0x30(%rbp),%rcx
lea    0xd45(%rip),%rdi
lea    0xd46(%rip),%rsi
mov    $0x32,%edx
mov    $0x0,%al
call   1060 <Free@plt>
mov    -0x38(%rbp),%rcx
lea    0xd27(%rip),%rdi
lea    0xd28(%rip),%rsi
mov    $0x33,%edx
mov    $0x0,%al
call   1060 <Free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<transxy>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %rdx,0x10(%rsp)
mov    %rsi,0x8(%rsp)
mov    %edi,%ebx
xor    %eax,%eax
call   1050 <gridInqXsize@plt>
mov    %eax,%r12d
mov    %ebx,%edi
xor    %eax,%eax
call   1040 <gridInqYsize@plt>
mov    %eax,%ebp
movslq %eax,%rbx
lea    0x0(,%rbx,8),%r13
lea    0xe7f(%rip),%rdi
lea    0xe80(%rip),%rsi
mov    $0x28,%edx
mov    %r13,%rcx
xor    %eax,%eax
call   1030 <Malloc@plt>
movslq %eax,%r14
movslq %r12d,%rax
mov    %rax,(%rsp)
lea    0x0(,%rax,8),%r15
lea    0xe50(%rip),%rdi
lea    0xe51(%rip),%rsi
mov    $0x29,%edx
mov    %r15,%rcx
xor    %eax,%eax
call   1030 <Malloc@plt>
mov    %rbx,%r11
mov    %ebp,%r10d
test   %r11d,%r11d
jle    1270 <transxy+0x130>
mov    %r10d,%r9d
lea    -0x1(%r9),%rcx
mov    %r10d,%r8d
and    $0x3,%r8d
cmp    $0x3,%rcx
jae    11ed <transxy+0xad>
xor    %esi,%esi
jmp    123b <transxy+0xfb>
and    $0xfffffffc,%r9d
mov    (%rsp),%rbx
mov    %rbx,%rdi
shl    $0x4,%rdi
shl    $0x5,%rbx
lea    (%r15,%r15,2),%rbp
xor    %esi,%esi
mov    0x8(%rsp),%rcx
nopl   0x0(%rax,%rax,1)
mov    %rcx,(%r14,%rsi,8)
lea    (%rcx,%r15,1),%rdx
mov    %rdx,0x8(%r14,%rsi,8)
lea    (%rcx,%rdi,1),%rdx
mov    %rdx,0x10(%r14,%rsi,8)
lea    (%rcx,%rbp,1),%rdx
mov    %rdx,0x18(%r14,%rsi,8)
add    $0x4,%rsi
add    %rbx,%rcx
cmp    %rsi,%r9
jne    1210 <transxy+0xd0>
test   %r8,%r8
je     1270 <transxy+0x130>
lea    (%r14,%rsi,8),%rcx
mov    (%rsp),%rdi
imul   %rsi,%rdi
mov    0x8(%rsp),%rdx
lea    (%rdx,%rdi,8),%rdx
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
mov    %rdx,(%rcx,%rsi,8)
add    $0x1,%rsi
add    %r15,%rdx
cmp    %rsi,%r8
jne    1260 <transxy+0x120>
movslq %eax,%rbp
test   %r12d,%r12d
jle    1320 <transxy+0x1e0>
mov    %r12d,%r9d
lea    -0x1(%r9),%rax
mov    %r12d,%r8d
and    $0x3,%r8d
cmp    $0x3,%rax
jae    1294 <transxy+0x154>
xor    %edx,%edx
jmp    12ec <transxy+0x1ac>
and    $0xfffffffc,%r9d
mov    %r11,%rsi
shl    $0x4,%rsi
mov    %r11,%rdi
shl    $0x5,%rdi
lea    0x0(,%r13,2),%rbx
add    %r13,%rbx
xor    %edx,%edx
mov    0x10(%rsp),%rax
nopl   0x0(%rax,%rax,1)
mov    %rax,0x0(%rbp,%rdx,8)
lea    (%rax,%r13,1),%rcx
mov    %rcx,0x8(%rbp,%rdx,8)
lea    (%rax,%rsi,1),%rcx
mov    %rcx,0x10(%rbp,%rdx,8)
lea    (%rax,%rbx,1),%rcx
mov    %rcx,0x18(%rbp,%rdx,8)
add    $0x4,%rdx
add    %rdi,%rax
cmp    %rdx,%r9
jne    12c0 <transxy+0x180>
test   %r8,%r8
je     1320 <transxy+0x1e0>
lea    0x0(,%rdx,8),%rax
add    %rbp,%rax
imul   %rdx,%r11
mov    0x10(%rsp),%rcx
lea    (%rcx,%r11,8),%rcx
xor    %edx,%edx
nopl   0x0(%rax,%rax,1)
mov    %rcx,(%rax,%rdx,8)
add    $0x1,%rdx
add    %r13,%rcx
cmp    %rdx,%r8
jne    1310 <transxy+0x1d0>
test   %r10d,%r10d
jle    13ec <transxy+0x2ac>
mov    %r10d,%r9d
mov    %r12d,%r8d
add    $0xffffffffffffffff,%r8
mov    %r12d,%edx
and    $0x3,%edx
mov    %r12d,%r10d
and    $0xfffffffc,%r10d
xor    %edi,%edi
jmp    135d <transxy+0x21d>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rdi
cmp    %r9,%rdi
je     13ec <transxy+0x2ac>
test   %r12d,%r12d
jle    1350 <transxy+0x210>
mov    (%r14,%rdi,8),%rcx
xor    %ebx,%ebx
cmp    $0x3,%r8
jb     13b8 <transxy+0x278>
xchg   %ax,%ax
movsd  (%rcx,%rbx,8),%xmm0
mov    0x0(%rbp,%rbx,8),%rax
movsd  %xmm0,(%rax,%rdi,8)
movsd  0x8(%rcx,%rbx,8),%xmm0
mov    0x8(%rbp,%rbx,8),%rax
movsd  %xmm0,(%rax,%rdi,8)
movsd  0x10(%rcx,%rbx,8),%xmm0
mov    0x10(%rbp,%rbx,8),%rax
movsd  %xmm0,(%rax,%rdi,8)
movsd  0x18(%rcx,%rbx,8),%xmm0
mov    0x18(%rbp,%rbx,8),%rax
movsd  %xmm0,(%rax,%rdi,8)
add    $0x4,%rbx
cmp    %rbx,%r10
jne    1370 <transxy+0x230>
test   %rdx,%rdx
je     1350 <transxy+0x210>
lea    0x0(,%rbx,8),%rax
add    %rbp,%rax
lea    (%rcx,%rbx,8),%rcx
xor    %ebx,%ebx
xchg   %ax,%ax
movsd  (%rcx,%rbx,8),%xmm0
mov    (%rax,%rbx,8),%rsi
movsd  %xmm0,(%rsi,%rdi,8)
add    $0x1,%rbx
cmp    %rbx,%rdx
jne    13d0 <transxy+0x290>
jmp    1350 <transxy+0x210>
lea    0xc0d(%rip),%rbx
lea    0xc0e(%rip),%r15
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x32,%edx
mov    %r14,%rcx
xor    %eax,%eax
call   1060 <Free@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x33,%edx
mov    %rbp,%rcx
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1060 <Free@plt>

LLVM IR (-O0):
@__func__.transxy = [8 x i8] c"transxy\00"
@.str = [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AZed/cdo/refs/heads/master/src/Transpose.c\00"
define void @transxy(i32 %0, double* %1, double* %2) {
%4 = alloca i32
%5 = alloca double*
%6 = alloca double*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double**
%12 = alloca double**
store i32 %0, i32* %4
store double* %1, double** %5
store double* %2, double** %6
%13 = load i32, i32* %4
%14 = call i32 (i32, ...) bitcast (i32 (...)* @gridInqXsize to i32 (i32, ...)*)(i32 %13)
store i32 %14, i32* %9
%15 = load i32, i32* %4
%16 = call i32 (i32, ...) bitcast (i32 (...)* @gridInqYsize to i32 (i32, ...)*)(i32 %15)
store i32 %16, i32* %10
%17 = load i32, i32* %10
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 8
%20 = call i32 (i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @Malloc to i32 (i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 40, i64 %19)
%21 = sext i32 %20 to i64
%22 = inttoptr i64 %21 to double**
store double** %22, double*** %11
%23 = load i32, i32* %9
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 8
%26 = call i32 (i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @Malloc to i32 (i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 41, i64 %25)
%27 = sext i32 %26 to i64
%28 = inttoptr i64 %27 to double**
store double** %28, double*** %12
store i32 0, i32* %8
br label %29
29: ; preds = %44, %3
%30 = load i32, i32* %8
%31 = load i32, i32* %10
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %47
33: ; preds = %29
%34 = load double*, double** %5
%35 = load i32, i32* %8
%36 = load i32, i32* %9
%37 = mul nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, double* %34, i64 %38
%40 = load double**, double*** %11
%41 = load i32, i32* %8
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double*, double** %40, i64 %42
store double* %39, double** %43
br label %44
44: ; preds = %33
%45 = load i32, i32* %8
%46 = add nsw i32 %45, 1
store i32 %46, i32* %8
br label %29
47: ; preds = %29
store i32 0, i32* %7
br label %48
48: ; preds = %63, %47
%49 = load i32, i32* %7
%50 = load i32, i32* %9
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %66
52: ; preds = %48
%53 = load double*, double** %6
%54 = load i32, i32* %7
%55 = load i32, i32* %10
%56 = mul nsw i32 %54, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, double* %53, i64 %57
%59 = load double**, double*** %12
%60 = load i32, i32* %7
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double*, double** %59, i64 %61
store double* %58, double** %62
br label %63
63: ; preds = %52
%64 = load i32, i32* %7
%65 = add nsw i32 %64, 1
store i32 %65, i32* %7
br label %48
66: ; preds = %48
store i32 0, i32* %8
br label %67
67: ; preds = %98, %66
%68 = load i32, i32* %8
%69 = load i32, i32* %10
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %101
71: ; preds = %67
store i32 0, i32* %7
br label %72
72: ; preds = %94, %71
%73 = load i32, i32* %7
%74 = load i32, i32* %9
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %97
76: ; preds = %72
%77 = load double**, double*** %11
%78 = load i32, i32* %8
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double*, double** %77, i64 %79
%81 = load double*, double** %80
%82 = load i32, i32* %7
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, double* %81, i64 %83
%85 = load double, double* %84
%86 = load double**, double*** %12
%87 = load i32, i32* %7
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double*, double** %86, i64 %88
%90 = load double*, double** %89
%91 = load i32, i32* %8
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, double* %90, i64 %92
store double %85, double* %93
br label %94
94: ; preds = %76
%95 = load i32, i32* %7
%96 = add nsw i32 %95, 1
store i32 %96, i32* %7
br label %72
97: ; preds = %72
br label %98
98: ; preds = %97
%99 = load i32, i32* %8
%100 = add nsw i32 %99, 1
store i32 %100, i32* %8
br label %67
101: ; preds = %67
%102 = load double**, double*** %11
%103 = call i32 (i8*, i8*, i32, double**, ...) bitcast (i32 (...)* @Free to i32 (i8*, i8*, i32, double**, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 50, double** %102)
%104 = load double**, double*** %12
%105 = call i32 (i8*, i8*, i32, double**, ...) bitcast (i32 (...)* @Free to i32 (i8*, i8*, i32, double**, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 51, double** %104)
ret void
}

LLVM IR (-O2):
@__func__.transxy = [8 x i8] c"transxy\00"
@.str = [133 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/AZed/cdo/refs/heads/master/src/Transpose.c\00"
define void @transxy(i32 %0, double* %1, double* %2) {
%4 = tail call i32 (i32, ...) bitcast (i32 (...)* @gridInqXsize to i32 (i32, ...)*)(i32 %0)
%5 = tail call i32 (i32, ...) bitcast (i32 (...)* @gridInqYsize to i32 (i32, ...)*)(i32 %0)
%6 = sext i32 %5 to i64
%7 = shl nsw i64 %6, 3
%8 = tail call i32 (i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @Malloc to i32 (i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 40, i64 %7)
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to double**
%11 = sext i32 %4 to i64
%12 = shl nsw i64 %11, 3
%13 = tail call i32 (i8*, i8*, i32, i64, ...) bitcast (i32 (...)* @Malloc to i32 (i8*, i8*, i32, i64, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 41, i64 %12)
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to double**
%16 = icmp sgt i32 %5, 0
br i1 %16, label %17, label %36
17: ; preds = %3
%18 = zext i32 %5 to i64
%19 = add nsw i64 %18, -1
%20 = and i64 %18, 3
%21 = icmp ult i64 %19, 3
br i1 %21, label %24, label %22
22: ; preds = %17
%23 = and i64 %18, 4294967292
br label %45
24: ; preds = %45, %17
%25 = phi i64 [ 0, %17 ], [ %63, %45 ]
%26 = icmp eq i64 %20, 0
br i1 %26, label %36, label %27
27: ; preds = %24, %27
%28 = phi i64 [ %33, %27 ], [ %25, %24 ]
%29 = phi i64 [ %34, %27 ], [ 0, %24 ]
%30 = mul nsw i64 %28, %11
%31 = getelementptr inbounds double, double* %1, i64 %30
%32 = getelementptr inbounds double*, double** %10, i64 %28
store double* %31, double** %32
%33 = add nuw nsw i64 %28, 1
%34 = add i64 %29, 1
%35 = icmp eq i64 %34, %20
br i1 %35, label %36, label %27
36: ; preds = %24, %27, %3
%37 = icmp sgt i32 %4, 0
br i1 %37, label %38, label %78
38: ; preds = %36
%39 = zext i32 %4 to i64
%40 = add nsw i64 %39, -1
%41 = and i64 %39, 3
%42 = icmp ult i64 %40, 3
br i1 %42, label %66, label %43
43: ; preds = %38
%44 = and i64 %39, 4294967292
br label %87
45: ; preds = %45, %22
%46 = phi i64 [ 0, %22 ], [ %63, %45 ]
%47 = phi i64 [ 0, %22 ], [ %64, %45 ]
%48 = mul nsw i64 %46, %11
%49 = getelementptr inbounds double, double* %1, i64 %48
%50 = getelementptr inbounds double*, double** %10, i64 %46
store double* %49, double** %50
%51 = or i64 %46, 1
%52 = mul nsw i64 %51, %11
%53 = getelementptr inbounds double, double* %1, i64 %52
%54 = getelementptr inbounds double*, double** %10, i64 %51
store double* %53, double** %54
%55 = or i64 %46, 2
%56 = mul nsw i64 %55, %11
%57 = getelementptr inbounds double, double* %1, i64 %56
%58 = getelementptr inbounds double*, double** %10, i64 %55
store double* %57, double** %58
%59 = or i64 %46, 3
%60 = mul nsw i64 %59, %11
%61 = getelementptr inbounds double, double* %1, i64 %60
%62 = getelementptr inbounds double*, double** %10, i64 %59
store double* %61, double** %62
%63 = add nuw nsw i64 %46, 4
%64 = add i64 %47, 4
%65 = icmp eq i64 %64, %23
br i1 %65, label %24, label %45
66: ; preds = %87, %38
%67 = phi i64 [ 0, %38 ], [ %105, %87 ]
%68 = icmp eq i64 %41, 0
br i1 %68, label %78, label %69
69: ; preds = %66, %69
%70 = phi i64 [ %75, %69 ], [ %67, %66 ]
%71 = phi i64 [ %76, %69 ], [ 0, %66 ]
%72 = mul nsw i64 %70, %6
%73 = getelementptr inbounds double, double* %2, i64 %72
%74 = getelementptr inbounds double*, double** %15, i64 %70
store double* %73, double** %74
%75 = add nuw nsw i64 %70, 1
%76 = add i64 %71, 1
%77 = icmp eq i64 %76, %41
br i1 %77, label %78, label %69
78: ; preds = %66, %69, %36
br i1 %16, label %79, label %158
79: ; preds = %78
%80 = zext i32 %5 to i64
%81 = zext i32 %4 to i64
%82 = add nsw i64 %81, -1
%83 = and i64 %81, 3
%84 = icmp ult i64 %82, 3
%85 = and i64 %81, 4294967292
%86 = icmp eq i64 %83, 0
br label %108
87: ; preds = %87, %43
%88 = phi i64 [ 0, %43 ], [ %105, %87 ]
%89 = phi i64 [ 0, %43 ], [ %106, %87 ]
%90 = mul nsw i64 %88, %6
%91 = getelementptr inbounds double, double* %2, i64 %90
%92 = getelementptr inbounds double*, double** %15, i64 %88
store double* %91, double** %92
%93 = or i64 %88, 1
%94 = mul nsw i64 %93, %6
%95 = getelementptr inbounds double, double* %2, i64 %94
%96 = getelementptr inbounds double*, double** %15, i64 %93
store double* %95, double** %96
%97 = or i64 %88, 2
%98 = mul nsw i64 %97, %6
%99 = getelementptr inbounds double, double* %2, i64 %98
%100 = getelementptr inbounds double*, double** %15, i64 %97
store double* %99, double** %100
%101 = or i64 %88, 3
%102 = mul nsw i64 %101, %6
%103 = getelementptr inbounds double, double* %2, i64 %102
%104 = getelementptr inbounds double*, double** %15, i64 %101
store double* %103, double** %104
%105 = add nuw nsw i64 %88, 4
%106 = add i64 %89, 4
%107 = icmp eq i64 %106, %44
br i1 %107, label %66, label %87
108: ; preds = %79, %155
%109 = phi i64 [ 0, %79 ], [ %156, %155 ]
br i1 %37, label %110, label %155
110: ; preds = %108
%111 = getelementptr inbounds double*, double** %10, i64 %109
%112 = load double*, double** %111
br i1 %84, label %142, label %113
113: ; preds = %110, %113
%114 = phi i64 [ %139, %113 ], [ 0, %110 ]
%115 = phi i64 [ %140, %113 ], [ 0, %110 ]
%116 = getelementptr inbounds double, double* %112, i64 %114
%117 = load double, double* %116
%118 = getelementptr inbounds double*, double** %15, i64 %114
%119 = load double*, double** %118
%120 = getelementptr inbounds double, double* %119, i64 %109
store double %117, double* %120
%121 = or i64 %114, 1
%122 = getelementptr inbounds double, double* %112, i64 %121
%123 = load double, double* %122
%124 = getelementptr inbounds double*, double** %15, i64 %121
%125 = load double*, double** %124
%126 = getelementptr inbounds double, double* %125, i64 %109
store double %123, double* %126
%127 = or i64 %114, 2
%128 = getelementptr inbounds double, double* %112, i64 %127
%129 = load double, double* %128
%130 = getelementptr inbounds double*, double** %15, i64 %127
%131 = load double*, double** %130
%132 = getelementptr inbounds double, double* %131, i64 %109
store double %129, double* %132
%133 = or i64 %114, 3
%134 = getelementptr inbounds double, double* %112, i64 %133
%135 = load double, double* %134
%136 = getelementptr inbounds double*, double** %15, i64 %133
%137 = load double*, double** %136
%138 = getelementptr inbounds double, double* %137, i64 %109
store double %135, double* %138
%139 = add nuw nsw i64 %114, 4
%140 = add i64 %115, 4
%141 = icmp eq i64 %140, %85
br i1 %141, label %142, label %113
142: ; preds = %113, %110
%143 = phi i64 [ 0, %110 ], [ %139, %113 ]
br i1 %86, label %155, label %144
144: ; preds = %142, %144
%145 = phi i64 [ %152, %144 ], [ %143, %142 ]
%146 = phi i64 [ %153, %144 ], [ 0, %142 ]
%147 = getelementptr inbounds double, double* %112, i64 %145
%148 = load double, double* %147
%149 = getelementptr inbounds double*, double** %15, i64 %145
%150 = load double*, double** %149
%151 = getelementptr inbounds double, double* %150, i64 %109
store double %148, double* %151
%152 = add nuw nsw i64 %145, 1
%153 = add i64 %146, 1
%154 = icmp eq i64 %153, %83
br i1 %154, label %155, label %144
155: ; preds = %142, %144, %108
%156 = add nuw nsw i64 %109, 1
%157 = icmp eq i64 %156, %80
br i1 %157, label %158, label %108
158: ; preds = %155, %78
%159 = tail call i32 (i8*, i8*, i32, double**, ...) bitcast (i32 (...)* @Free to i32 (i8*, i8*, i32, double**, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 50, double** %10)
%160 = tail call i32 (i8*, i8*, i32, double**, ...) bitcast (i32 (...)* @Free to i32 (i8*, i8*, i32, double**, ...)*)(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @__func__.transxy, i64 0, i64 0), i8* getelementptr inbounds ([133 x i8], [133 x i8]* @.str, i64 0, i64 0), i32 51, double** %15)
ret void
}