user: What is the c source code of the assembly code below?

```asm
<logger_string_numberOfOccurencesOfChar>:
  endbr64
  mov    %rsi,%rcx
  mov    %edx,%esi
  test   %rcx,%rcx
  je     L96
  lea    -0x1(%rcx),%rax
  cmp    $0xe,%rax
  jbe    L317
  movd   %edx,%xmm5
  mov    %rcx,%rdx
  pxor   %xmm3,%xmm3
  mov    %rdi,%rax
  punpcklbw %xmm5,%xmm5
  pxor   %xmm6,%xmm6
  pxor   %xmm4,%xmm4
  and    $0xfffffffffffffff0,%rdx
  punpcklwd %xmm5,%xmm5
  movdqa D8(%rip),%xmm7
  add    %rdi,%rdx
  pxor   %xmm2,%xmm2
  pshufd $0x0,%xmm5,%xmm5
  cs nopw 0x0(%rax,%rax,1)
L151:
  movdqu (%rax),%xmm0
  add    $0x10,%rax
  pcmpeqb %xmm5,%xmm0
  pand   %xmm7,%xmm0
  movdqa %xmm0,%xmm1
  punpckhbw %xmm6,%xmm0
  punpcklbw %xmm6,%xmm1
  movdqa %xmm0,%xmm8
  punpckhwd %xmm4,%xmm0
  movdqa %xmm1,%xmm9
  punpckhwd %xmm4,%xmm1
  punpcklwd %xmm4,%xmm8
  movdqa %xmm1,%xmm10
  punpcklwd %xmm4,%xmm9
  punpckhdq %xmm2,%xmm1
  punpckldq %xmm2,%xmm10
  paddq  %xmm10,%xmm1
  movdqa %xmm9,%xmm10
  punpckhdq %xmm2,%xmm9
  punpckldq %xmm2,%xmm10
  paddq  %xmm10,%xmm9
  paddq  %xmm9,%xmm1
  movdqa %xmm8,%xmm9
  punpckhdq %xmm2,%xmm8
  punpckldq %xmm2,%xmm9
  paddq  %xmm9,%xmm8
  movdqa %xmm0,%xmm9
  punpckhdq %xmm2,%xmm0
  punpckldq %xmm2,%xmm9
  paddq  %xmm3,%xmm0
  paddq  %xmm9,%xmm8
  paddq  %xmm8,%xmm1
  movdqa %xmm1,%xmm3
  paddq  %xmm0,%xmm3
  cmp    %rax,%rdx
  jne    L151
  movdqa %xmm3,%xmm0
  mov    %rcx,%rdx
  psrldq $0x8,%xmm0
  and    $0xfffffffffffffff0,%rdx
  paddq  %xmm0,%xmm3
  movq   %xmm3,%rax
  test   $0xf,%cl
  je     L375
L271:
  xor    %r8d,%r8d
  cmp    %sil,(%rdi,%rdx,1)
  sete   %r8b
  add    %r8,%rax
  lea    0x1(%rdx),%r8
  cmp    %rcx,%r8
  jae    L77
  cmp    0x1(%rdi,%rdx,1),%sil
  je     L167
L252:
  lea    0x2(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x2(%rdi,%rdx,1),%sil
  je     L181
L155:
  lea    0x3(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x3(%rdi,%rdx,1),%sil
  je     L180
L269:
  lea    0x4(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x4(%rdi,%rdx,1),%sil
  je     L323
  lea    0x5(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
L141:
  cmp    0x5(%rdi,%rdx,1),%sil
  jne    L277
  add    $0x1,%rax
L277:
  lea    0x6(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x6(%rdi,%rdx,1),%sil
  jne    L209
  add    $0x1,%rax
L209:
  lea    0x7(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x7(%rdi,%rdx,1),%sil
  jne    L249
  add    $0x1,%rax
L249:
  lea    0x8(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x8(%rdi,%rdx,1),%sil
  jne    L174
  add    $0x1,%rax
L174:
  lea    0x9(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0x9(%rdi,%rdx,1),%sil
  je     L348
L346:
  lea    0xa(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0xa(%rdi,%rdx,1),%sil
  je     L146
L10:
  lea    0xb(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0xb(%rdi,%rdx,1),%sil
  je     L8
L327:
  lea    0xc(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0xc(%rdi,%rdx,1),%sil
  je     L291
L108:
  lea    0xd(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0xd(%rdi,%rdx,1),%sil
  jne    L243
  add    $0x1,%rax
L243:
  lea    0xe(%rdx),%r8
  cmp    %r8,%rcx
  jbe    L77
  cmp    0xe(%rdi,%rdx,1),%sil
  jne    L77
  add    $0x1,%rax
  ret
  xchg   %ax,%ax
L96:
  xor    %eax,%eax
L77:
  ret
  nopl   0x0(%rax,%rax,1)
L167:
  add    $0x1,%rax
  jmp    L252
  nopl   0x0(%rax)
L181:
  add    $0x1,%rax
  jmp    L155
  nopl   0x0(%rax)
L180:
  add    $0x1,%rax
  jmp    L269
  nopl   0x0(%rax)
L323:
  lea    0x5(%rdx),%r8
  add    $0x1,%rax
  cmp    %r8,%rcx
  ja     L141
  jmp    L77
  nopl   0x0(%rax,%rax,1)
L348:
  add    $0x1,%rax
  jmp    L346
L146:
  add    $0x1,%rax
  jmp    L10
L8:
  add    $0x1,%rax
  jmp    L327
L291:
  add    $0x1,%rax
  jmp    L108
L317:
  xor    %edx,%edx
  xor    %eax,%eax
  jmp    L271
L375:
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D8
type_guessed: byte[16]

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

assistant: ```c
uint32_t logger_string_numberOfOccurencesOfChar(const char *str, size_t strLen, const char searchChar) {
  uint32_t matchCount = 0U;
  for (uint32_t i = 0U; i < strLen; i++) {
    char cmp = str[i];
    if (cmp == searchChar) {
      matchCount += 1U;
    }
  }
  return matchCount;
}
```