user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<ddct16x16s>:
  endbr64
  mov    %rsi,%rax
  mov    $0x0,%edx
  test   %edi,%edi
  js     L33
L26:
  mov    0x8(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm1
  mov    0x78(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  movsd  D454(%rip),%xmm3
  mulsd  %xmm1,%xmm3
  movsd  D694(%rip),%xmm2
  mulsd  %xmm0,%xmm2
  addsd  %xmm2,%xmm3
  mulsd  D454(%rip),%xmm0
  mulsd  D694(%rip),%xmm1
  subsd  %xmm1,%xmm0
  mov    0x38(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm4
  mov    0x48(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm1
  movsd  D258(%rip),%xmm2
  mulsd  %xmm4,%xmm2
  movsd  D88(%rip),%xmm5
  mulsd  %xmm1,%xmm5
  addsd  %xmm5,%xmm2
  mulsd  D258(%rip),%xmm1
  mulsd  D88(%rip),%xmm4
  subsd  %xmm4,%xmm1
  movapd %xmm3,%xmm11
  addsd  %xmm2,%xmm11
  movapd %xmm0,%xmm10
  subsd  %xmm1,%xmm10
  subsd  %xmm2,%xmm3
  addsd  %xmm1,%xmm0
  mov    0x28(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm1
  mov    0x58(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm2
  movsd  D741(%rip),%xmm5
  mulsd  %xmm1,%xmm5
  movsd  D823(%rip),%xmm4
  mulsd  %xmm2,%xmm4
  addsd  %xmm4,%xmm5
  mulsd  D741(%rip),%xmm2
  mulsd  D823(%rip),%xmm1
  subsd  %xmm1,%xmm2
  mov    0x18(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm6
  mov    0x68(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm1
  movsd  D975(%rip),%xmm4
  mulsd  %xmm6,%xmm4
  movsd  D744(%rip),%xmm7
  mulsd  %xmm1,%xmm7
  addsd  %xmm7,%xmm4
  mulsd  D975(%rip),%xmm1
  mulsd  D744(%rip),%xmm6
  subsd  %xmm6,%xmm1
  movapd %xmm5,%xmm8
  addsd  %xmm4,%xmm8
  movapd %xmm2,%xmm6
  subsd  %xmm1,%xmm6
  movapd %xmm5,%xmm7
  subsd  %xmm4,%xmm7
  addsd  %xmm1,%xmm2
  movapd %xmm11,%xmm1
  subsd  %xmm8,%xmm1
  movapd %xmm10,%xmm4
  subsd  %xmm6,%xmm4
  addsd  %xmm8,%xmm11
  addsd  %xmm6,%xmm10
  movapd %xmm1,%xmm12
  addsd  %xmm4,%xmm12
  mulsd  D725(%rip),%xmm12
  subsd  %xmm1,%xmm4
  mulsd  D725(%rip),%xmm4
  movapd %xmm3,%xmm5
  addsd  %xmm2,%xmm5
  movapd %xmm0,%xmm6
  subsd  %xmm7,%xmm6
  subsd  %xmm2,%xmm3
  addsd  %xmm7,%xmm0
  movsd  D325(%rip),%xmm13
  mulsd  %xmm3,%xmm13
  movsd  D567(%rip),%xmm2
  movapd %xmm0,%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm13
  mulsd  D325(%rip),%xmm0
  mulsd  %xmm2,%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,-0x28(%rsp)
  movapd %xmm5,%xmm7
  mulsd  %xmm2,%xmm7
  movsd  D325(%rip),%xmm1
  mulsd  %xmm6,%xmm1
  movapd %xmm7,%xmm14
  addsd  %xmm1,%xmm14
  movsd  %xmm14,-0x20(%rsp)
  mulsd  %xmm2,%xmm6
  mulsd  D325(%rip),%xmm5
  movapd %xmm6,%xmm15
  subsd  %xmm5,%xmm15
  movsd  %xmm15,-0x18(%rsp)
  mov    0x20(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm7
  mov    0x60(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm2
  movsd  D1184(%rip),%xmm5
  movapd %xmm7,%xmm3
  mulsd  %xmm5,%xmm3
  movsd  D1101(%rip),%xmm1
  movapd %xmm2,%xmm6
  mulsd  %xmm1,%xmm6
  addsd  %xmm6,%xmm3
  mulsd  %xmm5,%xmm2
  mulsd  %xmm1,%xmm7
  subsd  %xmm7,%xmm2
  mov    %rdx,%rcx
  add    (%rax),%rcx
  movsd  (%rcx),%xmm5
  mov    0x40(%rax),%rsi
  movsd  (%rsi,%rdx,1),%xmm7
  movapd %xmm5,%xmm1
  addsd  %xmm7,%xmm1
  movsd  D1130(%rip),%xmm6
  mulsd  %xmm6,%xmm1
  subsd  %xmm7,%xmm5
  mulsd  %xmm5,%xmm6
  movapd %xmm3,%xmm7
  addsd  %xmm1,%xmm7
  movapd %xmm2,%xmm5
  addsd  %xmm6,%xmm5
  subsd  %xmm3,%xmm1
  movsd  %xmm1,-0x10(%rsp)
  subsd  %xmm2,%xmm6
  movapd %xmm6,%xmm0
  mov    0x10(%rax),%rsi
  movsd  (%rsi,%rdx,1),%xmm15
  mov    0x70(%rax),%rsi
  movsd  (%rsi,%rdx,1),%xmm2
  movsd  D358(%rip),%xmm3
  movapd %xmm15,%xmm1
  mulsd  %xmm3,%xmm1
  movsd  D1064(%rip),%xmm6
  movapd %xmm2,%xmm8
  mulsd  %xmm6,%xmm8
  addsd  %xmm8,%xmm1
  mulsd  %xmm3,%xmm2
  mulsd  %xmm6,%xmm15
  subsd  %xmm15,%xmm2
  mov    0x30(%rax),%rsi
  movsd  (%rsi,%rdx,1),%xmm15
  mov    0x50(%rax),%rdi
  movsd  (%rdi,%rdx,1),%xmm3
  movsd  D202(%rip),%xmm9
  movapd %xmm15,%xmm8
  mulsd  %xmm9,%xmm8
  movsd  D887(%rip),%xmm6
  movapd %xmm3,%xmm14
  mulsd  %xmm6,%xmm14
  addsd  %xmm14,%xmm8
  mulsd  %xmm3,%xmm9
  mulsd  %xmm6,%xmm15
  subsd  %xmm15,%xmm9
  movapd %xmm1,%xmm6
  subsd  %xmm8,%xmm6
  movapd %xmm2,%xmm3
  addsd  %xmm9,%xmm3
  addsd  %xmm8,%xmm1
  subsd  %xmm9,%xmm2
  movapd %xmm6,%xmm9
  addsd  %xmm3,%xmm9
  mulsd  D725(%rip),%xmm9
  subsd  %xmm6,%xmm3
  mulsd  D725(%rip),%xmm3
  movapd %xmm7,%xmm8
  addsd  %xmm1,%xmm8
  movapd %xmm8,%xmm14
  subsd  %xmm1,%xmm7
  movapd %xmm11,%xmm8
  addsd  %xmm14,%xmm8
  movsd  %xmm8,(%rcx)
  mov    0x78(%rax),%rcx
  subsd  %xmm11,%xmm14
  movsd  %xmm14,(%rcx,%rdx,1)
  mov    0x40(%rax),%rcx
  movapd %xmm10,%xmm8
  addsd  %xmm7,%xmm8
  movsd  %xmm8,(%rcx,%rdx,1)
  mov    0x38(%rax),%rcx
  subsd  %xmm10,%xmm7
  movsd  %xmm7,(%rcx,%rdx,1)
  movapd %xmm5,%xmm7
  addsd  %xmm9,%xmm7
  subsd  %xmm9,%xmm5
  mov    0x10(%rax),%rcx
  movsd  -0x20(%rsp),%xmm14
  movapd %xmm14,%xmm8
  addsd  %xmm7,%xmm8
  movsd  %xmm8,(%rcx,%rdx,1)
  mov    0x68(%rax),%rcx
  subsd  %xmm14,%xmm7
  movsd  %xmm7,(%rcx,%rdx,1)
  mov    0x50(%rax),%rcx
  movsd  -0x18(%rsp),%xmm15
  movapd %xmm15,%xmm7
  addsd  %xmm5,%xmm7
  movsd  %xmm7,(%rcx,%rdx,1)
  mov    0x28(%rax),%rcx
  subsd  %xmm15,%xmm5
  movsd  %xmm5,(%rcx,%rdx,1)
  movsd  -0x10(%rsp),%xmm7
  movapd %xmm7,%xmm5
  addsd  %xmm2,%xmm5
  subsd  %xmm2,%xmm7
  movapd %xmm7,%xmm1
  mov    0x20(%rax),%rcx
  movapd %xmm12,%xmm2
  addsd  %xmm5,%xmm2
  movsd  %xmm2,(%rcx,%rdx,1)
  mov    0x58(%rax),%rcx
  subsd  %xmm12,%xmm5
  movsd  %xmm5,(%rcx,%rdx,1)
  mov    0x60(%rax),%rcx
  movapd %xmm4,%xmm2
  addsd  %xmm7,%xmm2
  movsd  %xmm2,(%rcx,%rdx,1)
  mov    0x18(%rax),%rcx
  subsd  %xmm4,%xmm1
  movsd  %xmm1,(%rcx,%rdx,1)
  movapd %xmm0,%xmm1
  addsd  %xmm3,%xmm1
  subsd  %xmm3,%xmm0
  mov    0x30(%rax),%rcx
  movapd %xmm13,%xmm2
  addsd  %xmm1,%xmm2
  movsd  %xmm2,(%rcx,%rdx,1)
  mov    0x48(%rax),%rcx
  subsd  %xmm13,%xmm1
  movsd  %xmm1,(%rcx,%rdx,1)
  mov    0x70(%rax),%rcx
  movsd  -0x28(%rsp),%xmm6
  movapd %xmm6,%xmm1
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rcx,%rdx,1)
  mov    0x8(%rax),%rcx
  subsd  %xmm6,%xmm0
  movsd  %xmm0,(%rcx,%rdx,1)
  add    $0x8,%rdx
  cmp    $0x80,%rdx
  jne    L26
  mov    %rax,%rdx
  sub    $0xffffffffffffff80,%rax
L25:
  mov    (%rdx),%rcx
  movsd  0x8(%rcx),%xmm2
  movsd  0x78(%rcx),%xmm0
  movsd  D454(%rip),%xmm3
  mulsd  %xmm2,%xmm3
  movsd  D694(%rip),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm3
  mulsd  D454(%rip),%xmm0
  mulsd  D694(%rip),%xmm2
  subsd  %xmm2,%xmm0
  movsd  0x38(%rcx),%xmm4
  movsd  0x48(%rcx),%xmm1
  movsd  D258(%rip),%xmm2
  mulsd  %xmm4,%xmm2
  movsd  D88(%rip),%xmm5
  mulsd  %xmm1,%xmm5
  addsd  %xmm5,%xmm2
  mulsd  D258(%rip),%xmm1
  mulsd  D88(%rip),%xmm4
  subsd  %xmm4,%xmm1
  movapd %xmm3,%xmm11
  addsd  %xmm2,%xmm11
  movapd %xmm0,%xmm10
  subsd  %xmm1,%xmm10
  subsd  %xmm2,%xmm3
  addsd  %xmm1,%xmm0
  movsd  0x28(%rcx),%xmm4
  movsd  0x58(%rcx),%xmm2
  movsd  D741(%rip),%xmm5
  mulsd  %xmm4,%xmm5
  movsd  D823(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm5
  mulsd  D741(%rip),%xmm2
  mulsd  D823(%rip),%xmm4
  subsd  %xmm4,%xmm2
  movsd  0x18(%rcx),%xmm6
  movsd  0x68(%rcx),%xmm1
  movsd  D975(%rip),%xmm4
  mulsd  %xmm6,%xmm4
  movsd  D744(%rip),%xmm7
  mulsd  %xmm1,%xmm7
  addsd  %xmm7,%xmm4
  mulsd  D975(%rip),%xmm1
  mulsd  D744(%rip),%xmm6
  subsd  %xmm6,%xmm1
  movapd %xmm5,%xmm7
  addsd  %xmm4,%xmm7
  movapd %xmm2,%xmm6
  subsd  %xmm1,%xmm6
  subsd  %xmm4,%xmm5
  addsd  %xmm2,%xmm1
  movapd %xmm11,%xmm2
  subsd  %xmm7,%xmm2
  movapd %xmm10,%xmm4
  subsd  %xmm6,%xmm4
  addsd  %xmm7,%xmm11
  addsd  %xmm6,%xmm10
  movapd %xmm2,%xmm12
  addsd  %xmm4,%xmm12
  mulsd  D725(%rip),%xmm12
  subsd  %xmm2,%xmm4
  mulsd  D725(%rip),%xmm4
  movapd %xmm3,%xmm2
  addsd  %xmm1,%xmm2
  movapd %xmm0,%xmm6
  subsd  %xmm5,%xmm6
  subsd  %xmm1,%xmm3
  addsd  %xmm5,%xmm0
  movsd  D325(%rip),%xmm13
  mulsd  %xmm3,%xmm13
  movsd  D567(%rip),%xmm5
  movapd %xmm0,%xmm1
  mulsd  %xmm5,%xmm1
  addsd  %xmm1,%xmm13
  mulsd  D325(%rip),%xmm0
  mulsd  %xmm5,%xmm3
  subsd  %xmm3,%xmm0
  movsd  %xmm0,-0x28(%rsp)
  movapd %xmm2,%xmm15
  mulsd  %xmm5,%xmm15
  movsd  D325(%rip),%xmm3
  mulsd  %xmm6,%xmm3
  addsd  %xmm3,%xmm15
  mulsd  %xmm5,%xmm6
  mulsd  D325(%rip),%xmm2
  subsd  %xmm2,%xmm6
  movsd  %xmm6,-0x20(%rsp)
  movsd  0x20(%rcx),%xmm0
  movsd  0x60(%rcx),%xmm3
  movsd  D1184(%rip),%xmm2
  movapd %xmm0,%xmm7
  mulsd  %xmm2,%xmm7
  movapd %xmm7,%xmm6
  movsd  D1101(%rip),%xmm1
  movapd %xmm3,%xmm5
  mulsd  %xmm1,%xmm5
  addsd  %xmm5,%xmm6
  mulsd  %xmm3,%xmm2
  mulsd  %xmm1,%xmm0
  subsd  %xmm0,%xmm2
  movsd  (%rcx),%xmm3
  movsd  0x40(%rcx),%xmm5
  movapd %xmm3,%xmm1
  addsd  %xmm5,%xmm1
  movsd  D1130(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  subsd  %xmm5,%xmm3
  mulsd  %xmm0,%xmm3
  movapd %xmm6,%xmm7
  addsd  %xmm1,%xmm7
  movapd %xmm2,%xmm5
  addsd  %xmm3,%xmm5
  subsd  %xmm6,%xmm1
  movsd  %xmm1,-0x18(%rsp)
  subsd  %xmm2,%xmm3
  movsd  %xmm3,-0x10(%rsp)
  movsd  0x10(%rcx),%xmm1
  movsd  0x70(%rcx),%xmm6
  movsd  D358(%rip),%xmm2
  movapd %xmm1,%xmm0
  mulsd  %xmm2,%xmm0
  movsd  D1064(%rip),%xmm3
  movapd %xmm6,%xmm8
  mulsd  %xmm3,%xmm8
  addsd  %xmm8,%xmm0
  mulsd  %xmm6,%xmm2
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm2
  movsd  0x30(%rcx),%xmm3
  movsd  0x50(%rcx),%xmm9
  movsd  D202(%rip),%xmm1
  movapd %xmm3,%xmm14
  mulsd  %xmm1,%xmm14
  movapd %xmm14,%xmm6
  movsd  D887(%rip),%xmm8
  movapd %xmm9,%xmm14
  mulsd  %xmm8,%xmm14
  addsd  %xmm14,%xmm6
  mulsd  %xmm1,%xmm9
  mulsd  %xmm8,%xmm3
  subsd  %xmm3,%xmm9
  movapd %xmm0,%xmm1
  subsd  %xmm6,%xmm1
  movapd %xmm2,%xmm3
  addsd  %xmm9,%xmm3
  addsd  %xmm6,%xmm0
  subsd  %xmm9,%xmm2
  movapd %xmm1,%xmm9
  addsd  %xmm3,%xmm9
  mulsd  D725(%rip),%xmm9
  subsd  %xmm1,%xmm3
  mulsd  D725(%rip),%xmm3
  movapd %xmm7,%xmm14
  addsd  %xmm0,%xmm14
  subsd  %xmm0,%xmm7
  movapd %xmm11,%xmm8
  addsd  %xmm14,%xmm8
  movsd  %xmm8,(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm11,%xmm14
  movsd  %xmm14,0x78(%rcx)
  mov    (%rdx),%rcx
  movapd %xmm10,%xmm8
  addsd  %xmm7,%xmm8
  movsd  %xmm8,0x40(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm10,%xmm7
  movsd  %xmm7,0x38(%rcx)
  movapd %xmm5,%xmm7
  addsd  %xmm9,%xmm7
  subsd  %xmm9,%xmm5
  mov    (%rdx),%rcx
  movapd %xmm15,%xmm8
  addsd  %xmm7,%xmm8
  movsd  %xmm8,0x10(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm15,%xmm7
  movsd  %xmm7,0x68(%rcx)
  mov    (%rdx),%rcx
  movsd  -0x20(%rsp),%xmm6
  movapd %xmm6,%xmm7
  addsd  %xmm5,%xmm7
  movsd  %xmm7,0x50(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm6,%xmm5
  movsd  %xmm5,0x28(%rcx)
  movsd  -0x18(%rsp),%xmm7
  movapd %xmm7,%xmm5
  addsd  %xmm2,%xmm5
  subsd  %xmm2,%xmm7
  movapd %xmm7,%xmm1
  mov    (%rdx),%rcx
  movapd %xmm12,%xmm2
  addsd  %xmm5,%xmm2
  movsd  %xmm2,0x20(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm12,%xmm5
  movsd  %xmm5,0x58(%rcx)
  mov    (%rdx),%rcx
  movapd %xmm4,%xmm2
  addsd  %xmm7,%xmm2
  movsd  %xmm2,0x60(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm4,%xmm1
  movsd  %xmm1,0x18(%rcx)
  movsd  -0x10(%rsp),%xmm4
  movapd %xmm4,%xmm1
  addsd  %xmm3,%xmm1
  subsd  %xmm3,%xmm4
  movapd %xmm4,%xmm0
  mov    (%rdx),%rcx
  movapd %xmm13,%xmm2
  addsd  %xmm1,%xmm2
  movsd  %xmm2,0x30(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm13,%xmm1
  movsd  %xmm1,0x48(%rcx)
  mov    (%rdx),%rcx
  movsd  -0x28(%rsp),%xmm4
  movapd %xmm4,%xmm1
  addsd  %xmm0,%xmm1
  movsd  %xmm1,0x70(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm4,%xmm0
  movsd  %xmm0,0x8(%rcx)
  add    $0x8,%rdx
  cmp    %rax,%rdx
  jne    L25
  ret
L33:
  movsd  D325(%rip),%xmm15
  movsd  D567(%rip),%xmm14
L20:
  mov    %rdx,%rsi
  add    (%rax),%rsi
  movsd  (%rsi),%xmm9
  mov    0x78(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  movapd %xmm9,%xmm6
  subsd  %xmm0,%xmm6
  movsd  %xmm6,-0x28(%rsp)
  addsd  %xmm0,%xmm9
  mov    0x40(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  mov    0x38(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm1
  movapd %xmm0,%xmm12
  subsd  %xmm1,%xmm12
  movsd  %xmm12,-0x20(%rsp)
  addsd  %xmm0,%xmm1
  movapd %xmm9,%xmm2
  addsd  %xmm1,%xmm2
  subsd  %xmm1,%xmm9
  mov    0x10(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm0
  mov    0x68(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm1
  movapd %xmm0,%xmm10
  subsd  %xmm1,%xmm10
  addsd  %xmm1,%xmm0
  mov    0x50(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm3
  mov    0x28(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm4
  movapd %xmm3,%xmm1
  subsd  %xmm4,%xmm1
  movsd  %xmm1,-0x18(%rsp)
  addsd  %xmm4,%xmm3
  movapd %xmm0,%xmm7
  addsd  %xmm3,%xmm7
  subsd  %xmm3,%xmm0
  mov    0x20(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm6
  mov    0x58(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm5
  movapd %xmm6,%xmm4
  subsd  %xmm5,%xmm4
  movapd %xmm4,%xmm12
  addsd  %xmm5,%xmm6
  mov    0x60(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm5
  mov    0x18(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm8
  movapd %xmm5,%xmm11
  subsd  %xmm8,%xmm11
  addsd  %xmm8,%xmm5
  movapd %xmm6,%xmm3
  addsd  %xmm5,%xmm3
  movapd %xmm6,%xmm4
  subsd  %xmm5,%xmm4
  movsd  %xmm4,-0x10(%rsp)
  mov    0x30(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm5
  mov    0x48(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm6
  movapd %xmm5,%xmm4
  subsd  %xmm6,%xmm4
  movsd  %xmm4,-0x8(%rsp)
  addsd  %xmm6,%xmm5
  mov    0x70(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm8
  mov    0x8(%rax),%rcx
  movsd  (%rcx,%rdx,1),%xmm13
  movapd %xmm8,%xmm6
  subsd  %xmm13,%xmm6
  addsd  %xmm13,%xmm8
  movapd %xmm5,%xmm13
  addsd  %xmm8,%xmm13
  subsd  %xmm8,%xmm5
  movapd %xmm2,%xmm8
  addsd  %xmm3,%xmm8
  movapd %xmm7,%xmm4
  addsd  %xmm13,%xmm4
  movapd %xmm8,%xmm1
  addsd  %xmm4,%xmm1
  mulsd  D1130(%rip),%xmm1
  movsd  %xmm1,(%rsi)
  mov    0x40(%rax),%rcx
  subsd  %xmm4,%xmm8
  mulsd  D1130(%rip),%xmm8
  movsd  %xmm8,(%rcx,%rdx,1)
  subsd  %xmm3,%xmm2
  subsd  %xmm13,%xmm7
  mov    0x20(%rax),%rcx
  movsd  D1184(%rip),%xmm13
  mulsd  %xmm2,%xmm13
  movsd  D1101(%rip),%xmm3
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm13
  movsd  %xmm13,(%rcx,%rdx,1)
  mov    0x60(%rax),%rcx
  mulsd  D1184(%rip),%xmm7
  mulsd  D1101(%rip),%xmm2
  addsd  %xmm2,%xmm7
  movsd  %xmm7,(%rcx,%rdx,1)
  movapd %xmm0,%xmm7
  subsd  %xmm5,%xmm7
  mulsd  D725(%rip),%xmm7
  addsd  %xmm5,%xmm0
  mulsd  D725(%rip),%xmm0
  movapd %xmm9,%xmm3
  addsd  %xmm7,%xmm3
  movsd  -0x10(%rsp),%xmm5
  movapd %xmm5,%xmm2
  addsd  %xmm0,%xmm2
  mov    0x10(%rax),%rcx
  movsd  D358(%rip),%xmm13
  mulsd  %xmm3,%xmm13
  movsd  D1064(%rip),%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm13
  movsd  %xmm13,(%rcx,%rdx,1)
  mov    0x70(%rax),%rcx
  mulsd  D358(%rip),%xmm2
  mulsd  D1064(%rip),%xmm3
  addsd  %xmm3,%xmm2
  movsd  %xmm2,(%rcx,%rdx,1)
  subsd  %xmm7,%xmm9
  subsd  %xmm5,%xmm0
  mov    0x30(%rax),%rcx
  movsd  D202(%rip),%xmm5
  mulsd  %xmm9,%xmm5
  movsd  D887(%rip),%xmm2
  mulsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm5
  movsd  %xmm5,(%rcx,%rdx,1)
  mov    0x50(%rax),%rcx
  mulsd  D202(%rip),%xmm0
  mulsd  D887(%rip),%xmm9
  addsd  %xmm9,%xmm0
  movsd  %xmm0,(%rcx,%rdx,1)
  movapd %xmm12,%xmm2
  subsd  %xmm11,%xmm2
  mulsd  D725(%rip),%xmm2
  movapd %xmm12,%xmm3
  addsd  %xmm11,%xmm3
  mulsd  D725(%rip),%xmm3
  movsd  -0x28(%rsp),%xmm0
  movapd %xmm0,%xmm5
  subsd  %xmm2,%xmm5
  movsd  -0x20(%rsp),%xmm12
  movapd %xmm12,%xmm7
  subsd  %xmm3,%xmm7
  addsd  %xmm0,%xmm2
  addsd  %xmm12,%xmm3
  movsd  -0x8(%rsp),%xmm4
  movapd %xmm4,%xmm8
  mulsd  %xmm15,%xmm8
  movapd %xmm6,%xmm0
  mulsd  %xmm14,%xmm0
  subsd  %xmm0,%xmm8
  mulsd  %xmm15,%xmm6
  mulsd  %xmm14,%xmm4
  addsd  %xmm4,%xmm6
  movapd %xmm10,%xmm0
  mulsd  %xmm14,%xmm0
  movsd  -0x18(%rsp),%xmm1
  movapd %xmm1,%xmm4
  mulsd  %xmm15,%xmm4
  subsd  %xmm4,%xmm0
  mulsd  %xmm14,%xmm1
  mulsd  %xmm15,%xmm10
  addsd  %xmm10,%xmm1
  movapd %xmm8,%xmm9
  addsd  %xmm0,%xmm9
  movapd %xmm6,%xmm4
  addsd  %xmm1,%xmm4
  subsd  %xmm8,%xmm0
  movapd %xmm0,%xmm11
  movapd %xmm1,%xmm0
  subsd  %xmm6,%xmm0
  movapd %xmm2,%xmm1
  addsd  %xmm9,%xmm1
  movapd %xmm3,%xmm8
  addsd  %xmm4,%xmm8
  mov    0x8(%rax),%rcx
  movsd  D454(%rip),%xmm10
  movapd %xmm1,%xmm13
  mulsd  %xmm10,%xmm13
  movsd  D694(%rip),%xmm6
  movapd %xmm8,%xmm12
  mulsd  %xmm6,%xmm12
  subsd  %xmm12,%xmm13
  movsd  %xmm13,(%rcx,%rdx,1)
  mov    0x78(%rax),%rcx
  mulsd  %xmm10,%xmm8
  mulsd  %xmm6,%xmm1
  movapd %xmm8,%xmm6
  addsd  %xmm1,%xmm6
  movsd  %xmm6,(%rcx,%rdx,1)
  subsd  %xmm9,%xmm2
  subsd  %xmm3,%xmm4
  mov    0x38(%rax),%rcx
  movsd  D258(%rip),%xmm3
  movapd %xmm2,%xmm9
  mulsd  %xmm3,%xmm9
  movsd  D88(%rip),%xmm1
  movapd %xmm4,%xmm6
  mulsd  %xmm1,%xmm6
  subsd  %xmm6,%xmm9
  movsd  %xmm9,(%rcx,%rdx,1)
  mov    0x48(%rax),%rcx
  mulsd  %xmm3,%xmm4
  mulsd  %xmm1,%xmm2
  addsd  %xmm2,%xmm4
  movsd  %xmm4,(%rcx,%rdx,1)
  movapd %xmm5,%xmm1
  subsd  %xmm0,%xmm1
  movapd %xmm7,%xmm3
  addsd  %xmm11,%xmm3
  mov    0x28(%rax),%rcx
  movsd  D741(%rip),%xmm4
  movapd %xmm1,%xmm9
  mulsd  %xmm4,%xmm9
  movsd  D823(%rip),%xmm2
  movapd %xmm3,%xmm6
  mulsd  %xmm2,%xmm6
  subsd  %xmm6,%xmm9
  movsd  %xmm9,(%rcx,%rdx,1)
  mov    0x58(%rax),%rcx
  mulsd  %xmm4,%xmm3
  mulsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm3
  movsd  %xmm3,(%rcx,%rdx,1)
  addsd  %xmm0,%xmm5
  subsd  %xmm7,%xmm11
  mov    0x18(%rax),%rcx
  movsd  D975(%rip),%xmm0
  movapd %xmm5,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  D744(%rip),%xmm1
  movapd %xmm11,%xmm3
  mulsd  %xmm1,%xmm3
  subsd  %xmm3,%xmm2
  movsd  %xmm2,(%rcx,%rdx,1)
  mov    0x68(%rax),%rcx
  mulsd  %xmm0,%xmm11
  mulsd  %xmm1,%xmm5
  movapd %xmm11,%xmm0
  addsd  %xmm5,%xmm0
  movsd  %xmm0,(%rcx,%rdx,1)
  add    $0x8,%rdx
  cmp    $0x80,%rdx
  jne    L20
  mov    %rax,%rdx
  sub    $0xffffffffffffff80,%rax
  movsd  D325(%rip),%xmm15
  movsd  D567(%rip),%xmm14
L18:
  mov    (%rdx),%rcx
  movsd  (%rcx),%xmm5
  movsd  0x78(%rcx),%xmm0
  movapd %xmm5,%xmm4
  subsd  %xmm0,%xmm4
  movsd  %xmm4,-0x20(%rsp)
  addsd  %xmm0,%xmm5
  movsd  0x40(%rcx),%xmm1
  movsd  0x38(%rcx),%xmm0
  movapd %xmm1,%xmm6
  subsd  %xmm0,%xmm6
  movsd  %xmm6,-0x18(%rsp)
  addsd  %xmm0,%xmm1
  movapd %xmm5,%xmm7
  addsd  %xmm1,%xmm7
  movapd %xmm7,%xmm4
  subsd  %xmm1,%xmm5
  movsd  0x10(%rcx),%xmm0
  movsd  0x68(%rcx),%xmm1
  movapd %xmm0,%xmm6
  subsd  %xmm1,%xmm6
  addsd  %xmm1,%xmm0
  movsd  0x50(%rcx),%xmm1
  movsd  0x28(%rcx),%xmm2
  movapd %xmm1,%xmm12
  subsd  %xmm2,%xmm12
  addsd  %xmm2,%xmm1
  movapd %xmm0,%xmm2
  addsd  %xmm1,%xmm2
  movsd  %xmm2,-0x28(%rsp)
  subsd  %xmm1,%xmm0
  movsd  0x20(%rcx),%xmm11
  movsd  0x58(%rcx),%xmm1
  movapd %xmm11,%xmm3
  subsd  %xmm1,%xmm3
  addsd  %xmm1,%xmm11
  movsd  0x60(%rcx),%xmm1
  movsd  0x18(%rcx),%xmm7
  movapd %xmm1,%xmm10
  subsd  %xmm7,%xmm10
  addsd  %xmm7,%xmm1
  movapd %xmm11,%xmm7
  addsd  %xmm1,%xmm7
  movapd %xmm7,%xmm2
  subsd  %xmm1,%xmm11
  movsd  0x30(%rcx),%xmm1
  movsd  0x48(%rcx),%xmm7
  movapd %xmm1,%xmm13
  subsd  %xmm7,%xmm13
  movsd  %xmm13,-0x8(%rsp)
  addsd  %xmm7,%xmm1
  movsd  0x70(%rcx),%xmm8
  movsd  0x8(%rcx),%xmm7
  movapd %xmm8,%xmm9
  subsd  %xmm7,%xmm9
  addsd  %xmm7,%xmm8
  movapd %xmm1,%xmm7
  addsd  %xmm8,%xmm7
  subsd  %xmm8,%xmm1
  movsd  %xmm2,-0x10(%rsp)
  movapd %xmm2,%xmm8
  addsd  %xmm4,%xmm8
  movsd  -0x28(%rsp),%xmm13
  addsd  %xmm7,%xmm13
  movapd %xmm8,%xmm2
  addsd  %xmm13,%xmm2
  mulsd  D1130(%rip),%xmm2
  movsd  %xmm2,(%rcx)
  mov    (%rdx),%rcx
  subsd  %xmm13,%xmm8
  mulsd  D1130(%rip),%xmm8
  movsd  %xmm8,0x40(%rcx)
  subsd  -0x10(%rsp),%xmm4
  movsd  -0x28(%rsp),%xmm2
  subsd  %xmm7,%xmm2
  mov    (%rdx),%rcx
  movsd  D1184(%rip),%xmm13
  mulsd  %xmm4,%xmm13
  movsd  D1101(%rip),%xmm7
  mulsd  %xmm2,%xmm7
  subsd  %xmm7,%xmm13
  movsd  %xmm13,0x20(%rcx)
  mov    (%rdx),%rcx
  mulsd  D1184(%rip),%xmm2
  mulsd  D1101(%rip),%xmm4
  addsd  %xmm2,%xmm4
  movsd  %xmm4,0x60(%rcx)
  movapd %xmm0,%xmm7
  subsd  %xmm1,%xmm7
  mulsd  D725(%rip),%xmm7
  addsd  %xmm1,%xmm0
  mulsd  D725(%rip),%xmm0
  movapd %xmm5,%xmm2
  addsd  %xmm7,%xmm2
  movapd %xmm11,%xmm1
  addsd  %xmm0,%xmm1
  mov    (%rdx),%rcx
  movsd  D358(%rip),%xmm13
  mulsd  %xmm2,%xmm13
  movsd  D1064(%rip),%xmm8
  mulsd  %xmm1,%xmm8
  subsd  %xmm8,%xmm13
  movsd  %xmm13,0x10(%rcx)
  mov    (%rdx),%rcx
  mulsd  D358(%rip),%xmm1
  mulsd  D1064(%rip),%xmm2
  addsd  %xmm2,%xmm1
  movsd  %xmm1,0x70(%rcx)
  subsd  %xmm7,%xmm5
  movapd %xmm5,%xmm1
  subsd  %xmm11,%xmm0
  mov    (%rdx),%rcx
  movsd  D202(%rip),%xmm5
  mulsd  %xmm1,%xmm5
  movsd  D887(%rip),%xmm2
  mulsd  %xmm0,%xmm2
  subsd  %xmm2,%xmm5
  movsd  %xmm5,0x30(%rcx)
  mov    (%rdx),%rcx
  mulsd  D202(%rip),%xmm0
  movsd  D887(%rip),%xmm5
  mulsd  %xmm1,%xmm5
  addsd  %xmm5,%xmm0
  movsd  %xmm0,0x50(%rcx)
  movapd %xmm3,%xmm2
  subsd  %xmm10,%xmm2
  mulsd  D725(%rip),%xmm2
  addsd  %xmm10,%xmm3
  mulsd  D725(%rip),%xmm3
  movsd  -0x20(%rsp),%xmm4
  movapd %xmm4,%xmm1
  subsd  %xmm2,%xmm1
  movsd  -0x18(%rsp),%xmm0
  movapd %xmm0,%xmm5
  subsd  %xmm3,%xmm5
  addsd  %xmm4,%xmm2
  addsd  %xmm0,%xmm3
  movsd  -0x8(%rsp),%xmm7
  movapd %xmm7,%xmm8
  mulsd  %xmm15,%xmm8
  movapd %xmm9,%xmm0
  mulsd  %xmm14,%xmm0
  subsd  %xmm0,%xmm8
  mulsd  %xmm15,%xmm9
  mulsd  %xmm14,%xmm7
  addsd  %xmm7,%xmm9
  movapd %xmm6,%xmm0
  mulsd  %xmm14,%xmm0
  movapd %xmm12,%xmm4
  mulsd  %xmm15,%xmm4
  movapd %xmm0,%xmm7
  subsd  %xmm4,%xmm7
  movapd %xmm12,%xmm0
  mulsd  %xmm14,%xmm0
  mulsd  %xmm15,%xmm6
  addsd  %xmm0,%xmm6
  movapd %xmm8,%xmm10
  addsd  %xmm7,%xmm10
  movapd %xmm9,%xmm4
  addsd  %xmm6,%xmm4
  subsd  %xmm8,%xmm7
  subsd  %xmm9,%xmm6
  movapd %xmm6,%xmm0
  movapd %xmm2,%xmm8
  addsd  %xmm10,%xmm8
  movapd %xmm3,%xmm9
  addsd  %xmm4,%xmm9
  mov    (%rdx),%rcx
  movsd  D454(%rip),%xmm11
  movapd %xmm8,%xmm13
  mulsd  %xmm11,%xmm13
  movsd  D694(%rip),%xmm6
  movapd %xmm9,%xmm12
  mulsd  %xmm6,%xmm12
  subsd  %xmm12,%xmm13
  movsd  %xmm13,0x8(%rcx)
  mov    (%rdx),%rcx
  mulsd  %xmm11,%xmm9
  mulsd  %xmm6,%xmm8
  movapd %xmm9,%xmm6
  addsd  %xmm8,%xmm6
  movsd  %xmm6,0x78(%rcx)
  subsd  %xmm10,%xmm2
  subsd  %xmm3,%xmm4
  mov    (%rdx),%rcx
  movsd  D258(%rip),%xmm6
  movapd %xmm2,%xmm9
  mulsd  %xmm6,%xmm9
  movsd  D88(%rip),%xmm3
  movapd %xmm4,%xmm8
  mulsd  %xmm3,%xmm8
  subsd  %xmm8,%xmm9
  movsd  %xmm9,0x38(%rcx)
  mov    (%rdx),%rcx
  mulsd  %xmm6,%xmm4
  mulsd  %xmm3,%xmm2
  addsd  %xmm2,%xmm4
  movsd  %xmm4,0x48(%rcx)
  movapd %xmm1,%xmm3
  subsd  %xmm0,%xmm3
  movapd %xmm5,%xmm4
  addsd  %xmm7,%xmm4
  mov    (%rdx),%rcx
  movsd  D741(%rip),%xmm6
  movapd %xmm3,%xmm9
  mulsd  %xmm6,%xmm9
  movsd  D823(%rip),%xmm2
  movapd %xmm4,%xmm8
  mulsd  %xmm2,%xmm8
  subsd  %xmm8,%xmm9
  movsd  %xmm9,0x28(%rcx)
  mov    (%rdx),%rcx
  mulsd  %xmm6,%xmm4
  mulsd  %xmm2,%xmm3
  addsd  %xmm3,%xmm4
  movsd  %xmm4,0x58(%rcx)
  addsd  %xmm0,%xmm1
  subsd  %xmm5,%xmm7
  mov    (%rdx),%rcx
  movsd  D975(%rip),%xmm0
  movapd %xmm1,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  D744(%rip),%xmm3
  movapd %xmm7,%xmm4
  mulsd  %xmm3,%xmm4
  subsd  %xmm4,%xmm2
  movsd  %xmm2,0x18(%rcx)
  mov    (%rdx),%rcx
  mulsd  %xmm0,%xmm7
  mulsd  %xmm3,%xmm1
  addsd  %xmm1,%xmm7
  movsd  %xmm7,0x68(%rcx)
  add    $0x8,%rdx
  cmp    %rax,%rdx
  jne    L18
  ret
```

tool_calls: name: read_data
arguments: label: D454
type: f64
name: read_data
arguments: label: D694
type: f64
name: read_data
arguments: label: D258
type: f64
name: read_data
arguments: label: D88
type: f64
name: read_data
arguments: label: D741
type: f64
name: read_data
arguments: label: D823
type: f64
name: read_data
arguments: label: D975
type: f64
name: read_data
arguments: label: D744
type: f64
name: read_data
arguments: label: D725
type: f64
name: read_data
arguments: label: D325
type: f64
name: read_data
arguments: label: D567
type: f64
name: read_data
arguments: label: D1184
type: f64
name: read_data
arguments: label: D1101
type: f64
name: read_data
arguments: label: D1130
type: f64
name: read_data
arguments: label: D358
type: f64
name: read_data
arguments: label: D1064
type: f64
name: read_data
arguments: label: D202
type: f64
name: read_data
arguments: label: D887
type: f64

tool: D454: 0.3518509343815956

tool: D694: 0.03465429229977286

tool: D258: 0.2733004667504394

tool: D88: 0.22429189658565907

tool: D741: 0.31180625324666783

tool: D823: 0.16666391461943664

tool: D975: 0.33832950029358816

tool: D744: 0.10263113188058935

tool: D725: 0.7071067811865476

tool: D325: 0.3826834323650898

tool: D567: 0.9238795325112867

tool: D1184: 0.32664074121909414

tool: D1101: 0.13529902503654925

tool: D1130: 0.25

tool: D358: 0.3467599613305369

tool: D1064: 0.06897484482073575

tool: D202: 0.29396890060483966

tool: D887: 0.19642373959677553

assistant: ```c
void ddct16x16s(int isgn, double **a) {
  int j;
  double x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i;
  double x4r, x4i, x5r, x5i, x6r, x6i, x7r, x7i;
  double xr, xi;
  if (isgn < 0) {
    for (j = 0; j <= 15; j++) {
      x4r = a[0][j] - a[15][j];
      xr = a[0][j] + a[15][j];
      x4i = a[8][j] - a[7][j];
      xi = a[8][j] + a[7][j];
      x0r = xr + xi;
      x0i = xr - xi;
      x5r = a[2][j] - a[13][j];
      xr = a[2][j] + a[13][j];
      x5i = a[10][j] - a[5][j];
      xi = a[10][j] + a[5][j];
      x1r = xr + xi;
      x1i = xr - xi;
      x6r = a[4][j] - a[11][j];
      xr = a[4][j] + a[11][j];
      x6i = a[12][j] - a[3][j];
      xi = a[12][j] + a[3][j];
      x2r = xr + xi;
      x2i = xr - xi;
      x7r = a[6][j] - a[9][j];
      xr = a[6][j] + a[9][j];
      x7i = a[14][j] - a[1][j];
      xi = a[14][j] + a[1][j];
      x3r = xr + xi;
      x3i = xr - xi;
      xr = x0r + x2r;
      xi = x1r + x3r;
      a[0][j] = 0.25 * (xr + xi);
      a[8][j] = 0.25 * (xr - xi);
      xr = x0r - x2r;
      xi = x1r - x3r;
      a[4][j] = 0.32664074121909413196 * xr - 0.13529902503654924610 * xi;
      a[12][j] = 0.32664074121909413196 * xi + 0.13529902503654924610 * xr;
      x0r = 0.70710678118654752440 * (x1i - x3i);
      x2r = 0.70710678118654752440 * (x1i + x3i);
      xr = x0i + x0r;
      xi = x2r + x2i;
      a[2][j] = 0.34675996133053686546 * xr - 0.06897484482073575308 * xi;
      a[14][j] = 0.34675996133053686546 * xi + 0.06897484482073575308 * xr;
      xr = x0i - x0r;
      xi = x2r - x2i;
      a[6][j] = 0.29396890060483967924 * xr - 0.19642373959677554532 * xi;
      a[10][j] = 0.29396890060483967924 * xi + 0.19642373959677554532 * xr;
      xr = 0.70710678118654752440 * (x6r - x6i);
      xi = 0.70710678118654752440 * (x6i + x6r);
      x6r = x4r - xr;
      x6i = x4i - xi;
      x4r += xr;
      x4i += xi;
      xr = 0.38268343236508977173 * x7r - 0.92387953251128675613 * x7i;
      xi = 0.38268343236508977173 * x7i + 0.92387953251128675613 * x7r;
      x7r = 0.92387953251128675613 * x5r - 0.38268343236508977173 * x5i;
      x7i = 0.92387953251128675613 * x5i + 0.38268343236508977173 * x5r;
      x5r = x7r + xr;
      x5i = x7i + xi;
      x7r -= xr;
      x7i -= xi;
      xr = x4r + x5r;
      xi = x5i + x4i;
      a[1][j] = 0.35185093438159561476 * xr - 0.03465429229977286565 * xi;
      a[15][j] = 0.35185093438159561476 * xi + 0.03465429229977286565 * xr;
      xr = x4r - x5r;
      xi = x5i - x4i;
      a[7][j] = 0.27330046675043937206 * xr - 0.22429189658565907106 * xi;
      a[9][j] = 0.27330046675043937206 * xi + 0.22429189658565907106 * xr;
      xr = x6r - x7i;
      xi = x7r + x6i;
      a[5][j] = 0.31180625324666780814 * xr - 0.16666391461943662432 * xi;
      a[11][j] = 0.31180625324666780814 * xi + 0.16666391461943662432 * xr;
      xr = x6r + x7i;
      xi = x7r - x6i;
      a[3][j] = 0.33832950029358816957 * xr - 0.10263113188058934529 * xi;
      a[13][j] = 0.33832950029358816957 * xi + 0.10263113188058934529 * xr;
    }
    for (j = 0; j <= 15; j++) {
      x4r = a[j][0] - a[j][15];
      xr = a[j][0] + a[j][15];
      x4i = a[j][8] - a[j][7];
      xi = a[j][8] + a[j][7];
      x0r = xr + xi;
      x0i = xr - xi;
      x5r = a[j][2] - a[j][13];
      xr = a[j][2] + a[j][13];
      x5i = a[j][10] - a[j][5];
      xi = a[j][10] + a[j][5];
      x1r = xr + xi;
      x1i = xr - xi;
      x6r = a[j][4] - a[j][11];
      xr = a[j][4] + a[j][11];
      x6i = a[j][12] - a[j][3];
      xi = a[j][12] + a[j][3];
      x2r = xr + xi;
      x2i = xr - xi;
      x7r = a[j][6] - a[j][9];
      xr = a[j][6] + a[j][9];
      x7i = a[j][14] - a[j][1];
      xi = a[j][14] + a[j][1];
      x3r = xr + xi;
      x3i = xr - xi;
      xr = x0r + x2r;
      xi = x1r + x3r;
      a[j][0] = 0.25 * (xr + xi);
      a[j][8] = 0.25 * (xr - xi);
      xr = x0r - x2r;
      xi = x1r - x3r;
      a[j][4] = 0.32664074121909413196 * xr - 0.13529902503654924610 * xi;
      a[j][12] = 0.32664074121909413196 * xi + 0.13529902503654924610 * xr;
      x0r = 0.70710678118654752440 * (x1i - x3i);
      x2r = 0.70710678118654752440 * (x1i + x3i);
      xr = x0i + x0r;
      xi = x2r + x2i;
      a[j][2] = 0.34675996133053686546 * xr - 0.06897484482073575308 * xi;
      a[j][14] = 0.34675996133053686546 * xi + 0.06897484482073575308 * xr;
      xr = x0i - x0r;
      xi = x2r - x2i;
      a[j][6] = 0.29396890060483967924 * xr - 0.19642373959677554532 * xi;
      a[j][10] = 0.29396890060483967924 * xi + 0.19642373959677554532 * xr;
      xr = 0.70710678118654752440 * (x6r - x6i);
      xi = 0.70710678118654752440 * (x6i + x6r);
      x6r = x4r - xr;
      x6i = x4i - xi;
      x4r += xr;
      x4i += xi;
      xr = 0.38268343236508977173 * x7r - 0.92387953251128675613 * x7i;
      xi = 0.38268343236508977173 * x7i + 0.92387953251128675613 * x7r;
      x7r = 0.92387953251128675613 * x5r - 0.38268343236508977173 * x5i;
      x7i = 0.92387953251128675613 * x5i + 0.38268343236508977173 * x5r;
      x5r = x7r + xr;
      x5i = x7i + xi;
      x7r -= xr;
      x7i -= xi;
      xr = x4r + x5r;
      xi = x5i + x4i;
      a[j][1] = 0.35185093438159561476 * xr - 0.03465429229977286565 * xi;
      a[j][15] = 0.35185093438159561476 * xi + 0.03465429229977286565 * xr;
      xr = x4r - x5r;
      xi = x5i - x4i;
      a[j][7] = 0.27330046675043937206 * xr - 0.22429189658565907106 * xi;
      a[j][9] = 0.27330046675043937206 * xi + 0.22429189658565907106 * xr;
      xr = x6r - x7i;
      xi = x7r + x6i;
      a[j][5] = 0.31180625324666780814 * xr - 0.16666391461943662432 * xi;
      a[j][11] = 0.31180625324666780814 * xi + 0.16666391461943662432 * xr;
      xr = x6r + x7i;
      xi = x7r - x6i;
      a[j][3] = 0.33832950029358816957 * xr - 0.10263113188058934529 * xi;
      a[j][13] = 0.33832950029358816957 * xi + 0.10263113188058934529 * xr;
    }
  } else {
    for (j = 0; j <= 15; j++) {
      x5r = 0.35185093438159561476 * a[1][j] + 0.03465429229977286565 * a[15][j];
      x5i = 0.35185093438159561476 * a[15][j] - 0.03465429229977286565 * a[1][j];
      xr = 0.27330046675043937206 * a[7][j] + 0.22429189658565907106 * a[9][j];
      xi = 0.27330046675043937206 * a[9][j] - 0.22429189658565907106 * a[7][j];
      x4r = x5r + xr;
      x4i = x5i - xi;
      x5r -= xr;
      x5i += xi;
      x7r = 0.31180625324666780814 * a[5][j] + 0.16666391461943662432 * a[11][j];
      x7i = 0.31180625324666780814 * a[11][j] - 0.16666391461943662432 * a[5][j];
      xr = 0.33832950029358816957 * a[3][j] + 0.10263113188058934529 * a[13][j];
      xi = 0.33832950029358816957 * a[13][j] - 0.10263113188058934529 * a[3][j];
      x6r = x7r + xr;
      x6i = x7i - xi;
      x7r -= xr;
      x7i += xi;
      xr = x4r - x6r;
      xi = x4i - x6i;
      x4r += x6r;
      x4i += x6i;
      x6r = 0.70710678118654752440 * (xi + xr);
      x6i = 0.70710678118654752440 * (xi - xr);
      xr = x5r + x7i;
      xi = x5i - x7r;
      x5r -= x7i;
      x5i += x7r;
      x7r = 0.38268343236508977173 * x5r + 0.92387953251128675613 * x5i;
      x7i = 0.38268343236508977173 * x5i - 0.92387953251128675613 * x5r;
      x5r = 0.92387953251128675613 * xr + 0.38268343236508977173 * xi;
      x5i = 0.92387953251128675613 * xi - 0.38268343236508977173 * xr;
      xr = 0.32664074121909413196 * a[4][j] + 0.13529902503654924610 * a[12][j];
      xi = 0.32664074121909413196 * a[12][j] - 0.13529902503654924610 * a[4][j];
      x2r = 0.25 * (a[0][j] + a[8][j]);
      x3r = 0.25 * (a[0][j] - a[8][j]);
      x0r = x2r + xr;
      x1r = x3r + xi;
      x2r -= xr;
      x3r -= xi;
      x0i = 0.34675996133053686546 * a[2][j] + 0.06897484482073575308 * a[14][j];
      x2i = 0.34675996133053686546 * a[14][j] - 0.06897484482073575308 * a[2][j];
      x1i = 0.29396890060483967924 * a[6][j] + 0.19642373959677554532 * a[10][j];
      x3i = 0.29396890060483967924 * a[10][j] - 0.19642373959677554532 * a[6][j];
      xr = x0i - x1i;
      xi = x2i + x3i;
      x0i += x1i;
      x2i -= x3i;
      x1i = 0.70710678118654752440 * (xi + xr);
      x3i = 0.70710678118654752440 * (xi - xr);
      xr = x0r + x0i;
      xi = x0r - x0i;
      a[0][j] = xr + x4r;
      a[15][j] = xr - x4r;
      a[8][j] = xi + x4i;
      a[7][j] = xi - x4i;
      xr = x1r + x1i;
      xi = x1r - x1i;
      a[2][j] = xr + x5r;
      a[13][j] = xr - x5r;
      a[10][j] = xi + x5i;
      a[5][j] = xi - x5i;
      xr = x2r + x2i;
      xi = x2r - x2i;
      a[4][j] = xr + x6r;
      a[11][j] = xr - x6r;
      a[12][j] = xi + x6i;
      a[3][j] = xi - x6i;
      xr = x3r + x3i;
      xi = x3r - x3i;
      a[6][j] = xr + x7r;
      a[9][j] = xr - x7r;
      a[14][j] = xi + x7i;
      a[1][j] = xi - x7i;
    }
    for (j = 0; j <= 15; j++) {
      x5r = 0.35185093438159561476 * a[j][1] + 0.03465429229977286565 * a[j][15];
      x5i = 0.35185093438159561476 * a[j][15] - 0.03465429229977286565 * a[j][1];
      xr = 0.27330046675043937206 * a[j][7] + 0.22429189658565907106 * a[j][9];
      xi = 0.27330046675043937206 * a[j][9] - 0.22429189658565907106 * a[j][7];
      x4r = x5r + xr;
      x4i = x5i - xi;
      x5r -= xr;
      x5i += xi;
      x7r = 0.31180625324666780814 * a[j][5] + 0.16666391461943662432 * a[j][11];
      x7i = 0.31180625324666780814 * a[j][11] - 0.16666391461943662432 * a[j][5];
      xr = 0.33832950029358816957 * a[j][3] + 0.10263113188058934529 * a[j][13];
      xi = 0.33832950029358816957 * a[j][13] - 0.10263113188058934529 * a[j][3];
      x6r = x7r + xr;
      x6i = x7i - xi;
      x7r -= xr;
      x7i += xi;
      xr = x4r - x6r;
      xi = x4i - x6i;
      x4r += x6r;
      x4i += x6i;
      x6r = 0.70710678118654752440 * (xi + xr);
      x6i = 0.70710678118654752440 * (xi - xr);
      xr = x5r + x7i;
      xi = x5i - x7r;
      x5r -= x7i;
      x5i += x7r;
      x7r = 0.38268343236508977173 * x5r + 0.92387953251128675613 * x5i;
      x7i = 0.38268343236508977173 * x5i - 0.92387953251128675613 * x5r;
      x5r = 0.92387953251128675613 * xr + 0.38268343236508977173 * xi;
      x5i = 0.92387953251128675613 * xi - 0.38268343236508977173 * xr;
      xr = 0.32664074121909413196 * a[j][4] + 0.13529902503654924610 * a[j][12];
      xi = 0.32664074121909413196 * a[j][12] - 0.13529902503654924610 * a[j][4];
      x2r = 0.25 * (a[j][0] + a[j][8]);
      x3r = 0.25 * (a[j][0] - a[j][8]);
      x0r = x2r + xr;
      x1r = x3r + xi;
      x2r -= xr;
      x3r -= xi;
      x0i = 0.34675996133053686546 * a[j][2] + 0.06897484482073575308 * a[j][14];
      x2i = 0.34675996133053686546 * a[j][14] - 0.06897484482073575308 * a[j][2];
      x1i = 0.29396890060483967924 * a[j][6] + 0.19642373959677554532 * a[j][10];
      x3i = 0.29396890060483967924 * a[j][10] - 0.19642373959677554532 * a[j][6];
      xr = x0i - x1i;
      xi = x2i + x3i;
      x0i += x1i;
      x2i -= x3i;
      x1i = 0.70710678118654752440 * (xi + xr);
      x3i = 0.70710678118654752440 * (xi - xr);
      xr = x0r + x0i;
      xi = x0r - x0i;
      a[j][0] = xr + x4r;
      a[j][15] = xr - x4r;
      a[j][8] = xi + x4i;
      a[j][7] = xi - x4i;
      xr = x1r + x1i;
      xi = x1r - x1i;
      a[j][2] = xr + x5r;
      a[j][13] = xr - x5r;
      a[j][10] = xi + x5i;
      a[j][5] = xi - x5i;
      xr = x2r + x2i;
      xi = x2r - x2i;
      a[j][4] = xr + x6r;
      a[j][11] = xr - x6r;
      a[j][12] = xi + x6i;
      a[j][3] = xi - x6i;
      xr = x3r + x3i;
      xi = x3r - x3i;
      a[j][6] = xr + x7r;
      a[j][9] = xr - x7r;
      a[j][14] = xi + x7i;
      a[j][1] = xi - x7i;
    }
  }
}
```