user: 请将以下的汇编代码转换成C语言代码：

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  mov    $0x1,%r14d
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  lea    D119(%rip),%r12
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  jmp    L147
  nopl   0x0(%rax)
L106:
  cmp    $0x68,%eax
  cmove  %r14d,%r13d
L147:
  mov    %r12,%rdx
  mov    %rbx,%rsi
  mov    %ebp,%edi
  call   <getopt@plt>
  cmp    $0xffffffff,%eax
  je     L10
  cmp    $0x3f,%eax
  jne    L106
  xor    %eax,%eax
  call   <df_error@plt>
  jmp    L147
  nopw   0x0(%rax,%rax,1)
L10:
  lea    D138(%rip),%rsi
  lea    D45(%rip),%rdi
  call   <setmntent@plt>
  lea    D70(%rip),%r14
  lea    D95(%rip),%rsi
  mov    %rax,0x8(%rsp)
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x1,%r13d
  je     L130
  lea    D102(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L6:
  lea    D64(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D189(%rip),%rbp
  mov    %r14,%rdi
  xor    %eax,%eax
  lea    D17(%rip),%rsi
  lea    D123(%rip),%r15
  call   <printf@plt>
  lea    D65(%rip),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D1(%rip),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L16
  nopl   0x0(%rax)
L149:
  pxor   %xmm0,%xmm0
  cvtsi2ss %rbp,%xmm0
  mulss  D42(%rip),%xmm0
  add    $0x1,%rbx
  js     L102
L109:
  pxor   %xmm1,%xmm1
  cvtsi2ss %rbx,%xmm1
L110:
  divss  %xmm1,%xmm0
  lea    D118(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  addsd  D44(%rip),%xmm0
  call   <printf@plt>
  mov    (%r12),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
L16:
  mov    0x8(%rsp),%rdi
  call   <getmntent@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L105
  mov    (%r12),%rdi
  lea    0x10(%rsp),%rsi
  call   <statfs@plt>
  mov    0x14(%rsp),%edx
  mov    0x18(%rsp),%esi
  mov    %r14,%rdi
  movslq 0x10(%rsp),%rax
  lea    0x3ff(%rdx),%ebp
  mov    %eax,%ecx
  imul   %edx,%ecx
  test   %ecx,%ecx
  lea    0x3ff(%rcx),%ebx
  cmovns %ecx,%ebx
  imul   %edx,%esi
  sar    $0xa,%ebx
  lea    0x3ff(%rsi),%ecx
  test   %esi,%esi
  movslq %ebx,%rbx
  cmovns %esi,%ecx
  sub    0x20(%rsp),%rax
  mov    0x8(%r12),%rsi
  sar    $0xa,%ecx
  test   %edx,%edx
  cmovns %edx,%ebp
  movslq %ecx,%rcx
  mov    %rcx,(%rsp)
  sar    $0xa,%ebp
  movslq %ebp,%rbp
  imul   %rax,%rbp
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%r12),%rdi
  call   <strlen@plt>
  cmp    $0xd,%eax
  jg     L31
L67:
  cmp    $0x1,%r13d
  je     L84
  mov    %rbx,%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    (%rsp),%rsi
  mov    %r15,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L51:
  test   %rbp,%rbp
  jns    L149
  mov    %rbp,%rax
  and    $0x1,%ebp
  pxor   %xmm0,%xmm0
  shr    %rax
  or     %rbp,%rax
  cvtsi2ss %rax,%xmm0
  addss  %xmm0,%xmm0
  mulss  D42(%rip),%xmm0
  add    $0x1,%rbx
  jns    L109
L102:
  mov    %rbx,%rax
  and    $0x1,%ebx
  pxor   %xmm1,%xmm1
  shr    %rax
  or     %rbx,%rax
  cvtsi2ss %rax,%xmm1
  addss  %xmm1,%xmm1
  jmp    L110
  nopl   0x0(%rax)
L84:
  mov    %rbx,%rdi
  call   <df_human@plt>
  mov    %rbp,%rdi
  call   <df_human@plt>
  mov    (%rsp),%rdi
  call   <df_human@plt>
  jmp    L51
  nopl   0x0(%rax,%rax,1)
L31:
  lea    D63(%rip),%rsi
  lea    D34(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L67
  nopw   0x0(%rax,%rax,1)
L105:
  mov    0x8(%rsp),%rdi
  call   <endmntent@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L150
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L130:
  lea    D38(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L6
L150:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_tag: D119
type_guessed: string
name: disassemble_data
arguments: data_tag: D138
type_guessed: string
name: disassemble_data
arguments: data_tag: D45
type_guessed: string
name: disassemble_data
arguments: data_tag: D70
type_guessed: string
name: disassemble_data
arguments: data_tag: D95
type_guessed: string
name: disassemble_data
arguments: data_tag: D102
type_guessed: string
name: disassemble_data
arguments: data_tag: D64
type_guessed: string
name: disassemble_data
arguments: data_tag: D189
type_guessed: string
name: disassemble_data
arguments: data_tag: D17
type_guessed: string
name: disassemble_data
arguments: data_tag: D123
type_guessed: string
name: disassemble_data
arguments: data_tag: D65
type_guessed: string
name: disassemble_data
arguments: data_tag: D1
type_guessed: string
name: disassemble_data
arguments: data_tag: D42
type_guessed: byte[4]
name: disassemble_data
arguments: data_tag: D118
type_guessed: string
name: disassemble_data
arguments: data_tag: D44
type_guessed: byte[8]
name: disassemble_data
arguments: data_tag: D63
type_guessed: string
name: disassemble_data
arguments: data_tag: D34
type_guessed: string
name: disassemble_data
arguments: data_tag: D38
type_guessed: string

tool: D119: h

tool: D138: r

tool: D45: /etc/mtab

tool: D70: %-13s 

tool: D95: Filesystem

tool: D102: 1K-blocks

tool: D64: Used

tool: D189: %s 

tool: D17: Available

tool: D123: %-13llu 

tool: D65: Use% 

tool: D1: Mounted on

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

tool: D118: %3.0f%%  

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

tool: 

tool: D34: 
%-13s 

tool: D38: Size

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