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
L220:
  movzbl (%rbx),%r12d
  cmp    $0x30,%r12b
  je     L229
  test   %r12b,%r12b
  je     L159
  mov    $0xa,%r13d
L64:
  xor    %ebp,%ebp
L114:
  movsbl %r12b,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L236
  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    L114
  nopl   0x0(%rax)
L217:
  mov    %bpl,(%r14)
  add    $0x1,%r14
  sub    0x8(%rsp),%r14
  cmp    $0x4,%r14b
  jg     L15
  xor    %eax,%eax
  test   %r14b,%r14b
  jle    L40
  movsbl %r14b,%eax
  sub    $0x1,%eax
  cltq
  movzbl 0x14(%rsp,%rax,1),%eax
  jmp    L40
  nopl   0x0(%rax)
L229:
  movzbl 0x1(%rbx),%r12d
  mov    %r12d,%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L44
  movzbl 0x2(%rbx),%r13d
  test   %r13b,%r13b
  je     L91
  lea    0x3(%rbx),%r12
  xor    %ebp,%ebp
L209:
  movsbl %r13b,%r15d
  lea    -0x1(%r12),%rbx
  mov    %r15d,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L96
  mov    %r15d,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L110
L236:
  movzbl (%rbx),%eax
  cmp    $0x2e,%al
  jne    L157
  lea    0x18(%rsp),%rax
  cmp    %rax,%r14
  je     L15
  add    $0x1,%r14
  add    $0x1,%rbx
  mov    %bpl,-0x1(%r14)
  jmp    L220
  nopl   0x0(%rax,%rax,1)
L96:
  shl    $0x4,%ebp
  lea    -0x30(%r13,%rbp,1),%ebp
L150:
  movzbl (%r12),%r13d
  add    $0x1,%r12
  test   %r13b,%r13b
  jne    L209
  jmp    L217
L157:
  mov    %ebp,%r12d
  test   %al,%al
  je     L159
  movsbl %al,%edi
  call   <isspace@plt>
  test   %eax,%eax
  jne    L217
  cs nopw 0x0(%rax,%rax,1)
L15:
  mov    D7(%rip),%rax
  movzbl (%rax),%eax
L40:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L139
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L110:
  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    L150
L44:
  add    $0x1,%rbx
  test   %r12b,%r12b
  je     L91
  mov    $0x8,%r13d
  jmp    L64
L91:
  xor    %ebp,%ebp
  jmp    L217
L139:
  call   <__stack_chk_fail@plt>
L159:
  mov    %r12d,%ebp
  jmp    L217
```

assistant: ```c
u_int32_t inet_network(const char *cp) {
  register u_long val, base, n;
  register char c;
  u_long 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);
}
```