user: 下面的汇编指令对应的C源代码是什么:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x158,%rsp
  mov    %edi,-0x154(%rbp)
  mov    %rsi,-0x160(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0xffffffff,-0x144(%rbp)
  mov    -0x160(%rbp),%rdx
  mov    -0x154(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <setpar@plt>
  lea    -0x120(%rbp),%rax
  mov    %rax,%rdx
  lea    D46(%rip),%rax
  mov    %rax,%rsi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  call   <mstpar@plt>
  lea    -0xa0(%rbp),%rax
  mov    %rax,%rdx
  lea    D46(%rip),%rax
  mov    %rax,%rsi
  lea    D0(%rip),%rax
  mov    %rax,%rdi
  call   <mstpar@plt>
  lea    -0x144(%rbp),%rax
  mov    %rax,%rdx
  lea    D8(%rip),%rax
  mov    %rax,%rsi
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  call   <getpar@plt>
  mov    $0x0,%eax
  call   <endpar@plt>
  lea    -0x120(%rbp),%rax
  mov    %rax,%rdi
  call   <opfile_ro@plt>
  mov    %eax,-0x138(%rbp)
  mov    -0x144(%rbp),%eax
  test   %eax,%eax
  jns    L39
  lea    -0x144(%rbp),%rcx
  mov    -0x138(%rbp),%eax
  mov    $0x4,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <reed@plt>
  mov    -0x144(%rbp),%eax
  shl    $0x3,%eax
  add    $0x6,%eax
  mov    %eax,-0x13c(%rbp)
  mov    -0x13c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <check_malloc@plt>
  mov    %rax,-0x128(%rbp)
  mov    -0x13c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <check_malloc@plt>
  mov    %rax,-0x130(%rbp)
  jmp    L17
L39:
  mov    -0x144(%rbp),%eax
  shl    $0x3,%eax
  add    $0x6,%eax
  mov    %eax,-0x13c(%rbp)
  mov    -0x13c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <check_malloc@plt>
  mov    %rax,-0x128(%rbp)
  mov    -0x13c(%rbp),%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <check_malloc@plt>
  mov    %rax,-0x130(%rbp)
  lea    -0x144(%rbp),%rcx
  mov    -0x138(%rbp),%eax
  mov    $0x4,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <reed@plt>
L17:
  mov    -0x13c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x128(%rbp),%rcx
  mov    -0x138(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <reed@plt>
  mov    -0x138(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  lea    -0x144(%rbp),%rax
  mov    %rax,%rdi
  call   <long_swap@plt>
  mov    %eax,-0x148(%rbp)
  movl   $0x0,-0x140(%rbp)
  jmp    L38
L5:
  mov    -0x140(%rbp),%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x128(%rbp),%rax
  add    %rdx,%rax
  mov    -0x140(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x130(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  mov    %rax,%rdi
  call   <float_swap@plt>
  movd   %xmm0,%eax
  mov    %eax,(%rbx)
  addl   $0x1,-0x140(%rbp)
L38:
  mov    -0x140(%rbp),%eax
  cmp    -0x13c(%rbp),%eax
  jl     L5
  lea    -0xa0(%rbp),%rax
  mov    %rax,%rdi
  call   <croptrfile@plt>
  mov    %eax,-0x134(%rbp)
  lea    -0x148(%rbp),%rcx
  mov    -0x134(%rbp),%eax
  mov    $0x4,%edx
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <rite@plt>
  mov    -0x13c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x130(%rbp),%rcx
  mov    -0x134(%rbp),%eax
  mov    %rcx,%rsi
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <rite@plt>
  mov    -0x134(%rbp),%eax
  mov    %eax,%edi
  call   <close@plt>
  mov    $0x0,%eax
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L34
  call   <__stack_chk_fail@plt>
L34:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D46
type_guessed: string
name: parse_data
arguments: label: D44
type_guessed: string
name: parse_data
arguments: label: D0
type_guessed: string
name: parse_data
arguments: label: D8
type_guessed: string
name: parse_data
arguments: label: D38
type_guessed: string

tool: D46: s

tool: D44: infile

tool: D0: outfile

tool: D8: d

tool: D38: nt

assistant: ```c
main(int ac, char **av) {
  int fdr, fdw, ntswap, i, ndat;
  float *fbuf;
  char *cbuf;
  char infile[128];
  char outfile[128];
  int nt = -1;
  setpar(ac, av);
  mstpar("infile", "s", infile);
  mstpar("outfile", "s", outfile);
  getpar("nt", "d", &nt);
  endpar();
  fdr = opfile_ro(infile);
  if (nt < 0) {
    reed(fdr, &nt, sizeof(int));
    ndat = 8 * nt + 6;
    cbuf = (char *)check_malloc(ndat * sizeof(float));
    fbuf = (float *)check_malloc(ndat * sizeof(float));
  } else {
    ndat = 8 * nt + 6;
    cbuf = (char *)check_malloc(ndat * sizeof(float));
    fbuf = (float *)check_malloc(ndat * sizeof(float));
    reed(fdr, &nt, sizeof(int));
  }
  reed(fdr, cbuf, ndat * sizeof(float));
  close(fdr);
  ntswap = long_swap((char *)(&nt));
  for (i = 0; i < ndat; i++)
    fbuf[i] = float_swap(cbuf + (i * 4));
  fdw = croptrfile(outfile);
  rite(fdw, &ntswap, sizeof(int));
  rite(fdw, fbuf, ndat * sizeof(float));
  close(fdw);
}
```