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

```asm
<fts_stat>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x28,%rsp
  mov    0x8(%rsi),%r13
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  mov    (%rsi),%rax
  cmp    $0xffffffff,%ecx
  jne    L203
  mov    D41(%rip),%rcx
  mov    %rax,%r13
  mov    (%rcx),%ebp
L203:
  mov    (%rdi),%eax
  mov    D146(%rip),%rcx
  mov    %rsp,%r12
  mov    %eax,%esi
  and    (%rcx),%esi
  jne    L19
  mov    0x48(%rbx),%r12
L19:
  mov    D16(%rip),%rcx
  and    (%rcx),%eax
  or     %edx,%eax
  je     L11
  xor    %ecx,%ecx
  mov    %r12,%rdx
  mov    %r13,%rsi
  mov    %ebp,%edi
  call   <fstatat@plt>
  test   %rax,%rax
  jne    L35
L177:
  mov    0x10(%r12),%edi
  call   <S_ISDIR@plt>
  test   %rax,%rax
  je     L205
  mov    0x14(%r12),%eax
  mov    0x8(%r12),%rcx
  mov    (%r12),%rsi
  movdqu (%r12),%xmm0
  mov    %eax,0x40(%rbx)
  mov    0x8(%rbx),%rax
  movups %xmm0,0x18(%rbx)
  cmpb   $0x2e,(%rax)
  je     L94
L38:
  mov    D31(%rip),%rdx
  mov    0x38(%rbx),%rax
  mov    (%rdx),%rdx
  cmp    0x28(%rax),%rdx
  jle    L220
  jmp    L42
L225:
  mov    0x38(%rax),%rax
  cmp    %rdx,0x28(%rax)
  jl     L42
L220:
  cmp    %rcx,0x20(%rax)
  jne    L225
  cmp    %rsi,0x18(%rax)
  jne    L225
  mov    %rax,0x30(%rbx)
  mov    D120(%rip),%rax
  mov    (%rax),%eax
  jmp    L139
  nopl   0x0(%rax)
L11:
  mov    D55(%rip),%rax
  mov    %r12,%rdx
  mov    %r13,%rsi
  mov    %ebp,%edi
  mov    (%rax),%ecx
  call   <fstatat@plt>
  test   %rax,%rax
  je     L177
  mov    D145(%rip),%rax
  mov    (%rax),%eax
L215:
  mov    %eax,0x10(%rbx)
  mov    $0x18,%edx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  mov    D17(%rip),%rax
  mov    (%rax),%eax
  jmp    L139
  nopl   (%rax)
L205:
  mov    0x10(%r12),%edi
  call   <S_ISLNK@plt>
  test   %rax,%rax
  je     L21
  mov    D81(%rip),%rax
  mov    (%rax),%eax
  jmp    L139
  nopw   0x0(%rax,%rax,1)
L42:
  mov    D51(%rip),%rax
  mov    (%rax),%eax
L139:
  mov    0x18(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L187
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L35:
  mov    D55(%rip),%rax
  mov    %r12,%rdx
  mov    %r13,%rsi
  mov    %ebp,%edi
  mov    D145(%rip),%r15
  mov    (%rax),%ecx
  mov    (%r15),%r14
  call   <fstatat@plt>
  test   %rax,%rax
  jne    L28
  mov    D141(%rip),%rax
  movq   $0x0,(%r15)
  mov    (%rax),%eax
  jmp    L139
  nop
L21:
  mov    0x10(%r12),%edi
  call   <S_ISREG@plt>
  test   %rax,%rax
  jne    L138
  mov    D134(%rip),%rax
  mov    (%rax),%eax
  jmp    L139
  nopl   (%rax)
L94:
  movzbl 0x1(%rax),%edx
  test   %dl,%dl
  je     L6
  cmp    $0x2e,%dl
  jne    L38
  cmpb   $0x0,0x2(%rax)
  jne    L38
  nopl   0x0(%rax,%rax,1)
L6:
  mov    D111(%rip),%rax
  mov    (%rax),%eax
  jmp    L139
  xchg   %ax,%ax
L28:
  mov    %r14d,%eax
  jmp    L215
L138:
  mov    D92(%rip),%rax
  mov    (%rax),%eax
  jmp    L139
L187:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
u_short fts_stat(FTS *sp, FTSENT *p, int follow, int dfd) {
  FTSENT *t;
  dev_t dev;
  ino_t ino;
  struct stat *sbp, sb;
  int saved_errno;
  const char *path;
  if (dfd == -1) {
    path = p->fts_accpath;
    dfd = AT_FDCWD;
  } else
    path = p->fts_name;
  sbp = (sp->fts_options & (FTS_NOSTAT)) ? &sb : p->fts_statp;
  if ((sp->fts_options & (FTS_LOGICAL)) || follow) {
    if (fstatat(dfd, path, sbp, 0)) {
      saved_errno = errno;
      if (!fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
        errno = 0;
        return (FTS_SLNONE);
      }
      p->fts_errno = saved_errno;
      goto err;
    }
  } else if (fstatat(dfd, path, sbp, AT_SYMLINK_NOFOLLOW)) {
    p->fts_errno = errno;
  err:
    memset(sbp, 0, sizeof(struct stat));
    return (FTS_NS);
  }
  if (S_ISDIR(sbp->st_mode)) {
    dev = p->fts_dev = sbp->st_dev;
    ino = p->fts_ino = sbp->st_ino;
    p->fts_nlink = sbp->st_nlink;
    if ((p->fts_name[0] == '.' && (!p->fts_name[1] || (p->fts_name[1] == '.' && !p->fts_name[2]))))
      return (FTS_DOT);
    for (t = p->fts_parent; t->fts_level >= FTS_ROOTLEVEL; t = t->fts_parent)
      if (ino == t->fts_ino && dev == t->fts_dev) {
        p->fts_cycle = t;
        return (FTS_DC);
      }
    return (FTS_D);
  }
  if (S_ISLNK(sbp->st_mode))
    return (FTS_SL);
  if (S_ISREG(sbp->st_mode))
    return (FTS_F);
  return (FTS_DEFAULT);
}
```