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


x86 assembly (clang, -O0):
<dyadup_2D_feed_odd>:
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+0x109>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1226 <dyadup_2D_feed_odd+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+0x88>
jmp    122b <dyadup_2D_feed_odd+0xfb>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11a0 <dyadup_2D_feed_odd+0x70>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1290 <dyadup_2D_feed_odd+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+0x110>
mov    -0x30(%rbp),%rdi
call   1030 <free@plt>
mov    -0x1c(%rbp),%eax
imul   -0x10(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x40(%rbp)
mov    -0x38(%rbp),%rdi
mov    -0x1c(%rbp),%esi
mov    -0x10(%rbp),%edx
mov    -0x40(%rbp),%rcx
mov    -0xc(%rbp),%r8d
mov    -0x20(%rbp),%r9d
call   1050 <matrix_tran@plt>
mov    -0x38(%rbp),%rdi
call   1030 <free@plt>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x10(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1375 <dyadup_2D_feed_odd+0x245>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1362 <dyadup_2D_feed_odd+0x232>
mov    -0x40(%rbp),%rax
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%edx
imul   -0x1c(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%edx
shl    $0x1,%edx
imul   -0x1c(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
mov    -0x28(%rbp),%edx
shl    $0x1,%edx
add    $0x1,%edx
imul   -0x1c(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12f4 <dyadup_2D_feed_odd+0x1c4>
jmp    1367 <dyadup_2D_feed_odd+0x237>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    12dc <dyadup_2D_feed_odd+0x1ac>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    13cc <dyadup_2D_feed_odd+0x29c>
mov    -0x40(%rbp),%rax
mov    -0x24(%rbp),%ecx
mov    -0x10(%rbp),%edx
sub    $0x1,%edx
imul   -0x1c(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
mov    -0x20(%rbp),%edx
sub    $0x1,%edx
imul   -0x1c(%rbp),%edx
add    %edx,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    137c <dyadup_2D_feed_odd+0x24c>
mov    -0x40(%rbp),%rdi
call   1030 <free@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dyadup_2D_feed_odd>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %r9d,%ebx
mov    %r8d,%r15d
mov    %rcx,0xa0(%rsp)
mov    %edx,%r12d
mov    %esi,%ebp
mov    %rdi,%r14
movabs $0x7ffffffffffffffe,%rax
ff ff 7f
mov    %rax,0x98(%rsp)
mov    %esi,%edi
imul   %edx,%edi
shl    $0x3,%edi
call   1050 <malloc@plt>
mov    %r14,%rdi
mov    %r12d,%esi
mov    %ebp,%edx
mov    %rax,0x8(%rsp)
mov    %rax,%rcx
mov    %ebx,0x24(%rsp)
mov    %ebx,%r8d
mov    %ebp,%r9d
call   1060 <matrix_tran@plt>
mov    %r12d,%edi
mov    %r15,0x30(%rsp)
imul   %r15d,%edi
shl    $0x3,%edi
mov    %edi,0x94(%rsp)
call   1050 <malloc@plt>
lea    -0x1(%rbp),%ecx
mov    %ecx,0x4(%rsp)
mov    %r12d,%edx
mov    %rbp,0xa8(%rsp)
cmp    $0x2,%ebp
mov    %rax,%rbp
jl     14ab <dyadup_2D_feed_odd+0x36b>
movslq %r12d,%rcx
mov    0x4(%rsp),%eax
mov    %rax,0x50(%rsp)
lea    (%r12,%r12,1),%eax
mov    %rax,0x58(%rsp)
lea    0x0(,%rdx,8),%rax
add    %rbp,%rax
mov    %rax,0x28(%rsp)
mov    %edx,%eax
and    $0xfffffffc,%eax
mov    %rax,0x78(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x70(%rsp)
mov    %rax,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
mov    %rsi,%rax
mov    %rsi,0x68(%rsp)
movabs $0x7ffffffffffffffe,%rax
ff ff 7f
and    %rax,%rsi
mov    %rsi,0x60(%rsp)
mov    %rdx,%rax
neg    %rax
mov    %rax,0x88(%rsp)
mov    0x8(%rsp),%rax
lea    0x30(%rax),%r10
mov    %rcx,0x18(%rsp)
lea    0x0(,%rcx,8),%rcx
mov    %rcx,0x48(%rsp)
lea    0x30(%rbp),%rcx
mov    %rcx,0xb0(%rsp)
lea    0x8(%rbp),%rcx
mov    %rcx,0x80(%rsp)
lea    0x8(%rax),%r9
xor    %r13d,%r13d
xorps  %xmm0,%xmm0
mov    %r12d,%eax
xor    %r11d,%r11d
mov    %rbp,0x38(%rsp)
jmp    12c4 <dyadup_2D_feed_odd+0x184>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%r11
mov    0x48(%rsp),%rsi
add    %rsi,%r10
mov    0x58(%rsp),%rcx
add    %ecx,%r13d
add    %ecx,%eax
add    %rsi,%r9
cmp    0x50(%rsp),%r11
je     14ab <dyadup_2D_feed_odd+0x36b>
test   %r12d,%r12d
jle    12a0 <dyadup_2D_feed_odd+0x160>
movslq %eax,%rcx
mov    %rcx,0x10(%rsp)
movslq %r13d,%rcx
mov    %rcx,0x40(%rsp)
mov    %r11,%r8
imul   0x18(%rsp),%r8
lea    (%r11,%r11,1),%ecx
imul   %r12d,%ecx
lea    (%r11,%r11,1),%esi
add    $0x1,%esi
imul   %r12d,%esi
movslq %ecx,%r14
movslq %esi,%rbx
cmp    $0x4,%r12d
jb     134d <dyadup_2D_feed_odd+0x20d>
mov    %r11,%rsi
imul   0x58(%rsp),%rsi
movslq %esi,%rcx
add    %r12d,%esi
lea    0x0(,%rcx,8),%rdi
add    %rbp,%rdi
movslq %esi,%rsi
mov    0x28(%rsp),%r15
lea    (%r15,%rsi,8),%rbp
cmp    %rbp,%rdi
mov    0x38(%rsp),%rbp
jae    13e7 <dyadup_2D_feed_odd+0x2a7>
lea    (%r15,%rcx,8),%rcx
lea    0x0(,%rsi,8),%rsi
add    %rbp,%rsi
cmp    %rcx,%rsi
jae    13e7 <dyadup_2D_feed_odd+0x2a7>
xor    %r15d,%r15d
mov    %r15,%rcx
test   $0x1,%dl
je     1383 <dyadup_2D_feed_odd+0x243>
add    %r15,%r8
mov    0x8(%rsp),%rcx
movsd  (%rcx,%r8,8),%xmm1
add    %r15,%r14
movsd  %xmm1,0x0(%rbp,%r14,8)
add    %r15,%rbx
movq   $0x0,0x0(%rbp,%rbx,8)
mov    %r15,%rcx
or     $0x1,%rcx
not    %r15
cmp    0x88(%rsp),%r15
je     12a0 <dyadup_2D_feed_odd+0x160>
mov    0x80(%rsp),%rdi
mov    0x10(%rsp),%rsi
lea    (%rdi,%rsi,8),%rsi
mov    0x40(%rsp),%rbx
lea    (%rdi,%rbx,8),%rdi
xchg   %ax,%ax
movsd  -0x8(%r9,%rcx,8),%xmm1
movsd  %xmm1,-0x8(%rdi,%rcx,8)
movq   $0x0,-0x8(%rsi,%rcx,8)
movsd  (%r9,%rcx,8),%xmm1
movsd  %xmm1,(%rdi,%rcx,8)
movq   $0x0,(%rsi,%rcx,8)
add    $0x2,%rcx
cmp    %rcx,%rdx
jne    13b0 <dyadup_2D_feed_odd+0x270>
jmp    12a0 <dyadup_2D_feed_odd+0x160>
cmpq   $0x0,0x70(%rsp)
je     145a <dyadup_2D_feed_odd+0x31a>
mov    0xb0(%rsp),%rcx
mov    0x40(%rsp),%rsi
lea    (%rcx,%rsi,8),%rbp
mov    0x10(%rsp),%rsi
lea    (%rcx,%rsi,8),%rdi
mov    0x60(%rsp),%rsi
xor    %ecx,%ecx
movups -0x30(%r10,%rcx,8),%xmm1
movups -0x20(%r10,%rcx,8),%xmm2
movups %xmm1,-0x30(%rbp,%rcx,8)
movups %xmm2,-0x20(%rbp,%rcx,8)
movups %xmm0,-0x30(%rdi,%rcx,8)
movups %xmm0,-0x20(%rdi,%rcx,8)
movups -0x10(%r10,%rcx,8),%xmm1
movups (%r10,%rcx,8),%xmm2
movups %xmm1,-0x10(%rbp,%rcx,8)
movups %xmm2,0x0(%rbp,%rcx,8)
movups %xmm0,-0x10(%rdi,%rcx,8)
movups %xmm0,(%rdi,%rcx,8)
add    $0x8,%rcx
add    $0xfffffffffffffffe,%rsi
jne    1410 <dyadup_2D_feed_odd+0x2d0>
jmp    145c <dyadup_2D_feed_odd+0x31c>
xor    %ecx,%ecx
testb  $0x1,0x68(%rsp)
mov    0x38(%rsp),%rbp
je     1495 <dyadup_2D_feed_odd+0x355>
lea    (%rcx,%r8,1),%rsi
mov    0x8(%rsp),%rdi
movups (%rdi,%rsi,8),%xmm1
movups 0x10(%rdi,%rsi,8),%xmm2
lea    (%rcx,%r14,1),%rsi
movups %xmm1,0x0(%rbp,%rsi,8)
movups %xmm2,0x10(%rbp,%rsi,8)
add    %rbx,%rcx
movups %xmm0,0x0(%rbp,%rcx,8)
movups %xmm0,0x10(%rbp,%rcx,8)
mov    0x78(%rsp),%rcx
mov    %rcx,%r15
cmp    %rdx,%rcx
je     12a0 <dyadup_2D_feed_odd+0x160>
jmp    1350 <dyadup_2D_feed_odd+0x210>
test   %r12d,%r12d
mov    %rbp,%r15
mov    0x30(%rsp),%r13
mov    0x8(%rsp),%r14
jle    14e3 <dyadup_2D_feed_odd+0x3a3>
mov    0x4(%rsp),%ecx
imul   %r12d,%ecx
lea    -0x1(%r13),%eax
imul   %r12d,%eax
cltq
lea    (%r15,%rax,8),%rdi
movslq %ecx,%rax
lea    (%r14,%rax,8),%rsi
shl    $0x3,%rdx
call   1040 <memcpy@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    0x94(%rsp),%edi
call   1050 <malloc@plt>
mov    %r15,%rdi
mov    %r13d,%esi
mov    %r12d,%edx
mov    %rax,0x8(%rsp)
mov    %rax,%rcx
mov    0xa8(%rsp),%r8
mov    0x24(%rsp),%r9d
call   1060 <matrix_tran@plt>
mov    %r15,%rdi
call   1030 <free@plt>
lea    -0x1(%r12),%eax
mov    %eax,0x4(%rsp)
mov    %r13d,%edx
cmp    $0x2,%r12d
mov    0xa0(%rsp),%rcx
jl     1828 <dyadup_2D_feed_odd+0x6e8>
movslq %r13d,%rsi
mov    0x4(%rsp),%eax
mov    %rax,0x58(%rsp)
lea    0x0(%r13,%r13,1),%r12d
lea    (%rcx,%rdx,8),%rax
mov    %rax,0x38(%rsp)
mov    %edx,%eax
and    $0xfffffffc,%eax
mov    %rax,0x78(%rsp)
add    $0xfffffffffffffffc,%rax
mov    %rax,0x70(%rsp)
shr    $0x2,%rax
add    $0x1,%rax
mov    %rax,%rbp
mov    %rax,0x68(%rsp)
and    %rax,0x98(%rsp)
mov    %rdx,%rax
neg    %rax
mov    %rax,0x88(%rsp)
mov    0x8(%rsp),%rax
lea    0x30(%rax),%rbx
mov    %rsi,0x40(%rsp)
lea    0x0(,%rsi,8),%rdi
lea    0x30(%rcx),%rsi
mov    %rsi,0x60(%rsp)
lea    0x8(%rcx),%rsi
mov    %rsi,0x80(%rsp)
lea    0x8(%rax),%r8
xor    %r10d,%r10d
xorps  %xmm0,%xmm0
mov    %r13d,%r11d
xor    %r14d,%r14d
mov    %r12,0x28(%rsp)
jmp    15fb <dyadup_2D_feed_odd+0x4bb>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%r14
add    %rdi,%rbx
add    %r12d,%r10d
add    %r12d,%r11d
add    %rdi,%r8
cmp    0x58(%rsp),%r14
je     1828 <dyadup_2D_feed_odd+0x6e8>
test   %r13d,%r13d
jle    15e0 <dyadup_2D_feed_odd+0x4a0>
movslq %r11d,%r15
movslq %r10d,%rax
mov    %rax,0x50(%rsp)
mov    %r14,%r9
imul   0x40(%rsp),%r9
lea    (%r14,%r14,1),%eax
imul   %r13d,%eax
lea    (%r14,%r14,1),%esi
add    $0x1,%esi
imul   %r13d,%esi
cltq
mov    %rax,0x48(%rsp)
movslq %esi,%rbp
cmp    $0x4,%r13d
jae    1640 <dyadup_2D_feed_odd+0x500>
xor    %eax,%eax
jmp    1780 <dyadup_2D_feed_odd+0x640>
xchg   %ax,%ax
mov    %rbp,0x10(%rsp)
mov    %r15,0x18(%rsp)
mov    %r14,%rsi
imul   %r12,%rsi
movslq %esi,%rax
add    %r13d,%esi
lea    (%rcx,%rax,8),%rbp
movslq %esi,%rsi
mov    %rcx,%r15
mov    0x38(%rsp),%r12
lea    (%r12,%rsi,8),%rcx
cmp    %rcx,%rbp
jae    169a <dyadup_2D_feed_odd+0x55a>
lea    (%r12,%rax,8),%rax
lea    (%r15,%rsi,8),%rcx
cmp    %rax,%rcx
jae    169a <dyadup_2D_feed_odd+0x55a>
xor    %eax,%eax
mov    0x30(%rsp),%r13
mov    0x28(%rsp),%r12
mov    %r15,%rcx
mov    0x18(%rsp),%r15
mov    0x10(%rsp),%rbp
jmp    1780 <dyadup_2D_feed_odd+0x640>
cmpq   $0x0,0x70(%rsp)
je     1716 <dyadup_2D_feed_odd+0x5d6>
mov    0x60(%rsp),%rcx
mov    0x50(%rsp),%rax
lea    (%rcx,%rax,8),%rax
mov    0x18(%rsp),%r15
lea    (%rcx,%r15,8),%rbp
mov    0x98(%rsp),%r12
xor    %esi,%esi
mov    0x30(%rsp),%r13
nopl   0x0(%rax,%rax,1)
movups -0x30(%rbx,%rsi,8),%xmm1
movups -0x20(%rbx,%rsi,8),%xmm2
movups %xmm1,-0x30(%rax,%rsi,8)
movups %xmm2,-0x20(%rax,%rsi,8)
movups %xmm0,-0x30(%rbp,%rsi,8)
movups %xmm0,-0x20(%rbp,%rsi,8)
movups -0x10(%rbx,%rsi,8),%xmm1
movups (%rbx,%rsi,8),%xmm2
movups %xmm1,-0x10(%rax,%rsi,8)
movups %xmm2,(%rax,%rsi,8)
movups %xmm0,-0x10(%rbp,%rsi,8)
movups %xmm0,0x0(%rbp,%rsi,8)
add    $0x8,%rsi
add    $0xfffffffffffffffe,%r12
jne    16d0 <dyadup_2D_feed_odd+0x590>
jmp    1722 <dyadup_2D_feed_odd+0x5e2>
xor    %esi,%esi
mov    0x30(%rsp),%r13
mov    0x18(%rsp),%r15
testb  $0x1,0x68(%rsp)
mov    0xa0(%rsp),%rcx
je     1763 <dyadup_2D_feed_odd+0x623>
lea    (%rsi,%r9,1),%rax
mov    0x8(%rsp),%rbp
movups 0x0(%rbp,%rax,8),%xmm1
movups 0x10(%rbp,%rax,8),%xmm2
mov    0x48(%rsp),%rax
add    %rsi,%rax
movups %xmm1,(%rcx,%rax,8)
movups %xmm2,0x10(%rcx,%rax,8)
add    0x10(%rsp),%rsi
movups %xmm0,(%rcx,%rsi,8)
movups %xmm0,0x10(%rcx,%rsi,8)
mov    0x78(%rsp),%rsi
mov    %rsi,%rax
cmp    %rdx,%rsi
mov    0x28(%rsp),%r12
mov    0x10(%rsp),%rbp
je     15e0 <dyadup_2D_feed_odd+0x4a0>
xchg   %ax,%ax
mov    %rax,%rsi
test   $0x1,%dl
je     17b5 <dyadup_2D_feed_odd+0x675>
add    %rax,%r9
mov    0x8(%rsp),%rsi
movsd  (%rsi,%r9,8),%xmm1
mov    0x48(%rsp),%rsi
add    %rax,%rsi
movsd  %xmm1,(%rcx,%rsi,8)
add    %rax,%rbp
movq   $0x0,(%rcx,%rbp,8)
mov    %rax,%rsi
or     $0x1,%rsi
not    %rax
cmp    0x88(%rsp),%rax
je     15e0 <dyadup_2D_feed_odd+0x4a0>
mov    0x80(%rsp),%rbp
lea    0x0(,%r15,8),%rax
add    %rbp,%rax
mov    %rcx,%r9
mov    0x50(%rsp),%rcx
lea    0x0(%rbp,%rcx,8),%rbp
mov    %r9,%rcx
nopl   0x0(%rax)
movsd  -0x8(%r8,%rsi,8),%xmm1
movsd  %xmm1,-0x8(%rbp,%rsi,8)
movq   $0x0,-0x8(%rax,%rsi,8)
movsd  (%r8,%rsi,8),%xmm1
movsd  %xmm1,0x0(%rbp,%rsi,8)
movq   $0x0,(%rax,%rsi,8)
add    $0x2,%rsi
cmp    %rsi,%rdx
jne    17f0 <dyadup_2D_feed_odd+0x6b0>
jmp    15e0 <dyadup_2D_feed_odd+0x4a0>
test   %r13d,%r13d
mov    0x8(%rsp),%rbx
jle    185b <dyadup_2D_feed_odd+0x71b>
mov    0x4(%rsp),%esi
imul   %r13d,%esi
mov    0x24(%rsp),%eax
add    $0xffffffff,%eax
imul   %r13d,%eax
cltq
lea    (%rcx,%rax,8),%rdi
movslq %esi,%rax
lea    (%rbx,%rax,8),%rsi
shl    $0x3,%rdx
call   1040 <memcpy@plt>
mov    %rbx,%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_odd(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*
%17 = 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
%18 = load i32, i32* %8
%19 = load i32, i32* %9
%20 = mul nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call double* @malloc(i32 %23)
store double* %24, double** %15
%25 = load double*, double** %7
%26 = load i32, i32* %9
%27 = load i32, i32* %8
%28 = load double*, double** %15
%29 = load i32, i32* %12
%30 = load i32, i32* %8
%31 = call i32 @matrix_tran(double* %25, i32 %26, i32 %27, double* %28, i32 %29, i32 %30)
%32 = load i32, i32* %11
%33 = load i32, i32* %9
%34 = mul nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 8
%37 = trunc i64 %36 to i32
%38 = call double* @malloc(i32 %37)
store double* %38, double** %16
store i32 0, i32* %13
br label %39
39: ; preds = %82, %6
%40 = load i32, i32* %13
%41 = load i32, i32* %8
%42 = sub nsw i32 %41, 1
%43 = icmp slt i32 %40, %42
br i1 %43, label %44, label %85
44: ; preds = %39
store i32 0, i32* %14
br label %45
45: ; preds = %78, %44
%46 = load i32, i32* %14
%47 = load i32, i32* %9
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %81
49: ; preds = %45
%50 = load double*, double** %15
%51 = load i32, i32* %14
%52 = load i32, i32* %13
%53 = load i32, i32* %9
%54 = mul nsw i32 %52, %53
%55 = add nsw i32 %51, %54
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, double* %50, i64 %56
%58 = load double, double* %57
%59 = load double*, double** %16
%60 = load i32, i32* %14
%61 = load i32, i32* %13
%62 = mul nsw i32 2, %61
%63 = load i32, i32* %9
%64 = mul nsw i32 %62, %63
%65 = add nsw i32 %60, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, double* %59, i64 %66
store double %58, double* %67
%68 = load double*, double** %16
%69 = load i32, i32* %14
%70 = load i32, i32* %13
%71 = mul nsw i32 2, %70
%72 = add nsw i32 %71, 1
%73 = load i32, i32* %9
%74 = mul nsw i32 %72, %73
%75 = add nsw i32 %69, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, double* %68, i64 %76
store double 0.000000e+00, double* %77
br label %78
78: ; preds = %49
%79 = load i32, i32* %14
%80 = add nsw i32 %79, 1
store i32 %80, i32* %14
br label %45
81: ; preds = %45
br label %82
82: ; preds = %81
%83 = load i32, i32* %13
%84 = add nsw i32 %83, 1
store i32 %84, i32* %13
br label %39
85: ; preds = %39
store i32 0, i32* %14
br label %86
86: ; preds = %110, %85
%87 = load i32, i32* %14
%88 = load i32, i32* %9
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %113
90: ; preds = %86
%91 = load double*, double** %15
%92 = load i32, i32* %14
%93 = load i32, i32* %8
%94 = sub nsw i32 %93, 1
%95 = load i32, i32* %9
%96 = mul nsw i32 %94, %95
%97 = add nsw i32 %92, %96
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, double* %91, i64 %98
%100 = load double, double* %99
%101 = load double*, double** %16
%102 = load i32, i32* %14
%103 = load i32, i32* %11
%104 = sub nsw i32 %103, 1
%105 = load i32, i32* %9
%106 = mul nsw i32 %104, %105
%107 = add nsw i32 %102, %106
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %101, i64 %108
store double %100, double* %109
br label %110
110: ; preds = %90
%111 = load i32, i32* %14
%112 = add nsw i32 %111, 1
store i32 %112, i32* %14
br label %86
113: ; preds = %86
%114 = load double*, double** %15
%115 = call i32 @free(double* %114)
%116 = load i32, i32* %11
%117 = load i32, i32* %9
%118 = mul nsw i32 %116, %117
%119 = sext i32 %118 to i64
%120 = mul i64 %119, 8
%121 = trunc i64 %120 to i32
%122 = call double* @malloc(i32 %121)
store double* %122, double** %17
%123 = load double*, double** %16
%124 = load i32, i32* %11
%125 = load i32, i32* %9
%126 = load double*, double** %17
%127 = load i32, i32* %8
%128 = load i32, i32* %12
%129 = call i32 @matrix_tran(double* %123, i32 %124, i32 %125, double* %126, i32 %127, i32 %128)
%130 = load double*, double** %16
%131 = call i32 @free(double* %130)
store i32 0, i32* %14
br label %132
132: ; preds = %175, %113
%133 = load i32, i32* %14
%134 = load i32, i32* %9
%135 = sub nsw i32 %134, 1
%136 = icmp slt i32 %133, %135
br i1 %136, label %137, label %178
137: ; preds = %132
store i32 0, i32* %13
br label %138
138: ; preds = %171, %137
%139 = load i32, i32* %13
%140 = load i32, i32* %11
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %174
142: ; preds = %138
%143 = load double*, double** %17
%144 = load i32, i32* %13
%145 = load i32, i32* %14
%146 = load i32, i32* %11
%147 = mul nsw i32 %145, %146
%148 = add nsw i32 %144, %147
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, double* %143, i64 %149
%151 = load double, double* %150
%152 = load double*, double** %10
%153 = load i32, i32* %13
%154 = load i32, i32* %14
%155 = mul nsw i32 2, %154
%156 = load i32, i32* %11
%157 = mul nsw i32 %155, %156
%158 = add nsw i32 %153, %157
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, double* %152, i64 %159
store double %151, double* %160
%161 = load double*, double** %10
%162 = load i32, i32* %13
%163 = load i32, i32* %14
%164 = mul nsw i32 2, %163
%165 = add nsw i32 %164, 1
%166 = load i32, i32* %11
%167 = mul nsw i32 %165, %166
%168 = add nsw i32 %162, %167
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds double, double* %161, i64 %169
store double 0.000000e+00, double* %170
br label %171
171: ; preds = %142
%172 = load i32, i32* %13
%173 = add nsw i32 %172, 1
store i32 %173, i32* %13
br label %138
174: ; preds = %138
br label %175
175: ; preds = %174
%176 = load i32, i32* %14
%177 = add nsw i32 %176, 1
store i32 %177, i32* %14
br label %132
178: ; preds = %132
store i32 0, i32* %13
br label %179
179: ; preds = %203, %178
%180 = load i32, i32* %13
%181 = load i32, i32* %11
%182 = icmp slt i32 %180, %181
br i1 %182, label %183, label %206
183: ; preds = %179
%184 = load double*, double** %17
%185 = load i32, i32* %13
%186 = load i32, i32* %9
%187 = sub nsw i32 %186, 1
%188 = load i32, i32* %11
%189 = mul nsw i32 %187, %188
%190 = add nsw i32 %185, %189
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, double* %184, i64 %191
%193 = load double, double* %192
%194 = load double*, double** %10
%195 = load i32, i32* %13
%196 = load i32, i32* %12
%197 = sub nsw i32 %196, 1
%198 = load i32, i32* %11
%199 = mul nsw i32 %197, %198
%200 = add nsw i32 %195, %199
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds double, double* %194, i64 %201
store double %193, double* %202
br label %203
203: ; preds = %183
%204 = load i32, i32* %13
%205 = add nsw i32 %204, 1
store i32 %205, i32* %13
br label %179
206: ; preds = %179
%207 = load double*, double** %17
%208 = call i32 @free(double* %207)
ret void
}

LLVM IR (-O2):
define void @dyadup_2D_feed_odd(double* %0, i32 %1, i32 %2, double* nocapture writeonly %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 double* @malloc(i32 %12)
%182 = tail call i32 @matrix_tran(double* %13, i32 %4, i32 %2, double* %181, i32 %1, i32 %5)
%183 = tail call i32 @free(double* %13)
%184 = add i32 %2, -1
%185 = icmp sgt i32 %2, 1
br i1 %185, label %186, label %313
186: ; preds = %179
%187 = icmp sgt i32 %4, 0
%188 = sext i32 %4 to i64
%189 = zext i32 %184 to i64
%190 = zext i32 %4 to i64
%191 = shl i32 %4, 1
%192 = zext i32 %191 to i64
%193 = getelementptr double, double* %3, i64 %190
%194 = getelementptr double, double* %3, i64 %190
%195 = and i64 %190, 4294967292
%196 = add nsw i64 %195, -4
%197 = lshr exact i64 %196, 2
%198 = add nuw nsw i64 %197, 1
%199 = icmp ult i32 %4, 4
%200 = and i64 %190, 4294967292
%201 = and i64 %198, 1
%202 = icmp eq i64 %196, 0
%203 = and i64 %198, 9223372036854775806
%204 = icmp eq i64 %201, 0
%205 = icmp eq i64 %200, %190
%206 = and i64 %190, 1
%207 = icmp eq i64 %206, 0
%208 = sub nsw i64 0, %190
br label %209
209: ; preds = %186, %346
%210 = phi i64 [ 0, %186 ], [ %347, %346 ]
%211 = mul i64 %210, %192
%212 = shl i64 %211, 32
%213 = ashr exact i64 %212, 32
%214 = getelementptr double, double* %3, i64 %213
%215 = getelementptr double, double* %193, i64 %213
%216 = trunc i64 %211 to i32
%217 = add i32 %216, %4
%218 = sext i32 %217 to i64
%219 = getelementptr double, double* %3, i64 %218
%220 = getelementptr double, double* %194, i64 %218
br i1 %187, label %221, label %346
221: ; preds = %209
%222 = mul nsw i64 %210, %188
%223 = shl nuw nsw i64 %210, 1
%224 = trunc i64 %223 to i32
%225 = mul nsw i32 %224, %4
%226 = trunc i64 %223 to i32
%227 = or i32 %226, 1
%228 = mul nsw i32 %227, %4
%229 = sext i32 %225 to i64
%230 = sext i32 %228 to i64
br i1 %199, label %298, label %231
231: ; preds = %221
%232 = icmp ult double* %214, %220
%233 = icmp ult double* %219, %215
%234 = and i1 %232, %233
br i1 %234, label %298, label %235
235: ; preds = %231
br i1 %202, label %277, label %236
236: ; preds = %235, %236
%237 = phi i64 [ %274, %236 ], [ 0, %235 ]
%238 = phi i64 [ %275, %236 ], [ 0, %235 ]
%239 = add nsw i64 %237, %222
%240 = getelementptr inbounds double, double* %181, i64 %239
%241 = bitcast double* %240 to <2 x double>*
%242 = load <2 x double>, <2 x double>* %241
%243 = getelementptr inbounds double, double* %240, i64 2
%244 = bitcast double* %243 to <2 x double>*
%245 = load <2 x double>, <2 x double>* %244
%246 = add nsw i64 %237, %229
%247 = getelementptr inbounds double, double* %3, i64 %246
%248 = bitcast double* %247 to <2 x double>*
store <2 x double> %242, <2 x double>* %248
%249 = getelementptr inbounds double, double* %247, i64 2
%250 = bitcast double* %249 to <2 x double>*
store <2 x double> %245, <2 x double>* %250
%251 = add nsw i64 %237, %230
%252 = getelementptr inbounds double, double* %3, i64 %251
%253 = bitcast double* %252 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %253
%254 = getelementptr inbounds double, double* %252, i64 2
%255 = bitcast double* %254 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %255
%256 = or i64 %237, 4
%257 = add nsw i64 %256, %222
%258 = getelementptr inbounds double, double* %181, i64 %257
%259 = bitcast double* %258 to <2 x double>*
%260 = load <2 x double>, <2 x double>* %259
%261 = getelementptr inbounds double, double* %258, i64 2
%262 = bitcast double* %261 to <2 x double>*
%263 = load <2 x double>, <2 x double>* %262
%264 = add nsw i64 %256, %229
%265 = getelementptr inbounds double, double* %3, i64 %264
%266 = bitcast double* %265 to <2 x double>*
store <2 x double> %260, <2 x double>* %266
%267 = getelementptr inbounds double, double* %265, i64 2
%268 = bitcast double* %267 to <2 x double>*
store <2 x double> %263, <2 x double>* %268
%269 = add nsw i64 %256, %230
%270 = getelementptr inbounds double, double* %3, i64 %269
%271 = bitcast double* %270 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %271
%272 = getelementptr inbounds double, double* %270, i64 2
%273 = bitcast double* %272 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %273
%274 = add nuw i64 %237, 8
%275 = add i64 %238, 2
%276 = icmp eq i64 %275, %203
br i1 %276, label %277, label %236
277: ; preds = %236, %235
%278 = phi i64 [ 0, %235 ], [ %274, %236 ]
br i1 %204, label %297, label %279
279: ; preds = %277
%280 = add nsw i64 %278, %222
%281 = getelementptr inbounds double, double* %181, i64 %280
%282 = bitcast double* %281 to <2 x double>*
%283 = load <2 x double>, <2 x double>* %282
%284 = getelementptr inbounds double, double* %281, i64 2
%285 = bitcast double* %284 to <2 x double>*
%286 = load <2 x double>, <2 x double>* %285
%287 = add nsw i64 %278, %229
%288 = getelementptr inbounds double, double* %3, i64 %287
%289 = bitcast double* %288 to <2 x double>*
store <2 x double> %283, <2 x double>* %289
%290 = getelementptr inbounds double, double* %288, i64 2
%291 = bitcast double* %290 to <2 x double>*
store <2 x double> %286, <2 x double>* %291
%292 = add nsw i64 %278, %230
%293 = getelementptr inbounds double, double* %3, i64 %292
%294 = bitcast double* %293 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %294
%295 = getelementptr inbounds double, double* %293, i64 2
%296 = bitcast double* %295 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %296
br label %297
297: ; preds = %277, %279
br i1 %205, label %346, label %298
298: ; preds = %231, %221, %297
%299 = phi i64 [ 0, %231 ], [ 0, %221 ], [ %200, %297 ]
%300 = xor i64 %299, -1
br i1 %207, label %310, label %301
301: ; preds = %298
%302 = add nsw i64 %299, %222
%303 = getelementptr inbounds double, double* %181, i64 %302
%304 = load double, double* %303
%305 = add nsw i64 %299, %229
%306 = getelementptr inbounds double, double* %3, i64 %305
store double %304, double* %306
%307 = add nsw i64 %299, %230
%308 = getelementptr inbounds double, double* %3, i64 %307
store double 0.000000e+00, double* %308
%309 = or i64 %299, 1
br label %310
310: ; preds = %301, %298
%311 = phi i64 [ %299, %298 ], [ %309, %301 ]
%312 = icmp eq i64 %300, %208
br i1 %312, label %346, label %327
313: ; preds = %346, %179
%314 = icmp sgt i32 %4, 0
br i1 %314, label %315, label %349
315: ; preds = %313
%316 = mul nsw i32 %184, %4
%317 = add nsw i32 %5, -1
%318 = mul nsw i32 %317, %4
%319 = sext i32 %318 to i64
%320 = getelementptr double, double* %3, i64 %319
%321 = bitcast double* %320 to i8*
%322 = sext i32 %316 to i64
%323 = getelementptr double, double* %181, i64 %322
%324 = bitcast double* %323 to i8*
%325 = zext i32 %4 to i64
%326 = shl nuw nsw i64 %325, 3
br label %349
327: ; preds = %310, %327
%328 = phi i64 [ %344, %327 ], [ %311, %310 ]
%329 = add nsw i64 %328, %222
%330 = getelementptr inbounds double, double* %181, i64 %329
%331 = load double, double* %330
%332 = add nsw i64 %328, %229
%333 = getelementptr inbounds double, double* %3, i64 %332
store double %331, double* %333
%334 = add nsw i64 %328, %230
%335 = getelementptr inbounds double, double* %3, i64 %334
store double 0.000000e+00, double* %335
%336 = add nuw nsw i64 %328, 1
%337 = add nsw i64 %336, %222
%338 = getelementptr inbounds double, double* %181, i64 %337
%339 = load double, double* %338
%340 = add nsw i64 %336, %229
%341 = getelementptr inbounds double, double* %3, i64 %340
store double %339, double* %341
%342 = add nsw i64 %336, %230
%343 = getelementptr inbounds double, double* %3, i64 %342
store double 0.000000e+00, double* %343
%344 = add nuw nsw i64 %328, 2
%345 = icmp eq i64 %344, %190
br i1 %345, label %346, label %327
346: ; preds = %310, %327, %297, %209
%347 = add nuw nsw i64 %210, 1
%348 = icmp eq i64 %347, %189
br i1 %348, label %313, label %209
349: ; preds = %315, %313
%350 = tail call i32 @free(double* %181)
ret void
}