user: 请将以下的汇编代码转换成C语言代码:

```asm
<getCCCount>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %r8d,%ebx
  sub    $0x78,%rsp
  mov    %rdx,0x60(%rsp)
  mov    %r9d,%edx
  mov    0xb0(%rsp),%r12
  imul   %r8d,%edx
  mov    %rdi,0x30(%rsp)
  mov    0xb8(%rsp),%r13
  mov    %rsi,0x38(%rsp)
  mov    %rcx,0x68(%rsp)
  mov    %r9d,0x1c(%rsp)
  movsd  %xmm0,0x50(%rsp)
  test   %edx,%edx
  jle    L154
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%r14
  lea    0x0(%r13,%r14,1),%rax
  cmp    %rax,%r12
  jae    L82
  lea    (%r12,%r14,1),%rax
  cmp    %rax,%r13
  jb     L196
L82:
  mov    %r14,%rdx
  xor    %esi,%esi
  mov    %r12,%rdi
  call   <memset@plt>
  mov    %r14,%rdx
  xor    %esi,%esi
  mov    %r13,%rdi
  call   <memset@plt>
L154:
  test   %ebx,%ebx
  jle    L176
  mov    %ebx,%eax
  movl   $0x0,0x18(%rsp)
  xor    %r14d,%r14d
  mov    %rax,0x58(%rsp)
  lea    -0x1(%rbx),%eax
  mov    0x30(%rsp),%rbx
  lea    0x8(%rbx,%rax,8),%rax
  mov    %rax,0x48(%rsp)
  nopw   0x0(%rax,%rax,1)
L105:
  mov    0x38(%rsp),%rax
  mov    0x60(%rsp),%rbp
  mov    0x68(%rsp),%rbx
  mov    %rax,0x20(%rsp)
  mov    0x30(%rsp),%rax
  mov    %rax,(%rsp)
  movslq 0x18(%rsp),%rax
  mov    %rax,0x28(%rsp)
  nopw   0x0(%rax,%rax,1)
L102:
  mov    0x30(%rsp),%rax
  pxor   %xmm3,%xmm3
  movsd  (%rax,%r14,8),%xmm0
  mov    (%rsp),%rax
  subsd  (%rax),%xmm0
  mov    0x38(%rsp),%rax
  movsd  (%rax,%r14,8),%xmm1
  mov    0x20(%rsp),%rax
  mulsd  %xmm0,%xmm0
  subsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm1
  addsd  %xmm1,%xmm0
  ucomisd %xmm0,%xmm3
  ja     L185
  sqrtsd %xmm0,%xmm0
L148:
  divsd  0x50(%rsp),%xmm0
  call   <ceil@plt>
  xor    %edx,%edx
  test   %eax,%eax
  setg   %dl
  sub    %edx,%eax
  cmp    0x1c(%rsp),%eax
  jge    L166
  mov    0x1c(%rsp),%r8d
  movslq %eax,%rsi
  lea    0x4(%rbp),%rdi
  lea    0x4(%rbx),%r10
  mov    0x28(%rsp),%rdx
  mov    %rdi,0x8(%rsp)
  sub    %eax,%r8d
  mov    %r10,0x10(%rsp)
  add    %rsi,%rdx
  mov    %r8d,%edi
  mov    %rsi,0x40(%rsp)
  lea    0x10(,%rdx,4),%r9
  lea    0x0(,%rdx,4),%rcx
  add    %rdx,%rdi
  lea    0x0(%r13,%rcx,1),%rsi
  shl    $0x2,%rdi
  lea    0x0(%r13,%r9,1),%r10
  add    %r12,%rcx
  lea    (%r12,%rdi,1),%r11
  add    %r13,%rdi
  cmp    %r10,%rcx
  setae  %r15b
  add    %r12,%r9
  cmp    %r9,%rsi
  setae  %r10b
  or     %r15d,%r10d
  cmp    $0x1,%r8d
  setne  %r9b
  and    %r9d,%r10d
  cmp    0x8(%rsp),%rcx
  setae  %r9b
  cmp    %rbp,%r11
  setbe  %r15b
  or     %r15d,%r9d
  and    %r9d,%r10d
  cmp    %rbx,%r11
  mov    %r10d,%r15d
  setbe  %r10b
  cmp    0x10(%rsp),%rcx
  setae  %r9b
  or     %r10d,%r9d
  and    %r15d,%r9d
  cmp    0x8(%rsp),%rsi
  setae  %r10b
  cmp    %rdi,%rbp
  setae  %r11b
  or     %r11d,%r10d
  test   %r10b,%r9b
  je     L120
  cmp    0x10(%rsp),%rsi
  setae  %r9b
  cmp    %rdi,%rbx
  setae  %dil
  or     %r9b,%dil
  je     L120
  lea    -0x1(%r8),%edi
  cmp    $0x2,%edi
  jbe    L139
  movd   0x0(%rbp),%xmm6
  movd   (%rbx),%xmm7
  mov    %r8d,%r9d
  xor    %edi,%edi
  shr    $0x2,%r9d
  pshufd $0x0,%xmm6,%xmm2
  pshufd $0x0,%xmm7,%xmm1
  shl    $0x4,%r9
  nopl   0x0(%rax,%rax,1)
L182:
  movdqu (%rcx,%rdi,1),%xmm0
  paddd  %xmm2,%xmm0
  movups %xmm0,(%rcx,%rdi,1)
  movdqu (%rsi,%rdi,1),%xmm0
  paddd  %xmm1,%xmm0
  movups %xmm0,(%rsi,%rdi,1)
  add    $0x10,%rdi
  cmp    %r9,%rdi
  jne    L182
  mov    %r8d,%ecx
  and    $0xfffffffc,%ecx
  add    %ecx,%eax
  cmp    %ecx,%r8d
  je     L17
  sub    %ecx,%r8d
  cmp    $0x1,%r8d
  je     L3
L58:
  add    %rcx,%rdx
  movd   0x0(%rbp),%xmm5
  movd   (%rbx),%xmm1
  shl    $0x2,%rdx
  lea    (%r12,%rdx,1),%rsi
  pshufd $0xe0,%xmm5,%xmm2
  add    %r13,%rdx
  movq   (%rsi),%xmm0
  pshufd $0xe0,%xmm1,%xmm1
  paddd  %xmm2,%xmm0
  movq   %xmm0,(%rsi)
  movq   (%rdx),%xmm0
  paddd  %xmm1,%xmm0
  movq   %xmm0,(%rdx)
  mov    %r8d,%edx
  and    $0xfffffffe,%edx
  add    %edx,%eax
  cmp    %edx,%r8d
  je     L17
L3:
  add    0x18(%rsp),%eax
  mov    0x0(%rbp),%edx
  cltq
  shl    $0x2,%rax
  add    %edx,(%r12,%rax,1)
  mov    (%rbx),%edx
  add    %edx,0x0(%r13,%rax,1)
L17:
  addq   $0x8,(%rsp)
  mov    0x8(%rsp),%rbp
  addq   $0x8,0x20(%rsp)
  mov    (%rsp),%rax
  mov    0x10(%rsp),%rbx
  cmp    0x48(%rsp),%rax
  jne    L102
  mov    0x1c(%rsp),%ebx
  add    $0x1,%r14
  add    %ebx,0x18(%rsp)
  cmp    0x58(%rsp),%r14
  jne    L105
L176:
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L120:
  mov    0x40(%rsp),%rsi
  mov    0x28(%rsp),%rcx
  shl    $0x2,%rdx
  lea    0x1(%rsi,%rcx,1),%rcx
  mov    0x1c(%rsp),%esi
  sub    $0x1,%esi
  sub    %eax,%esi
  add    %rsi,%rcx
  shl    $0x2,%rcx
  nopl   0x0(%rax,%rax,1)
L57:
  mov    0x0(%rbp),%eax
  add    %eax,(%r12,%rdx,1)
  mov    (%rbx),%eax
  add    %eax,0x0(%r13,%rdx,1)
  add    $0x4,%rdx
  cmp    %rdx,%rcx
  jne    L57
  jmp    L17
  nopl   0x0(%rax)
L166:
  lea    0x4(%rbp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x4(%rbx),%rax
  mov    %rax,0x10(%rsp)
  jmp    L17
L139:
  xor    %ecx,%ecx
  jmp    L58
L196:
  xor    %eax,%eax
L12:
  movl   $0x0,(%r12,%rax,4)
  movl   $0x0,0x0(%r13,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rdx
  jne    L12
  jmp    L154
L185:
  call   <sqrt@plt>
  jmp    L148
```

assistant: ```c
void getCCCount(double *x, double *y, int *nCass, int *nCons, int locCount, double wSize, int wCount, int *casInW, int *conInW) {
  double distance;
  int minWindow;
  for (int i = 0; i < locCount * wCount; i++) {
    casInW[i] = 0;
    conInW[i] = 0;
  }
#pragma omp parallel for private(distance, minWindow)
  for (int i = 0; i < locCount; i++) {
    for (int j = 0; j < locCount; j++) {
      distance = sqrt((x[i] - x[j]) * (x[i] - x[j]) + (y[i] - y[j]) * (y[i] - y[j]));
      minWindow = (int)(ceil(distance / wSize));
      if (minWindow > 0)
        minWindow--;
      for (int k = minWindow; k < wCount; k++) {
        casInW[i * wCount + k] += nCass[j];
        conInW[i * wCount + k] += nCons[j];
      }
    }
  }
  return;
}
```