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

```asm
<_nss_myhostname_gethostbyname3_r>:
  endbr64
  push   %rbp
  mov    %rdi,%r10
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  push   %r12
  mov    %esi,%r12d
  push   %rbx
  mov    %r9,%rbx
  sub    $0x48,%rsp
  mov    0x18(%rbp),%rax
  mov    0x10(%rbp),%r13
  mov    %rdx,-0x58(%rbp)
  mov    %r8,-0x60(%rbp)
  mov    %rsp,%rdi
  mov    %rax,-0x68(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0x70(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  mov    D85(%rip),%rax
  mov    (%rax),%r8d
  lea    0x1(%r8),%edx
  movslq %edx,%rax
  add    $0xf,%rax
  mov    %rax,%rsi
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rdi
  and    $0xfffffffffffffff0,%rsi
  cmp    %rdi,%rsp
  je     L127
L1:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L1
L127:
  and    $0xfff,%esi
  sub    %rsi,%rsp
  test   %rsi,%rsi
  jne    L81
L105:
  mov    D10(%rip),%rax
  mov    D32(%rip),%rsi
  mov    %rsp,%r15
  mov    (%rax),%eax
  cmp    %r12d,(%rsi)
  je     L56
  cmp    %eax,%r12d
  je     L113
  mov    D30(%rip),%rax
  cmp    %r12d,(%rax)
  je     L113
  mov    D91(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,(%rbx)
  mov    D49(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,0x0(%r13)
  mov    D58(%rip),%rax
  mov    (%rax),%eax
L46:
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L2
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L56:
  mov    %eax,%r12d
L113:
  xor    %esi,%esi
  mov    %r15,%rdi
  mov    %r10,-0x50(%rbp)
  mov    %r8d,-0x44(%rbp)
  call   <memset@plt>
  mov    -0x44(%rbp),%esi
  mov    %r15,%rdi
  call   <gethostname@plt>
  mov    -0x50(%rbp),%r10
  test   %rax,%rax
  js     L61
  mov    %r15,%rsi
  mov    %r10,%rdi
  call   <strcasecmp@plt>
  test   %rax,%rax
  je     L62
  mov    D120(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,(%rbx)
  mov    D104(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,0x0(%r13)
  mov    D84(%rip),%rax
  mov    (%rax),%eax
  jmp    L46
  nop
L61:
  mov    D23(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,(%rbx)
  mov    D60(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,0x0(%r13)
  mov    D58(%rip),%rax
  mov    (%rax),%eax
  jmp    L46
  cs nopw 0x0(%rax,%rax,1)
L62:
  sub    $0x8,%rsp
  push   -0x70(%rbp)
  mov    -0x60(%rbp),%r8
  mov    %rbx,%r9
  push   -0x68(%rbp)
  mov    %r14,%rcx
  mov    %r12d,%esi
  mov    %r15,%rdi
  mov    -0x58(%rbp),%rdx
  push   %r13
  call   <fill_in_hostent@plt>
  add    $0x20,%rsp
  jmp    L46
  xchg   %ax,%ax
L81:
  orq    $0x0,-0x8(%rsp,%rsi,1)
  jmp    L105
L2:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
enum nss_status _nss_myhostname_gethostbyname3_r(const char *name, int af, struct hostent *host, char *buffer, size_t buflen, int *errnop, int *h_errnop, int32_t *ttlp, char **canonp) {
  char hn[HOST_NAME_MAX + 1];
  if (af == AF_UNSPEC)
    af = AF_INET;
  if (af != AF_INET && af != AF_INET6) {
    *errnop = EAFNOSUPPORT;
    *h_errnop = NO_DATA;
    return NSS_STATUS_UNAVAIL;
  }
  memset(hn, 0, sizeof(hn));
  if (gethostname(hn, sizeof(hn) - 1) < 0) {
    *errnop = errno;
    *h_errnop = NO_RECOVERY;
    return NSS_STATUS_UNAVAIL;
  }
  if (strcasecmp(name, hn) != 0) {
    *errnop = ENOENT;
    *h_errnop = HOST_NOT_FOUND;
    return NSS_STATUS_NOTFOUND;
  }
  return fill_in_hostent(hn, af, host, buffer, buflen, errnop, h_errnop, ttlp, canonp);
}
```