user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<rl_redisPopcount>:
  endbr64
  mov    %rdi,%r8
  mov    %rdi,%rcx
  mov    %rsi,%rax
  and    $0x3,%r8d
  je     L228
  xor    %r8d,%r8d
  test   %rsi,%rsi
  je     L167
  lea    D11(%rip),%rdx
  jmp    L260
  nopl   0x0(%rax,%rax,1)
L108:
  test   %rax,%rax
  je     L167
L260:
  movzbl (%rcx),%esi
  add    $0x1,%rcx
  sub    $0x1,%rax
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  test   $0x3,%cl
  jne    L108
L228:
  push   %r12
  push   %rbp
  push   %rbx
  cmp    $0xf,%rax
  jle    L224
  lea    -0x10(%rax),%r9
  mov    %r9,%rdi
  shr    $0x4,%rdi
  lea    0x1(%rdi),%rsi
  cmp    $0x2f,%r9
  jbe    L174
  mov    %rsi,%r10
  mov    %rcx,%rdx
  pxor   %xmm5,%xmm5
  movdqa D19(%rip),%xmm4
  shr    $0x2,%r10
  movdqa D47(%rip),%xmm2
  movdqa D37(%rip),%xmm3
  pxor   %xmm6,%xmm6
  shl    $0x6,%r10
  add    %rcx,%r10
  nopl   0x0(%rax,%rax,1)
L177:
  movdqu (%rdx),%xmm0
  movdqu 0x10(%rdx),%xmm7
  add    $0x40,%rdx
  movdqu -0x20(%rdx),%xmm9
  movdqu -0x10(%rdx),%xmm11
  movdqa %xmm0,%xmm1
  shufps $0xdd,%xmm7,%xmm0
  shufps $0x88,%xmm7,%xmm1
  movdqa %xmm9,%xmm7
  movdqa %xmm1,%xmm8
  shufps $0xdd,%xmm11,%xmm9
  shufps $0x88,%xmm11,%xmm7
  shufps $0x88,%xmm7,%xmm8
  shufps $0xdd,%xmm7,%xmm1
  movdqa %xmm0,%xmm7
  shufps $0x88,%xmm9,%xmm7
  shufps $0xdd,%xmm9,%xmm0
  movdqa %xmm8,%xmm9
  psrad  $0x1,%xmm9
  pand   %xmm4,%xmm9
  psubd  %xmm9,%xmm8
  movdqa %xmm8,%xmm10
  pand   %xmm2,%xmm8
  psrad  $0x2,%xmm10
  pand   %xmm2,%xmm10
  paddd  %xmm8,%xmm10
  movdqa %xmm7,%xmm8
  psrad  $0x1,%xmm8
  pand   %xmm4,%xmm8
  psubd  %xmm8,%xmm7
  movdqa %xmm7,%xmm8
  pand   %xmm2,%xmm7
  psrad  $0x2,%xmm8
  pand   %xmm2,%xmm8
  paddd  %xmm8,%xmm7
  movdqa %xmm1,%xmm8
  psrad  $0x1,%xmm8
  pand   %xmm4,%xmm8
  psubd  %xmm8,%xmm1
  movdqa %xmm1,%xmm9
  pand   %xmm2,%xmm1
  psrad  $0x2,%xmm9
  pand   %xmm2,%xmm9
  paddd  %xmm1,%xmm9
  movdqa %xmm0,%xmm1
  psrad  $0x1,%xmm1
  pand   %xmm4,%xmm1
  psubd  %xmm1,%xmm0
  movdqa %xmm7,%xmm1
  movdqa %xmm0,%xmm8
  psrad  $0x4,%xmm1
  pand   %xmm2,%xmm0
  paddd  %xmm7,%xmm1
  psrad  $0x2,%xmm8
  movdqa %xmm10,%xmm7
  pand   %xmm3,%xmm1
  psrad  $0x4,%xmm7
  pand   %xmm2,%xmm8
  paddd  %xmm0,%xmm8
  movdqa %xmm1,%xmm0
  paddd  %xmm10,%xmm7
  pslld  $0x8,%xmm0
  pand   %xmm3,%xmm7
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  pslld  $0x10,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm7,%xmm1
  pslld  $0x8,%xmm1
  psrad  $0x18,%xmm0
  paddd  %xmm7,%xmm1
  movdqa %xmm1,%xmm7
  pslld  $0x10,%xmm7
  paddd  %xmm7,%xmm1
  movdqa %xmm9,%xmm7
  psrad  $0x4,%xmm7
  psrad  $0x18,%xmm1
  paddd  %xmm9,%xmm7
  paddd  %xmm1,%xmm0
  pand   %xmm3,%xmm7
  movdqa %xmm7,%xmm1
  pslld  $0x8,%xmm1
  paddd  %xmm7,%xmm1
  movdqa %xmm1,%xmm7
  pslld  $0x10,%xmm7
  paddd  %xmm7,%xmm1
  movdqa %xmm8,%xmm7
  psrad  $0x4,%xmm7
  psrad  $0x18,%xmm1
  paddd  %xmm8,%xmm7
  paddd  %xmm1,%xmm0
  pand   %xmm3,%xmm7
  movdqa %xmm7,%xmm1
  pslld  $0x8,%xmm1
  paddd  %xmm7,%xmm1
  movdqa %xmm1,%xmm7
  pslld  $0x10,%xmm7
  paddd  %xmm7,%xmm1
  psrad  $0x18,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm6,%xmm1
  pcmpgtd %xmm0,%xmm1
  movdqa %xmm0,%xmm7
  punpckhdq %xmm1,%xmm7
  punpckldq %xmm1,%xmm0
  paddq  %xmm7,%xmm0
  paddq  %xmm0,%xmm5
  cmp    %rdx,%r10
  jne    L177
  movdqa %xmm5,%xmm0
  psrldq $0x8,%xmm0
  paddq  %xmm0,%xmm5
  movq   %xmm5,%rdx
  add    %rdx,%r8
  mov    %rsi,%rdx
  and    $0xfffffffffffffffc,%rdx
  mov    %rdx,%r10
  shl    $0x4,%r10
  sub    %r10,%rax
  mov    %rdx,%r10
  shl    $0x4,%r10
  add    %rcx,%r10
  cmp    %rsi,%rdx
  je     L45
L262:
  mov    (%r10),%r12d
  mov    0x4(%r10),%ebp
  mov    0x8(%r10),%ebx
  mov    0xc(%r10),%edx
  mov    %r12d,%r11d
  sar    %r11d
  and    $0x55555555,%r11d
  sub    %r11d,%r12d
  mov    %r12d,%r11d
  sar    $0x2,%r12d
  and    $0x33333333,%r12d
  and    $0x33333333,%r11d
  add    %r12d,%r11d
  mov    %ebp,%r12d
  sar    %r12d
  and    $0x55555555,%r12d
  sub    %r12d,%ebp
  mov    %ebp,%r12d
  sar    $0x2,%ebp
  and    $0x33333333,%ebp
  and    $0x33333333,%r12d
  add    %ebp,%r12d
  mov    %ebx,%ebp
  sar    %ebp
  and    $0x55555555,%ebp
  sub    %ebp,%ebx
  mov    %ebx,%ebp
  sar    $0x2,%ebx
  and    $0x33333333,%ebx
  and    $0x33333333,%ebp
  add    %ebx,%ebp
  mov    %edx,%ebx
  sar    %ebx
  and    $0x55555555,%ebx
  sub    %ebx,%edx
  mov    %edx,%ebx
  sar    $0x2,%edx
  and    $0x33333333,%edx
  and    $0x33333333,%ebx
  add    %edx,%ebx
  mov    %r11d,%edx
  sar    $0x4,%edx
  add    %r11d,%edx
  mov    %r12d,%r11d
  and    $0xf0f0f0f,%edx
  imul   $0x1010101,%edx,%edx
  sar    $0x18,%edx
  sar    $0x4,%r11d
  add    %r12d,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%edx
  mov    %ebp,%r11d
  sar    $0x4,%r11d
  add    %ebp,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%edx
  mov    %ebx,%r11d
  sar    $0x4,%r11d
  add    %ebx,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%edx
  movslq %edx,%rdx
  add    %rdx,%r8
  lea    -0x10(%rax),%rdx
  cmp    $0xf,%rdx
  jle    L45
  mov    0x10(%r10),%r12d
  mov    0x14(%r10),%ebp
  mov    0x18(%r10),%ebx
  mov    0x1c(%r10),%edx
  mov    %r12d,%r11d
  sar    %r11d
  and    $0x55555555,%r11d
  sub    %r11d,%r12d
  mov    %r12d,%r11d
  sar    $0x2,%r12d
  and    $0x33333333,%r12d
  and    $0x33333333,%r11d
  add    %r12d,%r11d
  mov    %ebp,%r12d
  sar    %r12d
  and    $0x55555555,%r12d
  sub    %r12d,%ebp
  mov    %ebp,%r12d
  sar    $0x2,%ebp
  and    $0x33333333,%ebp
  and    $0x33333333,%r12d
  add    %ebp,%r12d
  mov    %ebx,%ebp
  sar    %ebp
  and    $0x55555555,%ebp
  sub    %ebp,%ebx
  mov    %ebx,%ebp
  sar    $0x2,%ebx
  and    $0x33333333,%ebx
  and    $0x33333333,%ebp
  add    %ebx,%ebp
  mov    %edx,%ebx
  sar    %ebx
  and    $0x55555555,%ebx
  sub    %ebx,%edx
  mov    %edx,%ebx
  sar    $0x2,%edx
  and    $0x33333333,%edx
  and    $0x33333333,%ebx
  add    %edx,%ebx
  mov    %r11d,%edx
  sar    $0x4,%edx
  add    %r11d,%edx
  mov    %r12d,%r11d
  and    $0xf0f0f0f,%edx
  imul   $0x1010101,%edx,%edx
  sar    $0x18,%edx
  sar    $0x4,%r11d
  add    %r12d,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%edx
  mov    %ebp,%r11d
  sar    $0x4,%r11d
  add    %ebp,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%edx
  mov    %ebx,%r11d
  sar    $0x4,%r11d
  add    %ebx,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%edx
  movslq %edx,%rdx
  add    %rdx,%r8
  cmp    $0x2f,%rax
  jle    L45
  mov    0x20(%r10),%r11d
  mov    0x24(%r10),%ebx
  mov    0x28(%r10),%eax
  mov    0x2c(%r10),%edx
  mov    %r11d,%r10d
  sar    %r10d
  mov    %eax,%ebp
  and    $0x55555555,%r10d
  sar    %ebp
  sub    %r10d,%r11d
  and    $0x55555555,%ebp
  mov    %r11d,%r10d
  sar    $0x2,%r11d
  sub    %ebp,%eax
  and    $0x33333333,%r10d
  and    $0x33333333,%r11d
  add    %r10d,%r11d
  mov    %ebx,%r10d
  sar    %r10d
  and    $0x55555555,%r10d
  sub    %r10d,%ebx
  mov    %ebx,%r10d
  sar    $0x2,%ebx
  and    $0x33333333,%r10d
  and    $0x33333333,%ebx
  add    %r10d,%ebx
  mov    %eax,%r10d
  and    $0x33333333,%eax
  sar    $0x2,%r10d
  and    $0x33333333,%r10d
  add    %eax,%r10d
  mov    %edx,%eax
  sar    %eax
  and    $0x55555555,%eax
  sub    %eax,%edx
  mov    %edx,%eax
  sar    $0x2,%edx
  and    $0x33333333,%eax
  and    $0x33333333,%edx
  add    %eax,%edx
  mov    %ebx,%eax
  sar    $0x4,%eax
  add    %ebx,%eax
  mov    %r11d,%ebx
  and    $0xf0f0f0f,%eax
  imul   $0x1010101,%eax,%eax
  sar    $0x18,%eax
  sar    $0x4,%ebx
  add    %ebx,%r11d
  and    $0xf0f0f0f,%r11d
  imul   $0x1010101,%r11d,%r11d
  sar    $0x18,%r11d
  add    %r11d,%eax
  mov    %r10d,%r11d
  sar    $0x4,%r11d
  add    %r11d,%r10d
  and    $0xf0f0f0f,%r10d
  imul   $0x1010101,%r10d,%r10d
  sar    $0x18,%r10d
  add    %r10d,%eax
  mov    %edx,%r10d
  sar    $0x4,%r10d
  add    %r10d,%edx
  and    $0xf0f0f0f,%edx
  imul   $0x1010101,%edx,%edx
  sar    $0x18,%edx
  add    %edx,%eax
  cltq
  add    %rax,%r8
L45:
  shl    $0x4,%rsi
  shl    $0x4,%rdi
  mov    %r9,%rax
  add    %rsi,%rcx
  sub    %rdi,%rax
L224:
  test   %rax,%rax
  je     L64
  movzbl (%rcx),%esi
  lea    D11(%rip),%rdx
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x1,%rax
  je     L64
  movzbl 0x1(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x2,%rax
  je     L64
  movzbl 0x2(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x3,%rax
  je     L64
  movzbl 0x3(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x4,%rax
  je     L64
  movzbl 0x4(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x5,%rax
  je     L64
  movzbl 0x5(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x6,%rax
  je     L64
  movzbl 0x6(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x7,%rax
  je     L64
  movzbl 0x7(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x8,%rax
  je     L64
  movzbl 0x8(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0x9,%rax
  je     L64
  movzbl 0x9(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0xa,%rax
  je     L64
  movzbl 0xa(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0xb,%rax
  je     L64
  movzbl 0xb(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0xc,%rax
  je     L64
  movzbl 0xc(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0xd,%rax
  je     L64
  movzbl 0xd(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0xe,%rax
  je     L64
  movzbl 0xe(%rcx),%esi
  movzbl (%rdx,%rsi,1),%esi
  add    %rsi,%r8
  cmp    $0xf,%rax
  je     L64
  movzbl 0xf(%rcx),%eax
  movzbl (%rdx,%rax,1),%eax
  add    %rax,%r8
L64:
  pop    %rbx
  mov    %r8,%rax
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L167:
  mov    %r8,%rax
  ret
L174:
  mov    %rcx,%r10
  jmp    L262
```

tool_calls: name: parse_data
arguments: data_label: D11
type_infered: string
name: parse_data
arguments: data_label: D19
type_infered: byte[16]
name: parse_data
arguments: data_label: D47
type_infered: byte[16]
name: parse_data
arguments: data_label: D37
type_infered: byte[16]

tool: 

tool: {"D19": [0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55,0x55]}

tool: {"D47": [0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33,0x33]}

tool: {"D37": [0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f,0x0f]}

assistant: ```c
size_t rl_redisPopcount(void *s, long count) {
  size_t bits = 0;
  unsigned char *p = s;
  uint32_t *p4;
  static const unsigned char bitsinbyte[256] = {0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7, 1, 2, 2, 3, 2, 3, 3, 4, 2, 3, 3, 4, 3, 4, 4, 5, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7, 2, 3, 3, 4, 3, 4, 4, 5, 3, 4, 4, 5, 4, 5, 5, 6, 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7, 3, 4, 4, 5, 4, 5, 5, 6, 4, 5, 5, 6, 5, 6, 6, 7, 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 6, 7, 6, 7, 7, 8};
  while ((unsigned long)p & 3 && count) {
    bits += bitsinbyte[*p++];
    count--;
  }
  p4 = (uint32_t *)p;
  while (count >= 16) {
    uint32_t aux1, aux2, aux3, aux4;
    aux1 = *p4++;
    aux2 = *p4++;
    aux3 = *p4++;
    aux4 = *p4++;
    count -= 16;
    aux1 = aux1 - ((aux1 >> 1) & 0x55555555);
    aux1 = (aux1 & 0x33333333) + ((aux1 >> 2) & 0x33333333);
    aux2 = aux2 - ((aux2 >> 1) & 0x55555555);
    aux2 = (aux2 & 0x33333333) + ((aux2 >> 2) & 0x33333333);
    aux3 = aux3 - ((aux3 >> 1) & 0x55555555);
    aux3 = (aux3 & 0x33333333) + ((aux3 >> 2) & 0x33333333);
    aux4 = aux4 - ((aux4 >> 1) & 0x55555555);
    aux4 = (aux4 & 0x33333333) + ((aux4 >> 2) & 0x33333333);
    bits += ((((aux1 + (aux1 >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24) + ((((aux2 + (aux2 >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24) + ((((aux3 + (aux3 >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24) + ((((aux4 + (aux4 >> 4)) & 0x0F0F0F0F) * 0x01010101) >> 24);
  }
  p = (unsigned char *)p4;
  while (count--)
    bits += bitsinbyte[*p++];
  return bits;
}
```