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

```asm
<StrWildcardTest>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  movl   $0x0,-0x14(%rbp)
  movl   $0x0,-0x8(%rbp)
  movl   $0x0,-0x4(%rbp)
  jmp    L118
L95:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x14(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  je     L31
  mov    $0x0,%eax
  jmp    L52
L31:
  addl   $0x1,-0x14(%rbp)
L118:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L151
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3f,%al
  je     L151
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  jne    L95
L151:
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L120
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  sete   %al
  movzbl %al,%eax
  jmp    L52
L120:
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x10(%rbp)
  jmp    L114
L50:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3f,%al
  jne    L103
  addl   $0x1,-0x8(%rbp)
  addl   $0x1,-0x4(%rbp)
  jmp    L194
L103:
  movl   $0x2710,-0x4(%rbp)
L194:
  addl   $0x1,-0x10(%rbp)
L114:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x3f,%al
  je     L50
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  je     L50
  movl   $0x0,-0xc(%rbp)
  jmp    L142
L106:
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x14(%rbp)
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L150
  mov    $0x0,%eax
  jmp    L52
L150:
  addl   $0x1,-0xc(%rbp)
L142:
  mov    -0xc(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jl     L106
  movl   $0x0,-0xc(%rbp)
  jmp    L46
L127:
  mov    -0x10(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <StrWildcardTest>
  test   %eax,%eax
  je     L144
  mov    $0x1,%eax
  jmp    L52
L144:
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x14(%rbp)
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L172
  mov    $0x0,%eax
  jmp    L52
L172:
  addl   $0x1,-0xc(%rbp)
L46:
  mov    -0x4(%rbp),%eax
  sub    -0x8(%rbp),%eax
  cmp    %eax,-0xc(%rbp)
  jl     L127
  mov    $0x0,%eax
L52:
  leave
  ret
```

assistant: ```c
int StrWildcardTest(const char *test, const char *wildcard) {
  int i = 0, j, k, mineat = 0, maxeat = 0;
  while ((wildcard[i] != '\0') && (wildcard[i] != '?') && (wildcard[i] != '*'))
    if (test[i] != wildcard[i]) {
      return 0;
    } else {
      i++;
    }
  if (wildcard[i] == '\0')
    return (test[i] == '\0');
  j = i;
  while ((wildcard[j] == '?') || (wildcard[j] == '*')) {
    if (wildcard[j] == '?') {
      mineat++;
      maxeat++;
    } else {
      maxeat = 10000;
    }
    j++;
  }
  for (k = 0; k < mineat; k++)
    if (test[i++] == '\0')
      return 0;
  for (k = 0; k < maxeat - mineat; k++) {
    if (StrWildcardTest(test + i, wildcard + j))
      return 1;
    if (test[i++] == '\0')
      return 0;
  }
  return 0;
}
```