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

```asm
<fts_stat>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %rsi,-0x60(%rbp)
  mov    %edx,-0x64(%rbp)
  mov    %ecx,-0x68(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  cmpl   $0xffffffff,-0x68(%rbp)
  jne    L242
  mov    -0x60(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x40(%rbp)
  mov    D10(%rip),%rax
  mov    (%rax),%eax
  mov    %eax,-0x68(%rbp)
  jmp    L245
L242:
  mov    -0x60(%rbp),%rax
  mov    0x8(%rax),%rax
  mov    %rax,-0x40(%rbp)
L245:
  mov    -0x58(%rbp),%rax
  mov    (%rax),%edx
  mov    D146(%rip),%rax
  mov    (%rax),%eax
  and    %edx,%eax
  test   %eax,%eax
  je     L0
  lea    -0x20(%rbp),%rax
  jmp    L91
L0:
  mov    -0x60(%rbp),%rax
  mov    0x48(%rax),%rax
L91:
  mov    %rax,-0x38(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%edx
  mov    D37(%rip),%rax
  mov    (%rax),%eax
  and    %edx,%eax
  test   %eax,%eax
  jne    L134
  cmpl   $0x0,-0x64(%rbp)
  je     L92
L134:
  mov    -0x38(%rbp),%rdx
  mov    -0x40(%rbp),%rsi
  mov    -0x68(%rbp),%eax
  mov    $0x0,%ecx
  mov    %eax,%edi
  call   <fstatat@plt>
  test   %rax,%rax
  je     L11
  mov    D35(%rip),%rax
  mov    (%rax),%rax
  mov    %eax,-0x4c(%rbp)
  mov    D154(%rip),%rax
  mov    (%rax),%ecx
  mov    -0x38(%rbp),%rdx
  mov    -0x40(%rbp),%rsi
  mov    -0x68(%rbp),%eax
  mov    %eax,%edi
  call   <fstatat@plt>
  test   %rax,%rax
  jne    L15
  mov    D35(%rip),%rax
  movq   $0x0,(%rax)
  mov    D77(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L15:
  mov    -0x60(%rbp),%rax
  mov    -0x4c(%rbp),%edx
  mov    %edx,0x10(%rax)
  jmp    L221
L92:
  mov    D154(%rip),%rax
  mov    (%rax),%ecx
  mov    -0x38(%rbp),%rdx
  mov    -0x40(%rbp),%rsi
  mov    -0x68(%rbp),%eax
  mov    %eax,%edi
  call   <fstatat@plt>
  test   %rax,%rax
  je     L11
  mov    D35(%rip),%rax
  mov    (%rax),%rax
  mov    %eax,%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,0x10(%rax)
L221:
  mov    -0x38(%rbp),%rax
  mov    $0x18,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    D47(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L11:
  mov    -0x38(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <S_ISDIR@plt>
  test   %rax,%rax
  je     L116
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x60(%rbp),%rax
  mov    %rdx,0x18(%rax)
  mov    -0x60(%rbp),%rax
  mov    0x18(%rax),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x38(%rbp),%rax
  mov    0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  mov    %rdx,0x20(%rax)
  mov    -0x60(%rbp),%rax
  mov    0x20(%rax),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x38(%rbp),%rax
  mov    0x14(%rax),%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,0x40(%rax)
  mov    -0x60(%rbp),%rax
  mov    0x8(%rax),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L23
  mov    -0x60(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L39
  mov    -0x60(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L23
  mov    -0x60(%rbp),%rax
  mov    0x8(%rax),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L23
L39:
  mov    D68(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L23:
  mov    -0x60(%rbp),%rax
  mov    0x38(%rax),%rax
  mov    %rax,-0x48(%rbp)
  jmp    L236
L108:
  mov    -0x48(%rbp),%rax
  mov    0x20(%rax),%rax
  cmp    %rax,-0x28(%rbp)
  jne    L220
  mov    -0x48(%rbp),%rax
  mov    0x18(%rax),%rax
  cmp    %rax,-0x30(%rbp)
  jne    L220
  mov    -0x60(%rbp),%rax
  mov    -0x48(%rbp),%rdx
  mov    %rdx,0x30(%rax)
  mov    D66(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L220:
  mov    -0x48(%rbp),%rax
  mov    0x38(%rax),%rax
  mov    %rax,-0x48(%rbp)
L236:
  mov    -0x48(%rbp),%rax
  mov    0x28(%rax),%rdx
  mov    D6(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jge    L108
  mov    D41(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L116:
  mov    -0x38(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <S_ISLNK@plt>
  test   %rax,%rax
  je     L152
  mov    D14(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L152:
  mov    -0x38(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <S_ISREG@plt>
  test   %rax,%rax
  je     L128
  mov    D99(%rip),%rax
  mov    (%rax),%eax
  jmp    L260
L128:
  mov    D57(%rip),%rax
  mov    (%rax),%eax
L260:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L170
  call   <__stack_chk_fail@plt>
L170:
  leave
  ret
```

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