user: 请从给定的汇编指令推导出C源代码:

```asm
<quotaStrglob>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  jmp    L161
L332:
  cmpl   $0x2a,-0x4(%rbp)
  jne    L408
  jmp    L245
L99:
  cmpl   $0x3f,-0x4(%rbp)
  jne    L245
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movzbl (%rax),%eax
  test   %al,%al
  jne    L245
  mov    $0x0,%eax
  jmp    L313
L245:
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x2a,-0x4(%rbp)
  je     L99
  cmpl   $0x3f,-0x4(%rbp)
  je     L99
  cmpl   $0x0,-0x4(%rbp)
  jne    L397
  mov    $0x1,%eax
  jmp    L313
L397:
  cmpl   $0x5b,-0x4(%rbp)
  jne    L451
  jmp    L25
L209:
  addq   $0x1,-0x30(%rbp)
L25:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L379
  mov    -0x28(%rbp),%rax
  lea    -0x1(%rax),%rdx
  mov    -0x30(%rbp),%rax
  mov    %rax,%rsi
  mov    %rdx,%rdi
  call   <quotaStrglob>
  test   %eax,%eax
  je     L209
L379:
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  setne  %al
  movzbl %al,%eax
  jmp    L313
L201:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  jne    L114
  mov    $0x0,%eax
  jmp    L313
L114:
  mov    -0x14(%rbp),%eax
  cmp    -0x4(%rbp),%eax
  jne    L201
  mov    -0x30(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <quotaStrglob>
  test   %eax,%eax
  je     L451
  mov    $0x1,%eax
  jmp    L313
L451:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  jne    L114
  mov    $0x0,%eax
  jmp    L313
L408:
  cmpl   $0x3f,-0x4(%rbp)
  jne    L461
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movzbl (%rax),%eax
  test   %al,%al
  jne    L161
  mov    $0x0,%eax
  jmp    L313
L461:
  cmpl   $0x5b,-0x4(%rbp)
  jne    L75
  movl   $0x0,-0x8(%rbp)
  movl   $0x0,-0xc(%rbp)
  movl   $0x0,-0x10(%rbp)
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x0,-0x4(%rbp)
  jne    L373
  mov    $0x0,%eax
  jmp    L313
L373:
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
  cmpl   $0x5e,-0x14(%rbp)
  jne    L150
  movl   $0x1,-0x10(%rbp)
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
L150:
  cmpl   $0x5d,-0x14(%rbp)
  jne    L58
  cmpl   $0x5d,-0x4(%rbp)
  jne    L370
  movl   $0x1,-0xc(%rbp)
L370:
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
  jmp    L58
L154:
  cmpl   $0x2d,-0x14(%rbp)
  jne    L5
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x5d,%al
  je     L5
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L5
  cmpl   $0x0,-0x8(%rbp)
  jle    L5
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x4(%rbp),%eax
  cmp    -0x8(%rbp),%eax
  jl     L16
  mov    -0x4(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jg     L16
  movl   $0x1,-0xc(%rbp)
L16:
  movl   $0x0,-0x8(%rbp)
  jmp    L9
L5:
  mov    -0x4(%rbp),%eax
  cmp    -0x14(%rbp),%eax
  jne    L32
  movl   $0x1,-0xc(%rbp)
L32:
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x8(%rbp)
L9:
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x14(%rbp)
L58:
  cmpl   $0x0,-0x14(%rbp)
  je     L175
  cmpl   $0x5d,-0x14(%rbp)
  jne    L154
L175:
  cmpl   $0x0,-0x14(%rbp)
  je     L46
  mov    -0xc(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jne    L161
L46:
  mov    $0x0,%eax
  jmp    L313
L75:
  mov    -0x30(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x30(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  cmp    %eax,-0x4(%rbp)
  je     L161
  mov    $0x0,%eax
  jmp    L313
L161:
  mov    -0x28(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x28(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x0,-0x4(%rbp)
  jne    L332
  mov    -0x30(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  sete   %al
  movzbl %al,%eax
L313:
  leave
  ret
```

assistant: ```c
int quotaStrglob(const char *zGlob, const char *z) {
  int c, c2;
  int invert;
  int seen;
  while ((c = (*(zGlob++))) != 0) {
    if (c == '*') {
      while ((c = (*(zGlob++))) == '*' || c == '?') {
        if (c == '?' && (*(z++)) == 0)
          return 0;
      }
      if (c == 0) {
        return 1;
      } else if (c == '[') {
        while (*z && quotaStrglob(zGlob - 1, z) == 0) {
          z++;
        }
        return (*z) != 0;
      }
      while ((c2 = (*(z++))) != 0) {
        while (c2 != c) {
          c2 = *(z++);
          if (c2 == 0)
            return 0;
        }
        if (quotaStrglob(zGlob, z))
          return 1;
      }
      return 0;
    } else if (c == '?') {
      if ((*(z++)) == 0)
        return 0;
    } else if (c == '[') {
      int prior_c = 0;
      seen = 0;
      invert = 0;
      c = *(z++);
      if (c == 0)
        return 0;
      c2 = *(zGlob++);
      if (c2 == '^') {
        invert = 1;
        c2 = *(zGlob++);
      }
      if (c2 == ']') {
        if (c == ']')
          seen = 1;
        c2 = *(zGlob++);
      }
      while (c2 && c2 != ']') {
        if (c2 == '-' && zGlob[0] != ']' && zGlob[0] != 0 && prior_c > 0) {
          c2 = *(zGlob++);
          if (c >= prior_c && c <= c2)
            seen = 1;
          prior_c = 0;
        } else {
          if (c == c2) {
            seen = 1;
          }
          prior_c = c2;
        }
        c2 = *(zGlob++);
      }
      if (c2 == 0 || (seen ^ invert) == 0)
        return 0;
    } else {
      if (c != (*(z++)))
        return 0;
    }
  }
  return *z == 0;
}
```