user: 这段汇编代码用C语言表示是什么样的：

```asm
<DoMatch>:
  endbr64
  movzbl (%rsi),%eax
  test   %al,%al
  je     L197
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x8,%rsp
  movzbl (%rdi),%esi
  cmp    $0x2a,%al
  je     L119
L277:
  test   %sil,%sil
  je     L315
L119:
  cmp    $0x5b,%al
  je     L163
L94:
  jg     L279
  cmp    $0x2a,%al
  je     L260
  cmp    $0x3f,%al
  jne    L300
L225:
  movzbl 0x1(%rbx),%eax
  add    $0x1,%rdi
  lea    0x1(%rbx),%rdx
  test   %al,%al
  je     L217
  movzbl (%rdi),%esi
  mov    %rdx,%rbx
  cmp    $0x2a,%al
  jne    L277
  cmp    $0x5b,%al
  jne    L94
L163:
  movzbl 0x1(%rbx),%eax
  xor    %r11d,%r11d
  lea    0x1(%rbx),%rcx
  cmp    $0x5e,%al
  sete   %r11b
  je     L263
  cmp    $0x5d,%al
  je     L291
  test   %al,%al
  je     L291
L272:
  mov    %rbx,%rdx
  xor    %r9d,%r9d
  mov    %rcx,%rbx
  mov    $0x100,%r8d
  movsbl %sil,%r10d
  jmp    L170
  nopl   0x0(%rax)
L29:
  movzbl (%rbx),%ecx
  cmp    %al,%sil
  jne    L166
L310:
  mov    %rbx,%rdx
  mov    $0x1,%r9d
  movsbl %cl,%r8d
  add    $0x1,%rbx
  movzbl 0x1(%rdx),%eax
  test   %al,%al
  je     L316
L20:
  cmp    $0x5d,%al
  je     L316
L170:
  cmp    $0x2d,%al
  jne    L29
  movzbl 0x2(%rdx),%ecx
  lea    0x2(%rdx),%rbx
  cmp    %cl,%sil
  jg     L166
  cmp    %r8d,%r10d
  jge    L310
  nopl   0x0(%rax,%rax,1)
L166:
  mov    %rbx,%rdx
  movsbl %cl,%r8d
  add    $0x1,%rbx
  movzbl 0x1(%rdx),%eax
  test   %al,%al
  jne    L20
L316:
  cmp    %r11d,%r9d
  jne    L225
  nopl   0x0(%rax)
L291:
  xor    %eax,%eax
L193:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopl   0x0(%rax)
L279:
  cmp    $0x5c,%al
  sete   %al
  movzbl %al,%eax
  add    %rax,%rbx
L300:
  cmp    (%rbx),%sil
  jne    L291
  jmp    L225
  nopl   (%rax)
L260:
  movzbl 0x1(%rbx),%edx
  add    $0x1,%rbx
  cmp    $0x2a,%dl
  je     L260
  mov    $0x1,%eax
  test   %dl,%dl
  je     L193
  cmpb   $0x0,(%rdi)
  je     L315
L288:
  mov    %rbx,%rsi
  lea    0x1(%rdi),%rbp
  call   <DoMatch>
  test   %eax,%eax
  jne    L193
  mov    %rbp,%rdi
  cmpb   $0x0,(%rdi)
  jne    L288
L315:
  add    $0x8,%rsp
  mov    $0xffffffff,%eax
  pop    %rbx
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L263:
  movzbl 0x2(%rbx),%eax
  lea    0x2(%rbx),%rdx
  cmp    $0x5d,%al
  je     L136
  test   %al,%al
  je     L136
  mov    %rcx,%rbx
  mov    %rdx,%rcx
  jmp    L272
L217:
  xor    %eax,%eax
  cmpb   $0x0,(%rdi)
  sete   %al
  jmp    L193
L136:
  mov    %rdx,%rbx
  jmp    L225
L197:
  xor    %eax,%eax
  cmpb   $0x0,(%rdi)
  sete   %al
  ret
```

assistant: ```c
int DoMatch(const char *text, const char *p) {
  register int last;
  register int matched;
  register int reverse;
  for (; *p; text++, p++) {
    if (*text == '\0' && *p != '*')
      return -1;
    switch (*p) {
    case '\\':
      p++;
    default:
      if (*text != *p)
        return 0;
      continue;
    case '?':
      continue;
    case '*':
      while (*++p == '*')
        continue;
      if (*p == '\0')
        return 1;
      while (*text)
        if ((matched = DoMatch(text++, p)) != 0)
          return matched;
      return -1;
    case '[':
      reverse = p[1] == '^' ? 1 : 0;
      if (reverse)
        p++;
      for (last = 0400, matched = 0; *++p && *p != ']'; last = *p)
        if (*p == '-' ? *text <= *++p && *text >= last : *text == *p)
          matched = 1;
      if (matched == reverse)
        return 0;
      continue;
    }
  }
  return *text == '\0';
}
```