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

```asm
<strtoxl>:
  endbr64
  push   %r15
  lea    0x1(%rdi),%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %edx,%ebp
  push   %rbx
  mov    %ecx,%ebx
  sub    $0x28,%rsp
  movsbl (%rdi),%r14d
  mov    %rdi,0x18(%rsp)
  mov    %rsi,0x10(%rsp)
  jmp    L411
  nopw   0x0(%rax,%rax,1)
L27:
  movsbl (%r15),%r14d
  add    $0x1,%r15
L411:
  movsbl %r14b,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L27
  cmp    $0x2d,%r14b
  je     L91
  cmp    $0x2b,%r14b
  je     L357
L350:
  cmp    $0x1,%ebp
  je     L367
  cmp    $0x24,%ebp
  ja     L367
  test   %ebp,%ebp
  jne    L191
  mov    $0xa,%ebp
  cmp    $0x30,%r14b
  je     L181
L83:
  mov    D63(%rip),%rax
  xor    %r12d,%r12d
  mov    (%rax),%eax
  cltd
  idiv   %ebp
  movslq %eax,%r13
  movslq %ebp,%rax
  mov    %rax,0x8(%rsp)
  jmp    L4
  nopl   0x0(%rax,%rax,1)
L14:
  je     L289
L448:
  or     $0xc,%ebx
L218:
  movsbl (%r15),%r14d
  add    $0x1,%r15
L4:
  mov    %r14d,%edi
  call   <isdigit@plt>
  lea    -0x30(%r14),%ecx
  test   %rax,%rax
  je     L34
  cmp    %ecx,%ebp
  jbe    L177
L222:
  cmp    %r13,%r12
  jae    L14
  imul   0x8(%rsp),%r12
  or     $0x8,%ebx
  add    %rcx,%r12
  jmp    L218
  nopl   0x0(%rax)
L367:
  mov    0x10(%rsp),%rax
  xor    %r12d,%r12d
  test   %rax,%rax
  je     L378
  mov    0x18(%rsp),%rsi
  mov    %rsi,(%rax)
L378:
  add    $0x28,%rsp
  mov    %r12,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L357:
  movsbl (%r15),%r14d
  add    $0x1,%r15
  jmp    L350
  nopl   (%rax)
L34:
  mov    %r14d,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  je     L177
  mov    %r14d,%edi
  call   <toupper@plt>
  movsbl %al,%ecx
  sub    $0x37,%ecx
  cmp    %ecx,%ebp
  ja     L222
L177:
  mov    %ebx,%eax
  lea    -0x1(%r15),%rsi
  and    $0x2,%eax
  test   $0x8,%bl
  jne    L116
  xor    %r12d,%r12d
  cmpq   $0x0,0x10(%rsp)
  je     L234
L217:
  mov    0x10(%rsp),%rsi
  mov    0x18(%rsp),%rbx
  mov    %rbx,(%rsi)
L234:
  test   %eax,%eax
  je     L378
L259:
  neg    %r12
  jmp    L378
  xchg   %ax,%ax
L289:
  mov    D63(%rip),%rax
  mov    (%rax),%eax
  cltd
  idiv   %ebp
  movslq %edx,%rdx
  cmp    %rdx,%rcx
  ja     L448
  imul   0x8(%rsp),%r12
  or     $0x8,%ebx
  add    %rcx,%r12
  jmp    L218
  nopl   0x0(%rax)
L91:
  movsbl (%r15),%r14d
  or     $0x2,%ebx
  add    $0x1,%r15
  jmp    L350
L116:
  mov    %ebx,%edx
  and    $0x1,%edx
  and    $0x4,%ebx
  je     L311
  mov    D8(%rip),%rcx
  mov    (%rcx),%edi
  mov    D48(%rip),%rcx
  mov    %edi,(%rcx)
  test   %edx,%edx
  je     L417
  mov    D63(%rip),%rbx
  movslq (%rbx),%r12
L126:
  cmpq   $0x0,0x10(%rsp)
  je     L234
  mov    %rsi,0x18(%rsp)
  jmp    L217
  nopl   0x0(%rax)
L191:
  cmp    $0x10,%ebp
  jne    L83
  cmp    $0x30,%r14b
  jne    L83
  movzbl (%r15),%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L83
L219:
  movsbl 0x1(%r15),%r14d
  mov    $0x10,%ebp
  add    $0x2,%r15
  jmp    L83
  nopl   (%rax)
L311:
  test   %edx,%edx
  jne    L126
  test   %eax,%eax
  je     L5
  mov    D106(%rip),%rdx
  cmp    %r12,(%rdx)
  jbe    L114
L38:
  mov    D8(%rip),%rdx
  mov    (%rdx),%ecx
  mov    D48(%rip),%rdx
  mov    %ecx,(%rdx)
L417:
  test   %eax,%eax
  je     L365
  mov    D106(%rip),%rdx
  mov    (%rdx),%r12
L114:
  cmpq   $0x0,0x10(%rsp)
  mov    %rsi,0x18(%rsp)
  jne    L217
  jmp    L259
L181:
  movzbl (%r15),%eax
  mov    $0x8,%ebp
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L83
  jmp    L219
L365:
  mov    D5(%rip),%rdx
  mov    (%rdx),%r12
L182:
  cmpq   $0x0,0x10(%rsp)
  mov    %rsi,0x18(%rsp)
  jne    L217
  jmp    L378
L5:
  mov    D5(%rip),%rdx
  cmp    %r12,(%rdx)
  jb     L38
  jmp    L182
```

assistant: ```c
unsigned long strtoxl(const char *nptr, char **endptr, int ibase, int flags) {
  const char *p;
  char c;
  unsigned long number;
  unsigned digval;
  unsigned long maxval;
  p = (const char *)nptr;
  number = 0;
  c = *p++;
  while (isspace(c))
    c = *p++;
  if (c == '-') {
    flags |= 2;
    c = *p++;
  } else if (c == '+') {
    c = *p++;
  }
  if (ibase < 0 || ibase == 1 || ibase > 36) {
    if (endptr)
      *endptr = (char *)nptr;
    return 0L;
  } else if (ibase == 0) {
    if (c != '0') {
      ibase = 10;
    } else if (*p == 'x' || *p == 'X') {
      ibase = 16;
    } else {
      ibase = 8;
    }
  }
  if (ibase == 16) {
    if (c == '0' && (*p == 'x' || *p == 'X')) {
      ++p;
      c = *p++;
    }
  }
  maxval = UINT32_MAX / ibase;
  for (;;) {
    if (isdigit(c)) {
      digval = c - '0';
    } else if (isalpha(c)) {
      digval = toupper(c) - 'A' + 10;
    } else {
      break;
    }
    if (digval >= (unsigned)ibase)
      break;
    flags |= 8;
    if (number < maxval || (number == maxval && (unsigned long)digval <= UINT32_MAX % ibase)) {
      number = number * ibase + digval;
    } else {
      flags |= 4;
    }
    c = *p++;
  }
  --p;
  if (!(flags & 8)) {
    if (endptr)
      p = nptr;
    number = 0;
  } else if ((flags & 4) || (!(flags & 1) && (((flags & 2) && (number < INT32_MIN)) || (!(flags & 2) && (number > INT32_MAX))))) {
    errno = ERANGE;
    if (flags & 1) {
      number = UINT32_MAX;
    } else if (flags & 2) {
      number = INT32_MIN;
    } else {
      number = INT32_MAX;
    }
  }
  if (endptr)
    *endptr = (char *)p;
  if (flags & 2)
    number = (unsigned long)(-(long)number);
  return number;
}
```