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
  sub    $0x28,%rsp
  mov    %rdi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%r15
  jmp    L196
L141:
  add    $0x1,%rbx
  movb   $0x8,0xe(%rsp)
  jmp    L186
L131:
  mov    %r13d,%eax
  mulb   0xe(%rsp)
  mov    %eax,%r13d
  lea    -0x30(%rbp,%r13,1),%r13d
  mov    %r12,%rbx
L223:
  movzbl (%rbx),%ebp
  add    $0x1,%r12
  test   %bpl,%bpl
  jne    L76
  jmp    L13
L119:
  shl    $0x4,%r13d
  mov    %r14d,%edi
  call   <islower@plt>
  cmp    $0x1,%rax
  sbb    %edx,%edx
  and    $0xffffffe0,%edx
  add    $0x61,%edx
  movzbl 0xf(%rsp),%eax
  lea    0xa(%rax,%r13,1),%eax
  sub    %edx,%eax
  mov    %eax,%r13d
  mov    %r12,%rbx
  jmp    L223
L218:
  movzbl (%rbx),%ebp
  lea    0x1(%rbx),%r12
  mov    $0x0,%r13d
  test   %bpl,%bpl
  je     L5
L76:
  lea    -0x1(%r12),%rbx
  mov    %bpl,0xf(%rsp)
  movzbl %bpl,%r14d
  mov    %r14d,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L131
  cmpb   $0x10,0xe(%rsp)
  jne    L13
  mov    %r14d,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L119
L13:
  movzbl (%rbx),%eax
  cmp    $0x2e,%al
  jne    L211
  lea    0x17(%rsp),%rax
  cmp    %rax,%r15
  je     L14
  add    $0x1,%r15
  mov    %r13b,-0x1(%r15)
  add    $0x1,%rbx
L196:
  movb   $0xa,0xe(%rsp)
  cmpb   $0x30,(%rbx)
  je     L141
L186:
  movzbl (%rbx),%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L218
  add    $0x1,%rbx
  movb   $0x10,0xe(%rsp)
  jmp    L218
L5:
  mov    %ebp,%r13d
  jmp    L13
L14:
  mov    D15(%rip),%rax
  movzbl (%rax),%eax
L61:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L220
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L211:
  test   %al,%al
  jne    L25
L150:
  mov    %r13b,(%r15)
  lea    0x20(%rsp),%rax
  sub    %rax,%r15
  lea    0xd(%r15),%rdx
  mov    %edx,%ecx
  test   %dl,%dl
  jle    L171
  mov    $0x0,%eax
L75:
  add    $0x1,%eax
  cmp    %al,%cl
  jne    L75
  sub    $0x1,%edx
  movsbq %dl,%rdx
  movzbl 0x14(%rsp,%rdx,1),%eax
  jmp    L61
L25:
  movzbl %al,%edi
  call   <isspace@plt>
  test   %eax,%eax
  jne    L150
  mov    D15(%rip),%rax
  movzbl (%rax),%eax
  jmp    L61
L171:
  mov    $0x0,%eax
  jmp    L61
L220:
  call   <__stack_chk_fail@plt>
```

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