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

```asm
<main>:
  endbr64
  push   %r15
  push   %r14
  mov    $0x1,%r14d
  push   %r13
  xor    %r13d,%r13d
  push   %r12
  lea    D158(%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    L134
  nopl   0x0(%rax)
L111:
  cmp    $0x68,%eax
  cmove  %r14d,%r13d
L134:
  mov    %r12,%rdx
  mov    %rbx,%rsi
  mov    %ebp,%edi
  call   <getopt@plt>
  cmp    $0xffffffff,%eax
  je     L70
  cmp    $0x3f,%eax
  jne    L111
  xor    %eax,%eax
  call   <df_error@plt>
  jmp    L134
  nopw   0x0(%rax,%rax,1)
L70:
  lea    D39(%rip),%rsi
  lea    D169(%rip),%rdi
  call   <setmntent@plt>
  lea    D116(%rip),%r14
  lea    D6(%rip),%rsi
  mov    %rax,0x8(%rsp)
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  cmp    $0x1,%r13d
  je     L100
  lea    D99(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
L87:
  lea    D184(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D64(%rip),%rbp
  mov    %r14,%rdi
  xor    %eax,%eax
  lea    D18(%rip),%rsi
  lea    D168(%rip),%r15
  call   <printf@plt>
  lea    D96(%rip),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D189(%rip),%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
  jmp    L119
  nopl   0x0(%rax)
L158:
  pxor   %xmm0,%xmm0
  cvtsi2ss %rbp,%xmm0
  mulss  D179(%rip),%xmm0
  add    $0x1,%rbx
  js     L29
L33:
  pxor   %xmm1,%xmm1
  cvtsi2ss %rbx,%xmm1
L156:
  divss  %xmm1,%xmm0
  lea    D120(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  addsd  D89(%rip),%xmm0
  call   <printf@plt>
  mov    (%r12),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xa,%edi
  call   <putchar@plt>
L119:
  mov    0x8(%rsp),%rdi
  call   <getmntent@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L27
  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     L66
L123:
  cmp    $0x1,%r13d
  je     L26
  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>
L115:
  test   %rbp,%rbp
  jns    L158
  mov    %rbp,%rax
  and    $0x1,%ebp
  pxor   %xmm0,%xmm0
  shr    %rax
  or     %rbp,%rax
  cvtsi2ss %rax,%xmm0
  addss  %xmm0,%xmm0
  mulss  D179(%rip),%xmm0
  add    $0x1,%rbx
  jns    L33
L29:
  mov    %rbx,%rax
  and    $0x1,%ebx
  pxor   %xmm1,%xmm1
  shr    %rax
  or     %rbx,%rax
  cvtsi2ss %rax,%xmm1
  addss  %xmm1,%xmm1
  jmp    L156
  nopl   0x0(%rax)
L26:
  mov    %rbx,%rdi
  call   <df_human@plt>
  mov    %rbp,%rdi
  call   <df_human@plt>
  mov    (%rsp),%rdi
  call   <df_human@plt>
  jmp    L115
  nopl   0x0(%rax,%rax,1)
L66:
  lea    D186(%rip),%rsi
  lea    D1(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L123
  nopw   0x0(%rax,%rax,1)
L27:
  mov    0x8(%rsp),%rdi
  call   <endmntent@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L128
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L100:
  lea    D41(%rip),%rsi
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L87
L128:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: label: D158
datatype: string
name: disassemble_data
arguments: label: D39
datatype: string
name: disassemble_data
arguments: label: D169
datatype: string
name: disassemble_data
arguments: label: D116
datatype: string
name: disassemble_data
arguments: label: D6
datatype: string
name: disassemble_data
arguments: label: D99
datatype: string
name: disassemble_data
arguments: label: D184
datatype: string
name: disassemble_data
arguments: label: D64
datatype: string
name: disassemble_data
arguments: label: D18
datatype: string
name: disassemble_data
arguments: label: D168
datatype: string
name: disassemble_data
arguments: label: D96
datatype: string
name: disassemble_data
arguments: label: D189
datatype: string
name: disassemble_data
arguments: label: D179
datatype: byte[4]
name: disassemble_data
arguments: label: D120
datatype: string
name: disassemble_data
arguments: label: D89
datatype: byte[8]
name: disassemble_data
arguments: label: D186
datatype: string
name: disassemble_data
arguments: label: D1
datatype: string
name: disassemble_data
arguments: label: D41
datatype: string

tool: D158: h

tool: D39: r

tool: D169: /etc/mtab

tool: D116: %-13s 

tool: D6: Filesystem

tool: D99: 1K-blocks

tool: D184: Used

tool: D64: %s 

tool: D18: Available

tool: D168: %-13llu 

tool: D96: Use% 

tool: D189: Mounted on

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

tool: D120: %3.0f%%  

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

tool: 

tool: D1: 
%-13s 

tool: D41: 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;
}
```