user: Converte this assembly snippet into its equivalent C code:

```asm
<helper_float_8>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x18(%rbp)
  movl   $0x0,-0x10(%rbp)
  jmp    L28
L3:
  movl   $0x0,-0xc(%rbp)
  jmp    L66
L54:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%edx
  movslq %edx,%rcx
  mov    -0xc(%rbp),%edx
  movslq %edx,%rdx
  add    %rcx,%rdx
  add    $0x8,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    -0x10(%rbp),%ecx
  movslq %ecx,%rsi
  mov    -0xc(%rbp),%ecx
  movslq %ecx,%rcx
  add    %rsi,%rcx
  add    $0x10,%rcx
  lea    0x0(,%rcx,4),%rsi
  mov    -0x18(%rbp),%rcx
  add    %rsi,%rcx
  mov    -0x10(%rbp),%esi
  movslq %esi,%rdi
  mov    -0xc(%rbp),%esi
  movslq %esi,%rsi
  add    %rdi,%rsi
  add    $0x18,%rsi
  lea    0x0(,%rsi,4),%rdi
  mov    -0x18(%rbp),%rsi
  add    %rdi,%rsi
  mov    -0x10(%rbp),%edi
  movslq %edi,%r8
  mov    -0xc(%rbp),%edi
  movslq %edi,%rdi
  add    %r8,%rdi
  add    $0x20,%rdi
  lea    0x0(,%rdi,4),%r8
  mov    -0x18(%rbp),%rdi
  add    %r8,%rdi
  mov    -0x10(%rbp),%r8d
  movslq %r8d,%r9
  mov    -0xc(%rbp),%r8d
  movslq %r8d,%r8
  add    %r9,%r8
  add    $0x28,%r8
  lea    0x0(,%r8,4),%r9
  mov    -0x18(%rbp),%r8
  add    %r9,%r8
  mov    -0x10(%rbp),%r9d
  movslq %r9d,%r10
  mov    -0xc(%rbp),%r9d
  movslq %r9d,%r9
  add    %r10,%r9
  add    $0x30,%r9
  lea    0x0(,%r9,4),%r10
  mov    -0x18(%rbp),%r9
  add    %r10,%r9
  mov    -0x10(%rbp),%r10d
  movslq %r10d,%r11
  mov    -0xc(%rbp),%r10d
  movslq %r10d,%r10
  add    %r11,%r10
  add    $0x38,%r10
  lea    0x0(,%r10,4),%r11
  mov    -0x18(%rbp),%r10
  add    %r11,%r10
  vmovups (%rax),%ymm0
  vmovups (%rdx),%ymm1
  vmovups (%rcx),%ymm2
  vmovups (%rsi),%ymm3
  vmovups (%rdi),%ymm4
  vmovups (%r8),%ymm5
  vmovups (%r9),%ymm6
  vmovups (%r10),%ymm7
  vpermilps $0xa0,%ymm0,%ymm8
  vpermilps $0xf5,%ymm0,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm0
  vpermilps $0xa0,%ymm1,%ymm8
  vpermilps $0xf5,%ymm1,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm1
  vpermilps $0xa0,%ymm2,%ymm8
  vpermilps $0xf5,%ymm2,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm2
  vpermilps $0xa0,%ymm3,%ymm8
  vpermilps $0xf5,%ymm3,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm3
  vpermilps $0xa0,%ymm4,%ymm8
  vpermilps $0xf5,%ymm4,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm4
  vpermilps $0xa0,%ymm5,%ymm8
  vpermilps $0xf5,%ymm5,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm5
  vpermilps $0xa0,%ymm6,%ymm8
  vpermilps $0xf5,%ymm6,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm6
  vpermilps $0xa0,%ymm7,%ymm8
  vpermilps $0xf5,%ymm7,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vaddsubps %ymm11,%ymm8,%ymm7
  vpermilps $0x44,%ymm0,%ymm8
  vpermilps $0xee,%ymm0,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm0
  vpermilps $0x44,%ymm1,%ymm8
  vpermilps $0xee,%ymm1,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm1
  vpermilps $0x44,%ymm2,%ymm8
  vpermilps $0xee,%ymm2,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm2
  vpermilps $0x44,%ymm3,%ymm8
  vpermilps $0xee,%ymm3,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm3
  vpermilps $0x44,%ymm4,%ymm8
  vpermilps $0xee,%ymm4,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm4
  vpermilps $0x44,%ymm5,%ymm8
  vpermilps $0xee,%ymm5,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm5
  vpermilps $0x44,%ymm6,%ymm8
  vpermilps $0xee,%ymm6,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm6
  vpermilps $0x44,%ymm7,%ymm8
  vpermilps $0xee,%ymm7,%ymm9
  vxorps %ymm10,%ymm10,%ymm10
  vsubps %ymm9,%ymm10,%ymm11
  vblendps $0xcc,%ymm11,%ymm9,%ymm12
  vaddps %ymm8,%ymm12,%ymm7
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm0,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm0,%ymm0,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm0,%ymm11
  vaddps %ymm10,%ymm11,%ymm0
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm1,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm1,%ymm1,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm1,%ymm11
  vaddps %ymm10,%ymm11,%ymm1
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm2,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm2,%ymm2,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm2,%ymm11
  vaddps %ymm10,%ymm11,%ymm2
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm3,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm3,%ymm3,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm3,%ymm11
  vaddps %ymm10,%ymm11,%ymm3
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm4,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm4,%ymm4,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm4,%ymm11
  vaddps %ymm10,%ymm11,%ymm4
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm5,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm5,%ymm5,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm5,%ymm11
  vaddps %ymm10,%ymm11,%ymm5
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm6,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm6,%ymm6,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm6,%ymm11
  vaddps %ymm10,%ymm11,%ymm6
  vxorps %ymm8,%ymm8,%ymm8
  vsubps %ymm7,%ymm8,%ymm9
  vperm2f128 $0x0,%ymm7,%ymm7,%ymm10
  vperm2f128 $0x31,%ymm9,%ymm7,%ymm11
  vaddps %ymm10,%ymm11,%ymm7
  vaddps %ymm1,%ymm0,%ymm8
  vsubps %ymm1,%ymm0,%ymm9
  vaddps %ymm3,%ymm2,%ymm10
  vsubps %ymm3,%ymm2,%ymm11
  vaddps %ymm5,%ymm4,%ymm12
  vsubps %ymm5,%ymm4,%ymm13
  vaddps %ymm7,%ymm6,%ymm14
  vsubps %ymm7,%ymm6,%ymm15
  vaddps %ymm10,%ymm8,%ymm0
  vsubps %ymm10,%ymm8,%ymm2
  vaddps %ymm11,%ymm9,%ymm1
  vsubps %ymm11,%ymm9,%ymm3
  vaddps %ymm14,%ymm12,%ymm4
  vsubps %ymm14,%ymm12,%ymm6
  vaddps %ymm15,%ymm13,%ymm5
  vsubps %ymm15,%ymm13,%ymm7
  vaddps %ymm4,%ymm0,%ymm8
  vsubps %ymm4,%ymm0,%ymm12
  vaddps %ymm5,%ymm1,%ymm9
  vsubps %ymm5,%ymm1,%ymm13
  vaddps %ymm6,%ymm2,%ymm10
  vsubps %ymm6,%ymm2,%ymm14
  vaddps %ymm7,%ymm3,%ymm11
  vsubps %ymm7,%ymm3,%ymm15
  vmovups %ymm8,(%rax)
  vmovups %ymm9,(%rdx)
  vmovups %ymm10,(%rcx)
  vmovups %ymm11,(%rsi)
  vmovups %ymm12,(%rdi)
  vmovups %ymm13,(%r8)
  vmovups %ymm14,(%r9)
  vmovups %ymm15,(%r10)
  addl   $0x8,-0xc(%rbp)
L66:
  cmpl   $0x7,-0xc(%rbp)
  jle    L54
  addl   $0x40,-0x10(%rbp)
L28:
  cmpl   $0xff,-0x10(%rbp)
  jle    L3
  movl   $0x0,-0x8(%rbp)
  jmp    L9
L21:
  movl   $0x0,-0x4(%rbp)
  jmp    L74
L41:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x4(%rbp),%eax
  cltq
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8(%rbp),%edx
  movslq %edx,%rcx
  mov    -0x4(%rbp),%edx
  movslq %edx,%rdx
  add    %rcx,%rdx
  add    $0x40,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    -0x8(%rbp),%ecx
  movslq %ecx,%rsi
  mov    -0x4(%rbp),%ecx
  movslq %ecx,%rcx
  add    %rsi,%rcx
  sub    $0xffffffffffffff80,%rcx
  lea    0x0(,%rcx,4),%rsi
  mov    -0x18(%rbp),%rcx
  add    %rsi,%rcx
  mov    -0x8(%rbp),%esi
  movslq %esi,%rdi
  mov    -0x4(%rbp),%esi
  movslq %esi,%rsi
  add    %rdi,%rsi
  add    $0xc0,%rsi
  lea    0x0(,%rsi,4),%rdi
  mov    -0x18(%rbp),%rsi
  add    %rdi,%rsi
  vmovups (%rax),%ymm0
  vmovups (%rdx),%ymm1
  vmovups (%rcx),%ymm2
  vmovups (%rsi),%ymm3
  vaddps %ymm1,%ymm0,%ymm8
  vsubps %ymm1,%ymm0,%ymm9
  vaddps %ymm3,%ymm2,%ymm10
  vsubps %ymm3,%ymm2,%ymm11
  vaddps %ymm10,%ymm8,%ymm0
  vsubps %ymm10,%ymm8,%ymm2
  vaddps %ymm11,%ymm9,%ymm1
  vsubps %ymm11,%ymm9,%ymm3
  vmovups %ymm0,(%rax)
  vmovups %ymm1,(%rdx)
  vmovups %ymm2,(%rcx)
  vmovups %ymm3,(%rsi)
  addl   $0x8,-0x4(%rbp)
L74:
  cmpl   $0x3f,-0x4(%rbp)
  jle    L41
  addl   $0x100,-0x8(%rbp)
L9:
  cmpl   $0xff,-0x8(%rbp)
  jle    L21
  nop
  nop
  pop    %rbp
  ret
```

assistant: ```c
void helper_float_8(float *buf) {
  for (int j = 0; j < 256; j += 64) {
    for (int k = 0; k < 8; k += 8) {
      __asm__ volatile("vmovups (%0), %%ymm0\n"
                       "vmovups (%1), %%ymm1\n"
                       "vmovups (%2), %%ymm2\n"
                       "vmovups (%3), %%ymm3\n"
                       "vmovups (%4), %%ymm4\n"
                       "vmovups (%5), %%ymm5\n"
                       "vmovups (%6), %%ymm6\n"
                       "vmovups (%7), %%ymm7\n"
                       "vpermilps $160, %%ymm0, %%ymm8\n"
                       "vpermilps $245, %%ymm0, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm0\n"
                       "vpermilps $160, %%ymm1, %%ymm8\n"
                       "vpermilps $245, %%ymm1, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm1\n"
                       "vpermilps $160, %%ymm2, %%ymm8\n"
                       "vpermilps $245, %%ymm2, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm2\n"
                       "vpermilps $160, %%ymm3, %%ymm8\n"
                       "vpermilps $245, %%ymm3, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm3\n"
                       "vpermilps $160, %%ymm4, %%ymm8\n"
                       "vpermilps $245, %%ymm4, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm4\n"
                       "vpermilps $160, %%ymm5, %%ymm8\n"
                       "vpermilps $245, %%ymm5, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm5\n"
                       "vpermilps $160, %%ymm6, %%ymm8\n"
                       "vpermilps $245, %%ymm6, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm6\n"
                       "vpermilps $160, %%ymm7, %%ymm8\n"
                       "vpermilps $245, %%ymm7, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vaddsubps %%ymm11, %%ymm8, %%ymm7\n"
                       "vpermilps $68, %%ymm0, %%ymm8\n"
                       "vpermilps $238, %%ymm0, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm0\n"
                       "vpermilps $68, %%ymm1, %%ymm8\n"
                       "vpermilps $238, %%ymm1, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm1\n"
                       "vpermilps $68, %%ymm2, %%ymm8\n"
                       "vpermilps $238, %%ymm2, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm2\n"
                       "vpermilps $68, %%ymm3, %%ymm8\n"
                       "vpermilps $238, %%ymm3, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm3\n"
                       "vpermilps $68, %%ymm4, %%ymm8\n"
                       "vpermilps $238, %%ymm4, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm4\n"
                       "vpermilps $68, %%ymm5, %%ymm8\n"
                       "vpermilps $238, %%ymm5, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm5\n"
                       "vpermilps $68, %%ymm6, %%ymm8\n"
                       "vpermilps $238, %%ymm6, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm6\n"
                       "vpermilps $68, %%ymm7, %%ymm8\n"
                       "vpermilps $238, %%ymm7, %%ymm9\n"
                       "vxorps %%ymm10, %%ymm10, %%ymm10\n"
                       "vsubps %%ymm9, %%ymm10, %%ymm11\n"
                       "vblendps $204, %%ymm11, %%ymm9, %%ymm12\n"
                       "vaddps %%ymm8, %%ymm12, %%ymm7\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm0, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm0, %%ymm0, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm0, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm0\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm1, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm1, %%ymm1, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm1, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm1\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm2, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm2, %%ymm2, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm2, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm2\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm3, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm3, %%ymm3, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm3, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm3\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm4, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm4, %%ymm4, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm4, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm4\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm5, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm5, %%ymm5, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm5, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm5\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm6, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm6, %%ymm6, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm6, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm6\n"
                       "vxorps %%ymm8, %%ymm8, %%ymm8\n"
                       "vsubps %%ymm7, %%ymm8, %%ymm9\n"
                       "vperm2f128 $0, %%ymm7, %%ymm7, %%ymm10\n"
                       "vperm2f128 $49, %%ymm9, %%ymm7, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm11, %%ymm7\n"
                       "vaddps %%ymm1, %%ymm0, %%ymm8\n"
                       "vsubps %%ymm1, %%ymm0, %%ymm9\n"
                       "vaddps %%ymm3, %%ymm2, %%ymm10\n"
                       "vsubps %%ymm3, %%ymm2, %%ymm11\n"
                       "vaddps %%ymm5, %%ymm4, %%ymm12\n"
                       "vsubps %%ymm5, %%ymm4, %%ymm13\n"
                       "vaddps %%ymm7, %%ymm6, %%ymm14\n"
                       "vsubps %%ymm7, %%ymm6, %%ymm15\n"
                       "vaddps %%ymm10, %%ymm8, %%ymm0\n"
                       "vsubps %%ymm10, %%ymm8, %%ymm2\n"
                       "vaddps %%ymm11, %%ymm9, %%ymm1\n"
                       "vsubps %%ymm11, %%ymm9, %%ymm3\n"
                       "vaddps %%ymm14, %%ymm12, %%ymm4\n"
                       "vsubps %%ymm14, %%ymm12, %%ymm6\n"
                       "vaddps %%ymm15, %%ymm13, %%ymm5\n"
                       "vsubps %%ymm15, %%ymm13, %%ymm7\n"
                       "vaddps %%ymm4, %%ymm0, %%ymm8\n"
                       "vsubps %%ymm4, %%ymm0, %%ymm12\n"
                       "vaddps %%ymm5, %%ymm1, %%ymm9\n"
                       "vsubps %%ymm5, %%ymm1, %%ymm13\n"
                       "vaddps %%ymm6, %%ymm2, %%ymm10\n"
                       "vsubps %%ymm6, %%ymm2, %%ymm14\n"
                       "vaddps %%ymm7, %%ymm3, %%ymm11\n"
                       "vsubps %%ymm7, %%ymm3, %%ymm15\n"
                       "vmovups %%ymm8, (%0)\n"
                       "vmovups %%ymm9, (%1)\n"
                       "vmovups %%ymm10, (%2)\n"
                       "vmovups %%ymm11, (%3)\n"
                       "vmovups %%ymm12, (%4)\n"
                       "vmovups %%ymm13, (%5)\n"
                       "vmovups %%ymm14, (%6)\n"
                       "vmovups %%ymm15, (%7)\n" ::"r"(buf + j + k + 0),
                       "r"(buf + j + k + 8), "r"(buf + j + k + 16), "r"(buf + j + k + 24), "r"(buf + j + k + 32), "r"(buf + j + k + 40), "r"(buf + j + k + 48), "r"(buf + j + k + 56)
                       : "%ymm0", "%ymm1", "%ymm2", "%ymm3", "%ymm4", "%ymm5", "%ymm6", "%ymm7", "%ymm8", "%ymm9", "%ymm10", "%ymm11", "%ymm12", "%ymm13", "%ymm14", "%ymm15", "memory");
    }
  }
  for (int j = 0; j < 256; j += 256) {
    for (int k = 0; k < 64; k += 8) {
      __asm__ volatile("vmovups (%0), %%ymm0\n"
                       "vmovups (%1), %%ymm1\n"
                       "vmovups (%2), %%ymm2\n"
                       "vmovups (%3), %%ymm3\n"
                       "vaddps %%ymm1, %%ymm0, %%ymm8\n"
                       "vsubps %%ymm1, %%ymm0, %%ymm9\n"
                       "vaddps %%ymm3, %%ymm2, %%ymm10\n"
                       "vsubps %%ymm3, %%ymm2, %%ymm11\n"
                       "vaddps %%ymm10, %%ymm8, %%ymm0\n"
                       "vsubps %%ymm10, %%ymm8, %%ymm2\n"
                       "vaddps %%ymm11, %%ymm9, %%ymm1\n"
                       "vsubps %%ymm11, %%ymm9, %%ymm3\n"
                       "vmovups %%ymm0, (%0)\n"
                       "vmovups %%ymm1, (%1)\n"
                       "vmovups %%ymm2, (%2)\n"
                       "vmovups %%ymm3, (%3)\n" ::"r"(buf + j + k + 0),
                       "r"(buf + j + k + 64), "r"(buf + j + k + 128), "r"(buf + j + k + 192)
                       : "%ymm0", "%ymm1", "%ymm2", "%ymm3", "%ymm4", "%ymm5", "%ymm6", "%ymm7", "%ymm8", "%ymm9", "%ymm10", "%ymm11", "%ymm12", "%ymm13", "%ymm14", "%ymm15", "memory");
    }
  }
}
```