#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ free(double *);
double *malloc(int);
int /*<<< orphan*/ matrix_tran(double *, int, int, double *, int, int);
void dyadup_2D_feed_odd_row(double *matrixIn, int matrixInRow, int matrixInCol,
                            double *matrixOut, int matrixOutRow,
                            int matrixOutCol) {
  int row, col;
  double *matrixInTemp, *matrixOutPre;
  matrixInTemp = malloc(matrixInRow * matrixInCol * sizeof(double));
  matrix_tran(matrixIn, matrixInCol, matrixInRow, matrixInTemp, matrixOutCol,
              matrixInRow);
  matrixOutPre = malloc(matrixOutRow * matrixInCol * sizeof(double));
  for (row = 0; row < matrixInRow - 1; row++) {
    for (col = 0; col < matrixInCol; col++) {
      matrixOutPre[col + 2 * row * matrixInCol] =
          matrixInTemp[col + row * matrixInCol];
      matrixOutPre[col + (2 * row + 1) * matrixInCol] = 0;
    }
  }
  for (col = 0; col < matrixInCol; col++)
    matrixOutPre[col + (matrixOutRow - 1) * matrixInCol] =
        matrixInTemp[col + (matrixInRow - 1) * matrixInCol];
  free(matrixInTemp);
  matrix_tran(matrixOutPre, matrixOutRow, matrixInCol, matrixOut, matrixInRow,
              matrixOutCol);
  free(matrixOutPre);
  return;
}


x86 assembly (clang, -O0):
<dyadup_2D_feed_odd_row>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9d,-0x20(%rbp)
mov    -0xc(%rbp),%eax
imul   -0x10(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%esi
mov    -0xc(%rbp),%edx
mov    -0x30(%rbp),%rcx
mov    -0x20(%rbp),%r8d
mov    -0xc(%rbp),%r9d
call   1050 <matrix_tran@plt>
mov    -0x1c(%rbp),%eax
imul   -0x10(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0xc(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1239 <dyadup_2D_feed_odd_row+0x109>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1226 <dyadup_2D_feed_odd_row+0xf6>
mov    -0x30(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    -0x24(%rbp),%edx
imul   -0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    -0x24(%rbp),%edx
shl    $0x1,%edx
imul   -0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    -0x24(%rbp),%edx
shl    $0x1,%edx
add    $0x1,%edx
imul   -0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11b8 <dyadup_2D_feed_odd_row+0x88>
jmp    122b <dyadup_2D_feed_odd_row+0xfb>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11a0 <dyadup_2D_feed_odd_row+0x70>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1290 <dyadup_2D_feed_odd_row+0x160>
mov    -0x30(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    -0xc(%rbp),%edx
sub    $0x1,%edx
imul   -0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x28(%rbp),%ecx
mov    -0x1c(%rbp),%edx
sub    $0x1,%edx
imul   -0x10(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1240 <dyadup_2D_feed_odd_row+0x110>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x38(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x18(%rbp),%rcx
mov    -0xc(%rbp),%r8d
mov    -0x20(%rbp),%r9d
call   1050 <matrix_tran@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dyadup_2D_feed_odd_row>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xa8,%rsp
mov    %r9d,%r13d
mov    %r8d,%r15d
mov    %rcx,0x50(%rsp)
mov    %edx,%r12d
mov    %esi,%ebx
mov    %rdi,%r14
mov    %esi,%edi
imul   %edx,%edi
shl    $0x3,%edi
call   1050 <malloc@plt>
mov    %rax,%rbp
mov    %r14,%rdi
mov    %r12d,%esi
mov    %ebx,%edx
mov    %rax,%rcx
mov    %r13d,0x1c(%rsp)
mov    %r13d,%r8d
mov    %ebx,%r9d
call   1060 <matrix_tran@plt>
mov    %r12d,%edi
mov    %r15,0x40(%rsp)
imul   %r15d,%edi
shl    $0x3,%edi
call   1050 <malloc@plt>
mov    %rbp,%r11
mov    %rax,%r14
lea    -0x1(%rbx),%eax
mov    %eax,0x4(%rsp)
mov    %r12d,%edx
mov    %rbx,0x48(%rsp)
cmp    $0x2,%ebx
mov    %rbp,0x8(%rsp)
jl     14a8 <dyadup_2D_feed_odd_row+0x368>
movslq %r12d,%rbp
mov    0x4(%rsp),%eax
mov    %rax,0xa0(%rsp)
lea    (%r12,%r12,1),%eax
mov    %rax,0x38(%rsp)
lea    (%r14,%rdx,8),%rax
mov    %rax,0x88(%rsp)
mov    %edx,%eax
and    $0xfffffffc,%eax
mov    %rax,0x78(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x70(%rsp)
mov    %rax,%rcx
shr    $0x2,%rcx
add    $0x1,%rcx
mov    %rcx,%rax
mov    %rcx,0x68(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x60(%rsp)
mov    %rdx,%rax
neg    %rax
mov    %rax,0x90(%rsp)
lea    0x30(%r11),%r8
lea    0x0(,%rbp,8),%rax
mov    %rax,0x98(%rsp)
lea    0x30(%r14),%rax
mov    %rax,0x58(%rsp)
lea    0x8(%r14),%rax
mov    %rax,0x80(%rsp)
lea    0x8(%r11),%r13
xor    %r10d,%r10d
xorps  %xmm0,%xmm0
mov    %r12d,%eax
xor    %r15d,%r15d
mov    %rbp,0x20(%rsp)
jmp    129a <dyadup_2D_feed_odd_row+0x15a>
nopw   0x0(%rax,%rax,1)
add    $0x1,%r15
mov    0x98(%rsp),%rsi
add    %rsi,%r8
mov    0x38(%rsp),%rcx
add    %ecx,%r10d
add    %ecx,%eax
add    %rsi,%r13
cmp    0xa0(%rsp),%r15
je     14a8 <dyadup_2D_feed_odd_row+0x368>
test   %r12d,%r12d
jle    1270 <dyadup_2D_feed_odd_row+0x130>
movslq %eax,%rcx
mov    %rcx,0x30(%rsp)
movslq %r10d,%rcx
mov    %rcx,0x28(%rsp)
mov    %r15,%rcx
imul   %rbp,%rcx
lea    (%r15,%r15,1),%esi
imul   %r12d,%esi
lea    (%r15,%r15,1),%edi
add    $0x1,%edi
imul   %r12d,%edi
movslq %esi,%r9
movslq %edi,%rsi
cmp    $0x4,%r12d
jae    12e0 <dyadup_2D_feed_odd_row+0x1a0>
xor    %edi,%edi
jmp    1410 <dyadup_2D_feed_odd_row+0x2d0>
nopl   0x0(%rax)
mov    %rsi,0x10(%rsp)
mov    %r15,%rbx
imul   0x38(%rsp),%rbx
movslq %ebx,%rdi
add    %r12d,%ebx
lea    (%r14,%rdi,8),%rsi
movslq %ebx,%rbx
mov    0x88(%rsp),%r11
lea    (%r11,%rbx,8),%rbp
cmp    %rbp,%rsi
jae    132f <dyadup_2D_feed_odd_row+0x1ef>
lea    (%r11,%rdi,8),%rsi
lea    (%r14,%rbx,8),%rdi
cmp    %rsi,%rdi
jae    132f <dyadup_2D_feed_odd_row+0x1ef>
xor    %edi,%edi
mov    0x20(%rsp),%rbp
mov    0x8(%rsp),%r11
mov    0x10(%rsp),%rsi
jmp    1410 <dyadup_2D_feed_odd_row+0x2d0>
mov    %r14,%rbp
cmpq   $0x0,0x70(%rsp)
je     13b1 <dyadup_2D_feed_odd_row+0x271>
mov    0x58(%rsp),%rsi
mov    0x28(%rsp),%rdi
lea    (%rsi,%rdi,8),%rdi
mov    0x30(%rsp),%rbx
lea    (%rsi,%rbx,8),%rbx
mov    0x60(%rsp),%r11
xor    %r14d,%r14d
nopl   0x0(%rax)
movups -0x30(%r8,%r14,8),%xmm1
movups -0x20(%r8,%r14,8),%xmm2
movups %xmm1,-0x30(%rdi,%r14,8)
movups %xmm2,-0x20(%rdi,%r14,8)
movups %xmm0,-0x30(%rbx,%r14,8)
movups %xmm0,-0x20(%rbx,%r14,8)
movups -0x10(%r8,%r14,8),%xmm1
movups (%r8,%r14,8),%xmm2
movups %xmm1,-0x10(%rdi,%r14,8)
movups %xmm2,(%rdi,%r14,8)
movups %xmm0,-0x10(%rbx,%r14,8)
movups %xmm0,(%rbx,%r14,8)
add    $0x8,%r14
add    $0xfffffffffffffffe,%r11
jne    1360 <dyadup_2D_feed_odd_row+0x220>
jmp    13b4 <dyadup_2D_feed_odd_row+0x274>
xor    %r14d,%r14d
testb  $0x1,0x68(%rsp)
mov    0x8(%rsp),%r11
je     13f1 <dyadup_2D_feed_odd_row+0x2b1>
lea    (%r14,%rcx,1),%rsi
movups (%r11,%rsi,8),%xmm1
movups 0x10(%r11,%rsi,8),%xmm2
lea    (%r14,%r9,1),%rsi
mov    %rbp,%rdi
movups %xmm1,0x0(%rbp,%rsi,8)
movups %xmm2,0x10(%rbp,%rsi,8)
add    0x10(%rsp),%r14
movups %xmm0,0x0(%rbp,%r14,8)
movups %xmm0,0x10(%rbp,%r14,8)
mov    0x78(%rsp),%rsi
mov    %rsi,%rdi
cmp    %rdx,%rsi
mov    %rbp,%r14
mov    0x20(%rsp),%rbp
mov    0x10(%rsp),%rsi
je     1270 <dyadup_2D_feed_odd_row+0x130>
nop
mov    %rdi,%rbx
test   $0x1,%dl
je     143c <dyadup_2D_feed_odd_row+0x2fc>
add    %rdi,%rcx
movsd  (%r11,%rcx,8),%xmm1
add    %rdi,%r9
movsd  %xmm1,(%r14,%r9,8)
add    %rdi,%rsi
movq   $0x0,(%r14,%rsi,8)
mov    %rdi,%rbx
or     $0x1,%rbx
not    %rdi
cmp    0x90(%rsp),%rdi
je     1270 <dyadup_2D_feed_odd_row+0x130>
mov    0x80(%rsp),%rsi
mov    0x30(%rsp),%rcx
lea    (%rsi,%rcx,8),%rcx
mov    0x28(%rsp),%rdi
lea    (%rsi,%rdi,8),%rsi
nopw   0x0(%rax,%rax,1)
movsd  -0x8(%r13,%rbx,8),%xmm1
movsd  %xmm1,-0x8(%rsi,%rbx,8)
movq   $0x0,-0x8(%rcx,%rbx,8)
movsd  0x0(%r13,%rbx,8),%xmm1
movsd  %xmm1,(%rsi,%rbx,8)
movq   $0x0,(%rcx,%rbx,8)
add    $0x2,%rbx
cmp    %rbx,%rdx
jne    1470 <dyadup_2D_feed_odd_row+0x330>
jmp    1270 <dyadup_2D_feed_odd_row+0x130>
test   %r12d,%r12d
mov    0x40(%rsp),%rbx
jle    14dc <dyadup_2D_feed_odd_row+0x39c>
mov    0x4(%rsp),%ecx
imul   %r12d,%ecx
lea    -0x1(%rbx),%eax
imul   %r12d,%eax
cltq
lea    (%r14,%rax,8),%rdi
movslq %ecx,%rax
lea    (%r11,%rax,8),%rsi
shl    $0x3,%rdx
call   1040 <memcpy@plt>
mov    0x8(%rsp),%r11
mov    %r11,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
mov    %ebx,%esi
mov    %r12d,%edx
mov    0x50(%rsp),%rcx
mov    0x48(%rsp),%r8
mov    0x1c(%rsp),%r9d
call   1060 <matrix_tran@plt>
mov    %r14,%rdi
add    $0xa8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>

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

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