#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_even_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; row++) {
    for (col = 0; col < matrixInCol; col++) {
      matrixOutPre[col + 2 * row * matrixInCol] = 0;
      matrixOutPre[col + (2 * row + 1) * matrixInCol] =
          matrixInTemp[col + row * matrixInCol];
    }
  }
  for (col = 0; col < matrixInCol; col++)
    matrixOutPre[col + (matrixOutRow - 1) * matrixInCol] = 0;
  free(matrixInTemp);
  matrix_tran(matrixOutPre, matrixOutRow, matrixInCol, matrixOut, matrixInRow,
              matrixOutCol);
  free(matrixOutPre);
  return;
}


x86 assembly (clang, -O0):
<dyadup_2D_feed_even_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
cmp    -0xc(%rbp),%eax
jge    1234 <dyadup_2D_feed_even_row+0x104>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1221 <dyadup_2D_feed_even_row+0xf1>
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
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
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
add    $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    11b3 <dyadup_2D_feed_even_row+0x83>
jmp    1226 <dyadup_2D_feed_even_row+0xf6>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11a0 <dyadup_2D_feed_even_row+0x70>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1273 <dyadup_2D_feed_even_row+0x143>
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
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    123b <dyadup_2D_feed_even_row+0x10b>
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_even_row>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %r9d,%r12d
mov    %r8d,%r15d
mov    %rcx,0x68(%rsp)
mov    %edx,%ebx
mov    %esi,%ebp
mov    %rdi,%r14
mov    %esi,%edi
imul   %edx,%edi
shl    $0x3,%edi
call   1050 <malloc@plt>
mov    %rax,%r13
mov    %r14,%rdi
mov    %rbx,%r14
mov    %r14d,%esi
mov    %ebp,%edx
mov    %rax,%rcx
mov    %r12d,0x24(%rsp)
mov    %r12d,%r8d
mov    %ebp,%r9d
call   1060 <matrix_tran@plt>
mov    %r14d,%edi
mov    %r15,0x60(%rsp)
imul   %r15d,%edi
shl    $0x3,%edi
call   1050 <malloc@plt>
mov    %r13,%rdi
mov    %rax,0x10(%rsp)
mov    %r14d,%edx
mov    %ebp,0xc(%rsp)
test   %ebp,%ebp
mov    %r13,0x28(%rsp)
jle    14c8 <dyadup_2D_feed_even_row+0x388>
movslq %r14d,%rbp
mov    0xc(%rsp),%eax
lea    (%r14,%r14,1),%ecx
mov    %rcx,0x58(%rsp)
mov    0x10(%rsp),%rbx
lea    (%rbx,%rdx,8),%rcx
mov    %rcx,0xa0(%rsp)
mov    %edx,%ecx
and    $0xfffffffc,%ecx
mov    %rcx,0x90(%rsp)
add    $0xfffffffffffffffc,%rcx
mov    %rcx,0x88(%rsp)
mov    %rcx,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
mov    %rsi,%rcx
mov    %rsi,0x80(%rsp)
and    $0xfffffffffffffffe,%rsi
mov    %rsi,0x78(%rsp)
mov    %rdx,%rcx
neg    %rcx
mov    %rcx,0xa8(%rsp)
lea    0x30(%rbx),%rcx
mov    %rcx,0x70(%rsp)
lea    0x30(%rdi),%r10
mov    %rbp,0xb0(%rsp)
lea    0x0(,%rbp,8),%r8
lea    0x8(%rbx),%rcx
mov    %rcx,0x98(%rsp)
mov    %rdi,%r15
add    $0x8,%r15
xor    %r9d,%r9d
xorps  %xmm0,%xmm0
mov    %r14d,%r11d
xor    %r12d,%r12d
mov    %rax,0x38(%rsp)
mov    %r8,0x30(%rsp)
jmp    128e <dyadup_2D_feed_even_row+0x14e>
add    $0x1,%r12
mov    0x58(%rsp),%rcx
add    %ecx,%r9d
add    %r8,%r10
add    %ecx,%r11d
add    %r8,%r15
cmp    %rax,%r12
je     14c8 <dyadup_2D_feed_even_row+0x388>
test   %r14d,%r14d
jle    1270 <dyadup_2D_feed_even_row+0x130>
movslq %r11d,%rcx
mov    %rcx,0x50(%rsp)
movslq %r9d,%rcx
mov    %rcx,0x48(%rsp)
lea    (%r12,%r12,1),%ecx
imul   %r14d,%ecx
mov    %r12,%r13
imul   0xb0(%rsp),%r13
lea    (%r12,%r12,1),%esi
add    $0x1,%esi
imul   %r14d,%esi
movslq %ecx,%rcx
mov    %rcx,0x40(%rsp)
movslq %esi,%rbx
cmp    $0x4,%r14d
jae    12e0 <dyadup_2D_feed_even_row+0x1a0>
xor    %ebp,%ebp
jmp    1430 <dyadup_2D_feed_even_row+0x2f0>
nopw   0x0(%rax,%rax,1)
mov    %rbx,0x18(%rsp)
mov    %r12,%rbx
imul   0x58(%rsp),%rbx
movslq %ebx,%rsi
add    %r14d,%ebx
mov    0x10(%rsp),%rax
lea    (%rax,%rsi,8),%rbp
movslq %ebx,%rcx
mov    0xa0(%rsp),%r8
lea    (%r8,%rcx,8),%rbx
cmp    %rbx,%rbp
jae    1334 <dyadup_2D_feed_even_row+0x1f4>
lea    (%r8,%rsi,8),%rsi
lea    (%rax,%rcx,8),%rcx
cmp    %rsi,%rcx
jae    1334 <dyadup_2D_feed_even_row+0x1f4>
xor    %ebp,%ebp
mov    0x38(%rsp),%rax
mov    0x30(%rsp),%r8
mov    0x18(%rsp),%rbx
jmp    1430 <dyadup_2D_feed_even_row+0x2f0>
mov    %r14,%rcx
cmpq   $0x0,0x88(%rsp)
je     13c1 <dyadup_2D_feed_even_row+0x281>
mov    0x70(%rsp),%rdi
mov    0x48(%rsp),%rsi
lea    (%rdi,%rsi,8),%rsi
mov    0x50(%rsp),%rbp
lea    (%rdi,%rbp,8),%rdi
mov    0x78(%rsp),%r8
xor    %r14d,%r14d
mov    0x18(%rsp),%rbx
nopw   0x0(%rax,%rax,1)
movups %xmm0,-0x30(%rsi,%r14,8)
movups %xmm0,-0x20(%rsi,%r14,8)
movups -0x30(%r10,%r14,8),%xmm1
movups -0x20(%r10,%r14,8),%xmm2
movups %xmm1,-0x30(%rdi,%r14,8)
movups %xmm2,-0x20(%rdi,%r14,8)
movups %xmm0,-0x10(%rsi,%r14,8)
movups %xmm0,(%rsi,%r14,8)
movups -0x10(%r10,%r14,8),%xmm1
movups (%r10,%r14,8),%xmm2
movups %xmm1,-0x10(%rdi,%r14,8)
movups %xmm2,(%rdi,%r14,8)
add    $0x8,%r14
add    $0xfffffffffffffffe,%r8
jne    1370 <dyadup_2D_feed_even_row+0x230>
jmp    13c9 <dyadup_2D_feed_even_row+0x289>
xor    %r14d,%r14d
mov    0x18(%rsp),%rbx
testb  $0x1,0x80(%rsp)
01
mov    0x28(%rsp),%rdi
je     1404 <dyadup_2D_feed_even_row+0x2c4>
mov    0x40(%rsp),%rsi
add    %r14,%rsi
movups %xmm0,(%rax,%rsi,8)
movups %xmm0,0x10(%rax,%rsi,8)
lea    (%r14,%r13,1),%rsi
movups (%rdi,%rsi,8),%xmm1
movups 0x10(%rdi,%rsi,8),%xmm2
add    %rbx,%r14
movups %xmm1,(%rax,%r14,8)
movups %xmm2,0x10(%rax,%r14,8)
mov    0x90(%rsp),%rsi
mov    %rsi,%rbp
cmp    %rdx,%rsi
mov    %rcx,%r14
mov    0x38(%rsp),%rax
mov    0x30(%rsp),%r8
je     1270 <dyadup_2D_feed_even_row+0x130>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbp,%rsi
test   $0x1,%dl
je     1465 <dyadup_2D_feed_even_row+0x325>
mov    0x40(%rsp),%rsi
add    %rbp,%rsi
mov    0x10(%rsp),%rcx
movq   $0x0,(%rcx,%rsi,8)
add    %rbp,%r13
movsd  (%rdi,%r13,8),%xmm1
add    %rbp,%rbx
movsd  %xmm1,(%rcx,%rbx,8)
mov    %rbp,%rsi
or     $0x1,%rsi
not    %rbp
cmp    0xa8(%rsp),%rbp
je     1270 <dyadup_2D_feed_even_row+0x130>
mov    0x98(%rsp),%rcx
mov    0x50(%rsp),%rbp
lea    (%rcx,%rbp,8),%rbp
mov    0x48(%rsp),%rbx
lea    (%rcx,%rbx,8),%rcx
movq   $0x0,-0x8(%rcx,%rsi,8)
movsd  -0x8(%r15,%rsi,8),%xmm1
movsd  %xmm1,-0x8(%rbp,%rsi,8)
movq   $0x0,(%rcx,%rsi,8)
movsd  (%r15,%rsi,8),%xmm1
movsd  %xmm1,0x0(%rbp,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%rdx
jne    1490 <dyadup_2D_feed_even_row+0x350>
jmp    1270 <dyadup_2D_feed_even_row+0x130>
test   %r14d,%r14d
mov    0x60(%rsp),%rbx
mov    0x10(%rsp),%rbp
jle    14fb <dyadup_2D_feed_even_row+0x3bb>
lea    -0x1(%rbx),%eax
imul   %r14d,%eax
cltq
lea    0x0(,%rax,8),%rdi
add    %rbp,%rdi
shl    $0x3,%rdx
xor    %esi,%esi
call   1040 <memset@plt>
mov    0x28(%rsp),%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
mov    %ebx,%esi
mov    %r14d,%edx
mov    0x68(%rsp),%rcx
mov    0xc(%rsp),%r8d
mov    0x24(%rsp),%r9d
call   1060 <matrix_tran@plt>
mov    %rbp,%rdi
add    $0xb8,%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_even_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 = %80, %6
%39 = load i32, i32* %13
%40 = load i32, i32* %8
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %83
42: ; preds = %38
store i32 0, i32* %14
br label %43
43: ; preds = %76, %42
%44 = load i32, i32* %14
%45 = load i32, i32* %9
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %79
47: ; preds = %43
%48 = load double*, double** %16
%49 = load i32, i32* %14
%50 = load i32, i32* %13
%51 = mul nsw i32 2, %50
%52 = load i32, i32* %9
%53 = mul nsw i32 %51, %52
%54 = add nsw i32 %49, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, double* %48, i64 %55
store double 0.000000e+00, double* %56
%57 = load double*, double** %15
%58 = load i32, i32* %14
%59 = load i32, i32* %13
%60 = load i32, i32* %9
%61 = mul nsw i32 %59, %60
%62 = add nsw i32 %58, %61
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, double* %57, i64 %63
%65 = load double, double* %64
%66 = load double*, double** %16
%67 = load i32, i32* %14
%68 = load i32, i32* %13
%69 = mul nsw i32 2, %68
%70 = add nsw i32 %69, 1
%71 = load i32, i32* %9
%72 = mul nsw i32 %70, %71
%73 = add nsw i32 %67, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %66, i64 %74
store double %65, double* %75
br label %76
76: ; preds = %47
%77 = load i32, i32* %14
%78 = add nsw i32 %77, 1
store i32 %78, i32* %14
br label %43
79: ; preds = %43
br label %80
80: ; preds = %79
%81 = load i32, i32* %13
%82 = add nsw i32 %81, 1
store i32 %82, i32* %13
br label %38
83: ; preds = %38
store i32 0, i32* %14
br label %84
84: ; preds = %98, %83
%85 = load i32, i32* %14
%86 = load i32, i32* %9
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %101
88: ; preds = %84
%89 = load double*, double** %16
%90 = load i32, i32* %14
%91 = load i32, i32* %11
%92 = sub nsw i32 %91, 1
%93 = load i32, i32* %9
%94 = mul nsw i32 %92, %93
%95 = add nsw i32 %90, %94
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds double, double* %89, i64 %96
store double 0.000000e+00, double* %97
br label %98
98: ; preds = %88
%99 = load i32, i32* %14
%100 = add nsw i32 %99, 1
store i32 %100, i32* %14
br label %84
101: ; preds = %84
%102 = load double*, double** %15
%103 = call i32 @free(double* %102)
%104 = load double*, double** %16
%105 = load i32, i32* %11
%106 = load i32, i32* %9
%107 = load double*, double** %10
%108 = load i32, i32* %8
%109 = load i32, i32* %12
%110 = call i32 @matrix_tran(double* %104, i32 %105, i32 %106, double* %107, i32 %108, i32 %109)
%111 = load double*, double** %16
%112 = call i32 @free(double* %111)
ret void
}

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