user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<stringmatchlen>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%r13
  mov    %esi,%ebx
  mov    %r8d,(%rsp)
  lea    0x1(%rdx),%r14
  lea    -0x1(%rcx),%r15d
  jmp    L125
L391:
  cmp    $0x5c,%al
  jne    L307
  cmp    $0x1,%ebx
  jle    L307
  add    $0x1,%r13
  sub    $0x1,%ebx
L307:
  cmpl   $0x0,(%rsp)
  jne    L454
  movzbl -0x1(%r14),%eax
  cmp    %al,0x0(%r13)
  jne    L107
L396:
  mov    %r15d,%r12d
  mov    %r13,%rbp
L129:
  lea    0x1(%rbp),%r13
  sub    $0x1,%ebx
  add    $0x1,%r14
  sub    $0x1,%r15d
  test   %r12d,%r12d
  je     L205
L125:
  lea    -0x1(%r14),%rbp
  lea    0x1(%r15),%r12d
  test   %ebx,%ebx
  je     L224
  movzbl 0x0(%r13),%eax
  cmp    $0x5b,%al
  je     L343
  jg     L391
  cmp    $0x2a,%al
  je     L156
  cmp    $0x3f,%al
  jne    L307
  test   %r12d,%r12d
  je     L402
  mov    %r15d,%r12d
  mov    %r13,%rbp
  jmp    L129
L156:
  cmpb   $0x2a,0x1(%r13)
  jne    L94
  mov    %r13,%r14
  add    %ebx,%r13d
L10:
  add    $0x1,%r14
  mov    %r13d,%ebx
  sub    %r14d,%ebx
  cmpb   $0x2a,0x1(%r14)
  je     L10
L398:
  cmp    $0x1,%ebx
  je     L103
  test   %r12d,%r12d
  je     L402
  sub    $0x1,%ebx
  jmp    L288
L94:
  mov    %r13,%r14
  jmp    L398
L159:
  add    $0x1,%rbp
  sub    $0x1,%r12d
  je     L402
L288:
  lea    0x1(%r14),%rdi
  mov    (%rsp),%r8d
  mov    %r12d,%ecx
  mov    %rbp,%rdx
  mov    %ebx,%esi
  call   <stringmatchlen>
  test   %eax,%eax
  je     L159
  mov    $0x1,%r12d
  jmp    L402
L343:
  movzbl 0x1(%r13),%eax
  mov    %al,0xf(%rsp)
  cmp    $0x5e,%al
  je     L40
  lea    0x1(%r13),%rbp
  sub    $0x1,%ebx
L250:
  mov    $0x0,%r12d
  jmp    L238
L40:
  lea    0x2(%r13),%rbp
  sub    $0x2,%ebx
  jmp    L250
L63:
  sub    $0x1,%ebx
  movzbl 0x1(%rbp),%eax
  lea    0x1(%rbp),%rbp
  cmp    -0x1(%r14),%al
  mov    $0x1,%eax
  cmove  %eax,%r12d
L186:
  add    $0x1,%rbp
  sub    $0x1,%ebx
L238:
  movzbl 0x0(%rbp),%r13d
  cmp    $0x5c,%r13b
  je     L63
  cmp    $0x5d,%r13b
  je     L394
  test   %ebx,%ebx
  je     L237
  cmpb   $0x2d,0x1(%rbp)
  jne    L323
  cmp    $0x2,%ebx
  jg     L233
L323:
  cmpl   $0x0,(%rsp)
  jne    L149
  cmp    -0x1(%r14),%r13b
  mov    $0x1,%eax
  cmove  %eax,%r12d
  jmp    L186
L237:
  sub    $0x1,%rbp
  mov    $0x1,%ebx
L394:
  cmpb   $0x5e,0xf(%rsp)
  je     L181
  test   %r12d,%r12d
  je     L402
L123:
  mov    %r15d,%r12d
  jmp    L129
L233:
  movsbl %r13b,%r13d
  movsbl 0x2(%rbp),%edx
  mov    %edx,0x4(%rsp)
  movsbl -0x1(%r14),%eax
  mov    %eax,0x8(%rsp)
  cmp    %edx,%r13d
  jle    L246
  mov    %r13d,%eax
  mov    %edx,%r13d
  mov    %eax,0x4(%rsp)
L246:
  cmpl   $0x0,(%rsp)
  je     L339
  mov    %r13d,%edi
  call   <tolower@plt>
  mov    %eax,%r13d
  mov    0x4(%rsp),%edi
  call   <tolower@plt>
  mov    %eax,0x4(%rsp)
  mov    0x8(%rsp),%edi
  call   <tolower@plt>
  mov    %eax,0x8(%rsp)
L339:
  add    $0x2,%rbp
  sub    $0x2,%ebx
  mov    0x8(%rsp),%eax
  cmp    %eax,%r13d
  jg     L186
  cmp    %eax,0x4(%rsp)
  mov    $0x1,%eax
  cmovge %eax,%r12d
  jmp    L186
L149:
  movsbl %r13b,%edi
  call   <tolower@plt>
  mov    %eax,%r13d
  movsbl -0x1(%r14),%edi
  call   <tolower@plt>
  cmp    %eax,%r13d
  mov    $0x1,%eax
  cmove  %eax,%r12d
  jmp    L186
L181:
  test   %r12d,%r12d
  je     L123
  mov    $0x0,%r12d
  jmp    L402
L454:
  movsbl 0x0(%r13),%edi
  call   <tolower@plt>
  mov    %eax,%ebp
  movsbl -0x1(%r14),%edi
  call   <tolower@plt>
  cmp    %eax,%ebp
  je     L396
  mov    $0x0,%r12d
  jmp    L402
L205:
  cmpb   $0x2a,0x1(%rbp)
  jne    L224
  mov    %r13,%rax
  add    %ebx,%r13d
L24:
  add    $0x1,%rax
  mov    %r13d,%ebx
  sub    %eax,%ebx
  cmpb   $0x2a,(%rax)
  je     L24
L224:
  or     %ebx,%r12d
  sete   %r12b
  movzbl %r12b,%r12d
  jmp    L402
L103:
  mov    %ebx,%r12d
L402:
  mov    %r12d,%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L107:
  mov    (%rsp),%r12d
  jmp    L402
```

assistant: ```c
int stringmatchlen(const char *pattern, int patternLen, const char *string, int stringLen, int nocase) {
  while (patternLen) {
    switch (pattern[0]) {
    case '*':
      while (pattern[1] == '*') {
        pattern++;
        patternLen--;
      }
      if (patternLen == 1)
        return 1;
      while (stringLen) {
        if (stringmatchlen(pattern + 1, patternLen - 1, string, stringLen, nocase))
          return 1;
        string++;
        stringLen--;
      }
      return 0;
      break;
    case '?':
      if (stringLen == 0)
        return 0;
      string++;
      stringLen--;
      break;
    case '[': {
      int not, match;
      pattern++;
      patternLen--;
      not = pattern[0] == '^';
      if (not ) {
        pattern++;
        patternLen--;
      }
      match = 0;
      while (1) {
        if (pattern[0] == '\\') {
          pattern++;
          patternLen--;
          if (pattern[0] == string[0])
            match = 1;
        } else if (pattern[0] == ']') {
          break;
        } else if (patternLen == 0) {
          pattern--;
          patternLen++;
          break;
        } else if (pattern[1] == '-' && patternLen >= 3) {
          int start = pattern[0];
          int end = pattern[2];
          int c = string[0];
          if (start > end) {
            int t = start;
            start = end;
            end = t;
          }
          if (nocase) {
            start = tolower(start);
            end = tolower(end);
            c = tolower(c);
          }
          pattern += 2;
          patternLen -= 2;
          if (c >= start && c <= end)
            match = 1;
        } else {
          if (!nocase) {
            if (pattern[0] == string[0])
              match = 1;
          } else {
            if (tolower((int)pattern[0]) == tolower((int)string[0]))
              match = 1;
          }
        }
        pattern++;
        patternLen--;
      }
      if (not )
        match = !match;
      if (!match)
        return 0;
      string++;
      stringLen--;
      break;
    }
    case '\\':
      if (patternLen >= 2) {
        pattern++;
        patternLen--;
      }
    default:
      if (!nocase) {
        if (pattern[0] != string[0])
          return 0;
      } else {
        if (tolower((int)pattern[0]) != tolower((int)string[0]))
          return 0;
      }
      string++;
      stringLen--;
      break;
    }
    pattern++;
    patternLen--;
    if (stringLen == 0) {
      while (*pattern == '*') {
        pattern++;
        patternLen--;
      }
      break;
    }
  }
  if (patternLen == 0 && stringLen == 0)
    return 1;
  return 0;
}
```