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

```asm
<inet_network>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%rax
  mov    %rax,0x8(%rsp)
  mov    %rax,%r14
L104:
  movzbl (%rbx),%r12d
  cmp    $0x30,%r12b
  je     L159
  test   %r12b,%r12b
  je     L102
  mov    $0xa,%r13d
L226:
  xor    %ebp,%ebp
L123:
  movsbl %r12b,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L197
  mov    %ebp,%eax
  add    $0x1,%rbx
  imul   %r13d,%eax
  mov    %eax,%ebp
  lea    -0x30(%r12,%rbp,1),%ebp
  movzbl (%rbx),%r12d
  test   %r12b,%r12b
  jne    L123
  nopl   0x0(%rax)
L29:
  mov    %bpl,(%r14)
  add    $0x1,%r14
  sub    0x8(%rsp),%r14
  cmp    $0x4,%r14b
  jg     L120
  xor    %eax,%eax
  test   %r14b,%r14b
  jle    L64
  movsbl %r14b,%eax
  sub    $0x1,%eax
  cltq
  movzbl 0x14(%rsp,%rax,1),%eax
  jmp    L64
  nopl   0x0(%rax)
L159:
  movzbl 0x1(%rbx),%r12d
  mov    %r12d,%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L83
  movzbl 0x2(%rbx),%r13d
  test   %r13b,%r13b
  je     L105
  lea    0x3(%rbx),%r12
  xor    %ebp,%ebp
L178:
  movsbl %r13b,%r15d
  lea    -0x1(%r12),%rbx
  mov    %r15d,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L174
  mov    %r15d,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L82
L197:
  movzbl (%rbx),%eax
  cmp    $0x2e,%al
  jne    L217
  lea    0x18(%rsp),%rax
  cmp    %rax,%r14
  je     L120
  add    $0x1,%r14
  add    $0x1,%rbx
  mov    %bpl,-0x1(%r14)
  jmp    L104
  nopl   0x0(%rax,%rax,1)
L174:
  shl    $0x4,%ebp
  lea    -0x30(%r13,%rbp,1),%ebp
L76:
  movzbl (%r12),%r13d
  add    $0x1,%r12
  test   %r13b,%r13b
  jne    L178
  jmp    L29
L217:
  mov    %ebp,%r12d
  test   %al,%al
  je     L102
  movsbl %al,%edi
  call   <isspace@plt>
  test   %eax,%eax
  jne    L29
  cs nopw 0x0(%rax,%rax,1)
L120:
  mov    D4(%rip),%rax
  movzbl (%rax),%eax
L64:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L78
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L82:
  mov    %r15d,%edi
  shl    $0x4,%ebp
  call   <islower@plt>
  cmp    $0x1,%rax
  sbb    %eax,%eax
  and    $0xffffffe0,%eax
  sub    %eax,%ebp
  lea    -0x57(%rbp,%r13,1),%ebp
  jmp    L76
L83:
  add    $0x1,%rbx
  test   %r12b,%r12b
  je     L105
  mov    $0x8,%r13d
  jmp    L226
L105:
  xor    %ebp,%ebp
  jmp    L29
L78:
  call   <__stack_chk_fail@plt>
L102:
  mov    %r12d,%ebp
  jmp    L29
```

assistant: ```c
in_addr_t inet_network(const char *cp) {
  register in_addr_t val, base, n;
  register char c;
  in_addr_t parts[4], *pp = parts;
  register int i;
again:
  val = 0;
  base = 10;
  if (*cp == '0') {
    if (*++cp == 'x' || *cp == 'X')
      base = 16, cp++;
    else
      base = 8;
  }
  while ((c = *cp)) {
    if (isdigit(c)) {
      val = (val * base) + (c - '0');
      cp++;
      continue;
    }
    if (base == 16 && isxdigit(c)) {
      val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A'));
      cp++;
      continue;
    }
    break;
  }
  if (*cp == '.') {
    if (pp >= parts + 4)
      return (INADDR_NONE);
    *pp++ = val, cp++;
    goto again;
  }
  if (*cp && !isspace(*cp))
    return (INADDR_NONE);
  *pp++ = val;
  n = pp - parts;
  if (n > 4)
    return (INADDR_NONE);
  for (val = 0, i = 0; i < n; i++) {
    val <<= 8;
    val |= parts[i] & 0xff;
  }
  return (val);
}
```