user: 这段汇编代码用C语言表示是什么样的？

```asm
<neiE>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,0x20(%rsp)
  mov    %esi,0x8(%rsp)
  mov    %edx,%r13d
  mov    %ecx,%r12d
  mov    %r8d,%r14d
  mov    %r9d,%ebp
  movsd  %xmm0,0x40(%rsp)
  movsd  %xmm1,(%rsp)
  mov    0x98(%rsp),%rbx
  lea    -0x1(%r9),%eax
  mov    %eax,0x14(%rsp)
  lea    0x0(,%r8,8),%edi
  call   <malloc@plt>
  mov    %rax,%r15
  test   %r14d,%r14d
  jle    L214
  movslq 0x8(%rsp),%rdx
  shl    $0x3,%rdx
  mov    %r14d,%eax
  lea    (%r15,%rax,8),%rsi
  mov    %r15,%rax
  mov    0x20(%rsp),%rcx
  sub    %r15,%rcx
L582:
  mov    (%rcx,%rax,1),%rdi
  movsd  (%rdi,%rdx,1),%xmm0
  movsd  %xmm0,(%rax)
  add    $0x8,%rax
  cmp    %rsi,%rax
  jne    L582
L214:
  movslq %r13d,%r13
  movsd  (%r15,%r13,8),%xmm0
  movsd  0x40(%rsp),%xmm5
  divsd  %xmm5,%xmm0
  cvttsd2si %xmm0,%eax
  mov    0x14(%rsp),%ecx
  and    %ecx,%eax
  mov    %eax,%esi
  mov    %eax,0x4c(%rsp)
  movslq %r12d,%r12
  movsd  (%r15,%r12,8),%xmm0
  divsd  %xmm5,%xmm0
  cvttsd2si %xmm0,%eax
  and    %ecx,%eax
  mov    %eax,0x28(%rsp)
  mov    %ebp,%eax
  shr    $0x1f,%eax
  add    %ebp,%eax
  sar    %eax
  mov    %eax,0x48(%rsp)
  mov    %esi,0x38(%rsp)
  lea    -0x2(%r14),%eax
  lea    0x10(%r15,%rax,8),%rcx
  mov    $0x0,%ebp
  mov    $0x0,%r10d
  movq   D47(%rip),%xmm5
  movapd %xmm5,%xmm3
  movapd %xmm5,%xmm2
  mov    %r10d,%edx
  mov    %esi,0x3c(%rsp)
  mov    0x20(%rsp),%r9
  jmp    L277
L587:
  add    $0x8,%rax
  cmp    %rcx,%rax
  je     L107
L60:
  movsd  (%rax),%xmm0
  mov    (%rdi,%rax,1),%rdx
  subsd  (%rdx,%r10,1),%xmm0
  andpd  %xmm3,%xmm0
  comisd %xmm1,%xmm0
  jbe    L587
  comisd (%rsp),%xmm0
  ja     L71
  movapd %xmm0,%xmm1
  jmp    L587
L107:
  mov    0x8(%rsp),%edx
L431:
  movsd  (%rsp),%xmm6
  comisd %xmm1,%xmm6
  sbb    $0xffffffff,%ebp
  mov    (%rbx,%r13,4),%r13d
  cmp    $0xffffffff,%r13d
  je     L144
L101:
  movslq %r13d,%r13
  lea    0x0(,%r13,8),%r10
  movapd %xmm4,%xmm1
  subsd  (%r11,%r13,8),%xmm1
  andpd  %xmm5,%xmm1
  cmp    $0x1,%r14d
  jle    L431
  lea    0x8(%r15),%rax
  mov    %edx,0x8(%rsp)
  jmp    L60
L71:
  mov    0x8(%rsp),%edx
  movapd %xmm0,%xmm1
  jmp    L431
L144:
  mov    %rsi,%r13
L249:
  add    0x18(%rsp),%r12d
  cmp    %r8d,%r12d
  jg     L282
L211:
  mov    0x14(%rsp),%eax
  and    %r12d,%eax
  cltq
  mov    0x0(%r13,%rax,4),%r10d
  cmp    $0xffffffff,%r10d
  je     L249
  movsd  (%r15),%xmm4
  mov    (%r9),%r11
  mov    %r13,%rsi
  mov    %r10d,%r13d
  jmp    L101
L282:
  addl   $0x1,0x2c(%rsp)
  mov    0x2c(%rsp),%eax
  cmp    %eax,0x34(%rsp)
  jl     L240
L273:
  mov    0x14(%rsp),%eax
  and    0x2c(%rsp),%eax
  mov    0x28(%rsp),%r12d
  sub    0x30(%rsp),%r12d
  cmp    %r12d,%r8d
  jl     L282
  cltq
  mov    0x90(%rsp),%rsi
  mov    (%rsi,%rax,8),%r13
  jmp    L211
L240:
  mov    0x28(%rsp),%eax
  add    $0x1,%eax
  mov    %eax,0x2c(%rsp)
  movq   D47(%rip),%xmm6
  mov    %r9,%rdi
  sub    %r15,%rdi
  jmp    L629
L341:
  add    $0x8,%rax
  cmp    %rcx,%rax
  je     L165
L564:
  movsd  (%rax),%xmm0
  mov    (%rdi,%rax,1),%rdx
  subsd  (%rdx,%r10,1),%xmm0
  andpd  %xmm2,%xmm0
  comisd %xmm1,%xmm0
  jbe    L341
  comisd (%rsp),%xmm0
  ja     L221
  movapd %xmm0,%xmm1
  jmp    L341
L165:
  mov    0x8(%rsp),%edx
L455:
  movsd  (%rsp),%xmm7
  comisd %xmm1,%xmm7
  sbb    $0xffffffff,%ebp
  mov    (%rbx,%r13,4),%r13d
  cmp    $0xffffffff,%r13d
  je     L443
L397:
  movslq %r13d,%r13
  lea    0x0(,%r13,8),%r10
  movapd %xmm4,%xmm1
  subsd  (%r11,%r13,8),%xmm1
  andpd  %xmm6,%xmm1
  cmp    $0x1,%r14d
  jle    L455
  lea    0x8(%r15),%rax
  mov    %edx,0x8(%rsp)
  jmp    L564
L221:
  mov    0x8(%rsp),%edx
  movapd %xmm0,%xmm1
  jmp    L455
L443:
  mov    %rsi,%r13
L134:
  add    $0x1,%r12d
  cmp    %r8d,%r12d
  je     L494
L425:
  mov    0x14(%rsp),%eax
  and    %r12d,%eax
  cltq
  mov    0x0(%r13,%rax,4),%r10d
  cmp    $0xffffffff,%r10d
  je     L134
  movsd  (%r15),%xmm4
  mov    (%r9),%r11
  mov    %r13,%rsi
  mov    %r10d,%r13d
  jmp    L397
L494:
  mov    0x18(%rsp),%esi
  add    %esi,0x1c(%rsp)
  mov    0x1c(%rsp),%eax
  cmp    %eax,0x34(%rsp)
  jl     L536
L629:
  mov    0x14(%rsp),%eax
  and    0x1c(%rsp),%eax
  mov    0x2c(%rsp),%r12d
  sub    0x30(%rsp),%r12d
  cmp    %r12d,%r8d
  jle    L494
  cltq
  mov    0x90(%rsp),%rsi
  mov    (%rsi,%rax,8),%r13
  jmp    L425
L536:
  add    $0x1,%edx
  subl   $0x1,0x38(%rsp)
  addl   $0x1,0x3c(%rsp)
  cmp    %edx,0x48(%rsp)
  je     L519
L277:
  mov    %edx,0x30(%rsp)
  lea    -0x1(%rdx),%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  mulsd  0x40(%rsp),%xmm0
  movsd  (%rsp),%xmm6
  comisd %xmm0,%xmm6
  jbe    L247
  test   %edx,%edx
  je     L492
  mov    0x30(%rsp),%eax
  add    %eax,%eax
  mov    %eax,0x18(%rsp)
  mov    0x38(%rsp),%eax
  mov    %eax,0x1c(%rsp)
  mov    0x3c(%rsp),%esi
  mov    %esi,0x34(%rsp)
  cmp    %esi,%eax
  jle    L435
  jmp    L536
L247:
  mov    %edx,%r10d
  cmp    %edx,0x48(%rsp)
  je     L90
L191:
  mov    %r15,%rdi
  call   <free@plt>
  lea    -0x1(%rbp),%eax
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L519:
  mov    %edx,%r10d
L90:
  mov    0x4c(%rsp),%eax
  mov    %eax,%esi
  sub    %r10d,%esi
  add    %r10d,%eax
  mov    %eax,%r13d
  cmp    %eax,%esi
  jge    L486
  mov    0x28(%rsp),%eax
  sub    %r10d,%eax
  and    0x14(%rsp),%eax
  cltq
  lea    0x0(,%rax,4),%r12
  mov    %esi,%r11d
  mov    0x20(%rsp),%rdi
  sub    %r15,%rdi
  movq   D47(%rip),%xmm2
  jmp    L385
L278:
  add    $0x8,%rax
  cmp    %rcx,%rax
  je     L312
L620:
  mov    (%rdi,%rax,1),%rdx
  movsd  (%rax),%xmm0
  subsd  (%rdx,%r12,1),%xmm0
  andpd  %xmm2,%xmm0
  comisd %xmm1,%xmm0
  jbe    L278
  comisd (%rsp),%xmm0
  ja     L181
  movapd %xmm0,%xmm1
  jmp    L278
L181:
  movapd %xmm0,%xmm1
L312:
  movsd  (%rsp),%xmm5
  comisd %xmm1,%xmm5
  sbb    $0xffffffff,%ebp
  mov    (%rbx,%r9,4),%edx
  cmp    $0xffffffff,%edx
  je     L495
L184:
  movslq %edx,%r9
  lea    0x0(,%r9,8),%r12
  movapd %xmm3,%xmm1
  subsd  (%r8,%r9,8),%xmm1
  andpd  D47(%rip),%xmm1
  cmp    $0x1,%r14d
  jle    L312
  lea    0x8(%r15),%rax
  jmp    L620
L495:
  mov    0x8(%rsp),%r12
L552:
  add    $0x1,%r11d
  cmp    %r13d,%r11d
  je     L486
L385:
  mov    0x14(%rsp),%eax
  and    %r11d,%eax
  cltq
  mov    0x90(%rsp),%rdx
  mov    (%rdx,%rax,8),%rax
  mov    (%rax,%r12,1),%edx
  cmp    $0xffffffff,%edx
  je     L552
  movsd  (%r15),%xmm3
  mov    0x20(%rsp),%rax
  mov    (%rax),%r8
  mov    %r12,0x8(%rsp)
  jmp    L184
L486:
  mov    %esi,%eax
  and    0x14(%rsp),%eax
  mov    0x28(%rsp),%edi
  mov    %edi,%esi
  sub    %r10d,%esi
  add    $0x1,%esi
  add    %r10d,%edi
  mov    %edi,%r11d
  cmp    %edi,%esi
  jge    L191
  cltq
  mov    0x90(%rsp),%rdi
  mov    (%rdi,%rax,8),%rdi
  mov    0x20(%rsp),%r8
  sub    %r15,%r8
  movq   D47(%rip),%xmm2
  jmp    L323
L67:
  add    $0x8,%rax
  cmp    %rcx,%rax
  je     L96
L559:
  mov    (%r8,%rax,1),%r12
  movsd  (%rax),%xmm0
  subsd  (%r12,%r10,1),%xmm0
  andpd  %xmm2,%xmm0
  comisd %xmm1,%xmm0
  jbe    L67
  comisd (%rsp),%xmm0
  ja     L357
  movapd %xmm0,%xmm1
  jmp    L67
L357:
  movapd %xmm0,%xmm1
L96:
  movsd  (%rsp),%xmm5
  comisd %xmm1,%xmm5
  sbb    $0xffffffff,%ebp
  mov    (%rbx,%rdx,4),%eax
  cmp    $0xffffffff,%eax
  je     L472
L467:
  movslq %eax,%rdx
  lea    0x0(,%rdx,8),%r10
  movapd %xmm3,%xmm1
  subsd  (%r9,%rdx,8),%xmm1
  andpd  D47(%rip),%xmm1
  cmp    $0x1,%r14d
  jle    L96
  lea    0x8(%r15),%rax
  jmp    L559
L472:
  add    $0x1,%esi
  cmp    %r11d,%esi
  je     L191
L323:
  mov    0x14(%rsp),%eax
  and    %esi,%eax
  cltq
  mov    (%rdi,%rax,4),%eax
  cmp    $0xffffffff,%eax
  je     L472
  movsd  (%r15),%xmm3
  mov    0x20(%rsp),%rdx
  mov    (%rdx),%r9
  jmp    L467
L492:
  mov    0x38(%rsp),%eax
  mov    %eax,0x1c(%rsp)
  mov    0x3c(%rsp),%eax
  mov    %eax,0x34(%rsp)
  movl   $0x1,0x18(%rsp)
L435:
  mov    0x1c(%rsp),%eax
  mov    %eax,0x2c(%rsp)
  mov    0x30(%rsp),%r8d
  add    0x28(%rsp),%r8d
  mov    %r9,%rdi
  sub    %r15,%rdi
  jmp    L273
```

tool_calls: name: read_data
arguments: data_label: D47
data_type: qword[2]

tool: {"D47": [0x7fffffffffffffff,0x0000000000000000]}

assistant: ```c
int neiE(double **x, int i, int comp1, int comp2, int dim, int bs, double epsgrid, double eps, int **box, int *lis) {
  int ix, iy, ix1, iy1, ix2, jj, step, d;
  int el, nx, ib = bs - 1;
  double dd, dy;
  double *xx;
  xx = (double *)malloc(dim * sizeof(double));
  for (d = 0; d < dim; d++)
    xx[d] = x[d][i];
  ix = (int)(xx[comp1] / epsgrid) & ib;
  iy = (int)(xx[comp2] / epsgrid) & ib;
  jj = 0;
  nx = 0;
  while (eps > epsgrid * (jj - 1)) {
    step = (jj) ? 2 * jj : 1;
    for (ix1 = ix - jj; ix1 <= ix + jj; ix1++) {
      ix2 = ix1 & ib;
      for (iy1 = iy - jj; iy1 <= iy + jj; iy1 += step) {
        el = box[ix2][iy1 & ib];
        while (el != -1) {
          dd = fabs(xx[0] - x[0][el]);
          for (d = 1; d < dim; d++)
            if ((dy = fabs(xx[d] - x[d][el])) > dd)
              if ((dd = dy) > eps)
                break;
          if (dd <= eps)
            nx++;
          el = lis[el];
        }
      }
    }
    for (ix1 = ix - jj; ix1 <= ix + jj; ix1 += step) {
      ix2 = ix1 & ib;
      for (iy1 = iy - jj + 1; iy1 <= iy + jj - 1; iy1++) {
        el = box[ix2][iy1 & ib];
        while (el != -1) {
          dd = fabs(xx[0] - x[0][el]);
          for (d = 1; d < dim; d++)
            if ((dy = fabs(xx[d] - x[d][el])) > dd)
              if ((dd = dy) > eps)
                break;
          if (dd <= eps)
            nx++;
          el = lis[el];
        }
      }
    }
    jj++;
    if (jj == (bs / 2))
      break;
  }
  if (jj == (bs / 2)) {
    for (ix1 = ix - jj; ix1 < ix + jj; ix1++) {
      ix2 = ix1 & ib;
      iy1 = iy - jj;
      el = box[ix2][iy1 & ib];
      while (el != -1) {
        dd = fabs(xx[0] - x[0][el]);
        for (d = 1; d < dim; d++)
          if ((dy = fabs(xx[d] - x[d][el])) > dd)
            if ((dd = dy) > eps)
              break;
        if (dd <= eps)
          nx++;
        el = lis[el];
      }
    }
    ix1 = ix - jj;
    ix2 = ix1 & ib;
    for (iy1 = iy - jj + 1; iy1 <= iy + jj - 1; iy1++) {
      el = box[ix2][iy1 & ib];
      while (el != -1) {
        dd = fabs(xx[0] - x[0][el]);
        for (d = 1; d < dim; d++)
          if ((dy = fabs(xx[d] - x[d][el])) > dd)
            if ((dd = dy) > eps)
              break;
        if (dd <= eps)
          nx++;
        el = lis[el];
      }
    }
  }
  free(xx);
  return nx - 1;
}
```