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

```asm
<matchglob>:
  endbr64
  push   %r12
  mov    $0x1,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  movzbl (%rsi),%eax
  cmp    $0x5e,%al
  jne    L25
  movzbl 0x1(%rsi),%eax
  xor    %r12d,%r12d
  add    $0x1,%rsi
L25:
  movzbl 0x0(%rbp),%edx
  lea    0x1(%rsi),%rbx
  cmp    $0x3f,%al
  je     L56
L133:
  jg     L40
  test   %al,%al
  je     L113
  cmp    $0x2a,%al
  jne    L134
  cmpb   $0x0,0x1(%rsi)
  je     L154
  test   %dl,%dl
  je     L162
L176:
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  call   <matchglob>
  test   %eax,%eax
  jne    L154
  add    $0x1,%rbp
  cmpb   $0x0,0x0(%rbp)
  jne    L176
  nopl   0x0(%rax,%rax,1)
L162:
  xor    $0x1,%r12d
L154:
  mov    %r12d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L40:
  cmp    $0x5b,%al
  jne    L134
  movsbl 0x1(%rsi),%eax
  xor    %edi,%edi
  mov    $0x1,%r8d
  cmp    $0x5e,%al
  je     L251
L257:
  lea    0x1(%rbx),%rcx
  test   %eax,%eax
  je     L162
  mov    $0x7fff,%esi
  jmp    L29
  nopw   0x0(%rax,%rax,1)
L31:
  cmp    %eax,%edx
  mov    %eax,%esi
  mov    %rcx,%rbx
  cmove  %r8d,%edi
L120:
  movsbl (%rbx),%eax
  lea    0x1(%rbx),%rcx
  test   %eax,%eax
  je     L162
L29:
  cmp    $0x5d,%eax
  je     L30
  cmp    $0x2d,%eax
  jne    L31
  cmp    %esi,%edx
  jl     L26
  movsbl 0x1(%rbx),%eax
  cmp    %edx,%eax
  cmovge %r8d,%edi
  add    $0x2,%rbx
  jmp    L120
  nopl   0x0(%rax,%rax,1)
L26:
  mov    %rcx,%rbx
  jmp    L120
  nopl   (%rax)
L134:
  cmp    %edx,%eax
  jne    L162
L78:
  movzbl (%rbx),%eax
  mov    %rbx,%rsi
  add    $0x1,%rbp
  movzbl 0x0(%rbp),%edx
  lea    0x1(%rsi),%rbx
  cmp    $0x3f,%al
  jne    L133
L56:
  test   %edx,%edx
  jne    L78
  xor    $0x1,%r12d
  jmp    L154
  nopw   0x0(%rax,%rax,1)
L113:
  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)
L251:
  movsbl 0x2(%rsi),%eax
  lea    0x2(%rsi),%rbx
  mov    $0x1,%edi
  xor    %r8d,%r8d
  jmp    L257
  nopl   (%rax)
L30:
  test   %edi,%edi
  je     L162
  mov    %rcx,%rbx
  jmp    L78
```

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;
    }
    }
  }
}
```