user: 下面的汇编指令对应的C源代码是什么:

```asm
<inet_network>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x30,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  lea    -0x2c(%rbp),%rax
  mov    %rax,-0x38(%rbp)
L109:
  mov    $0x0,%ebx
  mov    $0xa,%r13d
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x30,%al
  jne    L44
  addq   $0x1,-0x48(%rbp)
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x78,%al
  je     L207
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x58,%al
  jne    L116
L207:
  mov    $0x10,%r13d
  addq   $0x1,-0x48(%rbp)
  jmp    L28
L116:
  mov    $0x8,%r13d
L28:
  jmp    L44
L167:
  movsbl %r12b,%eax
  mov    %eax,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L56
  mov    %ebx,%eax
  mov    %r13d,%edx
  imul   %edx,%eax
  mov    %r12d,%edx
  add    %edx,%eax
  sub    $0x30,%eax
  mov    %eax,%ebx
  addq   $0x1,-0x48(%rbp)
  jmp    L44
L56:
  cmp    $0x10,%r13b
  jne    L138
  movsbl %r12b,%eax
  mov    %eax,%edi
  call   <isxdigit@plt>
  test   %rax,%rax
  je     L138
  mov    %ebx,%eax
  shl    $0x4,%eax
  mov    %eax,%ebx
  mov    %r12d,%r14d
  movsbl %r12b,%eax
  mov    %eax,%edi
  call   <islower@plt>
  test   %rax,%rax
  je     L187
  mov    $0x61,%edx
  jmp    L173
L187:
  mov    $0x41,%edx
L173:
  mov    %r14d,%eax
  sub    %edx,%eax
  add    %ebx,%eax
  add    $0xa,%eax
  mov    %eax,%ebx
  addq   $0x1,-0x48(%rbp)
  nop
L44:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%r12d
  test   %r12b,%r12b
  jne    L167
  jmp    L102
L138:
  nop
L102:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L136
  lea    -0x2c(%rbp),%rax
  add    $0x4,%rax
  cmp    %rax,-0x38(%rbp)
  jb     L113
  mov    D1(%rip),%rax
  movzbl (%rax),%eax
  jmp    L165
L113:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %bl,(%rax)
  addq   $0x1,-0x48(%rbp)
  jmp    L109
L136:
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L15
  mov    -0x48(%rbp),%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <isspace@plt>
  test   %eax,%eax
  jne    L15
  mov    D1(%rip),%rax
  movzbl (%rax),%eax
  jmp    L165
L15:
  mov    -0x38(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    %rdx,-0x38(%rbp)
  mov    %bl,(%rax)
  lea    -0x2c(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  sub    %rdx,%rax
  mov    %eax,%r13d
  cmp    $0x4,%r13b
  jle    L211
  mov    D1(%rip),%rax
  movzbl (%rax),%eax
  jmp    L165
L211:
  mov    $0x0,%ebx
  mov    $0x0,%r12d
  jmp    L163
L89:
  movsbl %bl,%eax
  shl    $0x8,%eax
  mov    %eax,%ebx
  movslq %r12d,%rax
  movzbl -0x2c(%rbp,%rax,1),%eax
  or     %eax,%ebx
  add    $0x1,%r12d
L163:
  movsbl %r13b,%eax
  cmp    %eax,%r12d
  jl     L89
  mov    %ebx,%eax
L165:
  mov    -0x28(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L13
  call   <__stack_chk_fail@plt>
L13:
  add    $0x30,%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
```

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);
}
```