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

```asm
<strtoll>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x44(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x18(%rbp)
L232:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x28(%rbp)
  mov    -0x28(%rbp),%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L232
  cmpl   $0x2d,-0x28(%rbp)
  jne    L225
  movl   $0x1,-0x24(%rbp)
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x28(%rbp)
  jmp    L346
L225:
  movl   $0x0,-0x24(%rbp)
  cmpl   $0x2b,-0x28(%rbp)
  jne    L346
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x28(%rbp)
L346:
  cmpl   $0x0,-0x44(%rbp)
  je     L46
  cmpl   $0x10,-0x44(%rbp)
  jne    L20
L46:
  cmpl   $0x30,-0x28(%rbp)
  jne    L20
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L311
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x58,%al
  jne    L20
L311:
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,-0x28(%rbp)
  addq   $0x2,-0x18(%rbp)
  movl   $0x10,-0x44(%rbp)
L20:
  cmpl   $0x0,-0x44(%rbp)
  jne    L27
  cmpl   $0x30,-0x28(%rbp)
  jne    L369
  mov    $0x8,%eax
  jmp    L337
L369:
  mov    $0xa,%eax
L337:
  mov    %eax,-0x44(%rbp)
L27:
  cmpl   $0x0,-0x24(%rbp)
  je     L223
  mov    D22(%rip),%rax
  mov    (%rax),%rax
  jmp    L222
L223:
  mov    D63(%rip),%rax
  mov    (%rax),%rax
L222:
  mov    %rax,-0x8(%rbp)
  mov    -0x44(%rbp),%eax
  movslq %eax,%rcx
  mov    -0x8(%rbp),%rax
  cqto
  idiv   %rcx
  mov    %rdx,%rax
  mov    %eax,-0x1c(%rbp)
  mov    -0x44(%rbp),%eax
  movslq %eax,%rsi
  mov    -0x8(%rbp),%rax
  cqto
  idiv   %rsi
  mov    %rax,-0x8(%rbp)
  cmpl   $0x0,-0x24(%rbp)
  je     L374
  cmpl   $0x0,-0x1c(%rbp)
  jle    L111
  mov    -0x44(%rbp),%eax
  sub    %eax,-0x1c(%rbp)
  addq   $0x1,-0x8(%rbp)
L111:
  negl   -0x1c(%rbp)
L374:
  movq   $0x0,-0x10(%rbp)
  movl   $0x0,-0x20(%rbp)
L89:
  mov    -0x28(%rbp),%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L137
  subl   $0x30,-0x28(%rbp)
  jmp    L355
L137:
  mov    -0x28(%rbp),%eax
  mov    %eax,%edi
  call   <isalpha@plt>
  test   %rax,%rax
  je     L182
  mov    -0x28(%rbp),%eax
  mov    %eax,%edi
  call   <isupper@plt>
  test   %rax,%rax
  je     L365
  mov    $0x37,%eax
  jmp    L215
L365:
  mov    $0x57,%eax
L215:
  sub    %eax,-0x28(%rbp)
L355:
  mov    -0x28(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jge    L127
  cmpl   $0x0,-0x20(%rbp)
  js     L228
  cmpl   $0x0,-0x24(%rbp)
  je     L29
  mov    -0x10(%rbp),%rax
  cmp    -0x8(%rbp),%rax
  jl     L56
  mov    -0x10(%rbp),%rax
  cmp    -0x8(%rbp),%rax
  jne    L261
  mov    -0x28(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jle    L261
L56:
  movl   $0xffffffff,-0x20(%rbp)
  mov    D22(%rip),%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  mov    D61(%rip),%rax
  mov    (%rax),%edx
  mov    D37(%rip),%rax
  mov    %edx,(%rax)
  jmp    L329
L261:
  movl   $0x1,-0x20(%rbp)
  mov    -0x44(%rbp),%eax
  cltq
  mov    -0x10(%rbp),%rdx
  imul   %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  sub    %rax,-0x10(%rbp)
  jmp    L329
L29:
  mov    -0x10(%rbp),%rax
  cmp    -0x8(%rbp),%rax
  jg     L300
  mov    -0x10(%rbp),%rax
  cmp    -0x8(%rbp),%rax
  jne    L270
  mov    -0x28(%rbp),%eax
  cmp    -0x1c(%rbp),%eax
  jle    L270
L300:
  movl   $0xffffffff,-0x20(%rbp)
  mov    D63(%rip),%rax
  mov    (%rax),%rax
  mov    %rax,-0x10(%rbp)
  mov    D61(%rip),%rax
  mov    (%rax),%edx
  mov    D37(%rip),%rax
  mov    %edx,(%rax)
  jmp    L329
L270:
  movl   $0x1,-0x20(%rbp)
  mov    -0x44(%rbp),%eax
  cltq
  mov    -0x10(%rbp),%rdx
  imul   %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  add    %rax,-0x10(%rbp)
  jmp    L329
L228:
  nop
L329:
  mov    -0x18(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movzbl (%rax),%eax
  movzbl %al,%eax
  mov    %eax,-0x28(%rbp)
  jmp    L89
L182:
  nop
  jmp    L154
L127:
  nop
L154:
  cmpq   $0x0,-0x40(%rbp)
  je     L133
  cmpl   $0x0,-0x20(%rbp)
  je     L144
  mov    -0x18(%rbp),%rax
  sub    $0x1,%rax
  jmp    L72
L144:
  mov    -0x38(%rbp),%rax
L72:
  mov    -0x40(%rbp),%rdx
  mov    %rax,(%rdx)
L133:
  mov    -0x10(%rbp),%rax
  leave
  ret
```

assistant: ```c
long long strtoll(const char *nptr, char **endptr, int base) {
  const char *s;
  long long acc, cutoff;
  int c;
  int neg, any, cutlim;
  s = nptr;
  do {
    c = (unsigned char)*s++;
  } while (isspace(c));
  if (c == '-') {
    neg = 1;
    c = *s++;
  } else {
    neg = 0;
    if (c == '+')
      c = *s++;
  }
  if ((base == 0 || base == 16) && c == '0' && (*s == 'x' || *s == 'X')) {
    c = s[1];
    s += 2;
    base = 16;
  }
  if (base == 0)
    base = c == '0' ? 8 : 10;
  cutoff = neg ? LLONG_MIN : LLONG_MAX;
  cutlim = cutoff % base;
  cutoff /= base;
  if (neg) {
    if (cutlim > 0) {
      cutlim -= base;
      cutoff += 1;
    }
    cutlim = -cutlim;
  }
  for (acc = 0, any = 0;; c = (unsigned char)*s++) {
    if (isdigit(c))
      c -= '0';
    else if (isalpha(c))
      c -= isupper(c) ? 'A' - 10 : 'a' - 10;
    else
      break;
    if (c >= base)
      break;
    if (any < 0)
      continue;
    if (neg) {
      if (acc < cutoff || (acc == cutoff && c > cutlim)) {
        any = -1;
        acc = LLONG_MIN;
        errno = ERANGE;
      } else {
        any = 1;
        acc *= base;
        acc -= c;
      }
    } else {
      if (acc > cutoff || (acc == cutoff && c > cutlim)) {
        any = -1;
        acc = LLONG_MAX;
        errno = ERANGE;
      } else {
        any = 1;
        acc *= base;
        acc += c;
      }
    }
  }
  if (endptr != 0)
    *endptr = (char *)(any ? s - 1 : nptr);
  return (acc);
}
```