user: 下面的汇编指令对应的C源代码是什么:

```asm
<cftf1st>:
  endbr64
  sar    $0x3,%edi
  push   %r15
  movslq %edi,%r15
  push   %r14
  lea    0x0(,%r15,4),%eax
  push   %r13
  mov    %r15,%r8
  push   %r12
  lea    (%r15,%r15,1),%r12d
  shl    $0x4,%r8
  push   %rbp
  mov    %r15,%rbp
  push   %rbx
  mov    %rsi,%rbx
  mov    %rdx,%rsi
  movslq %eax,%rdx
  shl    $0x3,%rdx
  add    %r12d,%eax
  lea    (%rbx,%rdx,1),%r14
  cltq
  sub    $0x30,%rsp
  movupd (%r14),%xmm6
  movupd (%rbx),%xmm4
  mov    %r14,%rcx
  lea    (%rbx,%rax,8),%rax
  sub    %r8,%rcx
  subpd  %xmm6,%xmm4
  movapd %xmm6,%xmm1
  movupd (%rbx),%xmm6
  movupd (%rax),%xmm3
  addpd  %xmm6,%xmm1
  movupd (%rcx),%xmm6
  movapd %xmm4,%xmm2
  addpd  %xmm6,%xmm3
  movapd %xmm6,%xmm0
  movupd (%rax),%xmm6
  subpd  %xmm6,%xmm0
  shufpd $0x1,%xmm0,%xmm0
  subpd  %xmm0,%xmm2
  addpd  %xmm4,%xmm0
  movapd %xmm3,%xmm4
  addpd  %xmm1,%xmm4
  subpd  %xmm3,%xmm1
  movapd %xmm0,%xmm6
  movsd  %xmm2,%xmm6
  movsd  %xmm0,%xmm2
  movups %xmm4,(%rbx)
  movups %xmm1,(%rcx)
  movups %xmm6,(%r14)
  movups %xmm2,(%rax)
  movupd 0x8(%rsi),%xmm6
  unpcklpd %xmm6,%xmm6
  movaps %xmm6,0x18(%rsp)
  movsd  0x8(%rsi),%xmm6
  movsd  %xmm6,0x10(%rsp)
  movsd  0x10(%rsi),%xmm6
  movsd  %xmm6,(%rsp)
  movsd  0x18(%rsi),%xmm6
  movsd  %xmm6,0x8(%rsp)
  cmp    $0x4,%r15d
  jle    L21
  movslq %r12d,%rdi
  pxor   %xmm13,%xmm13
  lea    0x20(%rsi),%rax
  mov    %r14,%r10
  lea    0x1(%rdi),%r8
  movsd  D7(%rip),%xmm6
  lea    0x10(%rbx),%r11
  add    %r14,%rdx
  lea    (%rdi,%r8,2),%r8
  lea    (%rdi,%rdi,2),%rdi
  movsd  %xmm13,-0x20(%rsp)
  lea    (%rbx,%r8,8),%r9
  lea    -0x20(%rbx,%rdi,8),%r8
  movsd  %xmm6,-0x8(%rsp)
  lea    -0x5(%r15),%edi
  movsd  %xmm6,-0x28(%rsp)
  shr    $0x2,%edi
  shl    $0x5,%rdi
  lea    0x40(%rsi,%rdi,1),%r13
  mov    %r14,%rdi
  mov    %rcx,%rsi
  nopl   0x0(%rax)
L1:
  movsd  (%rax),%xmm5
  movupd (%rax),%xmm6
  add    $0x20,%rax
  add    $0x20,%r11
  movsd  -0x10(%rax),%xmm2
  movsd  -0x28(%rsp),%xmm4
  add    $0x20,%r10
  add    $0x20,%rcx
  movsd  -0x8(%rsp),%xmm0
  movsd  %xmm5,-0x28(%rsp)
  unpcklpd %xmm6,%xmm6
  movsd  -0x18(%rax),%xmm3
  addsd  %xmm5,%xmm4
  movupd -0x20(%rax),%xmm5
  movsd  %xmm2,-0x8(%rsp)
  movsd  (%rsp),%xmm7
  addsd  %xmm2,%xmm0
  movsd  0x8(%rsp),%xmm2
  movaps %xmm6,-0x68(%rsp)
  movsd  -0x20(%rsp),%xmm6
  unpckhpd %xmm5,%xmm5
  add    $0x20,%r9
  sub    $0x20,%rsi
  sub    $0x20,%r8
  movaps %xmm5,-0x58(%rsp)
  movapd %xmm13,%xmm5
  addsd  %xmm3,%xmm6
  movsd  -0x8(%rax),%xmm13
  mulsd  %xmm2,%xmm0
  movsd  %xmm3,-0x20(%rsp)
  movupd -0x10(%rax),%xmm3
  movupd (%r10),%xmm1
  addsd  %xmm13,%xmm5
  mulsd  %xmm7,%xmm4
  sub    $0x20,%rdi
  sub    $0x20,%rdx
  mulsd  %xmm7,%xmm6
  movupd -0x10(%rax),%xmm7
  movupd (%r10),%xmm12
  unpckhpd %xmm3,%xmm3
  movaps %xmm3,-0x38(%rsp)
  movupd -0x10(%rcx),%xmm3
  mulsd  %xmm2,%xmm5
  movupd -0x20(%r11),%xmm2
  unpcklpd %xmm7,%xmm7
  movapd %xmm0,%xmm15
  movupd -0x10(%r10),%xmm0
  movaps %xmm7,-0x48(%rsp)
  unpcklpd %xmm15,%xmm15
  unpcklpd %xmm4,%xmm4
  subpd  %xmm0,%xmm2
  movapd %xmm0,%xmm7
  movupd -0x20(%r11),%xmm0
  unpcklpd %xmm6,%xmm6
  movaps %xmm15,-0x18(%rsp)
  addpd  %xmm0,%xmm7
  movupd -0x10(%r11),%xmm0
  unpcklpd %xmm5,%xmm5
  movapd %xmm2,%xmm8
  addpd  %xmm0,%xmm12
  subpd  %xmm1,%xmm0
  movupd -0x20(%r9),%xmm1
  shufpd $0x1,%xmm2,%xmm8
  subpd  %xmm1,%xmm3
  movapd %xmm0,%xmm14
  shufpd $0x1,%xmm0,%xmm14
  movapd %xmm3,%xmm9
  shufpd $0x1,%xmm3,%xmm9
  movapd %xmm9,%xmm1
  addpd  %xmm2,%xmm1
  subpd  %xmm9,%xmm2
  movupd -0x20(%r9),%xmm9
  movapd %xmm1,%xmm11
  movsd  %xmm2,%xmm11
  movsd  %xmm1,%xmm2
  movapd %xmm8,%xmm1
  subpd  %xmm3,%xmm1
  addpd  %xmm8,%xmm3
  mulpd  %xmm15,%xmm2
  mulpd  %xmm4,%xmm11
  movapd %xmm1,%xmm8
  movsd  %xmm3,%xmm8
  movsd  %xmm1,%xmm3
  movupd -0x10(%rcx),%xmm1
  mulpd  %xmm6,%xmm8
  addpd  %xmm1,%xmm9
  movupd -0x10(%r9),%xmm1
  movupd (%rcx),%xmm10
  mulpd  %xmm5,%xmm3
  addpd  %xmm10,%xmm1
  movaps %xmm1,-0x78(%rsp)
  movapd %xmm10,%xmm1
  movupd -0x10(%r9),%xmm10
  subpd  %xmm10,%xmm1
  movapd %xmm1,%xmm10
  shufpd $0x1,%xmm1,%xmm10
  movapd %xmm10,%xmm15
  addpd  %xmm0,%xmm15
  subpd  %xmm10,%xmm0
  movapd %xmm15,%xmm10
  movsd  %xmm0,%xmm10
  movsd  %xmm15,%xmm0
  movapd %xmm14,%xmm15
  subpd  %xmm1,%xmm15
  addpd  %xmm14,%xmm1
  mulpd  -0x68(%rsp),%xmm10
  mulpd  -0x48(%rsp),%xmm0
  movapd %xmm15,%xmm14
  movsd  %xmm1,%xmm14
  movsd  %xmm15,%xmm1
  movapd %xmm9,%xmm15
  addpd  %xmm7,%xmm15
  subpd  %xmm9,%xmm7
  mulpd  -0x58(%rsp),%xmm14
  mulpd  -0x38(%rsp),%xmm1
  movups %xmm15,-0x20(%r11)
  movapd -0x78(%rsp),%xmm15
  addpd  %xmm12,%xmm15
  subpd  -0x78(%rsp),%xmm12
  movups %xmm15,-0x10(%r11)
  movups %xmm7,-0x10(%rcx)
  movapd %xmm11,%xmm7
  subpd  %xmm8,%xmm7
  addpd  %xmm11,%xmm8
  movups %xmm12,(%rcx)
  movsd  %xmm7,%xmm8
  movapd %xmm10,%xmm7
  subpd  %xmm14,%xmm7
  addpd  %xmm10,%xmm14
  movups %xmm8,-0x10(%r10)
  movsd  %xmm7,%xmm14
  movapd %xmm3,%xmm7
  addpd  %xmm2,%xmm7
  subpd  %xmm3,%xmm2
  movups %xmm14,(%r10)
  movsd  %xmm7,%xmm2
  movups %xmm2,-0x20(%r9)
  movapd %xmm1,%xmm2
  addpd  %xmm0,%xmm2
  subpd  %xmm1,%xmm0
  movsd  %xmm2,%xmm0
  movups %xmm0,-0x10(%r9)
  movupd 0x10(%rdx),%xmm12
  movupd 0x10(%rdi),%xmm2
  movupd 0x30(%r8),%xmm3
  movupd 0x10(%rsi),%xmm1
  subpd  %xmm12,%xmm2
  movupd 0x20(%r8),%xmm8
  movupd 0x30(%r8),%xmm7
  subpd  %xmm3,%xmm1
  movupd (%rsi),%xmm3
  movupd (%rsi),%xmm0
  movapd %xmm2,%xmm9
  addpd  %xmm3,%xmm8
  movupd 0x10(%rsi),%xmm3
  shufpd $0x1,%xmm2,%xmm9
  movapd %xmm9,%xmm12
  movapd %xmm1,%xmm10
  addpd  %xmm1,%xmm12
  shufpd $0x1,%xmm1,%xmm10
  subpd  %xmm9,%xmm1
  addpd  %xmm3,%xmm7
  movupd 0x20(%r8),%xmm3
  movapd %xmm12,%xmm9
  subpd  %xmm3,%xmm0
  movsd  %xmm1,%xmm9
  movsd  %xmm12,%xmm1
  mulpd  %xmm6,%xmm9
  movapd %xmm10,%xmm6
  subpd  %xmm2,%xmm6
  addpd  %xmm10,%xmm2
  mulpd  %xmm5,%xmm1
  movupd (%rdx),%xmm10
  movapd %xmm0,%xmm3
  shufpd $0x1,%xmm0,%xmm3
  movapd %xmm6,%xmm5
  movsd  %xmm2,%xmm5
  movsd  %xmm6,%xmm2
  movupd 0x10(%rdx),%xmm6
  mulpd  %xmm4,%xmm5
  movupd (%rdi),%xmm4
  mulpd  -0x18(%rsp),%xmm2
  addpd  %xmm4,%xmm10
  movupd 0x10(%rdi),%xmm4
  addpd  %xmm4,%xmm6
  movupd (%rdi),%xmm4
  movupd (%rdx),%xmm12
  subpd  %xmm12,%xmm4
  movapd %xmm4,%xmm12
  shufpd $0x1,%xmm4,%xmm12
  movapd %xmm12,%xmm11
  addpd  %xmm0,%xmm11
  subpd  %xmm12,%xmm0
  movapd %xmm11,%xmm12
  movsd  %xmm0,%xmm12
  movsd  %xmm11,%xmm0
  movapd %xmm3,%xmm11
  subpd  %xmm4,%xmm11
  addpd  %xmm4,%xmm3
  mulpd  -0x58(%rsp),%xmm12
  mulpd  -0x38(%rsp),%xmm0
  movapd %xmm11,%xmm4
  movsd  %xmm3,%xmm4
  movsd  %xmm11,%xmm3
  movapd %xmm10,%xmm11
  addpd  %xmm8,%xmm11
  mulpd  -0x68(%rsp),%xmm4
  subpd  %xmm10,%xmm8
  mulpd  -0x48(%rsp),%xmm3
  movups %xmm11,(%rsi)
  movapd %xmm6,%xmm11
  addpd  %xmm7,%xmm11
  subpd  %xmm6,%xmm7
  movapd %xmm9,%xmm6
  subpd  %xmm5,%xmm6
  addpd  %xmm9,%xmm5
  movups %xmm11,0x10(%rsi)
  movsd  %xmm6,%xmm5
  movups %xmm8,(%rdi)
  movups %xmm7,0x10(%rdi)
  movups %xmm5,0x30(%r8)
  movapd %xmm12,%xmm5
  subpd  %xmm4,%xmm5
  addpd  %xmm12,%xmm4
  movsd  %xmm5,%xmm4
  movups %xmm4,0x20(%r8)
  movapd %xmm2,%xmm4
  addpd  %xmm1,%xmm4
  subpd  %xmm2,%xmm1
  movsd  %xmm4,%xmm1
  movups %xmm1,0x10(%rdx)
  movapd %xmm3,%xmm1
  addpd  %xmm0,%xmm1
  subpd  %xmm3,%xmm0
  movsd  %xmm1,%xmm0
  movups %xmm0,(%rdx)
  cmp    %r13,%rax
  jne    L1
L15:
  movsd  0x10(%rsp),%xmm14
  movsd  -0x28(%rsp),%xmm3
  add    %r12d,%ebp
  lea    0x0(,%r15,8),%rdx
  movsd  -0x20(%rsp),%xmm1
  lea    (%r12,%rbp,1),%r10d
  movsd  -0x8(%rsp),%xmm2
  movapd %xmm13,%xmm0
  addsd  %xmm14,%xmm3
  movsd  (%rsp),%xmm6
  movslq %r10d,%rax
  add    %r10d,%r12d
  addsd  %xmm14,%xmm1
  shl    $0x3,%rax
  movslq %ebp,%rbp
  movslq %r12d,%r12
  lea    -0x8(%rbx,%rdx,1),%rdi
  subsd  %xmm14,%xmm2
  shl    $0x3,%rbp
  shl    $0x3,%r12
  subsd  %xmm14,%xmm0
  movsd  (%rdi),%xmm4
  mulsd  %xmm6,%xmm3
  lea    -0x8(%rbx,%rax,1),%rcx
  mulsd  %xmm6,%xmm1
  movsd  0x8(%rsp),%xmm6
  movsd  (%rcx),%xmm7
  lea    -0x10(%rbx,%rdx,1),%r8
  movsd  (%r8),%xmm5
  lea    -0x10(%rbx,%rax,1),%rsi
  lea    -0x10(%rbx,%rbp,1),%r9
  mulsd  %xmm6,%xmm2
  movsd  (%rsi),%xmm8
  lea    -0x10(%rbx,%r12,1),%r11
  lea    -0x8(%rbx,%rbp,1),%r13
  mulsd  %xmm6,%xmm0
  movapd %xmm4,%xmm6
  subsd  %xmm7,%xmm4
  movsd  (%r11),%xmm13
  addsd  %xmm7,%xmm6
  movsd  (%r9),%xmm7
  movapd %xmm5,%xmm9
  lea    -0x8(%rbx,%r12,1),%r10
  addsd  %xmm8,%xmm9
  subsd  %xmm8,%xmm5
  movsd  0x0(%r13),%xmm8
  movsd  (%r10),%xmm12
  movapd %xmm7,%xmm11
  subsd  %xmm13,%xmm7
  addsd  %xmm13,%xmm11
  movapd %xmm8,%xmm10
  subsd  %xmm12,%xmm8
  addsd  %xmm12,%xmm10
  movapd %xmm9,%xmm12
  addsd  %xmm11,%xmm12
  subsd  %xmm11,%xmm9
  movapd %xmm1,%xmm11
  movsd  %xmm12,(%r8)
  movapd %xmm6,%xmm12
  subsd  %xmm10,%xmm6
  lea    0x8(%rbx,%rbp,1),%r8
  addsd  %xmm10,%xmm12
  movapd %xmm3,%xmm10
  movsd  %xmm12,(%rdi)
  lea    (%rbx,%rax,1),%rdi
  movsd  %xmm9,(%r9)
  movapd %xmm5,%xmm9
  addsd  %xmm8,%xmm5
  lea    (%rbx,%rbp,1),%r9
  movsd  %xmm6,0x0(%r13)
  movapd %xmm4,%xmm6
  subsd  %xmm8,%xmm9
  subsd  %xmm7,%xmm4
  addsd  %xmm7,%xmm6
  movapd %xmm0,%xmm7
  mulsd  %xmm9,%xmm10
  mulsd  %xmm6,%xmm11
  mulsd  %xmm1,%xmm9
  mulsd  %xmm3,%xmm6
  mulsd  %xmm4,%xmm7
  mulsd  %xmm2,%xmm4
  subsd  %xmm11,%xmm10
  addsd  %xmm9,%xmm6
  movsd  %xmm10,(%rsi)
  lea    (%rbx,%r12,1),%rsi
  movsd  %xmm6,(%rcx)
  movapd %xmm2,%xmm6
  lea    0x0(,%r15,4),%rcx
  mulsd  %xmm5,%xmm6
  sub    %rcx,%r15
  lea    0x8(%rbx,%r12,1),%rcx
  mulsd  %xmm0,%xmm5
  addsd  %xmm7,%xmm6
  subsd  %xmm5,%xmm4
  movsd  %xmm6,(%r11)
  lea    (%r14,%r15,8),%r11
  movsd  %xmm4,(%r10)
  lea    0x8(%rbx,%rdx,1),%r10
  movsd  0x8(%rbx,%rax,1),%xmm5
  movsd  (%r11),%xmm6
  movsd  (%r10),%xmm4
  movsd  (%rdi),%xmm7
  movsd  (%rsi),%xmm13
  movapd %xmm6,%xmm9
  movsd  (%rcx),%xmm12
  movapd %xmm4,%xmm8
  subsd  %xmm5,%xmm4
  addsd  %xmm7,%xmm9
  addsd  %xmm5,%xmm8
  movsd  (%r9),%xmm5
  subsd  %xmm7,%xmm6
  movsd  (%r8),%xmm7
  movapd %xmm5,%xmm11
  movapd %xmm7,%xmm10
  subsd  %xmm12,%xmm7
  addsd  %xmm13,%xmm11
  addsd  %xmm12,%xmm10
  movapd %xmm9,%xmm12
  subsd  %xmm13,%xmm5
  addsd  %xmm11,%xmm12
  subsd  %xmm11,%xmm9
  movsd  %xmm12,(%r11)
  movapd %xmm8,%xmm12
  subsd  %xmm10,%xmm8
  addsd  %xmm10,%xmm12
  movapd %xmm4,%xmm10
  subsd  %xmm5,%xmm4
  addsd  %xmm5,%xmm10
  movapd %xmm14,%xmm5
  movsd  %xmm12,(%r10)
  lea    0x10(%rbx,%rdx,1),%r10
  movsd  %xmm9,(%r9)
  movapd %xmm6,%xmm9
  addsd  %xmm7,%xmm6
  xorpd  D21(%rip),%xmm5
  subsd  %xmm7,%xmm9
  movsd  %xmm8,(%r8)
  lea    0x18(%rbx,%rdx,1),%r9
  lea    0x10(%rbx,%rbp,1),%r8
  lea    0x10(%rbx,%r12,1),%rdx
  movapd %xmm6,%xmm7
  movapd %xmm9,%xmm8
  addsd  %xmm4,%xmm7
  addsd  %xmm10,%xmm9
  subsd  %xmm10,%xmm8
  subsd  %xmm6,%xmm4
  mulsd  %xmm5,%xmm7
  mulsd  %xmm5,%xmm4
  unpcklpd %xmm9,%xmm8
  mulpd  0x18(%rsp),%xmm8
  movups %xmm8,(%rdi)
  lea    0x18(%rbx,%rbp,1),%rdi
  movsd  %xmm7,(%rsi)
  lea    0x10(%rbx,%rax,1),%rsi
  movsd  %xmm4,(%rcx)
  movsd  (%r10),%xmm4
  movsd  (%rsi),%xmm7
  lea    0x18(%rbx,%rax,1),%rcx
  movsd  (%r9),%xmm5
  movsd  (%rcx),%xmm6
  lea    0x18(%rbx,%r12,1),%rax
  movapd %xmm4,%xmm9
  subsd  %xmm7,%xmm4
  movsd  (%rdx),%xmm13
  movsd  (%rax),%xmm12
  addsd  %xmm7,%xmm9
  movsd  (%r8),%xmm7
  movapd %xmm5,%xmm8
  subsd  %xmm6,%xmm5
  addsd  %xmm6,%xmm8
  movsd  (%rdi),%xmm6
  movapd %xmm7,%xmm11
  subsd  %xmm13,%xmm7
  addsd  %xmm13,%xmm11
  movapd %xmm6,%xmm10
  subsd  %xmm12,%xmm6
  addsd  %xmm12,%xmm10
  movapd %xmm9,%xmm12
  addsd  %xmm11,%xmm12
  subsd  %xmm11,%xmm9
  movapd %xmm3,%xmm11
  movsd  %xmm12,(%r10)
  movapd %xmm8,%xmm12
  subsd  %xmm10,%xmm8
  addsd  %xmm10,%xmm12
  movapd %xmm5,%xmm10
  subsd  %xmm7,%xmm5
  addsd  %xmm7,%xmm10
  movsd  %xmm12,(%r9)
  movsd  %xmm9,(%r8)
  mulsd  %xmm10,%xmm11
  movapd %xmm4,%xmm9
  addsd  %xmm6,%xmm4
  subsd  %xmm6,%xmm9
  movsd  %xmm8,(%rdi)
  movapd %xmm1,%xmm8
  mulsd  %xmm10,%xmm1
  mulsd  %xmm9,%xmm3
  mulsd  %xmm9,%xmm8
  addsd  %xmm3,%xmm1
  movapd %xmm5,%xmm3
  movapd %xmm2,%xmm5
  subsd  %xmm11,%xmm8
  mulsd  %xmm3,%xmm5
  movsd  %xmm8,(%rsi)
  movsd  %xmm1,(%rcx)
  movapd %xmm4,%xmm1
  movapd %xmm0,%xmm4
  mulsd  %xmm1,%xmm4
  mulsd  %xmm3,%xmm0
  mulsd  %xmm1,%xmm2
  addsd  %xmm5,%xmm4
  subsd  %xmm2,%xmm0
  movsd  %xmm4,(%rdx)
  movsd  %xmm0,(%rax)
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L21:
  movsd  D7(%rip),%xmm6
  pxor   %xmm13,%xmm13
  movsd  %xmm13,-0x20(%rsp)
  movsd  %xmm6,-0x8(%rsp)
  movsd  %xmm6,-0x28(%rsp)
  jmp    L15
```

tool_calls: name: unpack_data
arguments: data_tag: D7
type_guessed: byte[8]
name: unpack_data
arguments: data_tag: D21
type_guessed: byte[16]

tool: {"D7": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D21": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

assistant: ```c
void cftf1st(int n, double *a, double *w) {
  int j, j0, j1, j2, j3, k, m, mh;
  double wn4r, csc1, csc3, wk1r, wk1i, wk3r, wk3i, wd1r, wd1i, wd3r, wd3i;
  double x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i;
  mh = n >> 3;
  m = 2 * mh;
  j1 = m;
  j2 = j1 + m;
  j3 = j2 + m;
  x0r = a[0] + a[j2];
  x0i = a[1] + a[j2 + 1];
  x1r = a[0] - a[j2];
  x1i = a[1] - a[j2 + 1];
  x2r = a[j1] + a[j3];
  x2i = a[j1 + 1] + a[j3 + 1];
  x3r = a[j1] - a[j3];
  x3i = a[j1 + 1] - a[j3 + 1];
  a[0] = x0r + x2r;
  a[1] = x0i + x2i;
  a[j1] = x0r - x2r;
  a[j1 + 1] = x0i - x2i;
  a[j2] = x1r - x3i;
  a[j2 + 1] = x1i + x3r;
  a[j3] = x1r + x3i;
  a[j3 + 1] = x1i - x3r;
  wn4r = w[1];
  csc1 = w[2];
  csc3 = w[3];
  wd1r = 1;
  wd1i = 0;
  wd3r = 1;
  wd3i = 0;
  k = 0;
  for (j = 2; j < mh - 2; j += 4) {
    k += 4;
    wk1r = csc1 * (wd1r + w[k]);
    wk1i = csc1 * (wd1i + w[k + 1]);
    wk3r = csc3 * (wd3r + w[k + 2]);
    wk3i = csc3 * (wd3i + w[k + 3]);
    wd1r = w[k];
    wd1i = w[k + 1];
    wd3r = w[k + 2];
    wd3i = w[k + 3];
    j1 = j + m;
    j2 = j1 + m;
    j3 = j2 + m;
    x0r = a[j] + a[j2];
    x0i = a[j + 1] + a[j2 + 1];
    x1r = a[j] - a[j2];
    x1i = a[j + 1] - a[j2 + 1];
    y0r = a[j + 2] + a[j2 + 2];
    y0i = a[j + 3] + a[j2 + 3];
    y1r = a[j + 2] - a[j2 + 2];
    y1i = a[j + 3] - a[j2 + 3];
    x2r = a[j1] + a[j3];
    x2i = a[j1 + 1] + a[j3 + 1];
    x3r = a[j1] - a[j3];
    x3i = a[j1 + 1] - a[j3 + 1];
    y2r = a[j1 + 2] + a[j3 + 2];
    y2i = a[j1 + 3] + a[j3 + 3];
    y3r = a[j1 + 2] - a[j3 + 2];
    y3i = a[j1 + 3] - a[j3 + 3];
    a[j] = x0r + x2r;
    a[j + 1] = x0i + x2i;
    a[j + 2] = y0r + y2r;
    a[j + 3] = y0i + y2i;
    a[j1] = x0r - x2r;
    a[j1 + 1] = x0i - x2i;
    a[j1 + 2] = y0r - y2r;
    a[j1 + 3] = y0i - y2i;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    a[j2] = wk1r * x0r - wk1i * x0i;
    a[j2 + 1] = wk1r * x0i + wk1i * x0r;
    x0r = y1r - y3i;
    x0i = y1i + y3r;
    a[j2 + 2] = wd1r * x0r - wd1i * x0i;
    a[j2 + 3] = wd1r * x0i + wd1i * x0r;
    x0r = x1r + x3i;
    x0i = x1i - x3r;
    a[j3] = wk3r * x0r + wk3i * x0i;
    a[j3 + 1] = wk3r * x0i - wk3i * x0r;
    x0r = y1r + y3i;
    x0i = y1i - y3r;
    a[j3 + 2] = wd3r * x0r + wd3i * x0i;
    a[j3 + 3] = wd3r * x0i - wd3i * x0r;
    j0 = m - j;
    j1 = j0 + m;
    j2 = j1 + m;
    j3 = j2 + m;
    x0r = a[j0] + a[j2];
    x0i = a[j0 + 1] + a[j2 + 1];
    x1r = a[j0] - a[j2];
    x1i = a[j0 + 1] - a[j2 + 1];
    y0r = a[j0 - 2] + a[j2 - 2];
    y0i = a[j0 - 1] + a[j2 - 1];
    y1r = a[j0 - 2] - a[j2 - 2];
    y1i = a[j0 - 1] - a[j2 - 1];
    x2r = a[j1] + a[j3];
    x2i = a[j1 + 1] + a[j3 + 1];
    x3r = a[j1] - a[j3];
    x3i = a[j1 + 1] - a[j3 + 1];
    y2r = a[j1 - 2] + a[j3 - 2];
    y2i = a[j1 - 1] + a[j3 - 1];
    y3r = a[j1 - 2] - a[j3 - 2];
    y3i = a[j1 - 1] - a[j3 - 1];
    a[j0] = x0r + x2r;
    a[j0 + 1] = x0i + x2i;
    a[j0 - 2] = y0r + y2r;
    a[j0 - 1] = y0i + y2i;
    a[j1] = x0r - x2r;
    a[j1 + 1] = x0i - x2i;
    a[j1 - 2] = y0r - y2r;
    a[j1 - 1] = y0i - y2i;
    x0r = x1r - x3i;
    x0i = x1i + x3r;
    a[j2] = wk1i * x0r - wk1r * x0i;
    a[j2 + 1] = wk1i * x0i + wk1r * x0r;
    x0r = y1r - y3i;
    x0i = y1i + y3r;
    a[j2 - 2] = wd1i * x0r - wd1r * x0i;
    a[j2 - 1] = wd1i * x0i + wd1r * x0r;
    x0r = x1r + x3i;
    x0i = x1i - x3r;
    a[j3] = wk3i * x0r + wk3r * x0i;
    a[j3 + 1] = wk3i * x0i - wk3r * x0r;
    x0r = y1r + y3i;
    x0i = y1i - y3r;
    a[j3 - 2] = wd3i * x0r + wd3r * x0i;
    a[j3 - 1] = wd3i * x0i - wd3r * x0r;
  }
  wk1r = csc1 * (wd1r + wn4r);
  wk1i = csc1 * (wd1i + wn4r);
  wk3r = csc3 * (wd3r - wn4r);
  wk3i = csc3 * (wd3i - wn4r);
  j0 = mh;
  j1 = j0 + m;
  j2 = j1 + m;
  j3 = j2 + m;
  x0r = a[j0 - 2] + a[j2 - 2];
  x0i = a[j0 - 1] + a[j2 - 1];
  x1r = a[j0 - 2] - a[j2 - 2];
  x1i = a[j0 - 1] - a[j2 - 1];
  x2r = a[j1 - 2] + a[j3 - 2];
  x2i = a[j1 - 1] + a[j3 - 1];
  x3r = a[j1 - 2] - a[j3 - 2];
  x3i = a[j1 - 1] - a[j3 - 1];
  a[j0 - 2] = x0r + x2r;
  a[j0 - 1] = x0i + x2i;
  a[j1 - 2] = x0r - x2r;
  a[j1 - 1] = x0i - x2i;
  x0r = x1r - x3i;
  x0i = x1i + x3r;
  a[j2 - 2] = wk1r * x0r - wk1i * x0i;
  a[j2 - 1] = wk1r * x0i + wk1i * x0r;
  x0r = x1r + x3i;
  x0i = x1i - x3r;
  a[j3 - 2] = wk3r * x0r + wk3i * x0i;
  a[j3 - 1] = wk3r * x0i - wk3i * x0r;
  x0r = a[j0] + a[j2];
  x0i = a[j0 + 1] + a[j2 + 1];
  x1r = a[j0] - a[j2];
  x1i = a[j0 + 1] - a[j2 + 1];
  x2r = a[j1] + a[j3];
  x2i = a[j1 + 1] + a[j3 + 1];
  x3r = a[j1] - a[j3];
  x3i = a[j1 + 1] - a[j3 + 1];
  a[j0] = x0r + x2r;
  a[j0 + 1] = x0i + x2i;
  a[j1] = x0r - x2r;
  a[j1 + 1] = x0i - x2i;
  x0r = x1r - x3i;
  x0i = x1i + x3r;
  a[j2] = wn4r * (x0r - x0i);
  a[j2 + 1] = wn4r * (x0i + x0r);
  x0r = x1r + x3i;
  x0i = x1i - x3r;
  a[j3] = -wn4r * (x0r + x0i);
  a[j3 + 1] = -wn4r * (x0i - x0r);
  x0r = a[j0 + 2] + a[j2 + 2];
  x0i = a[j0 + 3] + a[j2 + 3];
  x1r = a[j0 + 2] - a[j2 + 2];
  x1i = a[j0 + 3] - a[j2 + 3];
  x2r = a[j1 + 2] + a[j3 + 2];
  x2i = a[j1 + 3] + a[j3 + 3];
  x3r = a[j1 + 2] - a[j3 + 2];
  x3i = a[j1 + 3] - a[j3 + 3];
  a[j0 + 2] = x0r + x2r;
  a[j0 + 3] = x0i + x2i;
  a[j1 + 2] = x0r - x2r;
  a[j1 + 3] = x0i - x2i;
  x0r = x1r - x3i;
  x0i = x1i + x3r;
  a[j2 + 2] = wk1i * x0r - wk1r * x0i;
  a[j2 + 3] = wk1i * x0i + wk1r * x0r;
  x0r = x1r + x3i;
  x0i = x1i - x3r;
  a[j3 + 2] = wk3i * x0r + wk3r * x0i;
  a[j3 + 3] = wk3i * x0i - wk3r * x0r;
}
```