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

```asm
<countOcurrences>:
  endbr64
  imul   %ecx,%edx
  test   %edx,%edx
  jle    L101
  lea    -0x1(%rdx),%eax
  cmp    $0xe,%eax
  jbe    L79
  mov    %edx,%ecx
  movd   %esi,%xmm4
  movdqa D0(%rip),%xmm7
  mov    %rdi,%rax
  punpcklbw %xmm4,%xmm4
  shr    $0x4,%ecx
  pxor   %xmm1,%xmm1
  pxor   %xmm6,%xmm6
  sub    $0x1,%ecx
  punpcklwd %xmm4,%xmm4
  pxor   %xmm5,%xmm5
  shl    $0x4,%rcx
  pshufd $0x0,%xmm4,%xmm4
  lea    0x10(%rdi,%rcx,1),%rcx
  nopl   0x0(%rax)
L92:
  movdqu (%rax),%xmm0
  movdqa %xmm6,%xmm3
  add    $0x10,%rax
  pcmpeqb %xmm4,%xmm0
  pand   %xmm7,%xmm0
  pcmpgtb %xmm0,%xmm3
  movdqa %xmm0,%xmm2
  punpcklbw %xmm3,%xmm2
  punpckhbw %xmm3,%xmm0
  movdqa %xmm5,%xmm3
  pcmpgtw %xmm2,%xmm3
  movdqa %xmm2,%xmm8
  punpcklwd %xmm3,%xmm8
  punpckhwd %xmm3,%xmm2
  movdqa %xmm0,%xmm3
  paddd  %xmm8,%xmm1
  paddd  %xmm2,%xmm1
  movdqa %xmm5,%xmm2
  pcmpgtw %xmm0,%xmm2
  punpcklwd %xmm2,%xmm3
  punpckhwd %xmm2,%xmm0
  paddd  %xmm3,%xmm1
  paddd  %xmm0,%xmm1
  cmp    %rcx,%rax
  jne    L92
  movdqa %xmm1,%xmm0
  mov    %edx,%ecx
  psrldq $0x8,%xmm0
  and    $0xfffffff0,%ecx
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%eax
  test   $0xf,%dl
  je     L145
L98:
  movslq %ecx,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x1(%rcx),%r8d
  cmp    %edx,%r8d
  jge    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x2(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x3(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x4(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x5(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x6(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x7(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x8(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0x9(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0xa(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0xb(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0xc(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  movzbl %r8b,%r8d
  add    %r8d,%eax
  lea    0xd(%rcx),%r8d
  cmp    %r8d,%edx
  jle    L30
  movslq %r8d,%r8
  cmp    %sil,(%rdi,%r8,1)
  sete   %r8b
  add    $0xe,%ecx
  movzbl %r8b,%r8d
  add    %r8d,%eax
  cmp    %ecx,%edx
  jle    L30
  movslq %ecx,%rcx
  xor    %edx,%edx
  cmp    %sil,(%rdi,%rcx,1)
  sete   %dl
  add    %edx,%eax
  ret
  nopw   0x0(%rax,%rax,1)
L101:
  xor    %eax,%eax
L30:
  ret
L79:
  xor    %eax,%eax
  xor    %ecx,%ecx
  jmp    L98
L145:
  ret
```

tool_calls: name: disassemble_data
arguments: label: D0
type_guessed: byte[16]

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

assistant: ```c
int countOcurrences(char *characters, char character, int quantityN, int quantityM) {
  int i, total = 0;
  for (i = 0; i < quantityN * quantityM; i++) {
    if ((int)characters[i] == (int)character)
      total++;
  }
  return total;
}
```