user: 下面的汇编指令对应的C源代码是什么:

```asm
<testRegex>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  movl   $0x0,-0xc(%rbp)
  movl   $0x0,-0x8(%rbp)
  movl   $0x0,-0x4(%rbp)
  jmp    L270
L226:
  cmpl   $0x1,-0xc(%rbp)
  jne    L96
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%edx
  mov    -0x4(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x20(%rbp),%rax
  add    %rcx,%rax
  movzbl (%rax),%eax
  cmp    %al,%dl
  je     L81
  mov    $0x0,%eax
  jmp    L266
L81:
  addl   $0x1,-0x4(%rbp)
  movl   $0x0,-0xc(%rbp)
  jmp    L304
L96:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  jne    L234
  movl   $0x1,-0xc(%rbp)
  jmp    L304
L234:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x64,%al
  jne    L262
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  cmp    $0x1,%eax
  je     L147
  mov    $0x0,%eax
  jmp    L266
L147:
  addl   $0x1,-0x4(%rbp)
  jmp    L304
L262:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x63,%al
  jne    L0
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isChar@plt>
  cmp    $0x1,%eax
  je     L173
  mov    $0x0,%eax
  jmp    L266
L173:
  addl   $0x1,-0x4(%rbp)
  jmp    L304
L0:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x75,%al
  jne    L142
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isUpperChar@plt>
  cmp    $0x1,%eax
  je     L59
  mov    $0x0,%eax
  jmp    L266
L59:
  addl   $0x1,-0x4(%rbp)
  jmp    L304
L142:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x6c,%al
  jne    L205
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isLowerChar@plt>
  cmp    $0x1,%eax
  je     L32
  mov    $0x0,%eax
  jmp    L266
L32:
  addl   $0x1,-0x4(%rbp)
  jmp    L304
L205:
  mov    -0x8(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2a,%al
  jne    L97
  mov    -0x4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x20(%rbp),%rax
  add    %rdx,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L78
  mov    $0x0,%eax
  jmp    L266
L78:
  addl   $0x1,-0x4(%rbp)
  jmp    L304
L97:
  mov    $0x0,%eax
  jmp    L266
L304:
  addl   $0x1,-0x8(%rbp)
L270:
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x8(%rbp)
  jl     L226
  mov    -0x20(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    %eax,-0x4(%rbp)
  je     L175
  mov    $0x0,%eax
  jmp    L266
L175:
  mov    $0x1,%eax
L266:
  leave
  ret
```

assistant: ```c
int testRegex(const char *regex, const char *stringToCheck) {
  int nextIsLiteral = 0;
  int i = 0;
  int j = 0;
  for (; i < strlen(regex); i += 1) {
    if (nextIsLiteral == 1) {
      if (regex[i] != stringToCheck[j]) {
        return 0;
      }
      j += 1;
      nextIsLiteral = 0;
    } else if (regex[i] == '/') {
      nextIsLiteral = 1;
      continue;
    } else if (regex[i] == 'd') {
      if (isdigit(stringToCheck[j]) != 1) {
        return 0;
      }
      j += 1;
    } else if (regex[i] == 'c') {
      if (isChar(stringToCheck[j]) != 1) {
        return 0;
      }
      j += 1;
    } else if (regex[i] == 'u') {
      if (isUpperChar(stringToCheck[j]) != 1) {
        return 0;
      }
      j += 1;
    } else if (regex[i] == 'l') {
      if (isLowerChar(stringToCheck[j]) != 1) {
        return 0;
      }
      j += 1;
    } else if (regex[i] == '*') {
      if (stringToCheck[j] == '\0') {
        return 0;
      }
      j += 1;
    } else {
      return 0;
    }
  }
  if (strlen(stringToCheck) != j) {
    return 0;
  }
  return 1;
}
```