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

```asm
<__strtol_internal>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  mov    %ecx,-0x68(%rbp)
  cmpl   $0x0,-0x64(%rbp)
  js     L302
  cmpl   $0x1,-0x64(%rbp)
  je     L302
  cmpl   $0x24,-0x64(%rbp)
  jle    L175
L302:
  mov    D74(%rip),%rax
  mov    (%rax),%edx
  mov    D58(%rip),%rax
  mov    %edx,(%rax)
  mov    $0x0,%eax
  jmp    L429
L175:
  mov    -0x58(%rbp),%rbx
  mov    %rbx,-0x40(%rbp)
  jmp    L430
L55:
  add    $0x1,%rbx
L430:
  movzbl (%rbx),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L55
  movzbl (%rbx),%eax
  test   %al,%al
  je     L389
  movzbl (%rbx),%eax
  cmp    $0x2d,%al
  jne    L482
  movl   $0x1,-0x48(%rbp)
  add    $0x1,%rbx
  jmp    L66
L482:
  movzbl (%rbx),%eax
  cmp    $0x2b,%al
  jne    L438
  movl   $0x0,-0x48(%rbp)
  add    $0x1,%rbx
  jmp    L66
L438:
  movl   $0x0,-0x48(%rbp)
L66:
  movzbl (%rbx),%eax
  cmp    $0x30,%al
  jne    L280
  cmpl   $0x0,-0x64(%rbp)
  je     L487
  cmpl   $0x10,-0x64(%rbp)
  jne    L238
L487:
  lea    0x1(%rbx),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <toupper@plt>
  cmp    $0x58,%al
  jne    L238
  add    $0x2,%rbx
  movl   $0x10,-0x64(%rbp)
  jmp    L338
L238:
  cmpl   $0x0,-0x64(%rbp)
  jne    L338
  movl   $0x8,-0x64(%rbp)
  jmp    L338
L280:
  cmpl   $0x0,-0x64(%rbp)
  jne    L338
  movl   $0xa,-0x64(%rbp)
L338:
  mov    %rbx,-0x40(%rbp)
  movq   $0x0,-0x38(%rbp)
  mov    D44(%rip),%rax
  mov    (%rax),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rsi
  mov    $0x0,%edx
  div    %rsi
  mov    %rax,%r14
  mov    D44(%rip),%rax
  mov    (%rax),%rax
  mov    -0x64(%rbp),%edx
  movslq %edx,%rcx
  mov    $0x0,%edx
  div    %rcx
  mov    %rdx,%rax
  mov    %eax,%r15d
  movl   $0x0,-0x44(%rbp)
  mov    $0x0,%r13d
  movzbl (%rbx),%eax
  mov    %eax,%r12d
  jmp    L495
L39:
  cmp    -0x38(%rbp),%rbx
  je     L258
  cmp    $0x2f,%r12b
  jbe    L442
  cmp    $0x39,%r12b
  ja     L442
  sub    $0x30,%r12d
  jmp    L307
L442:
  movzbl %r12b,%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  je     L385
  mov    %r12d,%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <toupper@plt>
  lea    -0x37(%rax),%r12d
L307:
  movzbl %r12b,%eax
  cmp    %eax,-0x64(%rbp)
  jle    L24
  cmp    %r14,%r13
  ja     L373
  cmp    %r14,%r13
  jne    L524
  movzbl %r12b,%eax
  cmp    %eax,%r15d
  jae    L524
L373:
  movl   $0x1,-0x44(%rbp)
  jmp    L294
L524:
  mov    -0x64(%rbp),%eax
  cltq
  imul   %rax,%r13
  movzbl %r12b,%eax
  add    %rax,%r13
L294:
  add    $0x1,%rbx
  movzbl (%rbx),%eax
  mov    %eax,%r12d
L495:
  test   %r12b,%r12b
  jne    L39
  jmp    L299
L258:
  nop
  jmp    L299
L385:
  nop
  jmp    L299
L24:
  nop
L299:
  cmp    -0x40(%rbp),%rbx
  je     L185
  cmpq   $0x0,-0x60(%rbp)
  je     L148
  mov    -0x60(%rbp),%rax
  mov    %rbx,(%rax)
L148:
  cmpl   $0x0,-0x44(%rbp)
  jne    L92
  cmpl   $0x0,-0x48(%rbp)
  je     L158
  mov    D12(%rip),%rax
  mov    (%rax),%rax
  neg    %rax
  jmp    L274
L158:
  mov    D72(%rip),%rax
  mov    (%rax),%rax
L274:
  cmp    %r13,%rax
  jae    L92
  movl   $0x1,-0x44(%rbp)
L92:
  cmpl   $0x0,-0x44(%rbp)
  je     L25
  mov    D84(%rip),%rax
  mov    (%rax),%edx
  mov    D58(%rip),%rax
  mov    %edx,(%rax)
  cmpl   $0x0,-0x48(%rbp)
  je     L335
  mov    D12(%rip),%rax
  mov    (%rax),%rax
  jmp    L429
L335:
  mov    D72(%rip),%rax
  mov    (%rax),%rax
  jmp    L429
L25:
  cmpl   $0x0,-0x48(%rbp)
  je     L99
  mov    %r13,%rax
  neg    %rax
  jmp    L429
L99:
  mov    %r13,%rax
  jmp    L429
L389:
  nop
  jmp    L91
L185:
  nop
L91:
  cmpq   $0x0,-0x60(%rbp)
  je     L349
  mov    -0x40(%rbp),%rax
  sub    -0x58(%rbp),%rax
  cmp    $0x1,%rax
  jle    L445
  mov    -0x40(%rbp),%rax
  sub    $0x1,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <toupper@plt>
  cmp    $0x58,%al
  jne    L445
  mov    -0x40(%rbp),%rax
  sub    $0x2,%rax
  movzbl (%rax),%eax
  cmp    $0x30,%al
  jne    L445
  mov    -0x40(%rbp),%rax
  lea    -0x1(%rax),%rdx
  mov    -0x60(%rbp),%rax
  mov    %rdx,(%rax)
  jmp    L349
L445:
  mov    -0x60(%rbp),%rax
  mov    -0x58(%rbp),%rdx
  mov    %rdx,(%rax)
L349:
  mov    $0x0,%eax
L429:
  add    $0x48,%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

assistant: ```c
long int __strtol_internal(const char *nptr, char **endptr, int base, int group) {
  int negative;
  register unsigned long int cutoff;
  register unsigned int cutlim;
  register unsigned long int i;
  register const char *s;
  register unsigned char c;
  const char *save, *end;
  int overflow;
  if (base < 0 || base == 1 || base > 36) {
    errno = (EINVAL);
    return 0;
  }
  save = s = nptr;
  while ((1 && isspace(*s)))
    ++s;
  if (*s == '\0')
    goto noconv;
  if (*s == '-') {
    negative = 1;
    ++s;
  } else if (*s == '+') {
    negative = 0;
    ++s;
  } else
    negative = 0;
  if (*s == '0') {
    if ((base == 0 || base == 16) && (1 ? toupper(s[1]) : (s[1])) == 'X') {
      s += 2;
      base = 16;
    } else if (base == 0)
      base = 8;
  } else if (base == 0)
    base = 10;
  save = s;
  end = NULL;
  cutoff = ULONG_MAX / (unsigned long int)base;
  cutlim = ULONG_MAX % (unsigned long int)base;
  overflow = 0;
  i = 0;
  for (c = *s; c != '\0'; c = *++s) {
    if (s == end)
      break;
    if (c >= '0' && c <= '9')
      c -= '0';
    else if ((1 && isalpha(c)))
      c = (1 ? toupper(c) : (c)) - 'A' + 10;
    else
      break;
    if ((int)c >= base)
      break;
    if (i > cutoff || (i == cutoff && c > cutlim))
      overflow = 1;
    else {
      i *= (unsigned long int)base;
      i += c;
    }
  }
  if (s == save)
    goto noconv;
  if (endptr != NULL)
    *endptr = (char *)s;
  if (overflow == 0 && i > (negative ? -((unsigned long int)(LONG_MIN + 1)) + 1 : (unsigned long int)LONG_MAX))
    overflow = 1;
  if (overflow) {
    errno = (ERANGE);
    return negative ? LONG_MIN : LONG_MAX;
  }
  return negative ? -i : i;
noconv:
  if (endptr != NULL) {
    if (save - nptr >= 2 && (1 ? toupper(save[-1]) : (save[-1])) == 'X' && save[-2] == '0')
      *endptr = (char *)&save[-1];
    else
      *endptr = (char *)nptr;
  }
  return 0L;
}
```