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

```asm
<calc_group_dist>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %esi,-0x28(%rbp)
  mov    %rdx,-0x30(%rbp)
  mov    %rcx,-0x38(%rbp)
  mov    %r8,-0x40(%rbp)
  mov    -0x28(%rbp),%eax
  add    $0x1,%eax
  cltq
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <ckalloc@plt>
  mov    %rax,-0x18(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L4
L29:
  mov    -0x28(%rbp),%eax
  add    $0x1,%eax
  cltq
  shl    $0x2,%eax
  mov    %eax,%edi
  call   <ckalloc@plt>
  mov    -0x20(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  add    %rcx,%rdx
  mov    %rax,(%rdx)
  addl   $0x1,-0x20(%rbp)
L4:
  mov    -0x20(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L29
  movl   $0x0,-0x20(%rbp)
  jmp    L23
L24:
  movl   $0x0,-0x1c(%rbp)
  jmp    L41
L62:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  movss  D6(%rip),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  addl   $0x1,-0x1c(%rbp)
L41:
  mov    -0x1c(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L62
  addl   $0x1,-0x20(%rbp)
L23:
  mov    -0x20(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L24
  movl   $0x0,-0x20(%rbp)
  jmp    L19
L88:
  movl   $0x0,-0x1c(%rbp)
  jmp    L8
L120:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  cvtss2sd %xmm0,%xmm0
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  comisd %xmm1,%xmm0
  jbe    L45
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x1c(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x30(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  cltq
  shl    $0x2,%rax
  sub    $0x4,%rax
  add    %rdx,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
L45:
  addl   $0x1,-0x1c(%rbp)
L8:
  mov    -0x1c(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L120
  addl   $0x1,-0x20(%rbp)
L19:
  mov    -0x20(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L88
  movl   $0x0,-0x20(%rbp)
  jmp    L48
L72:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    -0x20(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rcx
  mov    -0x18(%rbp),%rdx
  lea    (%rcx,%rdx,1),%rbx
  mov    %rax,%rdi
  call   <ckfree@plt>
  mov    %rax,(%rbx)
  addl   $0x1,-0x20(%rbp)
L48:
  mov    -0x20(%rbp),%eax
  cmp    -0x28(%rbp),%eax
  jl     L72
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <ckfree@plt>
  mov    %rax,-0x18(%rbp)
  nop
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D6
type_infered: f32

tool: D6: 1000

assistant: ```c
void calc_group_dist(int nseqs, int naligned_groups, int *aligned_group, double **tmat, float **group_dist) {
  int i, j;
  int **n;
  n = (int **)ckalloc((naligned_groups + 1) * sizeof(int *));
  for (i = 0; i < naligned_groups; i++)
    n[i] = (int *)ckalloc((naligned_groups + 1) * sizeof(int));
  for (i = 0; i < naligned_groups; i++)
    for (j = 0; j < naligned_groups; j++) {
      group_dist[i][j] = 1000.0;
      n[i][j] = 0;
    }
  for (i = 0; i < nseqs; i++)
    for (j = 0; j < nseqs; j++) {
      if (group_dist[aligned_group[i] - 1][aligned_group[j] - 1] > tmat[i][j])
        group_dist[aligned_group[i] - 1][aligned_group[j] - 1] = tmat[i][j];
    }
  for (i = 0; i < naligned_groups; i++)
    n[i] = ckfree((void *)n[i]);
  n = ckfree(n);
}
```