user: Demonstrate the C code that generates the assembly output below:

```asm
<yalex_atoll_s>:
  endbr64
  push   %rbp
  mov    %edx,%r11d
  push   %rbx
  movsbl (%rdi),%esi
  cmp    $0x2d,%esi
  je     L228
  cmp    $0x2b,%esi
  je     L55
  movabs $0x7fffffffffffffff,%rax
  lea    0x1(%rdi),%r8
  xor    %ebp,%ebp
L31:
  test   $0xffffffef,%r11d
  je     L44
L223:
  movslq %r11d,%rbx
L205:
  xor    %edx,%edx
  xor    %r10d,%r10d
  xor    %r9d,%r9d
  div    %rbx
  jmp    L76
  nopl   0x0(%rax,%rax,1)
L24:
  jne    L27
  mov    $0xffffffff,%r10d
  cmp    %edx,%ecx
  jle    L27
L208:
  movsbl (%r8),%esi
  add    $0x1,%r8
L76:
  lea    -0x30(%rsi),%ecx
  cmp    $0x9,%ecx
  jbe    L221
  mov    %esi,%ecx
  lea    -0x41(%rsi),%edi
  and    $0xffffffdf,%ecx
  sub    $0x41,%ecx
  cmp    $0x19,%ecx
  ja     L7
  cmp    $0x1a,%edi
  sbb    %edi,%edi
  and    $0xffffffe0,%edi
  add    $0x57,%edi
  sub    %edi,%esi
  mov    %esi,%ecx
L221:
  cmp    %ecx,%r11d
  jle    L7
  test   %r10d,%r10d
  js     L153
  cmp    %rax,%r9
  jbe    L24
L153:
  mov    $0xffffffff,%r10d
  jmp    L208
  xchg   %ax,%ax
L55:
  movsbl 0x1(%rdi),%esi
  lea    0x2(%rdi),%r8
  xor    %ebp,%ebp
  movabs $0x7fffffffffffffff,%rax
  test   $0xffffffef,%r11d
  jne    L223
L44:
  cmp    $0x30,%esi
  je     L207
  test   %r11d,%r11d
  jne    L223
  mov    $0xa,%ebx
  mov    $0xa,%r11d
  jmp    L205
  nopl   0x0(%rax,%rax,1)
L27:
  imul   %rbx,%r9
  movslq %ecx,%rcx
  mov    $0x1,%r10d
  add    %rcx,%r9
  jmp    L208
  nopl   (%rax)
L7:
  cmp    $0xffffffff,%r10d
  je     L162
  mov    %r9,%rax
  pop    %rbx
  neg    %rax
  test   %ebp,%ebp
  pop    %rbp
  cmove  %r9,%rax
  ret
  nopl   (%rax)
L228:
  movsbl 0x1(%rdi),%esi
  lea    0x2(%rdi),%r8
  mov    $0x1,%ebp
  movabs $0x8000000000000000,%rax
  jmp    L31
  nopl   0x0(%rax)
L162:
  movabs $0x8000000000000000,%rax
  test   %ebp,%ebp
  pop    %rbx
  pop    %rbp
  movabs $0x7fffffffffffffff,%rdx
  cmove  %rdx,%rax
  ret
  nopl   (%rax)
L207:
  movzbl (%r8),%edx
  and    $0xffffffdf,%edx
  cmp    $0x58,%dl
  jne    L197
  movsbl 0x1(%r8),%esi
  mov    $0x10,%ebx
  add    $0x2,%r8
  mov    $0x10,%r11d
  jmp    L205
L197:
  test   %r11d,%r11d
  jne    L223
  mov    $0x8,%ebx
  mov    $0x8,%r11d
  jmp    L205
```

assistant: ```c
long long yalex_atoll_s(const char *buf, char **end, int radix) {
  end = 0;
  register const char *s = buf;
  register unsigned long long acc;
  register int c;
  register unsigned long long cutoff;
  register int neg = 0, any, cutlim;
  c = *s++;
  if (c == '-') {
    neg = 1;
    c = *s++;
  } else if (c == '+') {
    c = *s++;
  }
  if ((radix == 0 || radix == 16) && c == '0' && (*s == 'x' || *s == 'X')) {
    c = s[1];
    s += 2;
    radix = 16;
  }
  if (radix == 0)
    radix = c == '0' ? 8 : 10;
  cutoff = neg ? (0x8000000000000000) : (0x7FFFFFFFFFFFFFFF);
  cutlim = cutoff % (long long)radix;
  cutoff /= (long long)radix;
  for (acc = 0, any = 0;; c = *s++) {
    if ((c >= '0' && c <= '9'))
      c -= '0';
    else if (((c >= 'A' && c <= 'Z') || c >= 'a' && c <= 'z'))
      c -= (c >= 'A' && c <= 'Z') ? 'A' - 10 : 'a' - 10;
    else
      break;
    if (c >= radix)
      break;
    if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim))
      any = -1;
    else {
      any = 1;
      acc *= radix;
      acc += c;
    }
  }
  if (any < 0) {
    return neg ? (0x8000000000000000) : (0x7FFFFFFFFFFFFFFF);
  } else if (neg) {
    return -1 * ((long long)acc);
  }
  return (long long)acc;
}
```