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

```asm
<ps_test_dummy>:
  endbr64
  sub    $0x8,%rsp
  test   %esi,%esi
  jle    L195
  lea    -0x1(%rsi),%eax
  mov    %rdi,%rcx
  mov    %esi,%edx
  cmp    $0xe,%eax
  jbe    L64
  shr    $0x4,%esi
  pxor   %xmm1,%xmm1
  pxor   %xmm5,%xmm5
  mov    %rdi,%rax
  sub    $0x1,%esi
  movdqa D6(%rip),%xmm6
  pxor   %xmm4,%xmm4
  shl    $0x4,%rsi
  lea    0x10(%rdi,%rsi,1),%rsi
  nopw   0x0(%rax,%rax,1)
L7:
  movdqu (%rax),%xmm0
  movdqa %xmm5,%xmm3
  add    $0x10,%rax
  pcmpeqb %xmm5,%xmm0
  pand   %xmm6,%xmm0
  pcmpgtb %xmm0,%xmm3
  movdqa %xmm0,%xmm2
  punpcklbw %xmm3,%xmm2
  punpckhbw %xmm3,%xmm0
  movdqa %xmm4,%xmm3
  pcmpgtw %xmm2,%xmm3
  movdqa %xmm2,%xmm7
  punpcklwd %xmm3,%xmm7
  punpckhwd %xmm3,%xmm2
  movdqa %xmm0,%xmm3
  paddd  %xmm7,%xmm1
  paddd  %xmm2,%xmm1
  movdqa %xmm4,%xmm2
  pcmpgtw %xmm0,%xmm2
  punpcklwd %xmm2,%xmm3
  punpckhwd %xmm2,%xmm0
  paddd  %xmm3,%xmm1
  paddd  %xmm0,%xmm1
  cmp    %rax,%rsi
  jne    L7
  movdqa %xmm1,%xmm0
  mov    %edx,%eax
  psrldq $0x8,%xmm0
  and    $0xfffffff0,%eax
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%esi
  test   $0xf,%dl
  je     L2
L108:
  movslq %eax,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x1(%rax),%edi
  adc    $0x0,%esi
  cmp    %edx,%edi
  jge    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x2(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x3(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x4(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x5(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x6(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x7(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x8(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0x9(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0xa(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0xb(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0xc(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  lea    0xd(%rax),%edi
  adc    $0x0,%esi
  cmp    %edi,%edx
  jle    L2
  movslq %edi,%rdi
  cmpb   $0x1,(%rcx,%rdi,1)
  adc    $0x0,%esi
  add    $0xe,%eax
  cmp    %eax,%edx
  jle    L2
  cltq
  cmpb   $0x1,(%rcx,%rax,1)
  adc    $0x0,%esi
L2:
  lea    D18(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%eax
  add    $0x8,%rsp
  ret
  cs nopw 0x0(%rax,%rax,1)
L195:
  xor    %esi,%esi
  jmp    L2
L64:
  xor    %esi,%esi
  xor    %eax,%eax
  jmp    L108
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D6
data_type: byte[16]
name: extract_symbolic_data
arguments: data_tag: D18
data_type: string

tool: {"D6": [0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01]}

tool: D18: Number of '0' in data: %d


assistant: ```c
int ps_test_dummy(const void *data, int n) {
  int i, cnt = 0;
  for (i = 0; i < n; i++)
    if (((char *)data)[i] == '\0')
      cnt++;
  printf("Number of '0' in data: %d\n", cnt);
  return 1;
}
```