MRDWT(double *x, int m, int n, double *h, int lh, int L, double *yl,
      double *yh) {
  double *tmp;
  double *h0, *h1, *ydummyll, *ydummylh, *ydummyhl;
  double *ydummyhh, *xdummyl, *xdummyh;
  long i, j;
  int actual_L, actual_m, actual_n, c_o_a, ir, n_c, n_cb, n_c_o;
  int ic, n_r, n_rb, n_r_o, c_o_a_p2n, sample_f;
  xdummyl =
      (double *)mxCalloc(((m) > (n) ? (m) : (n)) + lh - 1, sizeof(double));
  xdummyh =
      (double *)mxCalloc(((m) > (n) ? (m) : (n)) + lh - 1, sizeof(double));
  ydummyll = (double *)mxCalloc(((m) > (n) ? (m) : (n)), sizeof(double));
  ydummylh = (double *)mxCalloc(((m) > (n) ? (m) : (n)), sizeof(double));
  ydummyhl = (double *)mxCalloc(((m) > (n) ? (m) : (n)), sizeof(double));
  ydummyhh = (double *)mxCalloc(((m) > (n) ? (m) : (n)), sizeof(double));
  h0 = (double *)mxCalloc(lh, sizeof(double));
  h1 = (double *)mxCalloc(lh, sizeof(double));
  if (n == 1) {
    n = m;
    m = 1;
  }
  for (i = 0; i < lh; i++) {
    h0[i] = h[lh - i - 1];
    h1[i] = h[i];
  }
  for (i = 0; i < lh; i += 2)
    h1[i] = -h1[i];
  actual_m = 2 * m;
  actual_n = 2 * n;
  for (i = 0; i < m * n; i++)
    yl[i] = x[i];
  sample_f = 1;
  for (actual_L = 1; actual_L <= L; actual_L++) {
    actual_m = actual_m / 2;
    actual_n = actual_n / 2;
    if (m == 1)
      c_o_a = n * (actual_L - 1);
    else
      c_o_a = 3 * n * (actual_L - 1);
    c_o_a_p2n = c_o_a + 2 * n;
    n_cb = n / actual_n;
    for (ir = 0; ir < m; ir++) {
      for (n_c = 0; n_c < n_cb; n_c++) {
        ic = -sample_f + n_c;
        for (i = 0; i < actual_n; i++) {
          ic = ic + sample_f;
          xdummyl[i] = (*(yl + (m * (ic) + ir)));
        }
        fpconv(xdummyl, actual_n, h0, h1, lh, ydummyll, ydummyhh);
        ic = -sample_f + n_c;
        for (i = 0; i < actual_n; i++) {
          ic = ic + sample_f;
          (*(yl + (m * (ic) + ir))) = ydummyll[i];
          (*(yh + (m * (c_o_a + ic) + ir))) = ydummyhh[i];
        }
      }
    }
    if (m > 1) {
      n_rb = m / actual_m;
      for (ic = 0; ic < n; ic++) {
        for (n_r = 0; n_r < n_rb; n_r++) {
          ir = -sample_f + n_r;
          for (i = 0; i < actual_m; i++) {
            ir = ir + sample_f;
            xdummyl[i] = (*(yl + (m * (ic) + ir)));
            xdummyh[i] = (*(yh + (m * (c_o_a + ic) + ir)));
          }
          fpconv(xdummyl, actual_m, h0, h1, lh, ydummyll, ydummylh);
          fpconv(xdummyh, actual_m, h0, h1, lh, ydummyhl, ydummyhh);
          ir = -sample_f + n_r;
          for (i = 0; i < actual_m; i++) {
            ir = ir + sample_f;
            (*(yl + (m * (ic) + ir))) = ydummyll[i];
            (*(yh + (m * (c_o_a + ic) + ir))) = ydummylh[i];
            (*(yh + (m * (c_o_a + n + ic) + ir))) = ydummyhl[i];
            (*(yh + (m * (c_o_a_p2n + ic) + ir))) = ydummyhh[i];
          }
        }
      }
    }
    sample_f = sample_f * 2;
  }
}


x86 assembly (clang, -O0):
<MRDWT>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x10(%rbp)
mov    %esi,-0x14(%rbp)
mov    %edx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9d,-0x28(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1163 <MRDWT+0x43>
mov    -0x14(%rbp),%eax
mov    %eax,-0xbc(%rbp)
jmp    116c <MRDWT+0x4c>
mov    -0x18(%rbp),%eax
mov    %eax,-0xbc(%rbp)
mov    -0xbc(%rbp),%edi
add    -0x24(%rbp),%edi
sub    $0x1,%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x68(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    11a4 <MRDWT+0x84>
mov    -0x14(%rbp),%eax
mov    %eax,-0xc0(%rbp)
jmp    11ad <MRDWT+0x8d>
mov    -0x18(%rbp),%eax
mov    %eax,-0xc0(%rbp)
mov    -0xc0(%rbp),%edi
add    -0x24(%rbp),%edi
sub    $0x1,%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x70(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    11e5 <MRDWT+0xc5>
mov    -0x14(%rbp),%eax
mov    %eax,-0xc4(%rbp)
jmp    11ee <MRDWT+0xce>
mov    -0x18(%rbp),%eax
mov    %eax,-0xc4(%rbp)
mov    -0xc4(%rbp),%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x48(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1220 <MRDWT+0x100>
mov    -0x14(%rbp),%eax
mov    %eax,-0xc8(%rbp)
jmp    1229 <MRDWT+0x109>
mov    -0x18(%rbp),%eax
mov    %eax,-0xc8(%rbp)
mov    -0xc8(%rbp),%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x50(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    125b <MRDWT+0x13b>
mov    -0x14(%rbp),%eax
mov    %eax,-0xcc(%rbp)
jmp    1264 <MRDWT+0x144>
mov    -0x18(%rbp),%eax
mov    %eax,-0xcc(%rbp)
mov    -0xcc(%rbp),%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x58(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1296 <MRDWT+0x176>
mov    -0x14(%rbp),%eax
mov    %eax,-0xd0(%rbp)
jmp    129f <MRDWT+0x17f>
mov    -0x18(%rbp),%eax
mov    %eax,-0xd0(%rbp)
mov    -0xd0(%rbp),%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x60(%rbp)
mov    -0x24(%rbp),%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x38(%rbp)
mov    -0x24(%rbp),%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <mxCalloc@plt>
cltq
mov    %rax,-0x40(%rbp)
cmpl   $0x1,-0x18(%rbp)
jne    12f8 <MRDWT+0x1d8>
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
movl   $0x1,-0x14(%rbp)
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movslq -0x24(%rbp),%rcx
cmp    %rcx,%rax
jge    135e <MRDWT+0x23e>
mov    -0x20(%rbp),%rax
movslq -0x24(%rbp),%rcx
sub    -0x78(%rbp),%rcx
sub    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x38(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x40(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x78(%rbp)
jmp    1300 <MRDWT+0x1e0>
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movslq -0x24(%rbp),%rcx
cmp    %rcx,%rax
jge    13b9 <MRDWT+0x299>
mov    -0x40(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x40(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x2,%rax
mov    %rax,-0x78(%rbp)
jmp    1366 <MRDWT+0x246>
mov    -0x14(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x88(%rbp)
mov    -0x18(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x8c(%rbp)
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0x18(%rbp),%ecx
movslq %ecx,%rcx
cmp    %rcx,%rax
jge    141b <MRDWT+0x2fb>
mov    -0x10(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x78(%rbp)
jmp    13d9 <MRDWT+0x2b9>
movl   $0x1,-0xb8(%rbp)
movl   $0x1,-0x84(%rbp)
mov    -0x84(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     1937 <MRDWT+0x817>
mov    -0x88(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x88(%rbp)
mov    -0x8c(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,-0x8c(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    148a <MRDWT+0x36a>
mov    -0x18(%rbp),%eax
mov    -0x84(%rbp),%ecx
sub    $0x1,%ecx
imul   %ecx,%eax
mov    %eax,-0x90(%rbp)
jmp    14a0 <MRDWT+0x380>
imul   $0x3,-0x18(%rbp),%eax
mov    -0x84(%rbp),%ecx
sub    $0x1,%ecx
imul   %ecx,%eax
mov    %eax,-0x90(%rbp)
mov    -0x90(%rbp),%eax
mov    -0x18(%rbp),%ecx
shl    $0x1,%ecx
add    %ecx,%eax
mov    %eax,-0xb4(%rbp)
mov    -0x18(%rbp),%eax
cltd
idivl  -0x8c(%rbp)
mov    %eax,-0x9c(%rbp)
movl   $0x0,-0x94(%rbp)
mov    -0x94(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    167d <MRDWT+0x55d>
movl   $0x0,-0x98(%rbp)
mov    -0x98(%rbp),%eax
cmp    -0x9c(%rbp),%eax
jge    1664 <MRDWT+0x544>
xor    %eax,%eax
sub    -0xb8(%rbp),%eax
add    -0x98(%rbp),%eax
mov    %eax,-0xa4(%rbp)
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movslq -0x8c(%rbp),%rcx
cmp    %rcx,%rax
jge    1575 <MRDWT+0x455>
mov    -0xa4(%rbp),%eax
add    -0xb8(%rbp),%eax
mov    %eax,-0xa4(%rbp)
mov    0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x68(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x78(%rbp)
jmp    1515 <MRDWT+0x3f5>
mov    -0x68(%rbp),%rdi
mov    -0x8c(%rbp),%esi
mov    -0x38(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    -0x24(%rbp),%r8d
mov    -0x48(%rbp),%r9
mov    -0x60(%rbp),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1040 <fpconv@plt>
xor    %eax,%eax
sub    -0xb8(%rbp),%eax
add    -0x98(%rbp),%eax
mov    %eax,-0xa4(%rbp)
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movslq -0x8c(%rbp),%rcx
cmp    %rcx,%rax
jge    164b <MRDWT+0x52b>
mov    -0xa4(%rbp),%eax
add    -0xb8(%rbp),%eax
mov    %eax,-0xa4(%rbp)
mov    -0x48(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x60(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    -0x90(%rbp),%edx
add    -0xa4(%rbp),%edx
imul   %edx,%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x78(%rbp)
jmp    15ba <MRDWT+0x49a>
jmp    1650 <MRDWT+0x530>
mov    -0x98(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x98(%rbp)
jmp    14e7 <MRDWT+0x3c7>
jmp    1669 <MRDWT+0x549>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    14ce <MRDWT+0x3ae>
cmpl   $0x1,-0x14(%rbp)
jle    1914 <MRDWT+0x7f4>
mov    -0x14(%rbp),%eax
cltd
idivl  -0x88(%rbp)
mov    %eax,-0xac(%rbp)
movl   $0x0,-0xa4(%rbp)
mov    -0xa4(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    190f <MRDWT+0x7ef>
movl   $0x0,-0xa8(%rbp)
mov    -0xa8(%rbp),%eax
cmp    -0xac(%rbp),%eax
jge    18f6 <MRDWT+0x7d6>
xor    %eax,%eax
sub    -0xb8(%rbp),%eax
add    -0xa8(%rbp),%eax
mov    %eax,-0x94(%rbp)
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movslq -0x88(%rbp),%rcx
cmp    %rcx,%rax
jge    1779 <MRDWT+0x659>
mov    -0x94(%rbp),%eax
add    -0xb8(%rbp),%eax
mov    %eax,-0x94(%rbp)
mov    0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x68(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    0x18(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    -0x90(%rbp),%edx
add    -0xa4(%rbp),%edx
imul   %edx,%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x70(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x78(%rbp)
jmp    16e8 <MRDWT+0x5c8>
mov    -0x68(%rbp),%rdi
mov    -0x88(%rbp),%esi
mov    -0x38(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    -0x24(%rbp),%r8d
mov    -0x48(%rbp),%r9
mov    -0x50(%rbp),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1040 <fpconv@plt>
mov    -0x70(%rbp),%rdi
mov    -0x88(%rbp),%esi
mov    -0x38(%rbp),%rdx
mov    -0x40(%rbp),%rcx
mov    -0x24(%rbp),%r8d
mov    -0x58(%rbp),%r9
mov    -0x60(%rbp),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1040 <fpconv@plt>
xor    %eax,%eax
sub    -0xb8(%rbp),%eax
add    -0xa8(%rbp),%eax
mov    %eax,-0x94(%rbp)
movq   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%rax
movslq -0x88(%rbp),%rcx
cmp    %rcx,%rax
jge    18dd <MRDWT+0x7bd>
mov    -0x94(%rbp),%eax
add    -0xb8(%rbp),%eax
mov    %eax,-0x94(%rbp)
mov    -0x48(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x14(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x50(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    -0x90(%rbp),%edx
add    -0xa4(%rbp),%edx
imul   %edx,%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x58(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    -0x90(%rbp),%edx
add    -0x18(%rbp),%edx
add    -0xa4(%rbp),%edx
imul   %edx,%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x60(%rbp),%rax
mov    -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x14(%rbp),%ecx
mov    -0xb4(%rbp),%edx
add    -0xa4(%rbp),%edx
imul   %edx,%ecx
add    -0x94(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x78(%rbp)
jmp    17e7 <MRDWT+0x6c7>
jmp    18e2 <MRDWT+0x7c2>
mov    -0xa8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
jmp    16ba <MRDWT+0x59a>
jmp    18fb <MRDWT+0x7db>
mov    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa4(%rbp)
jmp    16a1 <MRDWT+0x581>
jmp    1914 <MRDWT+0x7f4>
mov    -0xb8(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0xb8(%rbp)
mov    -0x84(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
jmp    142f <MRDWT+0x30f>
mov    -0x4(%rbp),%eax
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MRDWT>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
mov    %r9d,0x94(%rsp)
mov    %r8,0x30(%rsp)
mov    %rcx,%r12
mov    %edx,%r15d
mov    %esi,%r13d
mov    %rdi,%r14
cmp    %edx,%esi
mov    %edx,%ebx
cmovg  %esi,%ebx
lea    (%r8,%rbx,1),%ebp
add    $0xffffffff,%ebp
mov    $0x8,%esi
mov    %ebp,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    %eax,0x38(%rsp)
mov    $0x8,%esi
mov    %ebp,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    %eax,0x48(%rsp)
mov    $0x8,%esi
mov    %ebx,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    %eax,0x1c(%rsp)
mov    $0x8,%esi
mov    %ebx,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    %eax,0x50(%rsp)
mov    $0x8,%esi
mov    %ebx,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    %eax,0xd8(%rsp)
mov    $0x8,%esi
mov    %ebx,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    %eax,0x20(%rsp)
mov    $0x8,%esi
mov    0x30(%rsp),%rbp
mov    %ebp,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
cltq
mov    %rax,0x40(%rsp)
mov    $0x8,%esi
mov    %ebp,%edi
xor    %eax,%eax
call   1030 <mxCalloc@plt>
mov    0x48(%rsp),%r9d
cmp    $0x1,%r15d
mov    %r15d,%ecx
cmove  %r13d,%ecx
mov    %rcx,0xa0(%rsp)
movslq %eax,%rbx
cmove  %r15d,%r13d
mov    %r13,0x60(%rsp)
test   %ebp,%ebp
jle    14b5 <MRDWT+0x395>
mov    0x30(%rsp),%rcx
movslq %ecx,%r11
cmp    $0x4,%ecx
jae    1234 <MRDWT+0x114>
xor    %ecx,%ecx
mov    0x40(%rsp),%rax
jmp    1393 <MRDWT+0x273>
mov    %r9d,%r15d
mov    0x40(%rsp),%rax
lea    (%rax,%r11,8),%rcx
lea    (%rbx,%r11,8),%rdi
lea    (%r12,%r11,8),%rbp
cmp    %rdi,%rax
setb   %r8b
cmp    %rcx,%rbx
setb   %r9b
cmp    %rbp,%rax
setb   %dl
cmp    %r12,%rcx
seta   %sil
cmp    %rbp,%rbx
setb   %r10b
cmp    %r12,%rdi
seta   %dil
xor    %ecx,%ecx
test   %r9b,%r8b
jne    1344 <MRDWT+0x224>
and    %sil,%dl
jne    1344 <MRDWT+0x224>
and    %dil,%r10b
mov    %r15d,%r9d
jne    1393 <MRDWT+0x273>
mov    %r11,%rcx
and    $0xfffffffffffffffc,%rcx
lea    -0x4(%rcx),%rdx
mov    %rdx,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
test   %rdx,%rdx
je     1349 <MRDWT+0x229>
movabs $0x7ffffffffffffffc,%rdi
ff ff 7f
or     $0x2,%rdi
and    %rsi,%rdi
lea    -0x8(%r11),%rbp
xor    %edx,%edx
nopw   0x0(%rax,%rax,1)
movups 0x20(%r12,%rbp,8),%xmm0
movups 0x30(%r12,%rbp,8),%xmm1
shufps $0x4e,%xmm1,%xmm1
shufps $0x4e,%xmm0,%xmm0
movups %xmm1,(%rax,%rdx,8)
movups %xmm0,0x10(%rax,%rdx,8)
movups (%r12,%rdx,8),%xmm0
movups 0x10(%r12,%rdx,8),%xmm1
movups %xmm0,(%rbx,%rdx,8)
movups %xmm1,0x10(%rbx,%rdx,8)
movups (%r12,%rbp,8),%xmm0
movups 0x10(%r12,%rbp,8),%xmm1
shufps $0x4e,%xmm1,%xmm1
shufps $0x4e,%xmm0,%xmm0
movups %xmm1,0x20(%rax,%rdx,8)
movups %xmm0,0x30(%rax,%rdx,8)
movups 0x20(%r12,%rdx,8),%xmm0
movups 0x30(%r12,%rdx,8),%xmm1
movups %xmm0,0x20(%rbx,%rdx,8)
movups %xmm1,0x30(%rbx,%rdx,8)
add    $0x8,%rdx
add    $0xfffffffffffffff8,%rbp
add    $0xfffffffffffffffe,%rdi
jne    12d0 <MRDWT+0x1b0>
jmp    134b <MRDWT+0x22b>
mov    %r15d,%r9d
jmp    1393 <MRDWT+0x273>
xor    %edx,%edx
test   $0x1,%sil
mov    %r15d,%r9d
je     138e <MRDWT+0x26e>
mov    %rdx,%rsi
not    %rsi
add    %r11,%rsi
movups -0x18(%r12,%rsi,8),%xmm0
movups -0x8(%r12,%rsi,8),%xmm1
shufps $0x4e,%xmm1,%xmm1
shufps $0x4e,%xmm0,%xmm0
movups %xmm1,(%rax,%rdx,8)
movups %xmm0,0x10(%rax,%rdx,8)
movups (%r12,%rdx,8),%xmm0
movups 0x10(%r12,%rdx,8),%xmm1
movups %xmm0,(%rbx,%rdx,8)
movups %xmm1,0x10(%rbx,%rdx,8)
cmp    %r11,%rcx
je     1409 <MRDWT+0x2e9>
mov    %rcx,%rdx
not    %rdx
test   $0x1,%r11b
je     13bd <MRDWT+0x29d>
lea    (%rdx,%r11,1),%rsi
movsd  (%r12,%rsi,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  (%r12,%rcx,8),%xmm0
movsd  %xmm0,(%rbx,%rcx,8)
or     $0x1,%rcx
add    %r11,%rdx
je     1409 <MRDWT+0x2e9>
mov    %r11,%rdx
sub    %rcx,%rdx
lea    (%r12,%rdx,8),%rdx
add    $0xfffffffffffffff8,%rdx
movsd  (%rdx),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  (%r12,%rcx,8),%xmm0
movsd  %xmm0,(%rbx,%rcx,8)
movsd  -0x8(%rdx),%xmm0
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  0x8(%r12,%rcx,8),%xmm0
movsd  %xmm0,0x8(%rbx,%rcx,8)
add    $0x2,%rcx
add    $0xfffffffffffffff0,%rdx
cmp    %rcx,%r11
jne    13d0 <MRDWT+0x2b0>
cmpl   $0x0,0x30(%rsp)
jle    14b5 <MRDWT+0x395>
add    $0xffffffffffffffff,%r11
mov    %r11,%rdx
shr    %rdx
add    $0x1,%rdx
mov    %edx,%ecx
and    $0x3,%ecx
cmp    $0x6,%r11
jae    1431 <MRDWT+0x311>
xor    %eax,%eax
jmp    1480 <MRDWT+0x360>
and    $0xfffffffffffffffc,%rdx
xor    %eax,%eax
movaps 0xbc2(%rip),%xmm0
xchg   %ax,%ax
movsd  (%rbx,%rax,8),%xmm1
movsd  0x10(%rbx,%rax,8),%xmm2
movsd  0x20(%rbx,%rax,8),%xmm3
movsd  0x30(%rbx,%rax,8),%xmm4
xorps  %xmm0,%xmm1
movlps %xmm1,(%rbx,%rax,8)
xorps  %xmm0,%xmm2
movlps %xmm2,0x10(%rbx,%rax,8)
xorps  %xmm0,%xmm3
movlps %xmm3,0x20(%rbx,%rax,8)
xorps  %xmm0,%xmm4
movlps %xmm4,0x30(%rbx,%rax,8)
add    $0x8,%rax
add    $0xfffffffffffffffc,%rdx
jne    1440 <MRDWT+0x320>
test   %rcx,%rcx
je     14b5 <MRDWT+0x395>
lea    (%rbx,%rax,8),%rax
shl    $0x4,%rcx
xor    %edx,%edx
movaps 0xb6a(%rip),%xmm0
cs nopw 0x0(%rax,%rax,1)
movsd  (%rax,%rdx,1),%xmm1
xorps  %xmm0,%xmm1
movlps %xmm1,(%rax,%rdx,1)
add    $0x10,%rdx
cmp    %rdx,%rcx
jne    14a0 <MRDWT+0x380>
mov    0x180(%rsp),%rdx
mov    0x60(%rsp),%rax
imul   0xa0(%rsp),%eax
mov    %eax,0x58(%rsp)
test   %eax,%eax
jle    1644 <MRDWT+0x524>
mov    0x58(%rsp),%ecx
movslq %ecx,%rax
cmp    $0x4,%ecx
jb     14f8 <MRDWT+0x3d8>
lea    (%r14,%rax,8),%rcx
cmp    %rdx,%rcx
jbe    1570 <MRDWT+0x450>
lea    (%rdx,%rax,8),%rcx
cmp    %r14,%rcx
jbe    1570 <MRDWT+0x450>
xor    %ecx,%ecx
mov    %rcx,%rdi
not    %rdi
add    %rax,%rdi
mov    %rax,%rsi
and    $0x3,%rsi
je     1525 <MRDWT+0x405>
nopl   0x0(%rax)
movsd  (%r14,%rcx,8),%xmm0
movsd  %xmm0,(%rdx,%rcx,8)
add    $0x1,%rcx
add    $0xffffffffffffffff,%rsi
jne    1510 <MRDWT+0x3f0>
cmp    $0x3,%rdi
jb     1644 <MRDWT+0x524>
nop
movsd  (%r14,%rcx,8),%xmm0
movsd  %xmm0,(%rdx,%rcx,8)
movsd  0x8(%r14,%rcx,8),%xmm0
movsd  %xmm0,0x8(%rdx,%rcx,8)
movsd  0x10(%r14,%rcx,8),%xmm0
movsd  %xmm0,0x10(%rdx,%rcx,8)
movsd  0x18(%r14,%rcx,8),%xmm0
movsd  %xmm0,0x18(%rdx,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%rax
jne    1530 <MRDWT+0x410>
jmp    1644 <MRDWT+0x524>
mov    %rax,%rcx
and    $0xfffffffffffffffc,%rcx
lea    -0x4(%rcx),%rdi
mov    %rdi,%rsi
shr    $0x2,%rsi
add    $0x1,%rsi
mov    %esi,%r8d
and    $0x3,%r8d
cmp    $0xc,%rdi
jae    1597 <MRDWT+0x477>
xor    %edi,%edi
jmp    1600 <MRDWT+0x4e0>
and    $0xfffffffffffffffc,%rsi
xor    %edi,%edi
nopl   (%rax)
movups (%r14,%rdi,8),%xmm0
movups 0x10(%r14,%rdi,8),%xmm1
movups %xmm0,(%rdx,%rdi,8)
movups %xmm1,0x10(%rdx,%rdi,8)
movups 0x20(%r14,%rdi,8),%xmm0
movups 0x30(%r14,%rdi,8),%xmm1
movups %xmm0,0x20(%rdx,%rdi,8)
movups %xmm1,0x30(%rdx,%rdi,8)
movups 0x40(%r14,%rdi,8),%xmm0
movups 0x50(%r14,%rdi,8),%xmm1
movups %xmm0,0x40(%rdx,%rdi,8)
movups %xmm1,0x50(%rdx,%rdi,8)
movups 0x60(%r14,%rdi,8),%xmm0
movups 0x70(%r14,%rdi,8),%xmm1
movups %xmm0,0x60(%rdx,%rdi,8)
movups %xmm1,0x70(%rdx,%rdi,8)
add    $0x10,%rdi
add    $0xfffffffffffffffc,%rsi
jne    15a0 <MRDWT+0x480>
test   %r8,%r8
je     163b <MRDWT+0x51b>
lea    (%rdx,%rdi,8),%rsi
add    $0x10,%rsi
lea    (%r14,%rdi,8),%rdi
add    $0x10,%rdi
shl    $0x5,%r8
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
movups -0x10(%rdi,%rbp,1),%xmm0
movups (%rdi,%rbp,1),%xmm1
movups %xmm0,-0x10(%rsi,%rbp,1)
movups %xmm1,(%rsi,%rbp,1)
add    $0x20,%rbp
cmp    %rbp,%r8
jne    1620 <MRDWT+0x500>
cmp    %rax,%rcx
jne    14fa <MRDWT+0x3da>
mov    %rbx,0x70(%rsp)
cmpl   $0x0,0x94(%rsp)
jle    1f4f <MRDWT+0xe2f>
movslq 0x38(%rsp),%r11
movslq %r9d,%r8
movslq 0x1c(%rsp),%rax
mov    %rax,0x48(%rsp)
movslq 0x50(%rsp),%rdx
movslq 0xd8(%rsp),%rax
mov    %rax,0x110(%rsp)
movslq 0x20(%rsp),%r9
mov    0x60(%rsp),%rax
lea    (%rax,%rax,1),%ecx
mov    %ecx,0x10(%rsp)
mov    0xa0(%rsp),%rcx
lea    (%rcx,%rcx,1),%esi
mov    %esi,0x18(%rsp)
cmp    $0x1,%eax
lea    (%rcx,%rcx,2),%edi
movslq %eax,%r10
cmove  %ecx,%edi
mov    %r10d,%ebx
mov    %rbx,0x140(%rsp)
mov    %r10,%rbp
shl    $0x4,%rbp
mov    %rbp,0x118(%rsp)
mov    %eax,%ebp
imul   %ecx,%ebp
add    %ebp,%ebp
mov    %ebp,0x98(%rsp)
mov    %edi,%ebp
imul   %eax,%ebp
mov    %ebp,0x104(%rsp)
mov    %ecx,%eax
mov    %rax,0x138(%rsp)
mov    %r10,0x68(%rsp)
lea    0x0(,%r10,8),%rax
mov    %rax,0x130(%rsp)
movl   $0x1,0x28(%rsp)
xor    %ebp,%ebp
mov    $0x1,%ebx
mov    %r11,0xd8(%rsp)
mov    %r8,0x88(%rsp)
mov    %r9,0x38(%rsp)
mov    %rdx,0xf0(%rsp)
mov    %edi,0x108(%rsp)
jmp    1786 <MRDWT+0x666>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x28(%rsp),%eax
add    %eax,%eax
mov    %eax,0x28(%rsp)
mov    0x120(%rsp),%rbx
lea    0x1(%rbx),%eax
mov    0x108(%rsp),%edi
mov    0x10c(%rsp),%ebp
add    %edi,%ebp
mov    0x104(%rsp),%ecx
add    %ecx,0x98(%rsp)
add    %ecx,0x58(%rsp)
cmp    0x94(%rsp),%ebx
mov    %eax,%ebx
je     1f4f <MRDWT+0xe2f>
mov    0x18(%rsp),%ecx
mov    %ecx,%esi
mov    0x10(%rsp),%eax
mov    %eax,%edx
mov    %ebp,0x10c(%rsp)
movslq %ebp,%rbp
mov    %rbp,0xb0(%rsp)
shr    $0x1f,%eax
mov    %edx,0x5c(%rsp)
add    %edx,%eax
mov    %eax,0x10(%rsp)
shr    $0x1f,%ecx
mov    %esi,0x50(%rsp)
add    %esi,%ecx
sar    %ecx
mov    %rbx,0x120(%rsp)
lea    -0x1(%rbx),%eax
imul   %edi,%eax
mov    %eax,0xa8(%rsp)
mov    0xa0(%rsp),%rax
cltd
mov    %ecx,0x18(%rsp)
idiv   %ecx
mov    %eax,0x14(%rsp)
cmpl   $0x0,0x60(%rsp)
jle    1b50 <MRDWT+0xa30>
movslq 0x18(%rsp),%r13
mov    0x28(%rsp),%eax
mov    %eax,%ecx
neg    %ecx
mov    %ecx,0x2c(%rsp)
movslq %eax,%rbp
movslq 0xa8(%rsp),%rax
mov    %rax,0x78(%rsp)
mov    0x14(%rsp),%eax
sub    %ebp,%eax
mov    %eax,0xf8(%rsp)
lea    -0x1(%r13),%rax
mov    %rax,0xc8(%rsp)
mov    %r13,%rax
mov    %r13,0xd0(%rsp)
and    $0xfffffffffffffffe,%r13
mov    %rbp,%rax
add    %rbp,%rax
mov    %rax,0xc0(%rsp)
mov    0x118(%rsp),%r12
imul   %rbp,%r12
mov    0xb0(%rsp),%rax
lea    (%rax,%rbp,2),%rcx
mov    %rcx,0xe8(%rsp)
add    %rbp,%rax
mov    %rax,0xe0(%rsp)
mov    0x188(%rsp),%rax
mov    %rax,0xb8(%rsp)
mov    0x180(%rsp),%rax
mov    %rax,0x80(%rsp)
xor    %eax,%eax
mov    %rax,0x20(%rsp)
jmp    18d1 <MRDWT+0x7b1>
nopw   0x0(%rax,%rax,1)
mov    0x20(%rsp),%rcx
add    $0x1,%rcx
addq   $0x8,0x80(%rsp)
addq   $0x8,0xb8(%rsp)
mov    %rcx,%rax
mov    %rcx,0x20(%rsp)
cmp    0x140(%rsp),%rcx
je     1b50 <MRDWT+0xa30>
cmpl   $0x0,0x14(%rsp)
jle    18a0 <MRDWT+0x780>
mov    0x2c(%rsp),%eax
jmp    192f <MRDWT+0x80f>
xchg   %ax,%ax
mov    %r9,(%rsp)
mov    %r11,%rdi
mov    0x18(%rsp),%esi
mov    0x40(%rsp),%rdx
mov    0x70(%rsp),%rcx
mov    0x30(%rsp),%r8
mov    0x48(%rsp),%r9
xor    %eax,%eax
call   1040 <fpconv@plt>
mov    0x38(%rsp),%r9
mov    0x88(%rsp),%r8
mov    0x1c(%rsp),%eax
add    $0x1,%eax
cmp    0xf8(%rsp),%eax
mov    0xd8(%rsp),%r11
je     18a0 <MRDWT+0x780>
cmpl   $0x2,0x50(%rsp)
mov    %eax,0x1c(%rsp)
jl     18e0 <MRDWT+0x7c0>
movslq %eax,%r15
mov    0xc0(%rsp),%rax
add    %r15,%rax
mov    0x68(%rsp),%rdx
imul   %rdx,%rax
lea    (%r15,%rbp,1),%rcx
imul   %rdx,%rcx
add    0x20(%rsp),%rcx
mov    0x80(%rsp),%rdx
lea    (%rdx,%rax,8),%rbx
mov    0x180(%rsp),%rax
lea    (%rax,%rcx,8),%r14
cmpq   $0x0,0xc8(%rsp)
je     1acf <MRDWT+0x9af>
xor    %edx,%edx
mov    %r15,%rax
xor    %ecx,%ecx
nopl   0x0(%rax)
add    %rbp,%rax
movsd  (%r14,%rdx,1),%xmm0
movsd  %xmm0,(%r11,%rcx,8)
add    %rbp,%rax
movsd  (%rbx,%rdx,1),%xmm0
movsd  %xmm0,0x8(%r11,%rcx,8)
add    $0x2,%rcx
add    %r12,%rdx
cmp    %rcx,%r13
jne    1990 <MRDWT+0x870>
testb  $0x1,0xd0(%rsp)
01
je     19e5 <MRDWT+0x8c5>
add    %rbp,%rax
imul   0x68(%rsp),%rax
add    0x20(%rsp),%rax
mov    0x180(%rsp),%rdx
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,(%r11,%rcx,8)
mov    %r9,(%rsp)
mov    %r11,%rdi
mov    0x18(%rsp),%esi
mov    0x40(%rsp),%rdx
mov    0x70(%rsp),%rcx
mov    0x30(%rsp),%r8
mov    0x48(%rsp),%r9
xor    %eax,%eax
call   1040 <fpconv@plt>
mov    0x38(%rsp),%r9
mov    0x48(%rsp),%rdi
cmpl   $0x2,0x50(%rsp)
mov    0x88(%rsp),%r8
jl     1913 <MRDWT+0x7f3>
cmpq   $0x0,0xc8(%rsp)
je     1ae7 <MRDWT+0x9c7>
mov    0xe0(%rsp),%rax
add    %r15,%rax
mov    0xe8(%rsp),%rcx
add    %r15,%rcx
mov    0x68(%rsp),%rdx
imul   %rdx,%rax
imul   %rdx,%rcx
add    0x20(%rsp),%rax
mov    0xb8(%rsp),%rdx
lea    (%rdx,%rcx,8),%rcx
mov    0x188(%rsp),%rdx
lea    (%rdx,%rax,8),%rdx
xor    %esi,%esi
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
add    %rbp,%r15
movsd  (%rdi,%rax,8),%xmm0
movsd  %xmm0,(%r14,%rsi,1)
movsd  (%r9,%rax,8),%xmm0
movsd  %xmm0,(%rdx,%rsi,1)
add    %rbp,%r15
movsd  0x8(%rdi,%rax,8),%xmm0
movsd  %xmm0,(%rbx,%rsi,1)
movsd  0x8(%r9,%rax,8),%xmm0
movsd  %xmm0,(%rcx,%rsi,1)
add    $0x2,%rax
add    %r12,%rsi
cmp    %rax,%r13
jne    1a80 <MRDWT+0x960>
testb  $0x1,0xd0(%rsp)
01
je     1913 <MRDWT+0x7f3>
jmp    1af7 <MRDWT+0x9d7>
mov    %r15,%rax
xor    %ecx,%ecx
testb  $0x1,0xd0(%rsp)
01
jne    19c4 <MRDWT+0x8a4>
jmp    19e5 <MRDWT+0x8c5>
xor    %eax,%eax
testb  $0x1,0xd0(%rsp)
01
je     1913 <MRDWT+0x7f3>
add    %rbp,%r15
movsd  (%rdi,%rax,8),%xmm0
mov    %r15,%rcx
mov    0x68(%rsp),%rsi
imul   %rsi,%rcx
mov    0x20(%rsp),%rdi
add    %rdi,%rcx
mov    0x180(%rsp),%rdx
movsd  %xmm0,(%rdx,%rcx,8)
movsd  (%r9,%rax,8),%xmm0
add    0x78(%rsp),%r15
imul   %rsi,%r15
add    %rdi,%r15
mov    0x188(%rsp),%rax
movsd  %xmm0,(%rax,%r15,8)
jmp    1913 <MRDWT+0x7f3>
cs nopw 0x0(%rax,%rax,1)
nop
sarl   0x10(%rsp)
cmpl   $0x2,0x60(%rsp)
jl     1740 <MRDWT+0x620>
mov    0x60(%rsp),%rax
cltd
idivl  0x10(%rsp)
mov    0xf0(%rsp),%rdx
mov    %eax,0x9c(%rsp)
cmpl   $0x0,0xa0(%rsp)
jle    1740 <MRDWT+0x620>
mov    0xb0(%rsp),%rbx
imul   0x68(%rsp),%rbx
movslq 0x10(%rsp),%r10
mov    0x28(%rsp),%eax
mov    %eax,%ecx
neg    %ecx
mov    %ecx,0xb0(%rsp)
movslq %eax,%r14
mov    0x9c(%rsp),%ecx
sub    %eax,%ecx
mov    %ecx,0x20(%rsp)
movslq 0xa8(%rsp),%rax
mov    %rax,0xa8(%rsp)
mov    0x5c(%rsp),%eax
and    $0xfffffffe,%eax
mov    %eax,0xc8(%rsp)
mov    %r10,%rax
and    $0xfffffffffffffffe,%rax
mov    %rax,0xe0(%rsp)
lea    (%rbx,%r14,2),%rax
mov    0x188(%rsp),%rcx
lea    (%rcx,%rax,8),%rax
mov    %rax,0x80(%rsp)
mov    %r14,%rsi
shl    $0x4,%rsi
mov    0x180(%rsp),%rax
add    %rax,%rsi
mov    %rsi,0xc0(%rsp)
add    %r14,%rbx
lea    (%rcx,%rbx,8),%r12
lea    (%rax,%r14,8),%r13
lea    (%rcx,%r14,8),%rax
mov    %rax,0x128(%rsp)
mov    0x58(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x98(%rsp),%eax
mov    %eax,0x2c(%rsp)
xor    %eax,%eax
mov    %rax,0x78(%rsp)
mov    %r10,0x50(%rsp)
jmp    1c9a <MRDWT+0xb7a>
nop
mov    0x78(%rsp),%rcx
add    $0x1,%rcx
mov    0x130(%rsp),%rax
add    %rax,0x80(%rsp)
add    %rax,0xc0(%rsp)
add    %rax,%r12
add    %rax,%r13
mov    0x60(%rsp),%rax
add    %eax,0x2c(%rsp)
add    %eax,0x14(%rsp)
mov    %rcx,%rax
mov    %rcx,0x78(%rsp)
cmp    0x138(%rsp),%rcx
je     1740 <MRDWT+0x620>
cmpl   $0x0,0x9c(%rsp)
jle    1c50 <MRDWT+0xb30>
movslq 0x2c(%rsp),%rax
mov    0x128(%rsp),%rcx
lea    (%rcx,%rax,8),%rbp
movslq 0x14(%rsp),%rax
lea    (%rcx,%rax,8),%rax
mov    %rax,0xd0(%rsp)
mov    0x78(%rsp),%rsi
mov    %rsi,%rcx
mov    0x68(%rsp),%rax
imul   %rax,%rcx
mov    %rcx,0xb8(%rsp)
mov    0xa8(%rsp),%rcx
add    %rsi,%rcx
imul   %rax,%rcx
mov    %rcx,0xe8(%rsp)
mov    0xb0(%rsp),%eax
mov    %rbp,0xf8(%rsp)
jmp    1da0 <MRDWT+0xc80>
nopw   0x0(%rax,%rax,1)
mov    %rdx,(%rsp)
mov    %r11,%rdi
mov    0x10(%rsp),%r15d
mov    %r15d,%esi
mov    0x40(%rsp),%rdx
mov    0x70(%rsp),%rcx
mov    0x30(%rsp),%rbx
mov    %ebx,%r8d
mov    0x48(%rsp),%r9
xor    %eax,%eax
call   1040 <fpconv@plt>
mov    0x38(%rsp),%rax
mov    %rax,(%rsp)
mov    0x88(%rsp),%rdi
mov    %r15d,%esi
mov    0x40(%rsp),%rdx
mov    0x70(%rsp),%rcx
mov    %ebx,%r8d
mov    0x110(%rsp),%r9
xor    %eax,%eax
call   1040 <fpconv@plt>
mov    0x50(%rsp),%r10
mov    0x38(%rsp),%r9
mov    0xf0(%rsp),%rdx
mov    0x1c(%rsp),%eax
add    $0x1,%eax
cmp    0x20(%rsp),%eax
mov    0xd8(%rsp),%r11
mov    0x88(%rsp),%r8
je     1c50 <MRDWT+0xb30>
cmpl   $0x2,0x5c(%rsp)
mov    %eax,0x1c(%rsp)
jl     1d10 <MRDWT+0xbf0>
movslq %eax,%rbx
cmpl   $0x2,0xc8(%rsp)
02
jne    1dd0 <MRDWT+0xcb0>
mov    %rbx,%rcx
xor    %eax,%eax
jmp    1e35 <MRDWT+0xd15>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rbx,%rdx
xor    %eax,%eax
mov    0xe0(%rsp),%rsi
mov    0x80(%rsp),%rbp
mov    0xc0(%rsp),%rdi
nopl   (%rax)
lea    (%rdx,%r14,1),%rcx
movsd  0x0(%r13,%rdx,8),%xmm0
movsd  %xmm0,(%r11,%rax,8)
movsd  (%r12,%rdx,8),%xmm0
movsd  %xmm0,(%r8,%rax,8)
add    %r14,%rcx
movsd  (%rdi,%rdx,8),%xmm0
movsd  %xmm0,0x8(%r11,%rax,8)
movsd  0x0(%rbp,%rdx,8),%xmm0
movsd  %xmm0,0x8(%r8,%rax,8)
add    $0x2,%rax
mov    %rcx,%rdx
cmp    %rax,%rsi
jne    1df0 <MRDWT+0xcd0>
test   $0x1,%r10b
je     1e77 <MRDWT+0xd57>
add    %r14,%rcx
mov    0xb8(%rsp),%rdx
add    %rcx,%rdx
mov    0x180(%rsp),%rsi
movsd  (%rsi,%rdx,8),%xmm0
movsd  %xmm0,(%r11,%rax,8)
add    0xe8(%rsp),%rcx
mov    0x188(%rsp),%rdx
movsd  (%rdx,%rcx,8),%xmm0
movsd  %xmm0,(%r8,%rax,8)
mov    0xf0(%rsp),%rbp
mov    %rbp,(%rsp)
mov    %r11,%rdi
mov    0x10(%rsp),%r15d
mov    %r15d,%esi
mov    0x40(%rsp),%rdx
mov    0x70(%rsp),%rcx
mov    0x30(%rsp),%rax
mov    %eax,%r8d
mov    0x48(%rsp),%r9
xor    %eax,%eax
call   1040 <fpconv@plt>
mov    0x38(%rsp),%rax
mov    %rax,(%rsp)
mov    0x88(%rsp),%rdi
mov    %r15d,%esi
mov    0x40(%rsp),%rdx
mov    0x70(%rsp),%rcx
mov    0x30(%rsp),%r8
mov    0x110(%rsp),%r15
mov    %r15,%r9
xor    %eax,%eax
call   1040 <fpconv@plt>
mov    0x38(%rsp),%r9
mov    %rbp,%rdx
mov    0x48(%rsp),%rcx
cmpl   $0x2,0x5c(%rsp)
mov    0x50(%rsp),%r10
mov    0xf8(%rsp),%rbp
mov    0xd0(%rsp),%rsi
jl     1d7f <MRDWT+0xc5f>
xor    %eax,%eax
movsd  (%rcx,%rax,8),%xmm0
movsd  %xmm0,0x0(%r13,%rbx,8)
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,(%r12,%rbx,8)
movsd  (%r15,%rax,8),%xmm0
movsd  %xmm0,(%rsi,%rbx,8)
movsd  (%r9,%rax,8),%xmm0
movsd  %xmm0,0x0(%rbp,%rbx,8)
add    %r14,%rbx
add    $0x1,%rax
cmp    %rax,%r10
jne    1f10 <MRDWT+0xdf0>
jmp    1d7f <MRDWT+0xc5f>
add    $0x148,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @MRDWT(double* %0, i32 %1, i32 %2, double* %3, i32 %4, i32 %5, double* %6, double* %7) {
%9 = alloca i32
%10 = alloca double*
%11 = alloca i32
%12 = alloca i32
%13 = alloca double*
%14 = alloca i32
%15 = alloca i32
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca i64
%28 = alloca i64
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32
%35 = alloca i32
%36 = alloca i32
%37 = alloca i32
%38 = alloca i32
%39 = alloca i32
%40 = alloca i32
%41 = alloca i32
%42 = alloca i32
store double* %0, double** %10
store i32 %1, i32* %11
store i32 %2, i32* %12
store double* %3, double** %13
store i32 %4, i32* %14
store i32 %5, i32* %15
store double* %6, double** %16
store double* %7, double** %17
%43 = load i32, i32* %11
%44 = load i32, i32* %12
%45 = icmp sgt i32 %43, %44
br i1 %45, label %46, label %48
46: ; preds = %8
%47 = load i32, i32* %11
br label %50
48: ; preds = %8
%49 = load i32, i32* %12
br label %50
50: ; preds = %48, %46
%51 = phi i32 [ %47, %46 ], [ %49, %48 ]
%52 = load i32, i32* %14
%53 = add nsw i32 %51, %52
%54 = sub nsw i32 %53, 1
%55 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %54, i64 8)
%56 = sext i32 %55 to i64
%57 = inttoptr i64 %56 to double*
store double* %57, double** %25
%58 = load i32, i32* %11
%59 = load i32, i32* %12
%60 = icmp sgt i32 %58, %59
br i1 %60, label %61, label %63
61: ; preds = %50
%62 = load i32, i32* %11
br label %65
63: ; preds = %50
%64 = load i32, i32* %12
br label %65
65: ; preds = %63, %61
%66 = phi i32 [ %62, %61 ], [ %64, %63 ]
%67 = load i32, i32* %14
%68 = add nsw i32 %66, %67
%69 = sub nsw i32 %68, 1
%70 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %69, i64 8)
%71 = sext i32 %70 to i64
%72 = inttoptr i64 %71 to double*
store double* %72, double** %26
%73 = load i32, i32* %11
%74 = load i32, i32* %12
%75 = icmp sgt i32 %73, %74
br i1 %75, label %76, label %78
76: ; preds = %65
%77 = load i32, i32* %11
br label %80
78: ; preds = %65
%79 = load i32, i32* %12
br label %80
80: ; preds = %78, %76
%81 = phi i32 [ %77, %76 ], [ %79, %78 ]
%82 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %81, i64 8)
%83 = sext i32 %82 to i64
%84 = inttoptr i64 %83 to double*
store double* %84, double** %21
%85 = load i32, i32* %11
%86 = load i32, i32* %12
%87 = icmp sgt i32 %85, %86
br i1 %87, label %88, label %90
88: ; preds = %80
%89 = load i32, i32* %11
br label %92
90: ; preds = %80
%91 = load i32, i32* %12
br label %92
92: ; preds = %90, %88
%93 = phi i32 [ %89, %88 ], [ %91, %90 ]
%94 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %93, i64 8)
%95 = sext i32 %94 to i64
%96 = inttoptr i64 %95 to double*
store double* %96, double** %22
%97 = load i32, i32* %11
%98 = load i32, i32* %12
%99 = icmp sgt i32 %97, %98
br i1 %99, label %100, label %102
100: ; preds = %92
%101 = load i32, i32* %11
br label %104
102: ; preds = %92
%103 = load i32, i32* %12
br label %104
104: ; preds = %102, %100
%105 = phi i32 [ %101, %100 ], [ %103, %102 ]
%106 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %105, i64 8)
%107 = sext i32 %106 to i64
%108 = inttoptr i64 %107 to double*
store double* %108, double** %23
%109 = load i32, i32* %11
%110 = load i32, i32* %12
%111 = icmp sgt i32 %109, %110
br i1 %111, label %112, label %114
112: ; preds = %104
%113 = load i32, i32* %11
br label %116
114: ; preds = %104
%115 = load i32, i32* %12
br label %116
116: ; preds = %114, %112
%117 = phi i32 [ %113, %112 ], [ %115, %114 ]
%118 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %117, i64 8)
%119 = sext i32 %118 to i64
%120 = inttoptr i64 %119 to double*
store double* %120, double** %24
%121 = load i32, i32* %14
%122 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %121, i64 8)
%123 = sext i32 %122 to i64
%124 = inttoptr i64 %123 to double*
store double* %124, double** %19
%125 = load i32, i32* %14
%126 = call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %125, i64 8)
%127 = sext i32 %126 to i64
%128 = inttoptr i64 %127 to double*
store double* %128, double** %20
%129 = load i32, i32* %12
%130 = icmp eq i32 %129, 1
br i1 %130, label %131, label %133
131: ; preds = %116
%132 = load i32, i32* %11
store i32 %132, i32* %12
store i32 1, i32* %11
br label %133
133: ; preds = %131, %116
store i64 0, i64* %27
br label %134
134: ; preds = %158, %133
%135 = load i64, i64* %27
%136 = load i32, i32* %14
%137 = sext i32 %136 to i64
%138 = icmp slt i64 %135, %137
br i1 %138, label %139, label %161
139: ; preds = %134
%140 = load double*, double** %13
%141 = load i32, i32* %14
%142 = sext i32 %141 to i64
%143 = load i64, i64* %27
%144 = sub nsw i64 %142, %143
%145 = sub nsw i64 %144, 1
%146 = getelementptr inbounds double, double* %140, i64 %145
%147 = load double, double* %146
%148 = load double*, double** %19
%149 = load i64, i64* %27
%150 = getelementptr inbounds double, double* %148, i64 %149
store double %147, double* %150
%151 = load double*, double** %13
%152 = load i64, i64* %27
%153 = getelementptr inbounds double, double* %151, i64 %152
%154 = load double, double* %153
%155 = load double*, double** %20
%156 = load i64, i64* %27
%157 = getelementptr inbounds double, double* %155, i64 %156
store double %154, double* %157
br label %158
158: ; preds = %139
%159 = load i64, i64* %27
%160 = add nsw i64 %159, 1
store i64 %160, i64* %27
br label %134
161: ; preds = %134
store i64 0, i64* %27
br label %162
162: ; preds = %176, %161
%163 = load i64, i64* %27
%164 = load i32, i32* %14
%165 = sext i32 %164 to i64
%166 = icmp slt i64 %163, %165
br i1 %166, label %167, label %179
167: ; preds = %162
%168 = load double*, double** %20
%169 = load i64, i64* %27
%170 = getelementptr inbounds double, double* %168, i64 %169
%171 = load double, double* %170
%172 = fneg double %171
%173 = load double*, double** %20
%174 = load i64, i64* %27
%175 = getelementptr inbounds double, double* %173, i64 %174
store double %172, double* %175
br label %176
176: ; preds = %167
%177 = load i64, i64* %27
%178 = add nsw i64 %177, 2
store i64 %178, i64* %27
br label %162
179: ; preds = %162
%180 = load i32, i32* %11
%181 = mul nsw i32 2, %180
store i32 %181, i32* %30
%182 = load i32, i32* %12
%183 = mul nsw i32 2, %182
store i32 %183, i32* %31
store i64 0, i64* %27
br label %184
184: ; preds = %199, %179
%185 = load i64, i64* %27
%186 = load i32, i32* %11
%187 = load i32, i32* %12
%188 = mul nsw i32 %186, %187
%189 = sext i32 %188 to i64
%190 = icmp slt i64 %185, %189
br i1 %190, label %191, label %202
191: ; preds = %184
%192 = load double*, double** %10
%193 = load i64, i64* %27
%194 = getelementptr inbounds double, double* %192, i64 %193
%195 = load double, double* %194
%196 = load double*, double** %16
%197 = load i64, i64* %27
%198 = getelementptr inbounds double, double* %196, i64 %197
store double %195, double* %198
br label %199
199: ; preds = %191
%200 = load i64, i64* %27
%201 = add nsw i64 %200, 1
store i64 %201, i64* %27
br label %184
202: ; preds = %184
store i32 1, i32* %42
store i32 1, i32* %29
br label %203
203: ; preds = %490, %202
%204 = load i32, i32* %29
%205 = load i32, i32* %15
%206 = icmp sle i32 %204, %205
br i1 %206, label %207, label %493
207: ; preds = %203
%208 = load i32, i32* %30
%209 = sdiv i32 %208, 2
store i32 %209, i32* %30
%210 = load i32, i32* %31
%211 = sdiv i32 %210, 2
store i32 %211, i32* %31
%212 = load i32, i32* %11
%213 = icmp eq i32 %212, 1
br i1 %213, label %214, label %219
214: ; preds = %207
%215 = load i32, i32* %12
%216 = load i32, i32* %29
%217 = sub nsw i32 %216, 1
%218 = mul nsw i32 %215, %217
store i32 %218, i32* %32
br label %225
219: ; preds = %207
%220 = load i32, i32* %12
%221 = mul nsw i32 3, %220
%222 = load i32, i32* %29
%223 = sub nsw i32 %222, 1
%224 = mul nsw i32 %221, %223
store i32 %224, i32* %32
br label %225
225: ; preds = %219, %214
%226 = load i32, i32* %32
%227 = load i32, i32* %12
%228 = mul nsw i32 2, %227
%229 = add nsw i32 %226, %228
store i32 %229, i32* %41
%230 = load i32, i32* %12
%231 = load i32, i32* %31
%232 = sdiv i32 %230, %231
store i32 %232, i32* %35
store i32 0, i32* %33
br label %233
233: ; preds = %327, %225
%234 = load i32, i32* %33
%235 = load i32, i32* %11
%236 = icmp slt i32 %234, %235
br i1 %236, label %237, label %330
237: ; preds = %233
store i32 0, i32* %34
br label %238
238: ; preds = %323, %237
%239 = load i32, i32* %34
%240 = load i32, i32* %35
%241 = icmp slt i32 %239, %240
br i1 %241, label %242, label %326
242: ; preds = %238
%243 = load i32, i32* %42
%244 = sub nsw i32 0, %243
%245 = load i32, i32* %34
%246 = add nsw i32 %244, %245
store i32 %246, i32* %37
store i64 0, i64* %27
br label %247
247: ; preds = %268, %242
%248 = load i64, i64* %27
%249 = load i32, i32* %31
%250 = sext i32 %249 to i64
%251 = icmp slt i64 %248, %250
br i1 %251, label %252, label %271
252: ; preds = %247
%253 = load i32, i32* %37
%254 = load i32, i32* %42
%255 = add nsw i32 %253, %254
store i32 %255, i32* %37
%256 = load double*, double** %16
%257 = load i32, i32* %11
%258 = load i32, i32* %37
%259 = mul nsw i32 %257, %258
%260 = load i32, i32* %33
%261 = add nsw i32 %259, %260
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds double, double* %256, i64 %262
%264 = load double, double* %263
%265 = load double*, double** %25
%266 = load i64, i64* %27
%267 = getelementptr inbounds double, double* %265, i64 %266
store double %264, double* %267
br label %268
268: ; preds = %252
%269 = load i64, i64* %27
%270 = add nsw i64 %269, 1
store i64 %270, i64* %27
br label %247
271: ; preds = %247
%272 = load double*, double** %25
%273 = load i32, i32* %31
%274 = load double*, double** %19
%275 = load double*, double** %20
%276 = load i32, i32* %14
%277 = load double*, double** %21
%278 = load double*, double** %24
%279 = call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %272, i32 %273, double* %274, double* %275, i32 %276, double* %277, double* %278)
%280 = load i32, i32* %42
%281 = sub nsw i32 0, %280
%282 = load i32, i32* %34
%283 = add nsw i32 %281, %282
store i32 %283, i32* %37
store i64 0, i64* %27
br label %284
284: ; preds = %319, %271
%285 = load i64, i64* %27
%286 = load i32, i32* %31
%287 = sext i32 %286 to i64
%288 = icmp slt i64 %285, %287
br i1 %288, label %289, label %322
289: ; preds = %284
%290 = load i32, i32* %37
%291 = load i32, i32* %42
%292 = add nsw i32 %290, %291
store i32 %292, i32* %37
%293 = load double*, double** %21
%294 = load i64, i64* %27
%295 = getelementptr inbounds double, double* %293, i64 %294
%296 = load double, double* %295
%297 = load double*, double** %16
%298 = load i32, i32* %11
%299 = load i32, i32* %37
%300 = mul nsw i32 %298, %299
%301 = load i32, i32* %33
%302 = add nsw i32 %300, %301
%303 = sext i32 %302 to i64
%304 = getelementptr inbounds double, double* %297, i64 %303
store double %296, double* %304
%305 = load double*, double** %24
%306 = load i64, i64* %27
%307 = getelementptr inbounds double, double* %305, i64 %306
%308 = load double, double* %307
%309 = load double*, double** %17
%310 = load i32, i32* %11
%311 = load i32, i32* %32
%312 = load i32, i32* %37
%313 = add nsw i32 %311, %312
%314 = mul nsw i32 %310, %313
%315 = load i32, i32* %33
%316 = add nsw i32 %314, %315
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds double, double* %309, i64 %317
store double %308, double* %318
br label %319
319: ; preds = %289
%320 = load i64, i64* %27
%321 = add nsw i64 %320, 1
store i64 %321, i64* %27
br label %284
322: ; preds = %284
br label %323
323: ; preds = %322
%324 = load i32, i32* %34
%325 = add nsw i32 %324, 1
store i32 %325, i32* %34
br label %238
326: ; preds = %238
br label %327
327: ; preds = %326
%328 = load i32, i32* %33
%329 = add nsw i32 %328, 1
store i32 %329, i32* %33
br label %233
330: ; preds = %233
%331 = load i32, i32* %11
%332 = icmp sgt i32 %331, 1
br i1 %332, label %333, label %487
333: ; preds = %330
%334 = load i32, i32* %11
%335 = load i32, i32* %30
%336 = sdiv i32 %334, %335
store i32 %336, i32* %39
store i32 0, i32* %37
br label %337
337: ; preds = %483, %333
%338 = load i32, i32* %37
%339 = load i32, i32* %12
%340 = icmp slt i32 %338, %339
br i1 %340, label %341, label %486
341: ; preds = %337
store i32 0, i32* %38
br label %342
342: ; preds = %479, %341
%343 = load i32, i32* %38
%344 = load i32, i32* %39
%345 = icmp slt i32 %343, %344
br i1 %345, label %346, label %482
346: ; preds = %342
%347 = load i32, i32* %42
%348 = sub nsw i32 0, %347
%349 = load i32, i32* %38
%350 = add nsw i32 %348, %349
store i32 %350, i32* %33
store i64 0, i64* %27
br label %351
351: ; preds = %386, %346
%352 = load i64, i64* %27
%353 = load i32, i32* %30
%354 = sext i32 %353 to i64
%355 = icmp slt i64 %352, %354
br i1 %355, label %356, label %389
356: ; preds = %351
%357 = load i32, i32* %33
%358 = load i32, i32* %42
%359 = add nsw i32 %357, %358
store i32 %359, i32* %33
%360 = load double*, double** %16
%361 = load i32, i32* %11
%362 = load i32, i32* %37
%363 = mul nsw i32 %361, %362
%364 = load i32, i32* %33
%365 = add nsw i32 %363, %364
%366 = sext i32 %365 to i64
%367 = getelementptr inbounds double, double* %360, i64 %366
%368 = load double, double* %367
%369 = load double*, double** %25
%370 = load i64, i64* %27
%371 = getelementptr inbounds double, double* %369, i64 %370
store double %368, double* %371
%372 = load double*, double** %17
%373 = load i32, i32* %11
%374 = load i32, i32* %32
%375 = load i32, i32* %37
%376 = add nsw i32 %374, %375
%377 = mul nsw i32 %373, %376
%378 = load i32, i32* %33
%379 = add nsw i32 %377, %378
%380 = sext i32 %379 to i64
%381 = getelementptr inbounds double, double* %372, i64 %380
%382 = load double, double* %381
%383 = load double*, double** %26
%384 = load i64, i64* %27
%385 = getelementptr inbounds double, double* %383, i64 %384
store double %382, double* %385
br label %386
386: ; preds = %356
%387 = load i64, i64* %27
%388 = add nsw i64 %387, 1
store i64 %388, i64* %27
br label %351
389: ; preds = %351
%390 = load double*, double** %25
%391 = load i32, i32* %30
%392 = load double*, double** %19
%393 = load double*, double** %20
%394 = load i32, i32* %14
%395 = load double*, double** %21
%396 = load double*, double** %22
%397 = call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %390, i32 %391, double* %392, double* %393, i32 %394, double* %395, double* %396)
%398 = load double*, double** %26
%399 = load i32, i32* %30
%400 = load double*, double** %19
%401 = load double*, double** %20
%402 = load i32, i32* %14
%403 = load double*, double** %23
%404 = load double*, double** %24
%405 = call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %398, i32 %399, double* %400, double* %401, i32 %402, double* %403, double* %404)
%406 = load i32, i32* %42
%407 = sub nsw i32 0, %406
%408 = load i32, i32* %38
%409 = add nsw i32 %407, %408
store i32 %409, i32* %33
store i64 0, i64* %27
br label %410
410: ; preds = %475, %389
%411 = load i64, i64* %27
%412 = load i32, i32* %30
%413 = sext i32 %412 to i64
%414 = icmp slt i64 %411, %413
br i1 %414, label %415, label %478
415: ; preds = %410
%416 = load i32, i32* %33
%417 = load i32, i32* %42
%418 = add nsw i32 %416, %417
store i32 %418, i32* %33
%419 = load double*, double** %21
%420 = load i64, i64* %27
%421 = getelementptr inbounds double, double* %419, i64 %420
%422 = load double, double* %421
%423 = load double*, double** %16
%424 = load i32, i32* %11
%425 = load i32, i32* %37
%426 = mul nsw i32 %424, %425
%427 = load i32, i32* %33
%428 = add nsw i32 %426, %427
%429 = sext i32 %428 to i64
%430 = getelementptr inbounds double, double* %423, i64 %429
store double %422, double* %430
%431 = load double*, double** %22
%432 = load i64, i64* %27
%433 = getelementptr inbounds double, double* %431, i64 %432
%434 = load double, double* %433
%435 = load double*, double** %17
%436 = load i32, i32* %11
%437 = load i32, i32* %32
%438 = load i32, i32* %37
%439 = add nsw i32 %437, %438
%440 = mul nsw i32 %436, %439
%441 = load i32, i32* %33
%442 = add nsw i32 %440, %441
%443 = sext i32 %442 to i64
%444 = getelementptr inbounds double, double* %435, i64 %443
store double %434, double* %444
%445 = load double*, double** %23
%446 = load i64, i64* %27
%447 = getelementptr inbounds double, double* %445, i64 %446
%448 = load double, double* %447
%449 = load double*, double** %17
%450 = load i32, i32* %11
%451 = load i32, i32* %32
%452 = load i32, i32* %12
%453 = add nsw i32 %451, %452
%454 = load i32, i32* %37
%455 = add nsw i32 %453, %454
%456 = mul nsw i32 %450, %455
%457 = load i32, i32* %33
%458 = add nsw i32 %456, %457
%459 = sext i32 %458 to i64
%460 = getelementptr inbounds double, double* %449, i64 %459
store double %448, double* %460
%461 = load double*, double** %24
%462 = load i64, i64* %27
%463 = getelementptr inbounds double, double* %461, i64 %462
%464 = load double, double* %463
%465 = load double*, double** %17
%466 = load i32, i32* %11
%467 = load i32, i32* %41
%468 = load i32, i32* %37
%469 = add nsw i32 %467, %468
%470 = mul nsw i32 %466, %469
%471 = load i32, i32* %33
%472 = add nsw i32 %470, %471
%473 = sext i32 %472 to i64
%474 = getelementptr inbounds double, double* %465, i64 %473
store double %464, double* %474
br label %475
475: ; preds = %415
%476 = load i64, i64* %27
%477 = add nsw i64 %476, 1
store i64 %477, i64* %27
br label %410
478: ; preds = %410
br label %479
479: ; preds = %478
%480 = load i32, i32* %38
%481 = add nsw i32 %480, 1
store i32 %481, i32* %38
br label %342
482: ; preds = %342
br label %483
483: ; preds = %482
%484 = load i32, i32* %37
%485 = add nsw i32 %484, 1
store i32 %485, i32* %37
br label %337
486: ; preds = %337
br label %487
487: ; preds = %486, %330
%488 = load i32, i32* %42
%489 = mul nsw i32 %488, 2
store i32 %489, i32* %42
br label %490
490: ; preds = %487
%491 = load i32, i32* %29
%492 = add nsw i32 %491, 1
store i32 %492, i32* %29
br label %203
493: ; preds = %203
%494 = load i32, i32* %9
ret i32 %494
}

LLVM IR (-O2):
define i32 @MRDWT(double* nocapture %0, i32 %1, i32 %2, double* nocapture %3, i32 %4, i32 %5, double* nocapture %6, double* nocapture %7) {
%9 = icmp sgt i32 %1, %2
%10 = select i1 %9, i32 %1, i32 %2
%11 = add i32 %4, -1
%12 = add i32 %11, %10
%13 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %12, i64 8)
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to double*
%16 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %12, i64 8)
%17 = sext i32 %16 to i64
%18 = inttoptr i64 %17 to double*
%19 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %10, i64 8)
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to double*
%22 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %10, i64 8)
%23 = sext i32 %22 to i64
%24 = inttoptr i64 %23 to double*
%25 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %10, i64 8)
%26 = sext i32 %25 to i64
%27 = inttoptr i64 %26 to double*
%28 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %10, i64 8)
%29 = sext i32 %28 to i64
%30 = inttoptr i64 %29 to double*
%31 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %4, i64 8)
%32 = sext i32 %31 to i64
%33 = inttoptr i64 %32 to double*
%34 = inttoptr i64 %32 to i8*
%35 = tail call i32 (i32, i64, ...) bitcast (i32 (...)* @mxCalloc to i32 (i32, i64, ...)*)(i32 %4, i64 8)
%36 = sext i32 %35 to i64
%37 = inttoptr i64 %36 to double*
%38 = inttoptr i64 %36 to i8*
%39 = icmp eq i32 %2, 1
%40 = select i1 %39, i32 %1, i32 %2
%41 = select i1 %39, i32 1, i32 %1
%42 = sext i32 %4 to i64
%43 = icmp sgt i32 %4, 0
br i1 %43, label %44, label %246
44: ; preds = %8
%45 = icmp ult i32 %4, 4
br i1 %45, label %164, label %46
46: ; preds = %44
%47 = getelementptr double, double* %33, i64 %42
%48 = bitcast double* %47 to i8*
%49 = getelementptr double, double* %37, i64 %42
%50 = bitcast double* %49 to i8*
%51 = getelementptr double, double* %3, i64 %42
%52 = bitcast double* %51 to i8*
%53 = icmp ult i8* %34, %50
%54 = icmp ult i8* %38, %48
%55 = and i1 %53, %54
%56 = icmp ult i8* %34, %52
%57 = icmp ugt double* %47, %3
%58 = and i1 %56, %57
%59 = or i1 %55, %58
%60 = icmp ult i8* %38, %52
%61 = icmp ugt double* %49, %3
%62 = and i1 %60, %61
%63 = or i1 %59, %62
br i1 %63, label %164, label %64
64: ; preds = %46
%65 = and i64 %42, -4
%66 = add nsw i64 %65, -4
%67 = lshr exact i64 %66, 2
%68 = add nuw nsw i64 %67, 1
%69 = and i64 %68, 1
%70 = icmp eq i64 %66, 0
br i1 %70, label %132, label %71
71: ; preds = %64
%72 = and i64 %68, 9223372036854775806
br label %73
73: ; preds = %73, %71
%74 = phi i64 [ 0, %71 ], [ %129, %73 ]
%75 = phi i64 [ 0, %71 ], [ %130, %73 ]
%76 = xor i64 %74, -1
%77 = add nsw i64 %76, %42
%78 = getelementptr inbounds double, double* %3, i64 %77
%79 = getelementptr inbounds double, double* %78, i64 -1
%80 = bitcast double* %79 to <2 x double>*
%81 = load <2 x double>, <2 x double>* %80
%82 = shufflevector <2 x double> %81, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%83 = getelementptr inbounds double, double* %78, i64 -2
%84 = getelementptr inbounds double, double* %83, i64 -1
%85 = bitcast double* %84 to <2 x double>*
%86 = load <2 x double>, <2 x double>* %85
%87 = shufflevector <2 x double> %86, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%88 = getelementptr inbounds double, double* %33, i64 %74
%89 = bitcast double* %88 to <2 x double>*
store <2 x double> %82, <2 x double>* %89
%90 = getelementptr inbounds double, double* %88, i64 2
%91 = bitcast double* %90 to <2 x double>*
store <2 x double> %87, <2 x double>* %91
%92 = getelementptr inbounds double, double* %3, i64 %74
%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 = getelementptr inbounds double, double* %37, i64 %74
%99 = bitcast double* %98 to <2 x double>*
store <2 x double> %94, <2 x double>* %99
%100 = getelementptr inbounds double, double* %98, i64 2
%101 = bitcast double* %100 to <2 x double>*
store <2 x double> %97, <2 x double>* %101
%102 = or i64 %74, 4
%103 = sub nuw nsw i64 -5, %74
%104 = add nsw i64 %103, %42
%105 = getelementptr inbounds double, double* %3, i64 %104
%106 = getelementptr inbounds double, double* %105, i64 -1
%107 = bitcast double* %106 to <2 x double>*
%108 = load <2 x double>, <2 x double>* %107
%109 = shufflevector <2 x double> %108, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%110 = getelementptr inbounds double, double* %105, i64 -2
%111 = getelementptr inbounds double, double* %110, i64 -1
%112 = bitcast double* %111 to <2 x double>*
%113 = load <2 x double>, <2 x double>* %112
%114 = shufflevector <2 x double> %113, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%115 = getelementptr inbounds double, double* %33, i64 %102
%116 = bitcast double* %115 to <2 x double>*
store <2 x double> %109, <2 x double>* %116
%117 = getelementptr inbounds double, double* %115, i64 2
%118 = bitcast double* %117 to <2 x double>*
store <2 x double> %114, <2 x double>* %118
%119 = getelementptr inbounds double, double* %3, i64 %102
%120 = bitcast double* %119 to <2 x double>*
%121 = load <2 x double>, <2 x double>* %120
%122 = getelementptr inbounds double, double* %119, i64 2
%123 = bitcast double* %122 to <2 x double>*
%124 = load <2 x double>, <2 x double>* %123
%125 = getelementptr inbounds double, double* %37, i64 %102
%126 = bitcast double* %125 to <2 x double>*
store <2 x double> %121, <2 x double>* %126
%127 = getelementptr inbounds double, double* %125, i64 2
%128 = bitcast double* %127 to <2 x double>*
store <2 x double> %124, <2 x double>* %128
%129 = add nuw i64 %74, 8
%130 = add i64 %75, 2
%131 = icmp eq i64 %130, %72
br i1 %131, label %132, label %73
132: ; preds = %73, %64
%133 = phi i64 [ 0, %64 ], [ %129, %73 ]
%134 = icmp eq i64 %69, 0
br i1 %134, label %162, label %135
135: ; preds = %132
%136 = xor i64 %133, -1
%137 = add nsw i64 %136, %42
%138 = getelementptr inbounds double, double* %3, i64 %137
%139 = getelementptr inbounds double, double* %138, i64 -1
%140 = bitcast double* %139 to <2 x double>*
%141 = load <2 x double>, <2 x double>* %140
%142 = shufflevector <2 x double> %141, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%143 = getelementptr inbounds double, double* %138, i64 -2
%144 = getelementptr inbounds double, double* %143, i64 -1
%145 = bitcast double* %144 to <2 x double>*
%146 = load <2 x double>, <2 x double>* %145
%147 = shufflevector <2 x double> %146, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%148 = getelementptr inbounds double, double* %33, i64 %133
%149 = bitcast double* %148 to <2 x double>*
store <2 x double> %142, <2 x double>* %149
%150 = getelementptr inbounds double, double* %148, i64 2
%151 = bitcast double* %150 to <2 x double>*
store <2 x double> %147, <2 x double>* %151
%152 = getelementptr inbounds double, double* %3, i64 %133
%153 = bitcast double* %152 to <2 x double>*
%154 = load <2 x double>, <2 x double>* %153
%155 = getelementptr inbounds double, double* %152, i64 2
%156 = bitcast double* %155 to <2 x double>*
%157 = load <2 x double>, <2 x double>* %156
%158 = getelementptr inbounds double, double* %37, i64 %133
%159 = bitcast double* %158 to <2 x double>*
store <2 x double> %154, <2 x double>* %159
%160 = getelementptr inbounds double, double* %158, i64 2
%161 = bitcast double* %160 to <2 x double>*
store <2 x double> %157, <2 x double>* %161
br label %162
162: ; preds = %132, %135
%163 = icmp eq i64 %65, %42
br i1 %163, label %183, label %164
164: ; preds = %46, %44, %162
%165 = phi i64 [ 0, %46 ], [ 0, %44 ], [ %65, %162 ]
%166 = xor i64 %165, -1
%167 = and i64 %42, 1
%168 = icmp eq i64 %167, 0
br i1 %168, label %179, label %169
169: ; preds = %164
%170 = xor i64 %165, -1
%171 = add nsw i64 %170, %42
%172 = getelementptr inbounds double, double* %3, i64 %171
%173 = load double, double* %172
%174 = getelementptr inbounds double, double* %33, i64 %165
store double %173, double* %174
%175 = getelementptr inbounds double, double* %3, i64 %165
%176 = load double, double* %175
%177 = getelementptr inbounds double, double* %37, i64 %165
store double %176, double* %177
%178 = or i64 %165, 1
br label %179
179: ; preds = %169, %164
%180 = phi i64 [ %165, %164 ], [ %178, %169 ]
%181 = sub nsw i64 0, %42
%182 = icmp eq i64 %166, %181
br i1 %182, label %183, label %192
183: ; preds = %179, %192, %162
br i1 %43, label %184, label %246
184: ; preds = %183
%185 = add nsw i64 %42, -1
%186 = lshr i64 %185, 1
%187 = add nuw i64 %186, 1
%188 = and i64 %187, 3
%189 = icmp ult i64 %185, 6
br i1 %189, label %234, label %190
190: ; preds = %184
%191 = and i64 %187, -4
br label %213
192: ; preds = %179, %192
%193 = phi i64 [ %211, %192 ], [ %180, %179 ]
%194 = xor i64 %193, -1
%195 = add nsw i64 %194, %42
%196 = getelementptr inbounds double, double* %3, i64 %195
%197 = load double, double* %196
%198 = getelementptr inbounds double, double* %33, i64 %193
store double %197, double* %198
%199 = getelementptr inbounds double, double* %3, i64 %193
%200 = load double, double* %199
%201 = getelementptr inbounds double, double* %37, i64 %193
store double %200, double* %201
%202 = add nuw nsw i64 %193, 1
%203 = sub i64 -2, %193
%204 = add nsw i64 %203, %42
%205 = getelementptr inbounds double, double* %3, i64 %204
%206 = load double, double* %205
%207 = getelementptr inbounds double, double* %33, i64 %202
store double %206, double* %207
%208 = getelementptr inbounds double, double* %3, i64 %202
%209 = load double, double* %208
%210 = getelementptr inbounds double, double* %37, i64 %202
store double %209, double* %210
%211 = add nuw nsw i64 %193, 2
%212 = icmp eq i64 %211, %42
br i1 %212, label %183, label %192
213: ; preds = %213, %190
%214 = phi i64 [ 0, %190 ], [ %231, %213 ]
%215 = phi i64 [ 0, %190 ], [ %232, %213 ]
%216 = getelementptr inbounds double, double* %37, i64 %214
%217 = load double, double* %216
%218 = fneg double %217
store double %218, double* %216
%219 = or i64 %214, 2
%220 = getelementptr inbounds double, double* %37, i64 %219
%221 = load double, double* %220
%222 = fneg double %221
store double %222, double* %220
%223 = or i64 %214, 4
%224 = getelementptr inbounds double, double* %37, i64 %223
%225 = load double, double* %224
%226 = fneg double %225
store double %226, double* %224
%227 = or i64 %214, 6
%228 = getelementptr inbounds double, double* %37, i64 %227
%229 = load double, double* %228
%230 = fneg double %229
store double %230, double* %228
%231 = add nuw nsw i64 %214, 8
%232 = add i64 %215, 4
%233 = icmp eq i64 %232, %191
br i1 %233, label %234, label %213
234: ; preds = %213, %184
%235 = phi i64 [ 0, %184 ], [ %231, %213 ]
%236 = icmp eq i64 %188, 0
br i1 %236, label %246, label %237
237: ; preds = %234, %237
%238 = phi i64 [ %243, %237 ], [ %235, %234 ]
%239 = phi i64 [ %244, %237 ], [ 0, %234 ]
%240 = getelementptr inbounds double, double* %37, i64 %238
%241 = load double, double* %240
%242 = fneg double %241
store double %242, double* %240
%243 = add nuw nsw i64 %238, 2
%244 = add i64 %239, 1
%245 = icmp eq i64 %244, %188
br i1 %245, label %246, label %237
246: ; preds = %234, %237, %8, %183
%247 = shl nsw i32 %41, 1
%248 = shl nsw i32 %40, 1
%249 = mul nsw i32 %41, %40
%250 = sext i32 %249 to i64
%251 = icmp sgt i32 %249, 0
br i1 %251, label %252, label %357
252: ; preds = %246
%253 = icmp ult i32 %249, 4
br i1 %253, label %339, label %254
254: ; preds = %252
%255 = getelementptr double, double* %6, i64 %250
%256 = getelementptr double, double* %0, i64 %250
%257 = icmp ugt double* %256, %6
%258 = icmp ugt double* %255, %0
%259 = and i1 %257, %258
br i1 %259, label %339, label %260
260: ; preds = %254
%261 = and i64 %250, -4
%262 = add nsw i64 %261, -4
%263 = lshr exact i64 %262, 2
%264 = add nuw nsw i64 %263, 1
%265 = and i64 %264, 3
%266 = icmp ult i64 %262, 12
br i1 %266, label %318, label %267
267: ; preds = %260
%268 = and i64 %264, 9223372036854775804
br label %269
269: ; preds = %269, %267
%270 = phi i64 [ 0, %267 ], [ %315, %269 ]
%271 = phi i64 [ 0, %267 ], [ %316, %269 ]
%272 = getelementptr inbounds double, double* %0, i64 %270
%273 = bitcast double* %272 to <2 x double>*
%274 = load <2 x double>, <2 x double>* %273
%275 = getelementptr inbounds double, double* %272, i64 2
%276 = bitcast double* %275 to <2 x double>*
%277 = load <2 x double>, <2 x double>* %276
%278 = getelementptr inbounds double, double* %6, i64 %270
%279 = bitcast double* %278 to <2 x double>*
store <2 x double> %274, <2 x double>* %279
%280 = getelementptr inbounds double, double* %278, i64 2
%281 = bitcast double* %280 to <2 x double>*
store <2 x double> %277, <2 x double>* %281
%282 = or i64 %270, 4
%283 = getelementptr inbounds double, double* %0, i64 %282
%284 = bitcast double* %283 to <2 x double>*
%285 = load <2 x double>, <2 x double>* %284
%286 = getelementptr inbounds double, double* %283, i64 2
%287 = bitcast double* %286 to <2 x double>*
%288 = load <2 x double>, <2 x double>* %287
%289 = getelementptr inbounds double, double* %6, i64 %282
%290 = bitcast double* %289 to <2 x double>*
store <2 x double> %285, <2 x double>* %290
%291 = getelementptr inbounds double, double* %289, i64 2
%292 = bitcast double* %291 to <2 x double>*
store <2 x double> %288, <2 x double>* %292
%293 = or i64 %270, 8
%294 = getelementptr inbounds double, double* %0, i64 %293
%295 = bitcast double* %294 to <2 x double>*
%296 = load <2 x double>, <2 x double>* %295
%297 = getelementptr inbounds double, double* %294, i64 2
%298 = bitcast double* %297 to <2 x double>*
%299 = load <2 x double>, <2 x double>* %298
%300 = getelementptr inbounds double, double* %6, i64 %293
%301 = bitcast double* %300 to <2 x double>*
store <2 x double> %296, <2 x double>* %301
%302 = getelementptr inbounds double, double* %300, i64 2
%303 = bitcast double* %302 to <2 x double>*
store <2 x double> %299, <2 x double>* %303
%304 = or i64 %270, 12
%305 = getelementptr inbounds double, double* %0, i64 %304
%306 = bitcast double* %305 to <2 x double>*
%307 = load <2 x double>, <2 x double>* %306
%308 = getelementptr inbounds double, double* %305, i64 2
%309 = bitcast double* %308 to <2 x double>*
%310 = load <2 x double>, <2 x double>* %309
%311 = getelementptr inbounds double, double* %6, i64 %304
%312 = bitcast double* %311 to <2 x double>*
store <2 x double> %307, <2 x double>* %312
%313 = getelementptr inbounds double, double* %311, i64 2
%314 = bitcast double* %313 to <2 x double>*
store <2 x double> %310, <2 x double>* %314
%315 = add nuw i64 %270, 16
%316 = add nuw i64 %271, 4
%317 = icmp eq i64 %316, %268
br i1 %317, label %318, label %269
318: ; preds = %269, %260
%319 = phi i64 [ 0, %260 ], [ %315, %269 ]
%320 = icmp eq i64 %265, 0
br i1 %320, label %337, label %321
321: ; preds = %318, %321
%322 = phi i64 [ %334, %321 ], [ %319, %318 ]
%323 = phi i64 [ %335, %321 ], [ 0, %318 ]
%324 = getelementptr inbounds double, double* %0, i64 %322
%325 = bitcast double* %324 to <2 x double>*
%326 = load <2 x double>, <2 x double>* %325
%327 = getelementptr inbounds double, double* %324, i64 2
%328 = bitcast double* %327 to <2 x double>*
%329 = load <2 x double>, <2 x double>* %328
%330 = getelementptr inbounds double, double* %6, i64 %322
%331 = bitcast double* %330 to <2 x double>*
store <2 x double> %326, <2 x double>* %331
%332 = getelementptr inbounds double, double* %330, i64 2
%333 = bitcast double* %332 to <2 x double>*
store <2 x double> %329, <2 x double>* %333
%334 = add nuw i64 %322, 4
%335 = add i64 %323, 1
%336 = icmp eq i64 %335, %265
br i1 %336, label %337, label %321
337: ; preds = %321, %318
%338 = icmp eq i64 %261, %250
br i1 %338, label %357, label %339
339: ; preds = %254, %252, %337
%340 = phi i64 [ 0, %254 ], [ 0, %252 ], [ %261, %337 ]
%341 = xor i64 %340, -1
%342 = add nsw i64 %341, %250
%343 = and i64 %250, 3
%344 = icmp eq i64 %343, 0
br i1 %344, label %354, label %345
345: ; preds = %339, %345
%346 = phi i64 [ %351, %345 ], [ %340, %339 ]
%347 = phi i64 [ %352, %345 ], [ 0, %339 ]
%348 = getelementptr inbounds double, double* %0, i64 %346
%349 = load double, double* %348
%350 = getelementptr inbounds double, double* %6, i64 %346
store double %349, double* %350
%351 = add nuw nsw i64 %346, 1
%352 = add i64 %347, 1
%353 = icmp eq i64 %352, %343
br i1 %353, label %354, label %345
354: ; preds = %345, %339
%355 = phi i64 [ %340, %339 ], [ %351, %345 ]
%356 = icmp ult i64 %342, 3
br i1 %356, label %357, label %369
357: ; preds = %354, %369, %337, %246
%358 = icmp slt i32 %5, 1
br i1 %358, label %621, label %359
359: ; preds = %357
%360 = icmp eq i32 %41, 1
%361 = mul nsw i32 %40, 3
%362 = icmp sgt i32 %41, 0
%363 = icmp sgt i32 %41, 1
%364 = icmp sgt i32 %40, 0
%365 = sext i32 %41 to i64
%366 = select i1 %360, i32 %40, i32 %361
%367 = zext i32 %41 to i64
%368 = zext i32 %40 to i64
br label %388
369: ; preds = %354, %369
%370 = phi i64 [ %386, %369 ], [ %355, %354 ]
%371 = getelementptr inbounds double, double* %0, i64 %370
%372 = load double, double* %371
%373 = getelementptr inbounds double, double* %6, i64 %370
store double %372, double* %373
%374 = add nuw nsw i64 %370, 1
%375 = getelementptr inbounds double, double* %0, i64 %374
%376 = load double, double* %375
%377 = getelementptr inbounds double, double* %6, i64 %374
store double %376, double* %377
%378 = add nuw nsw i64 %370, 2
%379 = getelementptr inbounds double, double* %0, i64 %378
%380 = load double, double* %379
%381 = getelementptr inbounds double, double* %6, i64 %378
store double %380, double* %381
%382 = add nuw nsw i64 %370, 3
%383 = getelementptr inbounds double, double* %0, i64 %382
%384 = load double, double* %383
%385 = getelementptr inbounds double, double* %6, i64 %382
store double %384, double* %385
%386 = add nuw nsw i64 %370, 4
%387 = icmp eq i64 %386, %250
br i1 %387, label %357, label %369
388: ; preds = %359, %617
%389 = phi i32 [ 1, %359 ], [ %618, %617 ]
%390 = phi i32 [ 1, %359 ], [ %619, %617 ]
%391 = phi i32 [ %247, %359 ], [ %393, %617 ]
%392 = phi i32 [ %248, %359 ], [ %394, %617 ]
%393 = sdiv i32 %391, 2
%394 = sdiv i32 %392, 2
%395 = add nsw i32 %390, -1
%396 = mul nsw i32 %395, %366
%397 = sdiv i32 %40, %394
br i1 %362, label %398, label %510
398: ; preds = %388
%399 = icmp sgt i32 %397, 0
%400 = sext i32 %394 to i64
%401 = icmp sgt i32 %392, 1
%402 = sub i32 0, %389
%403 = sext i32 %389 to i64
%404 = sext i32 %396 to i64
%405 = sub i32 %397, %389
%406 = add nsw i64 %400, -1
%407 = and i64 %400, 1
%408 = icmp eq i64 %406, 0
%409 = and i64 %400, -2
%410 = icmp eq i64 %407, 0
%411 = and i64 %400, 1
%412 = icmp eq i64 %406, 0
%413 = and i64 %400, -2
%414 = icmp eq i64 %411, 0
br label %415
415: ; preds = %398, %507
%416 = phi i64 [ 0, %398 ], [ %508, %507 ]
br i1 %399, label %417, label %507
417: ; preds = %415, %504
%418 = phi i32 [ %505, %504 ], [ %402, %415 ]
%419 = sext i32 %418 to i64
br i1 %401, label %420, label %421
420: ; preds = %417
br i1 %408, label %443, label %423
421: ; preds = %417
%422 = tail call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %15, i32 %394, double* %33, double* %37, i32 %4, double* %21, double* %30)
br label %504
423: ; preds = %420, %423
%424 = phi i64 [ %434, %423 ], [ %419, %420 ]
%425 = phi i64 [ %440, %423 ], [ 0, %420 ]
%426 = phi i64 [ %441, %423 ], [ 0, %420 ]
%427 = add i64 %424, %403
%428 = mul nsw i64 %427, %365
%429 = add nsw i64 %428, %416
%430 = getelementptr inbounds double, double* %6, i64 %429
%431 = load double, double* %430
%432 = getelementptr inbounds double, double* %15, i64 %425
store double %431, double* %432
%433 = or i64 %425, 1
%434 = add i64 %427, %403
%435 = mul nsw i64 %434, %365
%436 = add nsw i64 %435, %416
%437 = getelementptr inbounds double, double* %6, i64 %436
%438 = load double, double* %437
%439 = getelementptr inbounds double, double* %15, i64 %433
store double %438, double* %439
%440 = add nuw nsw i64 %425, 2
%441 = add i64 %426, 2
%442 = icmp eq i64 %441, %409
br i1 %442, label %443, label %423
443: ; preds = %423, %420
%444 = phi i64 [ %419, %420 ], [ %434, %423 ]
%445 = phi i64 [ 0, %420 ], [ %440, %423 ]
br i1 %410, label %453, label %446
446: ; preds = %443
%447 = add i64 %444, %403
%448 = mul nsw i64 %447, %365
%449 = add nsw i64 %448, %416
%450 = getelementptr inbounds double, double* %6, i64 %449
%451 = load double, double* %450
%452 = getelementptr inbounds double, double* %15, i64 %445
store double %451, double* %452
br label %453
453: ; preds = %443, %446
%454 = tail call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %15, i32 %394, double* %33, double* %37, i32 %4, double* %21, double* %30)
br i1 %401, label %455, label %504
455: ; preds = %453
br i1 %412, label %488, label %456
456: ; preds = %455, %456
%457 = phi i64 [ %473, %456 ], [ %419, %455 ]
%458 = phi i64 [ %485, %456 ], [ 0, %455 ]
%459 = phi i64 [ %486, %456 ], [ 0, %455 ]
%460 = add i64 %457, %403
%461 = getelementptr inbounds double, double* %21, i64 %458
%462 = load double, double* %461
%463 = mul nsw i64 %460, %365
%464 = add nsw i64 %463, %416
%465 = getelementptr inbounds double, double* %6, i64 %464
store double %462, double* %465
%466 = getelementptr inbounds double, double* %30, i64 %458
%467 = load double, double* %466
%468 = add nsw i64 %460, %404
%469 = mul nsw i64 %468, %365
%470 = add nsw i64 %469, %416
%471 = getelementptr inbounds double, double* %7, i64 %470
store double %467, double* %471
%472 = or i64 %458, 1
%473 = add i64 %460, %403
%474 = getelementptr inbounds double, double* %21, i64 %472
%475 = load double, double* %474
%476 = mul nsw i64 %473, %365
%477 = add nsw i64 %476, %416
%478 = getelementptr inbounds double, double* %6, i64 %477
store double %475, double* %478
%479 = getelementptr inbounds double, double* %30, i64 %472
%480 = load double, double* %479
%481 = add nsw i64 %473, %404
%482 = mul nsw i64 %481, %365
%483 = add nsw i64 %482, %416
%484 = getelementptr inbounds double, double* %7, i64 %483
store double %480, double* %484
%485 = add nuw nsw i64 %458, 2
%486 = add i64 %459, 2
%487 = icmp eq i64 %486, %413
br i1 %487, label %488, label %456
488: ; preds = %456, %455
%489 = phi i64 [ %419, %455 ], [ %473, %456 ]
%490 = phi i64 [ 0, %455 ], [ %485, %456 ]
br i1 %414, label %504, label %491
491: ; preds = %488
%492 = add i64 %489, %403
%493 = getelementptr inbounds double, double* %21, i64 %490
%494 = load double, double* %493
%495 = mul nsw i64 %492, %365
%496 = add nsw i64 %495, %416
%497 = getelementptr inbounds double, double* %6, i64 %496
store double %494, double* %497
%498 = getelementptr inbounds double, double* %30, i64 %490
%499 = load double, double* %498
%500 = add nsw i64 %492, %404
%501 = mul nsw i64 %500, %365
%502 = add nsw i64 %501, %416
%503 = getelementptr inbounds double, double* %7, i64 %502
store double %499, double* %503
br label %504
504: ; preds = %491, %488, %421, %453
%505 = add i32 %418, 1
%506 = icmp eq i32 %505, %405
br i1 %506, label %507, label %417
507: ; preds = %504, %415
%508 = add nuw nsw i64 %416, 1
%509 = icmp eq i64 %508, %367
br i1 %509, label %510, label %415
510: ; preds = %507, %388
br i1 %363, label %511, label %617
511: ; preds = %510
%512 = sdiv i32 %41, %393
br i1 %364, label %513, label %617
513: ; preds = %511
%514 = icmp sgt i32 %512, 0
%515 = sext i32 %393 to i64
%516 = icmp sgt i32 %391, 1
%517 = sub i32 0, %389
%518 = sext i32 %389 to i64
%519 = sub i32 %512, %389
%520 = sext i32 %396 to i64
%521 = and i64 %515, 1
%522 = and i32 %391, -2
%523 = icmp eq i32 %522, 2
%524 = and i64 %515, -2
%525 = icmp eq i64 %521, 0
br label %526
526: ; preds = %513, %614
%527 = phi i64 [ 0, %513 ], [ %615, %614 ]
br i1 %514, label %528, label %614
528: ; preds = %526
%529 = mul nsw i64 %527, %365
%530 = add nsw i64 %527, %520
%531 = mul nsw i64 %530, %365
%532 = trunc i64 %527 to i32
%533 = add i32 %396, %532
%534 = add i32 %533, %40
%535 = mul nsw i32 %534, %41
%536 = add i32 %533, %248
%537 = mul nsw i32 %536, %41
%538 = sext i32 %535 to i64
%539 = sext i32 %537 to i64
br label %540
540: ; preds = %528, %611
%541 = phi i32 [ %517, %528 ], [ %612, %611 ]
%542 = sext i32 %541 to i64
br i1 %516, label %543, label %608
543: ; preds = %540
br i1 %523, label %570, label %544
544: ; preds = %543, %544
%545 = phi i64 [ %558, %544 ], [ %542, %543 ]
%546 = phi i64 [ %567, %544 ], [ 0, %543 ]
%547 = phi i64 [ %568, %544 ], [ 0, %543 ]
%548 = add i64 %545, %518
%549 = add nsw i64 %548, %529
%550 = getelementptr inbounds double, double* %6, i64 %549
%551 = load double, double* %550
%552 = getelementptr inbounds double, double* %15, i64 %546
store double %551, double* %552
%553 = add nsw i64 %548, %531
%554 = getelementptr inbounds double, double* %7, i64 %553
%555 = load double, double* %554
%556 = getelementptr inbounds double, double* %18, i64 %546
store double %555, double* %556
%557 = or i64 %546, 1
%558 = add i64 %548, %518
%559 = add nsw i64 %558, %529
%560 = getelementptr inbounds double, double* %6, i64 %559
%561 = load double, double* %560
%562 = getelementptr inbounds double, double* %15, i64 %557
store double %561, double* %562
%563 = add nsw i64 %558, %531
%564 = getelementptr inbounds double, double* %7, i64 %563
%565 = load double, double* %564
%566 = getelementptr inbounds double, double* %18, i64 %557
store double %565, double* %566
%567 = add nuw nsw i64 %546, 2
%568 = add i64 %547, 2
%569 = icmp eq i64 %568, %524
br i1 %569, label %570, label %544
570: ; preds = %544, %543
%571 = phi i64 [ %542, %543 ], [ %558, %544 ]
%572 = phi i64 [ 0, %543 ], [ %567, %544 ]
br i1 %525, label %583, label %573
573: ; preds = %570
%574 = add i64 %571, %518
%575 = add nsw i64 %574, %529
%576 = getelementptr inbounds double, double* %6, i64 %575
%577 = load double, double* %576
%578 = getelementptr inbounds double, double* %15, i64 %572
store double %577, double* %578
%579 = add nsw i64 %574, %531
%580 = getelementptr inbounds double, double* %7, i64 %579
%581 = load double, double* %580
%582 = getelementptr inbounds double, double* %18, i64 %572
store double %581, double* %582
br label %583
583: ; preds = %570, %573
%584 = tail call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %15, i32 %393, double* %33, double* %37, i32 %4, double* %21, double* %24)
%585 = tail call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %18, i32 %393, double* %33, double* %37, i32 %4, double* %27, double* %30)
br i1 %516, label %586, label %611
586: ; preds = %583, %586
%587 = phi i64 [ %589, %586 ], [ %542, %583 ]
%588 = phi i64 [ %606, %586 ], [ 0, %583 ]
%589 = add i64 %587, %518
%590 = getelementptr inbounds double, double* %21, i64 %588
%591 = load double, double* %590
%592 = add nsw i64 %589, %529
%593 = getelementptr inbounds double, double* %6, i64 %592
store double %591, double* %593
%594 = getelementptr inbounds double, double* %24, i64 %588
%595 = load double, double* %594
%596 = add nsw i64 %589, %531
%597 = getelementptr inbounds double, double* %7, i64 %596
store double %595, double* %597
%598 = getelementptr inbounds double, double* %27, i64 %588
%599 = load double, double* %598
%600 = add nsw i64 %589, %538
%601 = getelementptr inbounds double, double* %7, i64 %600
store double %599, double* %601
%602 = getelementptr inbounds double, double* %30, i64 %588
%603 = load double, double* %602
%604 = add nsw i64 %589, %539
%605 = getelementptr inbounds double, double* %7, i64 %604
store double %603, double* %605
%606 = add nuw nsw i64 %588, 1
%607 = icmp eq i64 %606, %515
br i1 %607, label %611, label %586
608: ; preds = %540
%609 = tail call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %15, i32 %393, double* %33, double* %37, i32 %4, double* %21, double* %24)
%610 = tail call i32 (double*, i32, double*, double*, i32, double*, double*, ...) bitcast (i32 (...)* @fpconv to i32 (double*, i32, double*, double*, i32, double*, double*, ...)*)(double* %18, i32 %393, double* %33, double* %37, i32 %4, double* %27, double* %30)
br label %611
611: ; preds = %586, %608, %583
%612 = add i32 %541, 1
%613 = icmp eq i32 %612, %519
br i1 %613, label %614, label %540
614: ; preds = %611, %526
%615 = add nuw nsw i64 %527, 1
%616 = icmp eq i64 %615, %368
br i1 %616, label %617, label %526
617: ; preds = %614, %511, %510
%618 = shl nsw i32 %389, 1
%619 = add nuw i32 %390, 1
%620 = icmp eq i32 %390, %5
br i1 %620, label %621, label %388
621: ; preds = %617, %357
ret i32 undef
}