user: Please show me the C implementation that matches the assembly code listed below:

```asm
<bitslice_syndrome>:
  endbr64
  mov    %rdi,%rax
  push   %r15
  push   %r14
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  push   %rbp
  push   %rbx
  movdqu 0x54(%rax),%xmm2
  movdqu 0x4(%rax),%xmm6
  movdqu 0x14(%rax),%xmm0
  movdqu 0x24(%rax),%xmm5
  movdqu 0x34(%rax),%xmm4
  movdqu 0x44(%rax),%xmm3
  movdqu 0x64(%rax),%xmm1
  mov    %rax,-0x10(%rsp)
  mov    (%rdi),%edi
  movups %xmm0,0x10(%rax)
  pxor   %xmm6,%xmm0
  mov    0x7c(%rax),%esi
  movups %xmm4,0x30(%rax)
  pxor   %xmm5,%xmm4
  movd   %xmm1,%r14d
  movups %xmm3,0x40(%rax)
  pxor   %xmm2,%xmm3
  pxor   %xmm4,%xmm0
  xor    %esi,%edi
  pxor   %xmm1,%xmm3
  movl   $0x0,0x7c(%rax)
  pxor   %xmm3,%xmm0
  movups %xmm2,0x50(%rax)
  movdqa %xmm0,%xmm3
  movups %xmm1,0x60(%rax)
  psrldq $0x8,%xmm3
  movups %xmm6,(%rax)
  pxor   %xmm3,%xmm0
  movq   0x74(%rax),%xmm3
  mov    %esi,0x78(%rax)
  movups %xmm5,0x20(%rax)
  movd   %xmm3,%ebx
  pshufd $0xe5,%xmm3,%xmm7
  movq   %xmm3,0x70(%rax)
  movdqa %xmm0,%xmm3
  psrldq $0x4,%xmm3
  movd   %xmm7,%ecx
  xor    %ebx,%edi
  pxor   %xmm3,%xmm0
  xor    %ecx,%edi
  movd   %xmm0,%edx
  pshufd $0xff,%xmm2,%xmm0
  movd   %xmm0,%r12d
  movdqa %xmm2,%xmm0
  xor    %edi,%edx
  punpckhdq %xmm2,%xmm0
  pshufd $0x55,%xmm2,%xmm2
  mov    %edx,-0x18(%rsp)
  lea    0x44(%rax),%rdx
  movd   %xmm0,%r11d
  pshufd $0x55,%xmm1,%xmm0
  movd   %xmm2,%r8d
  movd   %xmm0,%r10d
  movdqa %xmm1,%xmm0
  punpckhdq %xmm1,%xmm0
  pshufd $0xff,%xmm1,%xmm1
  movd   %xmm0,%r9d
  movd   %xmm1,%edi
L3:
  mov    0xc(%rdx),%r15d
  mov    %r9d,%eax
  mov    0x8(%rdx),%r9d
  xor    %esi,%r12d
  xor    %esi,%eax
  xor    %ecx,%r10d
  mov    %edi,%ebp
  mov    %r12d,-0x1c(%rsp)
  xor    %esi,%r15d
  xor    %ecx,%esi
  xor    %ebx,%ecx
  mov    %r10d,-0x14(%rsp)
  xor    %esi,%r9d
  xor    %esi,%r11d
  xor    %esi,%ebp
  xor    %ecx,%r8d
  xor    %r14d,%esi
  mov    %r9d,0x8(%rdx)
  mov    %r9d,%r12d
  mov    %r11d,%r9d
  mov    0x4(%rdx),%r11d
  mov    %r8d,0x10(%rdx)
  mov    %esi,%ebx
  mov    %r8d,%r10d
  mov    -0x1c(%rsp),%edi
  mov    (%rdx),%r8d
  xor    %ecx,%ebx
  xor    %ebp,%eax
  xor    %ecx,%r11d
  xor    %ebp,%ecx
  add    $0x4,%r13d
  movl   $0x0,0x34(%rdx)
  xor    %ecx,%r15d
  xor    %ecx,%r8d
  xor    %ecx,%r9d
  xor    %ebp,%edi
  xor    -0x14(%rsp),%ecx
  movl   $0x0,0x30(%rdx)
  mov    %r15d,%r14d
  mov    %eax,%esi
  mov    %r11d,0x4(%rdx)
  sub    $0x10,%rdx
  mov    %ebx,0x2c(%rdx)
  movl   $0x0,0x3c(%rdx)
  mov    %r8d,0x10(%rdx)
  mov    %r15d,0x1c(%rdx)
  mov    %r9d,0x24(%rdx)
  mov    %edi,0x28(%rdx)
  mov    %ecx,0x30(%rdx)
  mov    %eax,0x34(%rdx)
  movl   $0x0,0x38(%rdx)
  cmp    $0x14,%r13d
  jne    L3
  mov    -0x10(%rsp),%rax
  mov    %rax,%rdx
  nopw   0x0(%rax,%rax,1)
L9:
  mov    %rdx,%rsi
  mov    0x28(%rdx),%ecx
  movl   $0x0,0x28(%rdx)
  xor    %ecx,(%rdx)
  xor    %ecx,0xc(%rdx)
  xor    %ecx,0x14(%rdx)
  xor    %ecx,0x18(%rdx)
  xor    %ecx,0x20(%rdx)
  xor    %ecx,0x24(%rdx)
  sub    $0x4,%rdx
  cmp    %rax,%rsi
  jne    L9
  mov    -0x18(%rsp),%ebx
  or     %ebx,0x28(%rax)
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void bitslice_syndrome(uint32_t *slices) {
  const int firstBit = 31 - 1;
  int i, n;
  uint32_t paritymask = slices[0];
  for (i = 1; i < 32; ++i) {
    paritymask ^= slices[i];
    slices[i - 1] = slices[i];
  }
  slices[31] = 0;
  for (n = 0; n < 21; ++n) {
    const int bit = firstBit - n;
    slices[20 - n] ^= slices[bit];
    slices[23 - n] ^= slices[bit];
    slices[25 - n] ^= slices[bit];
    slices[26 - n] ^= slices[bit];
    slices[28 - n] ^= slices[bit];
    slices[29 - n] ^= slices[bit];
    slices[30 - n] ^= slices[bit];
    slices[31 - n] ^= slices[bit];
  }
  slices[31 - 21] |= paritymask;
}
```