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

```asm
<matchglob>:
  endbr64
  push   %r12
  mov    $0x1,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  movzbl (%rsi),%eax
  cmp    $0x5e,%al
  jne    L35
  movzbl 0x1(%rsi),%eax
  xor    %r12d,%r12d
  add    $0x1,%rsi
L35:
  movzbl 0x0(%rbp),%edx
  lea    0x1(%rsi),%rbx
  cmp    $0x3f,%al
  je     L170
L26:
  jg     L177
  test   %al,%al
  je     L60
  cmp    $0x2a,%al
  jne    L109
  cmpb   $0x0,0x1(%rsi)
  je     L217
  test   %dl,%dl
  je     L184
L11:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <matchglob>
  test   %eax,%eax
  jne    L217
  add    $0x1,%rbp
  cmpb   $0x0,0x0(%rbp)
  jne    L11
  nopl   0x0(%rax,%rax,1)
L184:
  xor    $0x1,%r12d
L217:
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L177:
  cmp    $0x5b,%al
  jne    L109
  movsbl 0x1(%rsi),%eax
  xor    %edi,%edi
  mov    $0x1,%r8d
  cmp    $0x5e,%al
  je     L212
L13:
  lea    0x1(%rbx),%rcx
  test   %eax,%eax
  je     L184
  mov    $0x7fff,%esi
  jmp    L117
  nopw   0x0(%rax,%rax,1)
L146:
  cmp    %eax,%edx
  mov    %eax,%esi
  mov    %rcx,%rbx
  cmove  %r8d,%edi
L105:
  movsbl (%rbx),%eax
  lea    0x1(%rbx),%rcx
  test   %eax,%eax
  je     L184
L117:
  cmp    $0x5d,%eax
  je     L119
  cmp    $0x2d,%eax
  jne    L146
  cmp    %esi,%edx
  jl     L142
  movsbl 0x1(%rbx),%eax
  cmp    %edx,%eax
  cmovge %r8d,%edi
  add    $0x2,%rbx
  jmp    L105
  nopl   0x0(%rax,%rax,1)
L142:
  mov    %rcx,%rbx
  jmp    L105
  nopl   (%rax)
L109:
  cmp    %edx,%eax
  jne    L184
L138:
  movzbl (%rbx),%eax
  mov    %rbx,%rsi
  add    $0x1,%rbp
  movzbl 0x0(%rbp),%edx
  lea    0x1(%rsi),%rbx
  cmp    $0x3f,%al
  jne    L26
L170:
  test   %edx,%edx
  jne    L138
  xor    $0x1,%r12d
  jmp    L217
  nopw   0x0(%rax,%rax,1)
L60:
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  xor    $0x1,%eax
  test   %edx,%edx
  cmovne %eax,%r12d
  mov    %r12d,%eax
  pop    %r12
  ret
  nopl   0x0(%rax)
L212:
  movsbl 0x2(%rsi),%eax
  lea    0x2(%rsi),%rbx
  mov    $0x1,%edi
  xor    %r8d,%r8d
  jmp    L13
  nopl   (%rax)
L119:
  test   %edi,%edi
  je     L184
  mov    %rcx,%rbx
  jmp    L138
```

assistant: ```c
int matchglob(register char *s, register char *p) {
  register scc;
  int c, yes;
  yes = 1;
  if (*p == '^') {
    yes = 0;
    ++p;
  }
  for (;;) {
    scc = *s++ & 0377;
    switch (c = *p++) {
    default:
      if ((c & 0377) != scc)
        return (!yes);
      continue;
    case 0:
      return (scc == 0 ? yes : !yes);
    case '?':
      if (scc == 0)
        return (!yes);
      continue;
    case '*':
      if (!*p)
        return (yes);
      for (--s; *s; ++s)
        if (matchglob(s, p))
          return (yes);
      return (!yes);
    case '[': {
      int ok, lc, good;
      lc = 077777;
      good = 1;
      if (*p == '^') {
        good = 0;
        ++p;
      }
      ok = !good;
      for (;;) {
        int cc;
        cc = *p++;
        if (cc == 0)
          return (!yes);
        if (cc == ']')
          break;
        if (cc == '-') {
          if (lc <= scc && scc <= *p++)
            ok = good;
        } else if (scc == (lc = cc))
          ok = good;
      }
      if (!ok)
        return (!yes);
      continue;
    }
    }
  }
}
```