user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,%ebp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  mov    $0x0,%r14d
  lea    D149(%rip),%r12
  jmp    L51
L63:
  cmp    $0x68,%eax
  mov    $0x1,%eax
  cmove  %eax,%r14d
L51:
  mov    %r12,%rdx
  mov    %rbx,%rsi
  mov    %ebp,%edi
  call   <getopt@plt>
  cmp    $0xffffffff,%eax
  je     L13
  cmp    $0x3f,%eax
  jne    L63
  mov    $0x0,%eax
  call   <df_error@plt>
  jmp    L51
L13:
  lea    D231(%rip),%rsi
  lea    D154(%rip),%rdi
  call   <setmntent@plt>
  mov    %rax,0x8(%rsp)
  lea    D114(%rip),%rsi
  lea    D221(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  cmp    $0x1,%r14d
  je     L25
  lea    D183(%rip),%rsi
  lea    D221(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L68:
  lea    D58(%rip),%rsi
  lea    D221(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D184(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D72(%rip),%rsi
  lea    D224(%rip),%rbx
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D108(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  lea    D221(%rip),%r15
  jmp    L48
L25:
  lea    D68(%rip),%rsi
  lea    D221(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L68
L2:
  lea    D27(%rip),%rsi
  lea    D92(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  jmp    L81
L29:
  mov    %rbx,%rdi
  call   <df_human@plt>
  mov    %rbp,%rdi
  call   <df_human@plt>
  mov    %r13,%rdi
  call   <df_human@plt>
  jmp    L86
L42:
  mov    %rbp,%rax
  shr    %rax
  and    $0x1,%ebp
  or     %rbp,%rax
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  addss  %xmm0,%xmm0
  jmp    L57
L163:
  mov    %rbx,%rax
  shr    %rax
  and    $0x1,%ebx
  or     %rbx,%rax
  pxor   %xmm1,%xmm1
  cvtsi2ss %rax,%xmm1
  addss  %xmm1,%xmm1
L84:
  divss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  addsd  D143(%rip),%xmm0
  lea    D37(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    (%r12),%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
L48:
  mov    0x8(%rsp),%rdi
  call   <getmntent@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L130
  lea    0x10(%rsp),%rsi
  mov    (%r12),%rdi
  call   <statfs@plt>
  mov    0x10(%rsp),%eax
  mov    0x14(%rsp),%edx
  mov    %eax,%ecx
  imul   %edx,%ecx
  lea    0x3ff(%rcx),%ebx
  test   %ecx,%ecx
  cmovns %ecx,%ebx
  sar    $0xa,%ebx
  movslq %ebx,%rbx
  mov    %edx,%ecx
  imul   0x18(%rsp),%ecx
  lea    0x3ff(%rcx),%r13d
  test   %ecx,%ecx
  cmovns %ecx,%r13d
  sar    $0xa,%r13d
  movslq %r13d,%r13
  cltq
  sub    0x20(%rsp),%rax
  lea    0x3ff(%rdx),%ebp
  test   %edx,%edx
  cmovns %edx,%ebp
  sar    $0xa,%ebp
  movslq %ebp,%rbp
  imul   %rax,%rbp
  mov    0x8(%r12),%rsi
  mov    %r15,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x8(%r12),%rdi
  call   <strlen@plt>
  cmp    $0xd,%eax
  jg     L2
L81:
  cmp    $0x1,%r14d
  je     L29
  mov    %rbx,%rsi
  lea    D29(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  lea    D29(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %r13,%rsi
  lea    D29(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L86:
  test   %rbp,%rbp
  js     L42
  pxor   %xmm0,%xmm0
  cvtsi2ss %rbp,%xmm0
L57:
  mulss  D127(%rip),%xmm0
  add    $0x1,%rbx
  js     L163
  pxor   %xmm1,%xmm1
  cvtsi2ss %rbx,%xmm1
  jmp    L84
L130:
  mov    0x8(%rsp),%rdi
  call   <endmntent@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L132
  mov    $0x0,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L132:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D149
type_guessed: string
name: retrieve_data
arguments: data_label: D231
type_guessed: string
name: retrieve_data
arguments: data_label: D154
type_guessed: string
name: retrieve_data
arguments: data_label: D114
type_guessed: string
name: retrieve_data
arguments: data_label: D221
type_guessed: string
name: retrieve_data
arguments: data_label: D183
type_guessed: string
name: retrieve_data
arguments: data_label: D58
type_guessed: string
name: retrieve_data
arguments: data_label: D184
type_guessed: string
name: retrieve_data
arguments: data_label: D72
type_guessed: string
name: retrieve_data
arguments: data_label: D224
type_guessed: string
name: retrieve_data
arguments: data_label: D108
type_guessed: string
name: retrieve_data
arguments: data_label: D68
type_guessed: string
name: retrieve_data
arguments: data_label: D27
type_guessed: string
name: retrieve_data
arguments: data_label: D92
type_guessed: string
name: retrieve_data
arguments: data_label: D143
type_guessed: byte[8]
name: retrieve_data
arguments: data_label: D37
type_guessed: string
name: retrieve_data
arguments: data_label: D29
type_guessed: string
name: retrieve_data
arguments: data_label: D127
type_guessed: byte[4]

tool: D149: h

tool: D231: r

tool: D154: /etc/mtab

tool: D114: Filesystem

tool: D221: %-13s 

tool: D183: 1K-blocks

tool: D58: Used

tool: D184: Available

tool: D72: Use% 

tool: D224: %s 

tool: D108: Mounted on

tool: D68: Size

tool: 

tool: D92: 
%-13s 

tool: {"D143": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D37: %3.0f%%  

tool: D29: %-13llu 

tool: {"D127": [0x00,0x00,0xc8,0x42]}

assistant: ```c
int main(int argc, char *argv[]) {
  int o, human = 0;
  while ((o = getopt(argc, argv, "h")) != -1)
    switch (o) {
    case 'h':
      human = 1;
      break;
    case '?':
      df_error();
    }
  unsigned long long size, avail, used;
  FILE *f = setmntent("/etc/mtab", "r");
  struct mntent *ent;
  struct statfs fs;
  printf("%-13s ", "Filesystem");
  if (human == 1)
    printf("%-13s ", "Size");
  else
    printf("%-13s ", "1K-blocks");
  printf("%-13s ", "Used");
  printf("%-13s ", "Available");
  printf("%s ", "Use% ");
  printf("%s ", "Mounted on");
  printf("\n");
  while ((ent = getmntent(f))) {
    statfs(ent->mnt_dir, &fs);
    size = fs.f_blocks * fs.f_bsize / 1024;
    avail = fs.f_bavail * fs.f_bsize / 1024;
    used = fs.f_blocks - fs.f_bfree;
    used *= (fs.f_bsize / 1024);
    printf("%-13s ", ent->mnt_fsname);
    if (strlen(ent->mnt_fsname) > 13)
      printf("\n%-13s ", "");
    if (human == 1) {
      df_human(size);
      df_human(used);
      df_human(avail);
    } else {
      printf("%-13llu ", size);
      printf("%-13llu ", used);
      printf("%-13llu ", avail);
    }
    printf("%3.0f%%  ", (100 * (float)used) / (size + 1) + .5);
    printf("%-13s ", ent->mnt_dir);
    printf("\n");
  }
  endmntent(f);
  return 0;
}
```