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

```asm
<_atob>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x30,%rsp
  mov    %rdi,%rbp
  mov    %rsi,%rbx
  mov    %edx,%ecx
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  cmpb   $0x30,(%rsi)
  je     L3
L214:
  cmp    $0x10,%ecx
  je     L112
L52:
  movl   $0x0,0x0(%rbp)
  movzbl (%rbx),%eax
  test   %al,%al
  je     L121
  mov    $0x0,%edx
  jmp    L51
L3:
  movzbl 0x1(%rsi),%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L214
  add    $0x2,%rbx
L112:
  mov    $0x2e,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L111
  mov    %rax,%r13
  sub    %rbx,%r13
  mov    $0x0,%eax
  cmp    $0x13,%r13
  ja     L15
  lea    0x10(%rsp),%r14
  mov    %r13d,%edx
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <strncpy@plt>
  movb   $0x0,0x10(%rsp,%r13,1)
  lea    0x8(%rsp),%rdi
  mov    $0x10,%edx
  mov    %r14,%rsi
  call   <_atob>
  test   %eax,%eax
  je     L15
  add    $0x1,%r12
  mov    $0x2e,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  mov    %rax,%rdx
  mov    $0x0,%eax
  test   %rdx,%rdx
  jne    L15
  lea    0xc(%rsp),%rdi
  mov    $0x10,%edx
  mov    %r12,%rsi
  call   <_atob>
  test   %eax,%eax
  je     L15
  mov    0x8(%rsp),%eax
  shl    $0x10,%eax
  add    0xc(%rsp),%eax
  mov    %eax,0x0(%rbp)
  mov    $0x1,%eax
  jmp    L15
L111:
  mov    $0x10,%ecx
  jmp    L52
L93:
  lea    -0x61(%rax),%esi
  cmp    $0x5,%sil
  ja     L152
  movsbl %al,%eax
  sub    $0x57,%eax
L211:
  cmp    %ecx,%eax
  jge    L133
  imul   %ecx,%edx
  add    %eax,%edx
  add    $0x1,%rbx
  movzbl (%rbx),%eax
  test   %al,%al
  je     L23
L51:
  mov    %eax,%edi
  lea    -0x30(%rax),%esi
  cmp    $0x9,%sil
  ja     L93
  movsbl %al,%eax
  sub    $0x30,%eax
  jmp    L211
L152:
  sub    $0x41,%edi
  cmp    $0x5,%dil
  ja     L40
  movsbl %al,%eax
  sub    $0x37,%eax
  jmp    L211
L121:
  mov    $0x0,%edx
L23:
  mov    %edx,0x0(%rbp)
  mov    $0x1,%eax
L15:
  mov    0x28(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L157
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L40:
  mov    $0x0,%eax
  jmp    L15
L133:
  mov    $0x0,%eax
  jmp    L15
L157:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int _atob(uint64_t *vp, char *p, int base) {
  uint64_t value, v1, v2;
  char *q, tmp[20];
  int digit;
  if (p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
    base = 16;
    p += 2;
  }
  if (base == 16 && (q = strchr(p, '.')) != 0) {
    if (q - p > sizeof(tmp) - 1)
      return (0);
    strncpy(tmp, p, q - p);
    tmp[q - p] = '\0';
    if (!_atob(&v1, tmp, 16))
      return (0);
    q++;
    if (strchr(q, '.'))
      return (0);
    if (!_atob(&v2, q, 16))
      return (0);
    *vp = (v1 << 16) + v2;
    return (1);
  }
  value = *vp = 0;
  for (; *p; p++) {
    if (*p >= '0' && *p <= '9')
      digit = *p - '0';
    else if (*p >= 'a' && *p <= 'f')
      digit = *p - 'a' + 10;
    else if (*p >= 'A' && *p <= 'F')
      digit = *p - 'A' + 10;
    else
      return (0);
    if (digit >= base)
      return (0);
    value *= base;
    value += digit;
  }
  *vp = value;
  return (1);
}
```