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    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x58(%rbp),%rax
  mov    (%rax),%edx
  mov    D126(%rip),%rax
  mov    (%rax),%eax
  and    %edx,%eax
  test   %eax,%eax
  je     L248
  lea    -0x20(%rbp),%rax
  jmp    L98
L248:
  mov    -0x60(%rbp),%rax
  mov    0x40(%rax),%rax
L98:
  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    L56
  cmpl   $0x0,-0x64(%rbp)
  je     L15
L56:
  mov    -0x60(%rbp),%rax
  mov    0x3c(%rax),%eax
  mov    -0x38(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <stat@plt>
  test   %rax,%rax
  je     L57
  mov    D14(%rip),%rax
  mov    (%rax),%rax
  mov    %eax,-0x44(%rbp)
  mov    -0x60(%rbp),%rax
  mov    0x3c(%rax),%eax
  mov    -0x38(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <lstat@plt>
  test   %rax,%rax
  jne    L237
  mov    D14(%rip),%rax
  movq   $0x0,(%rax)
  mov    D99(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L237:
  mov    -0x60(%rbp),%rax
  mov    -0x44(%rbp),%edx
  mov    %edx,(%rax)
  jmp    L95
L15:
  mov    -0x60(%rbp),%rax
  mov    0x3c(%rax),%eax
  mov    -0x38(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <lstat@plt>
  test   %rax,%rax
  je     L57
  mov    D14(%rip),%rax
  mov    (%rax),%rax
  mov    %eax,%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,(%rax)
L95:
  mov    -0x38(%rbp),%rax
  mov    $0x18,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  mov    D110(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L57:
  mov    -0x38(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <S_ISDIR@plt>
  test   %rax,%rax
  je     L217
  mov    -0x38(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x60(%rbp),%rax
  mov    %rdx,0x8(%rax)
  mov    -0x60(%rbp),%rax
  mov    0x8(%rax),%rax
  mov    %rax,-0x30(%rbp)
  mov    -0x38(%rbp),%rax
  mov    0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  mov    %rdx,0x10(%rax)
  mov    -0x60(%rbp),%rax
  mov    0x10(%rax),%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x38(%rbp),%rax
  mov    0x14(%rax),%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,0x38(%rax)
  mov    -0x60(%rbp),%rax
  mov    0x18(%rax),%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L63
  mov    -0x60(%rbp),%rax
  mov    0x18(%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  test   %al,%al
  je     L189
  mov    -0x60(%rbp),%rax
  mov    0x18(%rax),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  cmp    $0x2e,%al
  jne    L63
  mov    -0x60(%rbp),%rax
  mov    0x18(%rax),%rax
  add    $0x2,%rax
  movzbl (%rax),%eax
  test   %al,%al
  jne    L63
L189:
  mov    D76(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L63:
  mov    -0x60(%rbp),%rax
  mov    0x30(%rax),%rax
  mov    %rax,-0x40(%rbp)
  jmp    L216
L225:
  mov    -0x40(%rbp),%rax
  mov    0x10(%rax),%rax
  cmp    %rax,-0x28(%rbp)
  jne    L132
  mov    -0x40(%rbp),%rax
  mov    0x8(%rax),%rax
  cmp    %rax,-0x30(%rbp)
  jne    L132
  mov    -0x60(%rbp),%rax
  mov    -0x40(%rbp),%rdx
  mov    %rdx,0x28(%rax)
  mov    D95(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L132:
  mov    -0x40(%rbp),%rax
  mov    0x30(%rax),%rax
  mov    %rax,-0x40(%rbp)
L216:
  mov    -0x40(%rbp),%rax
  mov    0x20(%rax),%rdx
  mov    D47(%rip),%rax
  mov    (%rax),%rax
  cmp    %rax,%rdx
  jge    L225
  mov    D103(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L217:
  mov    -0x38(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <S_ISLNK@plt>
  test   %rax,%rax
  je     L126
  mov    D68(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L126:
  mov    -0x38(%rbp),%rax
  mov    0x10(%rax),%eax
  mov    %eax,%edi
  call   <S_ISREG@plt>
  test   %rax,%rax
  je     L219
  mov    D72(%rip),%rax
  mov    (%rax),%eax
  jmp    L266
L219:
  mov    D36(%rip),%rax
  mov    (%rax),%eax
L266:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L105
  call   <__stack_chk_fail@plt>
L105:
  leave
  ret
```

assistant: ```c
u_short fts_stat(FTS *sp, FTSENT *p, int follow) {
  FTSENT *t;
  dev_t dev;
  ino_t ino;
  struct stat *sbp, sb;
  int saved_errno;
  sbp = (sp->fts_options & (FTS_NOSTAT)) ? &sb : p->fts_statp;
  if ((sp->fts_options & (FTS_LOGICAL)) || follow) {
    if (stat(p->fts_accpath, sbp)) {
      saved_errno = errno;
      if (!lstat(p->fts_accpath, sbp)) {
        errno = 0;
        return (FTS_SLNONE);
      }
      p->fts_errno = saved_errno;
      goto err;
    }
  } else if (lstat(p->fts_accpath, sbp)) {
    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);
}
```