user: 这段汇编代码用C语言表示是什么样的:

```asm
<inet_network>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    $0xa,%r13d
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x28,%rsp
  movzbl 0x0(%rbp),%ebx
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x14(%rsp),%rax
  mov    %rax,0x8(%rsp)
  mov    %rax,%r14
  cmp    $0x30,%bl
  jne    L152
L181:
  movzbl 0x1(%rbp),%ebx
  mov    $0x8,%r13d
  add    $0x1,%rbp
L152:
  mov    %ebx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  jne    L0
L8:
  movzbl 0x1(%rbp),%ebx
  test   %bl,%bl
  je     L33
  lea    0x2(%rbp),%r13
  xor    %r12d,%r12d
L117:
  movsbl %bl,%r15d
  lea    -0x1(%r13),%rbp
  mov    %r15d,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  jne    L37
  mov    %r15d,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  jne    L212
L2:
  movzbl 0x0(%rbp),%eax
  cmp    $0x2e,%al
  jne    L134
  lea    0x17(%rsp),%rax
  cmp    %rax,%r14
  je     L39
  movzbl 0x1(%rbp),%ebx
  add    $0x1,%r14
  add    $0x1,%rbp
  mov    %r12b,-0x1(%r14)
  mov    $0xa,%r13d
  cmp    $0x30,%bl
  je     L181
  mov    %ebx,%eax
  and    $0xffffffdf,%eax
  cmp    $0x58,%al
  je     L8
L0:
  test   %bl,%bl
  je     L33
  xor    %r12d,%r12d
L164:
  movsbl %bl,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L2
  mov    %r12d,%eax
  add    $0x1,%rbp
  imul   %r13d,%eax
  mov    %eax,%r12d
  lea    -0x30(%rbx,%r12,1),%r12d
  movzbl 0x0(%rbp),%ebx
  test   %bl,%bl
  jne    L164
  cs nopw 0x0(%rax,%rax,1)
L219:
  mov    %r12d,%ebx
L33:
  mov    %bl,(%r14)
  add    $0x1,%r14
  sub    0x8(%rsp),%r14
  xor    %r8d,%r8d
  movsbl %r14b,%eax
  test   %eax,%eax
  jle    L136
  cmp    $0x1,%eax
  jle    L136
  cmp    $0x2,%eax
  jle    L136
  cmp    $0x3,%eax
  jle    L136
  movzbl 0x17(%rsp),%r8d
  jmp    L136
  nopl   0x0(%rax)
L37:
  shl    $0x4,%r12d
  lea    -0x30(%rbx,%r12,1),%r12d
L30:
  movzbl 0x0(%r13),%ebx
  add    $0x1,%r13
  test   %bl,%bl
  jne    L117
  jmp    L219
L134:
  mov    %r12d,%ebx
  test   %al,%al
  je     L33
  movsbl %al,%edi
  call   <isspace@plt>
  test   %eax,%eax
  jne    L33
  nopw   0x0(%rax,%rax,1)
L39:
  mov    D6(%rip),%rax
  movzbl (%rax),%r8d
L136:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L107
  add    $0x28,%rsp
  mov    %r8d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L212:
  mov    %r15d,%edi
  shl    $0x4,%r12d
  call   <islower@plt>
  lea    0xa(%rbx,%r12,1),%r12d
  cmp    $0x1,%rax
  sbb    %eax,%eax
  and    $0xffffffe0,%eax
  add    $0x61,%eax
  sub    %eax,%r12d
  jmp    L30
L107:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
in_addr_t inet_network(const char *cp) {
  in_addr_t val, base, n;
  u_char c;
  in_addr_t parts[4], *pp = parts;
  int i;
again:
  val = 0;
  base = 10;
  if (*cp == '0')
    base = 8, cp++;
  if (*cp == 'x' || *cp == 'X')
    base = 16, cp++;
  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 + 3)
      return (INADDR_NONE);
    *pp++ = val, cp++;
    goto again;
  }
  if (*cp && !isspace(*cp))
    return (INADDR_NONE);
  *pp++ = val;
  n = pp - parts;
  for (val = 0, i = 0; i < 4; i++) {
    val <<= 8;
    if (i < n)
      val |= parts[i] & 0xff;
  }
  return (val);
}
```