// File: /workspace/github_cpp_makefile_star2_O1/Sleepwalking[P]world-octave/fft.cpp
// Function: cftf082(double*, double*)
void cftf082(double *a, double *w) {
  double wn4r, wk1r, wk1i, x0r, x0i, x1r, x1i,
    y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i,
    y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i;

  wn4r = w[1];
  wk1r = w[2];
  wk1i = w[3];
  y0r = a[0] - a[9];
  y0i = a[1] + a[8];
  y1r = a[0] + a[9];
  y1i = a[1] - a[8];
  x0r = a[4] - a[13];
  x0i = a[5] + a[12];
  y2r = wn4r * (x0r - x0i);
  y2i = wn4r * (x0i + x0r);
  x0r = a[4] + a[13];
  x0i = a[5] - a[12];
  y3r = wn4r * (x0r - x0i);
  y3i = wn4r * (x0i + x0r);
  x0r = a[2] - a[11];
  x0i = a[3] + a[10];
  y4r = wk1r * x0r - wk1i * x0i;
  y4i = wk1r * x0i + wk1i * x0r;
  x0r = a[2] + a[11];
  x0i = a[3] - a[10];
  y5r = wk1i * x0r - wk1r * x0i;
  y5i = wk1i * x0i + wk1r * x0r;
  x0r = a[6] - a[15];
  x0i = a[7] + a[14];
  y6r = wk1i * x0r - wk1r * x0i;
  y6i = wk1i * x0i + wk1r * x0r;
  x0r = a[6] + a[15];
  x0i = a[7] - a[14];
  y7r = wk1r * x0r - wk1i * x0i;
  y7i = wk1r * x0i + wk1i * x0r;
  x0r = y0r + y2r;
  x0i = y0i + y2i;
  x1r = y4r + y6r;
  x1i = y4i + y6i;
  a[0] = x0r + x1r;
  a[1] = x0i + x1i;
  a[2] = x0r - x1r;
  a[3] = x0i - x1i;
  x0r = y0r - y2r;
  x0i = y0i - y2i;
  x1r = y4r - y6r;
  x1i = y4i - y6i;
  a[4] = x0r - x1i;
  a[5] = x0i + x1r;
  a[6] = x0r + x1i;
  a[7] = x0i - x1r;
  x0r = y1r - y3i;
  x0i = y1i + y3r;
  x1r = y5r - y7r;
  x1i = y5i - y7i;
  a[8] = x0r + x1r;
  a[9] = x0i + x1i;
  a[10] = x0r - x1r;
  a[11] = x0i - x1i;
  x0r = y1r + y3i;
  x0i = y1i - y3r;
  x1r = y5r + y7r;
  x1i = y5i + y7i;
  a[12] = x0r - x1i;
  a[13] = x0i + x1r;
  a[14] = x0r + x1i;
  a[15] = x0i - x1r;
}

// Assembly:
movsd 0x8(%rsi), %xmm0
movsd 0x10(%rsi), %xmm8
movsd 0x48(%rdi), %xmm2
movsd (%rdi), %xmm3
movsd 0x8(%rdi), %xmm1
movapd %xmm3, %xmm4
subsd %xmm2, %xmm4
movsd %xmm4, -0x38(%rsp)
movsd 0x40(%rdi), %xmm5
movapd %xmm1, %xmm4
addsd %xmm5, %xmm4
movsd %xmm4, -0x20(%rsp)
addsd %xmm2, %xmm3
movsd %xmm3, -0x8(%rsp)
subsd %xmm5, %xmm1
movsd %xmm1, -0x10(%rsp)
movsd 0x20(%rdi), %xmm6
movsd 0x68(%rdi), %xmm5
movapd %xmm6, %xmm9
subsd %xmm5, %xmm9
movsd 0x28(%rdi), %xmm7
movsd 0x60(%rdi), %xmm10
movapd %xmm7, %xmm1
addsd %xmm10, %xmm1
movapd %xmm9, %xmm4
subsd %xmm1, %xmm4
mulsd %xmm0, %xmm4
addsd %xmm9, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, -0x28(%rsp)
addsd %xmm5, %xmm6
subsd %xmm10, %xmm7
movapd %xmm6, %xmm1
subsd %xmm7, %xmm1
mulsd %xmm0, %xmm1
movsd %xmm1, -0x18(%rsp)
addsd %xmm6, %xmm7
mulsd %xmm0, %xmm7
movsd 0x10(%rdi), %xmm6
movsd 0x58(%rdi), %xmm0
movapd %xmm6, %xmm10
subsd %xmm0, %xmm10
movsd 0x18(%rdi), %xmm11
movsd 0x50(%rdi), %xmm1
movapd %xmm11, %xmm15
addsd %xmm1, %xmm15
movapd %xmm8, %xmm12
mulsd %xmm15, %xmm12
movsd 0x18(%rsi), %xmm9
mulsd %xmm9, %xmm15
movapd %xmm8, %xmm13
mulsd %xmm10, %xmm13
subsd %xmm15, %xmm13
mulsd %xmm9, %xmm10
addsd %xmm12, %xmm10
subsd %xmm1, %xmm11
movapd %xmm9, %xmm12
mulsd %xmm11, %xmm12
mulsd %xmm8, %xmm11
addsd %xmm0, %xmm6
movapd %xmm9, %xmm0
mulsd %xmm6, %xmm0
mulsd %xmm8, %xmm6
subsd %xmm11, %xmm0
movsd %xmm0, -0x30(%rsp)
addsd %xmm12, %xmm6
movsd 0x38(%rdi), %xmm1
movsd 0x70(%rdi), %xmm12
movapd %xmm1, %xmm11
addsd %xmm12, %xmm11
movapd %xmm9, %xmm14
mulsd %xmm11, %xmm14
mulsd %xmm8, %xmm11
movsd 0x30(%rdi), %xmm15
movsd 0x78(%rdi), %xmm3
movapd %xmm15, %xmm0
subsd %xmm3, %xmm0
movapd %xmm9, %xmm2
mulsd %xmm0, %xmm2
subsd %xmm11, %xmm2
mulsd %xmm8, %xmm0
addsd %xmm14, %xmm0
addsd %xmm3, %xmm15
subsd %xmm12, %xmm1
movapd %xmm1, %xmm3
mulsd %xmm8, %xmm1
movapd %xmm8, %xmm12
mulsd %xmm9, %xmm3
mulsd %xmm15, %xmm12
subsd %xmm3, %xmm12
mulsd %xmm9, %xmm15
addsd %xmm15, %xmm1
movsd -0x38(%rsp), %xmm3
movapd %xmm4, %xmm15
addsd %xmm4, %xmm3
movapd %xmm13, %xmm8
addsd %xmm2, %xmm8
movapd %xmm3, %xmm9
addsd %xmm8, %xmm9
movsd %xmm9, (%rdi)
movsd -0x20(%rsp), %xmm5
movapd %xmm5, %xmm9
movsd -0x28(%rsp), %xmm4
addsd %xmm4, %xmm9
movapd %xmm10, %xmm11
addsd %xmm0, %xmm11
movapd %xmm9, %xmm14
addsd %xmm11, %xmm14
movsd %xmm14, 0x8(%rdi)
subsd %xmm8, %xmm3
movsd %xmm3, 0x10(%rdi)
subsd %xmm11, %xmm9
movsd %xmm9, 0x18(%rdi)
movsd -0x38(%rsp), %xmm8
subsd %xmm15, %xmm8
subsd %xmm4, %xmm5
subsd %xmm2, %xmm13
subsd %xmm0, %xmm10
movapd %xmm8, %xmm0
subsd %xmm10, %xmm0
movsd %xmm0, 0x20(%rdi)
movapd %xmm5, %xmm0
addsd %xmm13, %xmm0
movsd %xmm0, 0x28(%rdi)
addsd %xmm8, %xmm10
movsd %xmm10, 0x30(%rdi)
subsd %xmm13, %xmm5
movsd %xmm5, 0x38(%rdi)
movsd -0x8(%rsp), %xmm9
movapd %xmm9, %xmm0
subsd %xmm7, %xmm0
movsd -0x10(%rsp), %xmm10
movapd %xmm10, %xmm2
movsd -0x18(%rsp), %xmm11
addsd %xmm11, %xmm2
movsd -0x30(%rsp), %xmm5
movapd %xmm5, %xmm3
subsd %xmm12, %xmm3
movapd %xmm6, %xmm4
subsd %xmm1, %xmm4
movapd %xmm0, %xmm8
addsd %xmm3, %xmm8
movsd %xmm8, 0x40(%rdi)
movapd %xmm2, %xmm8
addsd %xmm4, %xmm8
movsd %xmm8, 0x48(%rdi)
subsd %xmm3, %xmm0
movsd %xmm0, 0x50(%rdi)
subsd %xmm4, %xmm2
movsd %xmm2, 0x58(%rdi)
addsd %xmm9, %xmm7
movapd %xmm10, %xmm2
subsd %xmm11, %xmm2
addsd %xmm5, %xmm12
addsd %xmm6, %xmm1
movapd %xmm7, %xmm0
subsd %xmm1, %xmm0
movsd %xmm0, 0x60(%rdi)
movapd %xmm2, %xmm0
addsd %xmm12, %xmm0
movsd %xmm0, 0x68(%rdi)
addsd %xmm7, %xmm1
movsd %xmm1, 0x70(%rdi)
subsd %xmm12, %xmm2
movsd %xmm2, 0x78(%rdi)
retq