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

```asm
<main>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x40,%rsp
  mov    %edi,%ebp
  mov    %rsi,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  mov    $0x100,%edi
  call   <malloc@plt>
  mov    %rax,0x10(%rsp)
  mov    $0x100,%edi
  call   <malloc@plt>
  mov    %rax,0x18(%rsp)
  mov    $0x100,%edi
  call   <malloc@plt>
  mov    %rax,0x20(%rsp)
  mov    0x8(%rbx),%r12
  lea    D55(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  cmp    $0x1,%eax
  mov    $0x1,%r13d
  sbb    $0xffffffff,%r13d
  lea    D42(%rip),%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  mov    $0x2,%eax
  cmove  %eax,%r13d
  lea    0x18(%rsp),%rcx
  lea    0x10(%rsp),%rdx
  sub    $0x8,%rsp
  push   %r13
  lea    0x1c(%rsp),%rax
  push   %rax
  lea    0x1c(%rsp),%rax
  push   %rax
  lea    0x28(%rsp),%rax
  push   %rax
  lea    0x58(%rsp),%rax
  push   %rax
  lea    0x58(%rsp),%r9
  lea    0x50(%rsp),%r8
  mov    %rbx,%rsi
  mov    %ebp,%edi
  call   <read_params@plt>
  add    $0x30,%rsp
  mov    $0x8,%esi
  mov    0x4(%rsp),%edi
  call   <calloc@plt>
  mov    %rax,%rbp
  lea    D28(%rip),%rsi
  mov    0x18(%rsp),%rdi
  call   <fopen@plt>
  mov    %rax,%r14
  mov    $0x8,%esi
  mov    0x8(%rsp),%edi
  call   <calloc@plt>
  cmpl   $0x0,0x4(%rsp)
  jle    L81
  mov    %rax,%r12
  mov    $0x0,%ebx
  jmp    L36
L59:
  movq   $0x0,0x0(%rbp,%rbx,8)
L128:
  add    $0x1,%rbx
  cmp    %ebx,0x4(%rsp)
  jle    L81
L36:
  mov    %r13d,%ecx
  mov    0x8(%rsp),%edx
  mov    %r12,%rsi
  mov    %r14,%rdi
  call   <get_geno@plt>
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L59
  movsd  D3(%rip),%xmm2
  comisd %xmm0,%xmm2
  jbe    L59
  mov    0xc(%rsp),%r8d
  mov    0x8(%rsp),%ecx
  mov    0x30(%rsp),%rdx
  mov    0x28(%rsp),%rsi
  mov    %r12,%rdi
  call   <Fst_geno@plt>
  movsd  %xmm0,0x0(%rbp,%rbx,8)
  comisd D62(%rip),%xmm0
  jbe    L24
L80:
  movq   $0x0,0x0(%rbp,%rbx,8)
  jmp    L128
L24:
  movsd  D65(%rip),%xmm3
  comisd %xmm0,%xmm3
  ja     L80
  jmp    L128
L81:
  mov    0x20(%rsp),%rax
  cmpb   $0x0,(%rax)
  jne    L98
  lea    D31(%rip),%rax
  mov    %rax,0x20(%rsp)
L98:
  lea    D20(%rip),%rsi
  mov    0x20(%rsp),%rdi
  call   <fopen@plt>
  mov    %rax,%r12
  cmpl   $0x0,0x4(%rsp)
  jle    L18
  mov    $0x0,%ebx
  lea    D48(%rip),%r13
L87:
  movsd  0x0(%rbp,%rbx,8),%xmm0
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <fprintf@plt>
  add    $0x1,%rbx
  cmp    %ebx,0x4(%rsp)
  jg     L87
L18:
  mov    %rbp,%rdi
  call   <free@plt>
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L44
  mov    $0x0,%eax
  add    $0x40,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L44:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D55
type_infered: string
name: read_data
arguments: data_label: D42
type_infered: string
name: read_data
arguments: data_label: D28
type_infered: string
name: read_data
arguments: data_label: D3
type_infered: byte[8]
name: read_data
arguments: data_label: D62
type_infered: f64[2]
name: read_data
arguments: data_label: D65
type_infered: byte[8]
name: read_data
arguments: data_label: D31
type_infered: string
name: read_data
arguments: data_label: D20
type_infered: string
name: read_data
arguments: data_label: D48
type_infered: string

tool: D55: HAPLO

tool: D42: DIPLO

tool: D28: r

tool: {"D3": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D62": [1.5,-0.5]}

tool: {"D65": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xbf]}

tool: D31: Fsts

tool: D20: w

tool: D48: %g


assistant: ```c
int main(int argc, char *argv[]) {
  char *popfile = malloc(sizeof(char) * 256);
  char *genofile = malloc(sizeof(char) * 256);
  char *fstfile = malloc(sizeof(char) * 256);
  int nSNP, nIND, nPOP, ploidy = 2, snp = 0, i;
  int *POPs;
  int *PopSizes;
  double af;
  if (!(strcmp(argv[1], "HAPLO")))
    ploidy = 1;
  if (!(strcmp(argv[1], "DIPLO")))
    ploidy = 2;
  read_params(argc, argv, &popfile, &genofile, &fstfile, &POPs, &PopSizes, &nIND, &nSNP, &nPOP, ploidy);
  double *FstWC = calloc(nSNP, sizeof(double));
  double *Geno;
  FILE *MyGenoFile = fopen(genofile, "r");
  Geno = calloc(nIND, sizeof(double));
  for (snp = 0; snp < nSNP; snp++) {
    af = get_geno(MyGenoFile, Geno, nIND, ploidy);
    if (af > 0 && af < 1) {
      FstWC[snp] = Fst_geno(Geno, POPs, PopSizes, nIND, nPOP);
    } else {
      FstWC[snp] = 0;
    }
    if (FstWC[snp] > 1.5 || FstWC[snp] < -.5)
      FstWC[snp] = 0;
  }
  if (!strcmp(fstfile, ""))
    fstfile = "Fsts";
  FILE *MyFstFile = fopen(fstfile, "w");
  for (snp = 0; snp < nSNP; snp++)
    fprintf(MyFstFile, "%g\n", FstWC[snp]);
  free(FstWC);
  return 0;
}
```