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

```asm
<D7Dist_pass>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x168,%rsp
  movsd  D17(%rip),%xmm1
  mov    %rdi,0x20(%rsp)
  lea    0x60(%rsp),%r14
  mov    %rsi,%r15
  mov    %rdi,%rbx
  lea    0x560(%rsp),%r9
  lea    0x160(%rsp),%rcx
  mulsd  %xmm0,%xmm1
  mov    %r14,%rdx
  lea    0xc0(%rsp),%rsi
  mov    %fs:0x28,%rax
  mov    %rax,0x1158(%rsp)
  xor    %eax,%eax
  lea    0x58(%rsp),%rax
  mov    %r9,0x8(%rsp)
  mov    %rcx,0x18(%rsp)
  movsd  %xmm0,0x30(%rsp)
  push   %rax
  movapd %xmm1,%xmm0
  lea    0x768(%rsp),%rax
  push   %rax
  lea    0x370(%rsp),%r8
  movsd  %xmm1,0x38(%rsp)
  lea    0xa0(%rsp),%r13
  call   <d7bdmaps@plt>
  lea    0x6c(%rsp),%rax
  mov    %r13,%rdx
  mov    %r15,%rdi
  lea    0xd70(%rsp),%r9
  lea    0x970(%rsp),%rcx
  mov    %r9,0x10(%rsp)
  lea    0x120(%rsp),%rsi
  mov    %rcx,0x20(%rsp)
  push   %rax
  lea    0xf78(%rsp),%rax
  push   %rax
  movsd  0x48(%rsp),%xmm1
  movapd %xmm1,%xmm0
  lea    0xb80(%rsp),%r8
  movsd  %xmm1,0x58(%rsp)
  call   <d7bdmaps@plt>
  add    $0x20,%rsp
  mov    %rbx,%rdi
  call   <d7minbddist@plt>
  mov    %r15,%rdi
  movsd  %xmm0,0x28(%rsp)
  call   <d7minbddist@plt>
  movsd  0x28(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  addsd  %xmm0,%xmm3
  movapd %xmm2,%xmm0
  comisd %xmm2,%xmm3
  ja     L59
  movsd  0x38(%rsp),%xmm1
  mov    0x58(%rsp),%edx
  comisd %xmm3,%xmm1
  jbe    L238
  test   %edx,%edx
  jle    L248
  xor    %ebx,%ebx
  jmp    L29
  nopl   (%rax)
L239:
  add    $0x1,%rbx
  cmp    %ebx,%edx
  jle    L182
L29:
  movslq (%r14,%rbx,4),%rax
  lea    -0x6(%rax),%ecx
  and    $0xfffffffd,%ecx
  je     L239
  cmp    $0x2,%eax
  jle    L239
  movsd  0xc0(%rsp,%rax,8),%xmm3
  comisd %xmm3,%xmm1
  jbe    L239
  lea    0x0(,%rax,8),%rdx
  mov    %r15,%rdi
  movsd  %xmm1,0x38(%rsp)
  sub    %rax,%rdx
  mov    0x8(%rsp),%rax
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm3,0x28(%rsp)
  lea    (%rax,%rdx,8),%rbp
  mov    %rbp,%rsi
  call   <d71234distsq@plt>
  mov    %eax,%edi
  call   <sqrt@plt>
  movsd  0x28(%rsp),%xmm3
  mov    0x58(%rsp),%edx
  movsd  0x30(%rsp),%xmm2
  movsd  0x38(%rsp),%xmm1
  addsd  %xmm3,%xmm0
  comisd %xmm2,%xmm0
  ja     L239
  mov    %rbp,%rsi
  mov    %r15,%rdi
  movsd  %xmm1,0x30(%rsp)
  add    $0x1,%rbx
  call   <d71234distsq@plt>
  mov    %eax,%edi
  call   <sqrt@plt>
  movsd  0x28(%rsp),%xmm3
  mov    0x58(%rsp),%edx
  movapd %xmm0,%xmm2
  movsd  0x30(%rsp),%xmm1
  addsd  %xmm3,%xmm2
  cmp    %ebx,%edx
  jg     L29
  nopl   0x0(%rax)
L182:
  mov    0x5c(%rsp),%ecx
  test   %ecx,%ecx
  jle    L9
L93:
  mov    0x20(%rsp),%rbp
  xor    %ebx,%ebx
  jmp    L90
  nopl   (%rax)
L145:
  add    $0x1,%rbx
  cmp    %ebx,0x5c(%rsp)
  jle    L164
L90:
  movslq 0x0(%r13,%rbx,4),%rax
  lea    -0x6(%rax),%edx
  and    $0xfffffffd,%edx
  je     L145
  cmp    $0x2,%eax
  jle    L145
  movsd  0x110(%rsp,%rax,8),%xmm3
  comisd %xmm3,%xmm1
  jbe    L145
  lea    0x0(,%rax,8),%rdx
  mov    %rbp,%rdi
  movsd  %xmm1,0x38(%rsp)
  sub    %rax,%rdx
  mov    (%rsp),%rax
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm3,0x28(%rsp)
  lea    (%rax,%rdx,8),%r12
  mov    %r12,%rsi
  call   <d71234distsq@plt>
  mov    %eax,%edi
  call   <sqrt@plt>
  movsd  0x28(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  movsd  0x38(%rsp),%xmm1
  addsd  %xmm3,%xmm0
  comisd %xmm2,%xmm0
  ja     L145
  mov    %r12,%rsi
  mov    %rbp,%rdi
  movsd  %xmm1,0x30(%rsp)
  add    $0x1,%rbx
  call   <d71234distsq@plt>
  mov    %eax,%edi
  call   <sqrt@plt>
  movsd  0x28(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm1
  movapd %xmm0,%xmm2
  addsd  %xmm3,%xmm2
  cmp    %ebx,0x5c(%rsp)
  jg     L90
  nopl   0x0(%rax,%rax,1)
L164:
  movsd  D17(%rip),%xmm1
  mov    0x58(%rsp),%edx
  movapd %xmm2,%xmm0
  mulsd  %xmm2,%xmm1
L238:
  test   %edx,%edx
  jle    L59
  mov    %r15,%rsi
  xor    %ebp,%ebp
  mov    %r14,%r15
  mov    %r13,%r14
  jmp    L315
  nopl   0x0(%rax)
L202:
  add    $0x1,%rbp
  cmp    %ebp,%edx
  jle    L59
L315:
  mov    (%r15,%rbp,4),%r12d
  lea    -0x6(%r12),%eax
  and    $0xfffffffd,%eax
  je     L202
  cmp    $0x2,%r12d
  jle    L202
  movslq %r12d,%rax
  comisd 0xc0(%rsp,%rax,8),%xmm1
  jbe    L202
  mov    0x5c(%rsp),%edi
  test   %edi,%edi
  jle    L202
  lea    0x0(,%rax,8),%r13
  mov    %r12d,0x38(%rsp)
  xor    %ebx,%ebx
  sub    %rax,%r13
  mov    (%rsp),%rax
  mov    %rbp,0x40(%rsp)
  shl    $0x3,%r13
  mov    %r15,0x48(%rsp)
  lea    (%rax,%r13,1),%r9
  mov    0x10(%rsp),%rax
  mov    %r9,%r12
  lea    (%rax,%r13,1),%r8
  mov    0x8(%rsp),%rax
  mov    %r8,%rbp
  add    %r13,%rax
  add    0x18(%rsp),%r13
  mov    %rax,%r15
  jmp    L160
  nop
L60:
  add    $0x1,%rbx
  cmp    %ebx,%edi
  jle    L161
L160:
  mov    (%r14,%rbx,4),%ecx
  lea    -0x6(%rcx),%r9d
  and    $0xfffffffd,%r9d
  je     L60
  cmp    $0x2,%ecx
  jle    L60
  movslq %ecx,%r9
  comisd 0x110(%rsp,%r9,8),%xmm1
  jbe    L60
  movsd  %xmm1,0x30(%rsp)
  mov    %rbp,%r8
  mov    %r13,%rdx
  add    $0x1,%rbx
  lea    0x0(,%r9,8),%rdi
  push   %rcx
  mov    0x10(%rsp),%rax
  sub    %r9,%rdi
  mov    %r12,%r9
  shl    $0x3,%rdi
  lea    (%rax,%rdi,1),%rcx
  push   %rcx
  mov    0x28(%rsp),%rax
  lea    (%rax,%rdi,1),%rcx
  push   %rcx
  mov    0x18(%rsp),%rax
  lea    (%rax,%rdi,1),%rcx
  push   %rcx
  add    0x30(%rsp),%rdi
  mov    %r15,%rcx
  push   %rdi
  mov    0x60(%rsp),%eax
  push   %rax
  mov    0x50(%rsp),%rdi
  mov    %rsi,0x58(%rsp)
  call   <D7Dist_2bds_rev@plt>
  mov    0x8c(%rsp),%edi
  add    $0x30,%rsp
  movsd  0x30(%rsp),%xmm1
  mov    0x28(%rsp),%rsi
  cmp    %ebx,%edi
  jg     L160
  nopw   0x0(%rax,%rax,1)
L161:
  mov    0x40(%rsp),%rbp
  mov    0x58(%rsp),%edx
  mov    0x48(%rsp),%r15
  add    $0x1,%rbp
  cmp    %ebp,%edx
  jg     L315
  nopw   0x0(%rax,%rax,1)
L59:
  mov    0x1158(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L149
  add    $0x1168,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L248:
  mov    0x5c(%rsp),%eax
  test   %eax,%eax
  jg     L93
  jmp    L59
L9:
  movsd  D17(%rip),%xmm1
  movapd %xmm2,%xmm0
  mulsd  %xmm2,%xmm1
  jmp    L238
L149:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D17
type: f64

tool: D17: 0.999995

assistant: ```c
double D7Dist_pass(double gvec1[7], double gvec2[7], double dist) {
  double dists1[9];
  double pgs1[9][7], rgs1[9][7], mpgs1[9][7], mvecs1[9][7];
  double dists2[9];
  double pgs2[9][7], rgs2[9][7], mpgs2[9][7], mvecs2[9][7];
  int iord1[9], iord2[9];
  double mindists1;
  double mindists2;
  int jx1, jx2;
  int j1, j2;
  int ngood1, ngood2;
  double maxdist;
  maxdist = 0.999995 * dist;
  d7bdmaps(gvec1, dists1, iord1, pgs1, rgs1, mpgs1, mvecs1, maxdist, &ngood1);
  d7bdmaps(gvec2, dists2, iord2, pgs2, rgs2, mpgs2, mvecs2, maxdist, &ngood2);
  mindists1 = d7minbddist(gvec1);
  mindists2 = d7minbddist(gvec2);
  if (mindists1 + mindists2 > dist)
    return dist;
  if (mindists1 + mindists2 < maxdist) {
    for (jx1 = 0; jx1 < ngood1; jx1++) {
      double d1;
      j1 = iord1[jx1];
      if (j1 < 3 || j1 == 6 || j1 == 8)
        continue;
      d1 = dists1[j1];
      if (d1 < maxdist) {
        dist = (((dist) < (sqrt(d71234distsq(gvec2, mpgs1[j1])) + d1)) ? (dist) : (sqrt(d71234distsq(gvec2, mpgs1[j1])) + d1));
      }
    }
    for (jx2 = 0; jx2 < ngood2; jx2++) {
      double d2;
      j2 = iord2[jx2];
      if (j2 < 3 || j2 == 6 || j2 == 8)
        continue;
      d2 = dists2[j2];
      if (d2 < maxdist) {
        dist = (((dist) < ((sqrt(d71234distsq(gvec1, mpgs2[j2])) + d2))) ? (dist) : ((sqrt(d71234distsq(gvec1, mpgs2[j2])) + d2)));
      }
    }
  }
  maxdist = 0.999995 * dist;
  for (jx1 = 0; jx1 < ngood1; jx1++) {
    double d1;
    j1 = iord1[jx1];
    if (j1 < 3 || j1 == 6 || j1 == 8)
      continue;
    d1 = dists1[j1];
    if (d1 < maxdist) {
      for (jx2 = 0; jx2 < ngood2; jx2++) {
        double d2;
        j2 = iord2[jx2];
        if (j2 < 3 || j2 == 6 || j2 == 8)
          continue;
        d2 = dists2[j2];
        if (d2 < maxdist) {
          dist = D7Dist_2bds_rev(gvec1, gvec2, pgs1[j1], mpgs1[j1], pgs2[j1], mpgs2[j1], j1, pgs2[j2], mpgs2[j2], pgs1[j2], mpgs1[j2], j2, dist);
        }
      }
    }
  }
  return dist;
}
```