#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*/ bitrv2(int, int *, double *);
int /*<<< orphan*/ cftfsub(int, double *, double *);
int /*<<< orphan*/ dstsub(int, double *, int, double *);
int /*<<< orphan*/ makect(int, int *, double *);
int /*<<< orphan*/ makewt(int, int *, double *);
int /*<<< orphan*/ rftfsub(int, double *, int, double *);
void lsx_dfst(int n, double *a, double *t, int *ip, double *w) {
  int j, k, l, m, mh, nw, nc;
  double xr, xi, yr, yi;
  nw = ip[0];
  if (n > (nw << 3)) {
    nw = n >> 3;
    makewt(nw, ip, w);
  }
  nc = ip[1];
  if (n > (nc << 1)) {
    nc = n >> 1;
    makect(nc, ip, w + nw);
  }
  if (n > 2) {
    m = n >> 1;
    mh = m >> 1;
    for (j = 1; j < mh; j++) {
      k = m - j;
      xr = a[j] + a[n - j];
      xi = a[j] - a[n - j];
      yr = a[k] + a[n - k];
      yi = a[k] - a[n - k];
      a[j] = xr;
      a[k] = yr;
      t[j] = xi + yi;
      t[k] = xi - yi;
    }
    t[0] = a[mh] - a[n - mh];
    a[mh] += a[n - mh];
    a[0] = a[m];
    dstsub(m, a, nc, w + nw);
    if (m > 4) {
      bitrv2(m, ip + 2, a);
      cftfsub(m, a, w);
      rftfsub(m, a, nc, w + nw);
    } else if (m == 4) {
      cftfsub(m, a, w);
    }
    a[n - 1] = a[1] - a[0];
    a[1] = a[0] + a[1];
    for (j = m - 2; j >= 2; j -= 2) {
      a[2 * j + 1] = a[j] - a[j + 1];
      a[2 * j - 1] = -a[j] - a[j + 1];
    }
    l = 2;
    m = mh;
    while (m >= 2) {
      dstsub(m, t, nc, w + nw);
      if (m > 4) {
        bitrv2(m, ip + 2, t);
        cftfsub(m, t, w);
        rftfsub(m, t, nc, w + nw);
      } else if (m == 4) {
        cftfsub(m, t, w);
      }
      a[n - l] = t[1] - t[0];
      a[l] = t[0] + t[1];
      k = 0;
      for (j = 2; j < m; j += 2) {
        k += l << 2;
        a[k - l] = -t[j] - t[j + 1];
        a[k + l] = t[j] - t[j + 1];
      }
      l <<= 1;
      mh = m >> 1;
      for (j = 1; j < mh; j++) {
        k = m - j;
        t[j] = t[m + k] + t[m + j];
        t[k] = t[m + k] - t[m + j];
      }
      t[0] = t[m + mh];
      m = mh;
    }
    a[l] = t[0];
  }
  a[0] = 0;
}


x86 assembly (clang, -O0):
<lsx_dfst>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x40(%rbp)
mov    -0x4(%rbp),%eax
mov    -0x40(%rbp),%ecx
shl    $0x3,%ecx
cmp    %ecx,%eax
jle    11ae <lsx_dfst+0x4e>
mov    -0x4(%rbp),%eax
sar    $0x3,%eax
mov    %eax,-0x40(%rbp)
mov    -0x40(%rbp),%edi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1030 <makewt@plt>
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%eax
mov    %eax,-0x44(%rbp)
mov    -0x4(%rbp),%eax
mov    -0x44(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
jle    11ed <lsx_dfst+0x8d>
mov    -0x4(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x44(%rbp),%edi
mov    -0x20(%rbp),%rsi
mov    -0x28(%rbp),%rdx
movslq -0x40(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdx
call   1070 <makect@plt>
cmpl   $0x2,-0x4(%rbp)
jle    174b <lsx_dfst+0x5eb>
mov    -0x4(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x3c(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    1315 <lsx_dfst+0x1b5>
mov    -0x38(%rbp),%eax
sub    -0x2c(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x2c(%rbp),%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x2c(%rbp),%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x30(%rbp),%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x30(%rbp),%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x50(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
addsd  -0x68(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm0
subsd  -0x68(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1210 <lsx_dfst+0xb0>
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x3c(%rbp),%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x3c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x3c(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x38(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x38(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x44(%rbp),%edx
mov    -0x28(%rbp),%rcx
movslq -0x40(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rcx
call   1060 <dstsub@plt>
cmpl   $0x4,-0x38(%rbp)
jle    13e4 <lsx_dfst+0x284>
mov    -0x38(%rbp),%edi
mov    -0x20(%rbp),%rsi
add    $0x8,%rsi
mov    -0x10(%rbp),%rdx
call   1050 <bitrv2@plt>
mov    -0x38(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1080 <cftfsub@plt>
mov    -0x38(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x44(%rbp),%edx
mov    -0x28(%rbp),%rcx
movslq -0x40(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rcx
call   1040 <rftfsub@plt>
jmp    1403 <lsx_dfst+0x2a3>
cmpl   $0x4,-0x38(%rbp)
jne    13fe <lsx_dfst+0x29e>
mov    -0x38(%rbp),%edi
mov    -0x10(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1080 <cftfsub@plt>
jmp    1403 <lsx_dfst+0x2a3>
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
addsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x38(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x2c(%rbp)
cmpl   $0x2,-0x2c(%rbp)
jl     14e0 <lsx_dfst+0x380>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
shl    $0x1,%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
shl    $0x1,%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    1449 <lsx_dfst+0x2e9>
movl   $0x2,-0x34(%rbp)
mov    -0x3c(%rbp),%eax
mov    %eax,-0x38(%rbp)
cmpl   $0x2,-0x38(%rbp)
jl     1736 <lsx_dfst+0x5d6>
mov    -0x38(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x44(%rbp),%edx
mov    -0x28(%rbp),%rcx
movslq -0x40(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rcx
call   1060 <dstsub@plt>
cmpl   $0x4,-0x38(%rbp)
jle    1566 <lsx_dfst+0x406>
mov    -0x38(%rbp),%edi
mov    -0x20(%rbp),%rsi
add    $0x8,%rsi
mov    -0x18(%rbp),%rdx
call   1050 <bitrv2@plt>
mov    -0x38(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1080 <cftfsub@plt>
mov    -0x38(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x44(%rbp),%edx
mov    -0x28(%rbp),%rcx
movslq -0x40(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rcx
call   1040 <rftfsub@plt>
jmp    1585 <lsx_dfst+0x425>
cmpl   $0x4,-0x38(%rbp)
jne    1580 <lsx_dfst+0x420>
mov    -0x38(%rbp),%edi
mov    -0x18(%rbp),%rsi
mov    -0x28(%rbp),%rdx
call   1080 <cftfsub@plt>
jmp    1585 <lsx_dfst+0x425>
mov    -0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x18(%rbp),%rax
subsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
addsd  0x8(%rax),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x0,-0x30(%rbp)
movl   $0x2,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    1673 <lsx_dfst+0x513>
mov    -0x34(%rbp),%eax
shl    $0x2,%eax
add    -0x30(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
sub    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    15d4 <lsx_dfst+0x474>
mov    -0x34(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x34(%rbp)
mov    -0x38(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x3c(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x3c(%rbp),%eax
jge    1711 <lsx_dfst+0x5b1>
mov    -0x38(%rbp),%eax
sub    -0x2c(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x38(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x38(%rbp),%ecx
add    -0x2c(%rbp),%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x38(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x38(%rbp),%ecx
add    -0x2c(%rbp),%ecx
movslq %ecx,%rcx
subsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x30(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    168c <lsx_dfst+0x52c>
mov    -0x18(%rbp),%rax
mov    -0x38(%rbp),%ecx
add    -0x3c(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x3c(%rbp),%eax
mov    %eax,-0x38(%rbp)
jmp    14ed <lsx_dfst+0x38d>
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x34(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lsx_dfst>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %r8,%r15
mov    %rcx,%r13
mov    %rdx,%rbx
mov    %rsi,%r14
mov    (%rcx),%ebp
lea    0x0(,%rbp,8),%eax
cmp    %edi,%eax
mov    %rdi,0x10(%rsp)
jge    11a3 <lsx_dfst+0x43>
mov    %edi,%ebp
sar    $0x3,%ebp
mov    %ebp,%edi
mov    %r13,%rsi
mov    %r15,%rdx
call   1030 <makewt@plt>
mov    0x10(%rsp),%rdi
mov    0x4(%r13),%eax
mov    %rax,0x28(%rsp)
add    %eax,%eax
movslq %ebp,%r12
cmp    %edi,%eax
jge    11cd <lsx_dfst+0x6d>
sar    %edi
lea    (%r15,%r12,8),%rdx
mov    %rdi,0x28(%rsp)
mov    %r13,%rsi
call   1070 <makect@plt>
mov    0x10(%rsp),%rdi
cmp    $0x3,%edi
jl     185b <lsx_dfst+0x6fb>
mov    %r13,0x38(%rsp)
mov    %r15,0x20(%rsp)
mov    %edi,%eax
shr    %eax
mov    %edi,%r15d
shr    $0x2,%r15d
mov    %rax,0x18(%rsp)
mov    %eax,%r8d
cmp    $0x8,%edi
jb     12a6 <lsx_dfst+0x146>
mov    %edi,%eax
cmp    $0x3,%r15d
mov    $0x2,%ebp
cmovae %r15d,%ebp
lea    (%r14,%rax,8),%r11
mov    $0x1,%edx
mov    $0x1,%esi
sub    %r8,%rsi
lea    (%r14,%r8,8),%rcx
add    $0xfffffffffffffff8,%rcx
lea    (%rbx,%r8,8),%r9
add    $0xfffffffffffffff8,%r9
lea    -0x8(,%rbp,8),%r10
ff
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
movsd  (%r14,%rdx,8),%xmm0
movsd  -0x8(%r11,%rax,1),%xmm1
movapd %xmm0,%xmm2
addsd  %xmm1,%xmm2
subsd  %xmm1,%xmm0
movsd  (%rcx,%rax,1),%xmm1
movsd  (%r11,%rsi,8),%xmm3
movapd %xmm1,%xmm4
addsd  %xmm3,%xmm4
subsd  %xmm3,%xmm1
movsd  %xmm2,(%r14,%rdx,8)
movsd  %xmm4,(%rcx,%rax,1)
movapd %xmm0,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,(%rbx,%rdx,8)
subsd  %xmm1,%xmm0
movsd  %xmm0,(%r9,%rax,1)
add    $0x1,%rdx
add    $0xfffffffffffffff8,%rax
add    $0x1,%rsi
mov    %r10,%rbp
add    %rax,%rbp
jne    1240 <lsx_dfst+0xe0>
mov    %r15d,%eax
movsd  (%r14,%rax,8),%xmm0
mov    %edi,%ecx
sub    %r15d,%ecx
movslq %ecx,%rcx
subsd  (%r14,%rcx,8),%xmm0
movsd  %xmm0,(%rbx)
movsd  (%r14,%rcx,8),%xmm0
addsd  (%r14,%rax,8),%xmm0
movsd  %xmm0,(%r14,%rax,8)
movsd  (%r14,%r8,8),%xmm0
movsd  %xmm0,(%r14)
mov    0x20(%rsp),%rbp
lea    0x0(%rbp,%r12,8),%r13
mov    0x18(%rsp),%r12
mov    %r12d,%edi
mov    %r14,%rsi
mov    0x28(%rsp),%rdx
mov    %r13,%rcx
call   1060 <dstsub@plt>
mov    0x10(%rsp),%rdi
cmp    $0xa,%edi
mov    %r13,0x70(%rsp)
jl     1346 <lsx_dfst+0x1e6>
mov    0x38(%rsp),%rax
lea    0x8(%rax),%rsi
mov    %r12d,%edi
mov    %r14,%rdx
call   1050 <bitrv2@plt>
mov    %r12d,%edi
mov    %r14,%rsi
mov    %rbp,%rdx
call   1080 <cftfsub@plt>
mov    %r12d,%edi
mov    %r14,%rsi
mov    0x28(%rsp),%rdx
mov    %r13,%rcx
call   1040 <rftfsub@plt>
jmp    135e <lsx_dfst+0x1fe>
cmp    $0x4,%r12d
jne    1363 <lsx_dfst+0x203>
mov    $0x4,%edi
mov    %r14,%rsi
mov    0x20(%rsp),%rdx
call   1080 <cftfsub@plt>
mov    0x10(%rsp),%rdi
lea    -0x1(%rdi),%eax
movsd  0x8(%r14),%xmm0
subsd  (%r14),%xmm0
movsd  %xmm0,(%r14,%rax,8)
movsd  (%r14),%xmm0
addsd  0x8(%r14),%xmm0
movsd  %xmm0,0x8(%r14)
cmp    $0x8,%edi
jb     1831 <lsx_dfst+0x6d1>
mov    %r12d,%eax
add    $0x2,%eax
lea    (%r12,%r12,1),%ecx
add    $0xfffffffb,%ecx
movapd 0xc5a(%rip),%xmm2
cs nopw 0x0(%rax,%rax,1)
lea    -0x4(%rax),%edx
movsd  (%r14,%rdx,8),%xmm0
lea    -0x3(%rax),%edx
movapd %xmm0,%xmm1
subsd  (%r14,%rdx,8),%xmm1
lea    0x2(%rcx),%esi
movsd  %xmm1,(%r14,%rsi,8)
xorpd  %xmm2,%xmm0
subsd  (%r14,%rdx,8),%xmm0
mov    %ecx,%edx
movsd  %xmm0,(%r14,%rdx,8)
add    $0xfffffffe,%eax
add    $0xfffffffc,%ecx
cmp    $0x5,%eax
jg     13b0 <lsx_dfst+0x250>
cmp    $0x7,%edi
jbe    1831 <lsx_dfst+0x6d1>
addq   $0x8,0x38(%rsp)
lea    -0x8(%rbx),%rax
mov    %rax,0x18(%rsp)
lea    0x8(%rbx),%rax
mov    %rax,0x50(%rsp)
lea    -0x10(%rbx),%rax
mov    %rax,0x48(%rsp)
mov    $0x2,%r12d
jmp    1437 <lsx_dfst+0x2d7>
xchg   %ax,%ax
lea    (%r15,%r13,1),%eax
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,(%rbx)
cmp    $0x3,%r13d
jbe    1852 <lsx_dfst+0x6f2>
mov    %r15d,%r13d
mov    %r15d,%edi
mov    %rbx,%rsi
mov    0x28(%rsp),%rbp
mov    %ebp,%edx
mov    0x70(%rsp),%r15
mov    %r15,%rcx
call   1060 <dstsub@plt>
cmp    $0x5,%r13d
jb     14a0 <lsx_dfst+0x340>
mov    %r13d,%edi
mov    0x38(%rsp),%rsi
mov    %rbx,%rdx
call   1050 <bitrv2@plt>
mov    %r13d,%edi
mov    %rbx,%rsi
mov    0x20(%rsp),%rdx
call   1080 <cftfsub@plt>
mov    %r13d,%edi
mov    %rbx,%rsi
mov    %ebp,%edx
mov    %r15,%rcx
call   1040 <rftfsub@plt>
mov    0x10(%rsp),%rax
movapd 0xb69(%rip),%xmm1
jmp    14d2 <lsx_dfst+0x372>
nopl   0x0(%rax)
cmp    $0x4,%r13d
mov    0x10(%rsp),%rax
movapd 0xb4f(%rip),%xmm1
jne    14d2 <lsx_dfst+0x372>
mov    $0x4,%edi
mov    %rbx,%rsi
mov    0x20(%rsp),%rdx
call   1080 <cftfsub@plt>
movapd 0xb33(%rip),%xmm1
mov    0x10(%rsp),%rax
movsd  0x8(%rbx),%xmm0
subsd  (%rbx),%xmm0
sub    %r12d,%eax
cltq
movsd  %xmm0,(%r14,%rax,8)
movsd  (%rbx),%xmm0
addsd  0x8(%rbx),%xmm0
movslq %r12d,%rax
movsd  %xmm0,(%r14,%rax,8)
cmp    $0x2,%r13d
jbe    183c <lsx_dfst+0x6dc>
lea    0x0(,%r12,4),%edx
mov    %r13d,%ecx
movslq %edx,%rbp
lea    (%r14,%rax,8),%rdx
shl    $0x3,%rax
mov    %r14,%rsi
sub    %rax,%rsi
mov    $0x2,%edi
mov    %rbp,%rax
cs nopw 0x0(%rax,%rax,1)
movsd  (%rbx,%rdi,8),%xmm0
xorpd  %xmm1,%xmm0
subsd  0x8(%rbx,%rdi,8),%xmm0
movsd  %xmm0,(%rsi,%rax,8)
movsd  (%rbx,%rdi,8),%xmm0
subsd  0x8(%rbx,%rdi,8),%xmm0
movsd  %xmm0,(%rdx,%rax,8)
add    $0x2,%rdi
add    %rbp,%rax
cmp    %rcx,%rdi
jb     1530 <lsx_dfst+0x3d0>
add    %r12d,%r12d
mov    %r13d,%r15d
shr    %r15d
cmp    $0x4,%r13d
jb     1845 <lsx_dfst+0x6e5>
cmp    $0x3,%r15d
mov    $0x2,%esi
cmovae %r15d,%esi
lea    -0x1(%rsi),%r8
mov    $0x1,%r11d
cmp    $0x2,%r8
jae    1670 <lsx_dfst+0x510>
mov    %r11,%rax
test   $0x1,%sil
jne    15d3 <lsx_dfst+0x473>
mov    %rcx,%rax
sub    %r11,%rax
lea    (%rax,%rcx,1),%rdx
mov    %rcx,%rdi
add    %r11,%rdi
movsd  (%rbx,%rdi,8),%xmm0
movsd  (%rbx,%rdx,8),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%r11,8)
movsd  (%rbx,%rdx,8),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rax,8)
lea    0x1(%r11),%rax
not    %r11
add    %rsi,%r11
je     1420 <lsx_dfst+0x2c0>
lea    (%rax,%rcx,1),%rdx
add    $0x1,%rdx
mov    %rcx,%rdi
sub    %rax,%rdi
shl    $0x4,%rcx
lea    0x0(,%rax,8),%rbp
sub    %rbp,%rcx
nopl   0x0(%rax)
movsd  -0x8(%rbx,%rdx,8),%xmm0
movsd  (%rbx,%rcx,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rax,8)
movsd  (%rbx,%rcx,1),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx,%rdi,8)
movsd  (%rbx,%rdx,8),%xmm0
movsd  -0x8(%rbx,%rcx,1),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rbx,%rax,8)
movsd  -0x8(%rbx,%rcx,1),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,-0x8(%rbx,%rdi,8)
add    $0x2,%rax
add    $0x2,%rdx
add    $0xfffffffffffffffe,%rdi
add    $0xfffffffffffffff0,%rcx
cmp    %rax,%rsi
jne    1600 <lsx_dfst+0x4a0>
jmp    1420 <lsx_dfst+0x2c0>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    -0x2(%rsi),%rax
mov    $0x8,%edx
mul    %rdx
mov    0x18(%rsp),%rdx
lea    (%rdx,%rcx,8),%rbp
seto   %r9b
mov    %rbp,%rdx
sub    %rax,%rdx
cmp    %rbp,%rdx
ja     1594 <lsx_dfst+0x434>
test   %r9b,%r9b
jne    1594 <lsx_dfst+0x434>
mov    %rcx,%rdx
shl    $0x4,%rdx
mov    0x18(%rsp),%rdi
add    %rdx,%rdi
mov    %rdi,%rbp
sub    %rax,%rbp
cmp    %rdi,%rbp
ja     1594 <lsx_dfst+0x434>
test   %r9b,%r9b
jne    1594 <lsx_dfst+0x434>
mov    %r8,0x60(%rsp)
mov    %r12,0x40(%rsp)
lea    (%rcx,%rcx,1),%rdi
mov    0x50(%rsp),%r12
cmp    %rbx,%r12
setb   0xc(%rsp)
lea    (%rbx,%rsi,8),%r10
lea    (%r12,%rcx,8),%rax
mov    %rax,0x30(%rsp)
lea    (%rcx,%rsi,1),%rax
lea    (%rbx,%rax,8),%r9
mov    %r9,0x68(%rsp)
mov    %rcx,%rax
sub    %rsi,%rax
lea    (%r12,%rax,8),%r8
lea    (%rbx,%rcx,8),%rax
mov    %rdi,%rbp
mov    %rdi,0x58(%rsp)
sub    %rsi,%rdi
lea    (%r12,%rdi,8),%rbp
add    %rbx,%rdx
cmp    %r9,%r12
setb   0xf(%rsp)
cmp    %r10,0x30(%rsp)
setb   0x30(%rsp)
cmp    %rax,%r12
setb   %dil
cmp    %r10,%r8
setb   0xe(%rsp)
cmp    %rdx,%r12
setb   %r9b
cmp    %r10,%rbp
setb   0xd(%rsp)
cmp    0x68(%rsp),%r8
setb   %r12b
cmp    %rdx,%r8
setb   %r10b
cmp    %rax,%rbp
setb   %bpl
mov    0x30(%rsp),%dl
test   %dl,0xf(%rsp)
jne    1827 <lsx_dfst+0x6c7>
mov    %r12d,%r8d
and    0xe(%rsp),%dil
mov    0x40(%rsp),%r12
jne    1594 <lsx_dfst+0x434>
and    0xd(%rsp),%r9b
jne    1594 <lsx_dfst+0x434>
and    %r8b,0xc(%rsp)
jne    1594 <lsx_dfst+0x434>
and    %bpl,%r10b
jne    1594 <lsx_dfst+0x434>
mov    0x60(%rsp),%r10
mov    %r10,%r8
and    $0xfffffffffffffffe,%r8
mov    %r10,%r11
or     $0x1,%r11
mov    0x48(%rsp),%rdx
mov    0x58(%rsp),%rdi
lea    (%rdx,%rdi,8),%rdx
mov    %r8,%r9
neg    %r9
mov    $0x8,%edi
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movupd (%rdx,%rbp,8),%xmm0
shufpd $0x1,%xmm0,%xmm0
movupd (%rax,%rdi,1),%xmm1
addpd  %xmm1,%xmm0
movupd %xmm0,(%rbx,%rdi,1)
movupd (%rdx,%rbp,8),%xmm0
shufpd $0x1,%xmm1,%xmm1
subpd  %xmm1,%xmm0
movupd %xmm0,-0x10(%rax,%rbp,8)
add    $0xfffffffffffffffe,%rbp
add    $0x10,%rdi
cmp    %rbp,%r9
jne    17e0 <lsx_dfst+0x680>
cmp    %r8,%r10
je     1420 <lsx_dfst+0x2c0>
jmp    1594 <lsx_dfst+0x434>
mov    0x40(%rsp),%r12
jmp    1594 <lsx_dfst+0x434>
movsd  (%rbx),%xmm0
mov    $0x2,%eax
jmp    1855 <lsx_dfst+0x6f5>
add    %r12d,%r12d
mov    %r13d,%r15d
shr    %r15d
add    %r13d,%r15d
movsd  (%rbx,%r15,8),%xmm0
movsd  %xmm0,(%rbx)
movslq %r12d,%rax
movsd  %xmm0,(%r14,%rax,8)
movq   $0x0,(%r14)
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @lsx_dfst(i32 %0, double* %1, double* %2, i32* %3, double* %4) {
%6 = load i32, i32* %3
%7 = shl i32 %6, 3
%8 = icmp slt i32 %7, %0
br i1 %8, label %9, label %12
9: ; preds = %5
%10 = ashr i32 %0, 3
%11 = tail call i32 @makewt(i32 %10, i32* %3, double* %4)
br label %12
12: ; preds = %9, %5
%13 = phi i32 [ %10, %9 ], [ %6, %5 ]
%14 = getelementptr inbounds i32, i32* %3, i64 1
%15 = load i32, i32* %14
%16 = shl i32 %15, 1
%17 = icmp slt i32 %16, %0
br i1 %17, label %18, label %23
18: ; preds = %12
%19 = ashr i32 %0, 1
%20 = sext i32 %13 to i64
%21 = getelementptr inbounds double, double* %4, i64 %20
%22 = tail call i32 @makect(i32 %19, i32* %3, double* %21)
br label %23
23: ; preds = %18, %12
%24 = phi i32 [ %19, %18 ], [ %15, %12 ]
%25 = icmp sgt i32 %0, 2
br i1 %25, label %26, label %351
26: ; preds = %23
%27 = lshr i32 %0, 1
%28 = lshr i32 %0, 2
%29 = icmp ugt i32 %0, 7
br i1 %29, label %30, label %58
30: ; preds = %26
%31 = zext i32 %27 to i64
%32 = zext i32 %0 to i64
%33 = call i32 @llvm.umax.i32(i32 %28, i32 2)
%34 = zext i32 %33 to i64
br label %35
35: ; preds = %30, %35
%36 = phi i64 [ 1, %30 ], [ %56, %35 ]
%37 = sub nsw i64 %31, %36
%38 = getelementptr inbounds double, double* %1, i64 %36
%39 = load double, double* %38
%40 = sub nsw i64 %32, %36
%41 = getelementptr inbounds double, double* %1, i64 %40
%42 = load double, double* %41
%43 = fadd double %39, %42
%44 = fsub double %39, %42
%45 = getelementptr inbounds double, double* %1, i64 %37
%46 = load double, double* %45
%47 = sub nsw i64 %32, %37
%48 = getelementptr inbounds double, double* %1, i64 %47
%49 = load double, double* %48
%50 = fadd double %46, %49
%51 = fsub double %46, %49
store double %43, double* %38
store double %50, double* %45
%52 = fadd double %44, %51
%53 = getelementptr inbounds double, double* %2, i64 %36
store double %52, double* %53
%54 = fsub double %44, %51
%55 = getelementptr inbounds double, double* %2, i64 %37
store double %54, double* %55
%56 = add nuw nsw i64 %36, 1
%57 = icmp eq i64 %56, %34
br i1 %57, label %58, label %35
58: ; preds = %35, %26
%59 = zext i32 %28 to i64
%60 = getelementptr inbounds double, double* %1, i64 %59
%61 = load double, double* %60
%62 = sub nsw i32 %0, %28
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, double* %1, i64 %63
%65 = load double, double* %64
%66 = fsub double %61, %65
store double %66, double* %2
%67 = load double, double* %64
%68 = load double, double* %60
%69 = fadd double %67, %68
store double %69, double* %60
%70 = zext i32 %27 to i64
%71 = getelementptr inbounds double, double* %1, i64 %70
%72 = load double, double* %71
store double %72, double* %1
%73 = sext i32 %13 to i64
%74 = getelementptr inbounds double, double* %4, i64 %73
%75 = tail call i32 @dstsub(i32 %27, double* %1, i32 %24, double* %74)
%76 = icmp sgt i32 %0, 9
br i1 %76, label %77, label %82
77: ; preds = %58
%78 = getelementptr inbounds i32, i32* %3, i64 2
%79 = tail call i32 @bitrv2(i32 %27, i32* %78, double* %1)
%80 = tail call i32 @cftfsub(i32 %27, double* %1, double* %4)
%81 = tail call i32 @rftfsub(i32 %27, double* %1, i32 %24, double* %74)
br label %86
82: ; preds = %58
%83 = icmp eq i32 %27, 4
br i1 %83, label %84, label %86
84: ; preds = %82
%85 = tail call i32 @cftfsub(i32 4, double* %1, double* %4)
br label %86
86: ; preds = %82, %84, %77
%87 = getelementptr inbounds double, double* %1, i64 1
%88 = load double, double* %87
%89 = load double, double* %1
%90 = fsub double %88, %89
%91 = add nsw i32 %0, -1
%92 = zext i32 %91 to i64
%93 = getelementptr inbounds double, double* %1, i64 %92
store double %90, double* %93
%94 = load double, double* %1
%95 = load double, double* %87
%96 = fadd double %94, %95
store double %96, double* %87
br i1 %29, label %112, label %98
97: ; preds = %112
br i1 %29, label %100, label %98
98: ; preds = %86, %97
%99 = load double, double* %2
br label %347
100: ; preds = %97
%101 = getelementptr inbounds i32, i32* %3, i64 2
%102 = getelementptr inbounds double, double* %2, i64 1
%103 = getelementptr double, double* %2, i64 -1
%104 = getelementptr double, double* %2, i64 -1
%105 = getelementptr double, double* %2, i64 1
%106 = getelementptr double, double* %2, i64 1
%107 = getelementptr double, double* %2, i64 1
%108 = getelementptr double, double* %2, i64 1
%109 = icmp ult double* %106, %2
%110 = getelementptr inbounds double, double* %2, i64 -1
%111 = getelementptr inbounds double, double* %2, i64 -1
br label %134
112: ; preds = %86, %112
%113 = phi i32 [ %114, %112 ], [ %27, %86 ]
%114 = add nsw i32 %113, -2
%115 = zext i32 %114 to i64
%116 = getelementptr inbounds double, double* %1, i64 %115
%117 = load double, double* %116
%118 = add nsw i32 %113, -1
%119 = zext i32 %118 to i64
%120 = getelementptr inbounds double, double* %1, i64 %119
%121 = load double, double* %120
%122 = fsub double %117, %121
%123 = shl nuw nsw i32 %114, 1
%124 = or i32 %123, 1
%125 = zext i32 %124 to i64
%126 = getelementptr inbounds double, double* %1, i64 %125
store double %122, double* %126
%127 = fneg double %117
%128 = load double, double* %120
%129 = fsub double %127, %128
%130 = add nsw i32 %123, -1
%131 = zext i32 %130 to i64
%132 = getelementptr inbounds double, double* %1, i64 %131
store double %129, double* %132
%133 = icmp sgt i32 %113, 5
br i1 %133, label %112, label %97
134: ; preds = %100, %331
%135 = phi i32 [ 2, %100 ], [ %188, %331 ]
%136 = phi i32 [ %28, %100 ], [ %189, %331 ]
%137 = tail call i32 @dstsub(i32 %136, double* %2, i32 %24, double* %74)
%138 = icmp ugt i32 %136, 4
br i1 %138, label %139, label %143
139: ; preds = %134
%140 = tail call i32 @bitrv2(i32 %136, i32* %101, double* %2)
%141 = tail call i32 @cftfsub(i32 %136, double* %2, double* %4)
%142 = tail call i32 @rftfsub(i32 %136, double* %2, i32 %24, double* %74)
br label %147
143: ; preds = %134
%144 = icmp eq i32 %136, 4
br i1 %144, label %145, label %147
145: ; preds = %143
%146 = tail call i32 @cftfsub(i32 4, double* %2, double* %4)
br label %147
147: ; preds = %143, %145, %139
%148 = load double, double* %102
%149 = load double, double* %2
%150 = fsub double %148, %149
%151 = sub nsw i32 %0, %135
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, double* %1, i64 %152
store double %150, double* %153
%154 = load double, double* %2
%155 = load double, double* %102
%156 = fadd double %154, %155
%157 = sext i32 %135 to i64
%158 = getelementptr inbounds double, double* %1, i64 %157
store double %156, double* %158
%159 = icmp ugt i32 %136, 2
br i1 %159, label %163, label %160
160: ; preds = %147
%161 = shl i32 %135, 1
%162 = lshr i32 %136, 1
br label %336
163: ; preds = %147
%164 = shl i32 %135, 2
%165 = zext i32 %136 to i64
%166 = sext i32 %164 to i64
br label %167
167: ; preds = %163, %167
%168 = phi i64 [ 0, %163 ], [ %170, %167 ]
%169 = phi i64 [ 2, %163 ], [ %185, %167 ]
%170 = add nsw i64 %168, %166
%171 = getelementptr inbounds double, double* %2, i64 %169
%172 = load double, double* %171
%173 = fneg double %172
%174 = or i64 %169, 1
%175 = getelementptr inbounds double, double* %2, i64 %174
%176 = load double, double* %175
%177 = fsub double %173, %176
%178 = sub nsw i64 %170, %157
%179 = getelementptr inbounds double, double* %1, i64 %178
store double %177, double* %179
%180 = load double, double* %171
%181 = load double, double* %175
%182 = fsub double %180, %181
%183 = add nsw i64 %170, %157
%184 = getelementptr inbounds double, double* %1, i64 %183
store double %182, double* %184
%185 = add nuw nsw i64 %169, 2
%186 = icmp ult i64 %185, %165
br i1 %186, label %167, label %187
187: ; preds = %167
%188 = shl i32 %135, 1
%189 = lshr i32 %136, 1
%190 = icmp ugt i32 %136, 3
br i1 %190, label %191, label %336
191: ; preds = %187
%192 = zext i32 %136 to i64
%193 = call i32 @llvm.umax.i32(i32 %189, i32 2)
%194 = zext i32 %193 to i64
%195 = add nsw i64 %194, -1
%196 = icmp ult i64 %195, 2
br i1 %196, label %279, label %197
197: ; preds = %191
%198 = add nsw i64 %194, -2
%199 = getelementptr double, double* %103, i64 %165
%200 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %198, i64 8)
%201 = extractvalue { i64, i1 } %200, 0
%202 = extractvalue { i64, i1 } %200, 1
%203 = bitcast double* %199 to i8*
%204 = sub i64 0, %201
%205 = getelementptr i8, i8* %203, i64 %204
%206 = icmp ugt i8* %205, %203
%207 = or i1 %206, %202
%208 = shl nuw nsw i64 %165, 1
%209 = getelementptr double, double* %104, i64 %208
%210 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %198, i64 8)
%211 = extractvalue { i64, i1 } %210, 0
%212 = extractvalue { i64, i1 } %210, 1
%213 = bitcast double* %209 to i8*
%214 = sub i64 0, %211
%215 = getelementptr i8, i8* %213, i64 %214
%216 = icmp ugt i8* %215, %213
%217 = or i1 %216, %212
%218 = or i1 %207, %217
br i1 %218, label %279, label %219
219: ; preds = %197
%220 = getelementptr double, double* %2, i64 %194
%221 = getelementptr double, double* %106, i64 %165
%222 = add nuw nsw i64 %165, %194
%223 = getelementptr double, double* %2, i64 %222
%224 = sub nsw i64 %165, %194
%225 = getelementptr double, double* %107, i64 %224
%226 = getelementptr double, double* %2, i64 %165
%227 = shl nuw nsw i64 %165, 1
%228 = sub nsw i64 %227, %194
%229 = getelementptr double, double* %108, i64 %228
%230 = getelementptr double, double* %2, i64 %227
%231 = icmp ult double* %105, %223
%232 = icmp ult double* %221, %220
%233 = and i1 %231, %232
%234 = icmp ult double* %105, %226
%235 = icmp ult double* %225, %220
%236 = and i1 %234, %235
%237 = or i1 %233, %236
%238 = icmp ult double* %105, %230
%239 = icmp ult double* %229, %220
%240 = and i1 %238, %239
%241 = or i1 %237, %240
%242 = icmp ult double* %225, %223
%243 = and i1 %109, %242
%244 = or i1 %241, %243
%245 = icmp ult double* %225, %230
%246 = icmp ult double* %229, %226
%247 = and i1 %245, %246
%248 = or i1 %244, %247
br i1 %248, label %279, label %249
249: ; preds = %219
%250 = and i64 %195, -2
%251 = or i64 %195, 1
br label %252
252: ; preds = %252, %249
%253 = phi i64 [ 0, %249 ], [ %275, %252 ]
%254 = or i64 %253, 1
%255 = sub nsw i64 %192, %254
%256 = add nsw i64 %255, %192
%257 = getelementptr inbounds double, double* %110, i64 %256
%258 = bitcast double* %257 to <2 x double>*
%259 = load <2 x double>, <2 x double>* %258
%260 = shufflevector <2 x double> %259, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%261 = add nuw nsw i64 %254, %192
%262 = getelementptr inbounds double, double* %2, i64 %261
%263 = bitcast double* %262 to <2 x double>*
%264 = load <2 x double>, <2 x double>* %263
%265 = fadd <2 x double> %260, %264
%266 = getelementptr inbounds double, double* %2, i64 %254
%267 = bitcast double* %266 to <2 x double>*
store <2 x double> %265, <2 x double>* %267
%268 = bitcast double* %257 to <2 x double>*
%269 = load <2 x double>, <2 x double>* %268
%270 = shufflevector <2 x double> %269, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%271 = fsub <2 x double> %270, %264
%272 = shufflevector <2 x double> %271, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%273 = getelementptr inbounds double, double* %111, i64 %255
%274 = bitcast double* %273 to <2 x double>*
store <2 x double> %272, <2 x double>* %274
%275 = add nuw i64 %253, 2
%276 = icmp eq i64 %275, %250
br i1 %276, label %277, label %252
277: ; preds = %252
%278 = icmp eq i64 %195, %250
br i1 %278, label %331, label %279
279: ; preds = %219, %197, %191, %277
%280 = phi i64 [ 1, %219 ], [ 1, %197 ], [ 1, %191 ], [ %251, %277 ]
%281 = xor i64 %280, -1
%282 = and i64 %194, 1
%283 = icmp eq i64 %282, 0
br i1 %283, label %284, label %298
284: ; preds = %279
%285 = sub nsw i64 %192, %280
%286 = add nsw i64 %285, %192
%287 = getelementptr inbounds double, double* %2, i64 %286
%288 = load double, double* %287
%289 = add nuw nsw i64 %280, %192
%290 = getelementptr inbounds double, double* %2, i64 %289
%291 = load double, double* %290
%292 = fadd double %288, %291
%293 = getelementptr inbounds double, double* %2, i64 %280
store double %292, double* %293
%294 = load double, double* %287
%295 = fsub double %294, %291
%296 = getelementptr inbounds double, double* %2, i64 %285
store double %295, double* %296
%297 = add nuw nsw i64 %280, 1
br label %298
298: ; preds = %284, %279
%299 = phi i64 [ %280, %279 ], [ %297, %284 ]
%300 = sub nsw i64 0, %194
%301 = icmp eq i64 %281, %300
br i1 %301, label %331, label %302
302: ; preds = %298, %302
%303 = phi i64 [ %329, %302 ], [ %299, %298 ]
%304 = sub nsw i64 %192, %303
%305 = add nsw i64 %304, %192
%306 = getelementptr inbounds double, double* %2, i64 %305
%307 = load double, double* %306
%308 = add nuw nsw i64 %303, %192
%309 = getelementptr inbounds double, double* %2, i64 %308
%310 = load double, double* %309
%311 = fadd double %307, %310
%312 = getelementptr inbounds double, double* %2, i64 %303
store double %311, double* %312
%313 = load double, double* %306
%314 = fsub double %313, %310
%315 = getelementptr inbounds double, double* %2, i64 %304
store double %314, double* %315
%316 = add nuw nsw i64 %303, 1
%317 = sub nsw i64 %192, %316
%318 = add nsw i64 %317, %192
%319 = getelementptr inbounds double, double* %2, i64 %318
%320 = load double, double* %319
%321 = add nuw nsw i64 %316, %192
%322 = getelementptr inbounds double, double* %2, i64 %321
%323 = load double, double* %322
%324 = fadd double %320, %323
%325 = getelementptr inbounds double, double* %2, i64 %316
store double %324, double* %325
%326 = load double, double* %319
%327 = fsub double %326, %323
%328 = getelementptr inbounds double, double* %2, i64 %317
store double %327, double* %328
%329 = add nuw nsw i64 %303, 2
%330 = icmp eq i64 %329, %194
br i1 %330, label %331, label %302
331: ; preds = %298, %302, %277
%332 = add nuw nsw i32 %189, %136
%333 = zext i32 %332 to i64
%334 = getelementptr inbounds double, double* %2, i64 %333
%335 = load double, double* %334
store double %335, double* %2
br i1 %190, label %134, label %343
336: ; preds = %187, %160
%337 = phi i32 [ %162, %160 ], [ %189, %187 ]
%338 = phi i32 [ %161, %160 ], [ %188, %187 ]
%339 = add nuw nsw i32 %337, %136
%340 = zext i32 %339 to i64
%341 = getelementptr inbounds double, double* %2, i64 %340
%342 = load double, double* %341
store double %342, double* %2
br label %343
343: ; preds = %331, %336
%344 = phi double [ %342, %336 ], [ %335, %331 ]
%345 = phi i32 [ %338, %336 ], [ %188, %331 ]
%346 = sext i32 %345 to i64
br label %347
347: ; preds = %98, %343
%348 = phi double [ %99, %98 ], [ %344, %343 ]
%349 = phi i64 [ 2, %98 ], [ %346, %343 ]
%350 = getelementptr inbounds double, double* %1, i64 %349
store double %348, double* %350
br label %351
351: ; preds = %347, %23
store double 0.000000e+00, double* %1
ret void
}