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

```asm
<kmeanspp_multi>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %rdi,(%rsp)
  mov    %rsi,%rbp
  mov    %rsi,0x40(%rsp)
  mov    %edx,0x18(%rsp)
  mov    %ecx,0xc(%rsp)
  mov    %r8d,%ebx
  mov    %r8d,0x3c(%rsp)
  mov    %r9d,%r14d
  mov    0x98(%rsp),%r15d
  lea    0x0(,%r8,8),%edi
  call   <malloc@plt>
  mov    %rax,0x30(%rsp)
  mov    %rbp,0x28(%rsp)
  cmp    $0x1,%ebx
  jg     L126
L11:
  mov    $0x0,%eax
  call   <omp_get_thread_num@plt>
  mov    %eax,%ebx
  mov    %r14d,%ebp
  imul   %r15d,%ebp
  mov    %ebp,0x1c(%rsp)
  lea    0x0(,%rbp,8),%edi
  call   <malloc@plt>
  mov    %rax,%r13
  cmpl   $0x0,0xc(%rsp)
  jle    L37
  movslq %ebx,%rax
  mov    0x30(%rsp),%rsi
  lea    (%rsi,%rax,8),%rax
  mov    %rax,0x20(%rsp)
  lea    -0x1(%rbp),%eax
  lea    0x8(%r13,%rax,8),%r12
  mov    %ebp,%eax
  imul   %ebx,%eax
  cltq
  mov    0x28(%rsp),%rsi
  lea    (%rsi,%rax,8),%rbp
  sub    %r13,%rbp
  mov    $0x0,%ebx
  jmp    L130
L126:
  mov    %r14d,%edi
  imul   %r15d,%edi
  imul   %ebx,%edi
  shl    $0x3,%edi
  call   <malloc@plt>
  mov    %rax,0x28(%rsp)
  jmp    L11
L42:
  mov    0x20(%rsp),%rax
  movsd  %xmm1,(%rax)
  cmpl   $0x0,0x1c(%rsp)
  jle    L62
  mov    %r13,%rax
L19:
  movsd  (%rax),%xmm0
  movsd  %xmm0,0x0(%rbp,%rax,1)
  add    $0x8,%rax
  cmp    %r12,%rax
  jne    L19
  movsd  %xmm1,0x10(%rsp)
L132:
  add    $0x1,%ebx
  cmp    %ebx,0xc(%rsp)
  je     L37
L130:
  mov    %r15d,%r9d
  mov    0x90(%rsp),%r8d
  mov    %r14d,%ecx
  mov    0x18(%rsp),%edx
  mov    %r13,%rsi
  mov    (%rsp),%rdi
  call   <kmeanspp@plt>
  mov    %r15d,%r8d
  mov    0x90(%rsp),%ecx
  mov    %r14d,%edx
  mov    %r13,%rsi
  mov    (%rsp),%rdi
  call   <model_variance@plt>
  movapd %xmm0,%xmm1
  test   %ebx,%ebx
  je     L42
  movsd  0x10(%rsp),%xmm2
  comisd %xmm0,%xmm2
  jbe    L132
  jmp    L42
L62:
  movsd  %xmm1,0x10(%rsp)
  jmp    L132
L37:
  mov    %r13,%rdi
  call   <free@plt>
  mov    0x3c(%rsp),%ecx
  cmp    $0x1,%ecx
  jle    L153
  mov    0x30(%rsp),%rdx
  mov    $0x0,%eax
  movsd  0x48(%rsp),%xmm0
  jmp    L104
L40:
  movsd  (%rdx),%xmm0
  mov    %eax,0x38(%rsp)
L100:
  add    $0x1,%eax
  add    $0x8,%rdx
  cmp    %eax,%ecx
  je     L131
L104:
  test   %eax,%eax
  je     L40
  comisd (%rdx),%xmm0
  jbe    L100
  jmp    L40
L131:
  mov    0x1c(%rsp),%eax
  test   %eax,%eax
  jle    L153
  mov    %eax,%edx
  mov    0x38(%rsp),%eax
  imul   %r14d,%eax
  imul   %r15d,%eax
  cltq
  mov    0x28(%rsp),%rsi
  lea    (%rsi,%rax,8),%rcx
  mov    $0x0,%eax
  mov    0x40(%rsp),%rsi
L20:
  movsd  (%rcx,%rax,8),%xmm0
  movsd  %xmm0,(%rsi,%rax,8)
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L20
L153:
  mov    0x28(%rsp),%rdi
  call   <free@plt>
  mov    0x30(%rsp),%rdi
  call   <free@plt>
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void kmeanspp_multi(double *data, double *centroids, int n_samples, int n_runs, int n_jobs, int k, int N, int D) {
  double *all_centroids;
  double *all_variances = (double *)malloc(n_jobs * sizeof(double));
  if (n_jobs > 1) {
    all_centroids = (double *)malloc(k * D * n_jobs * sizeof(double));
  } else {
    all_centroids = centroids;
  }
#pragma omp parallel shared(all_centroids, all_variances, data, distance_metric) num_threads(n_jobs)
  {
    int id = omp_get_thread_num();
    double minimum_variance, cur_variance;
    double *current_centroid = (double *)malloc(k * D * sizeof(double));
    int local_iter = 0;
#pragma omp for
    for (int i = 0; i < n_runs; i++) {
      kmeanspp(data, current_centroid, n_samples, k, N, D);
      cur_variance = model_variance(data, current_centroid, k, N, D);
      if (local_iter == 0 || cur_variance < minimum_variance) {
        minimum_variance = cur_variance;
        all_variances[id] = cur_variance;
        for (int j = 0; j < k * D; j++) {
          all_centroids[id * D * k + j] = current_centroid[j];
        }
      }
      local_iter++;
    }
    free(current_centroid);
    do {
      ;
    } while (0);
  }
  if (n_jobs > 1) {
    double min_variance;
    int min_variance_index;
    do {
      ;
    } while (0);
    for (int i = 0; i < n_jobs; i++) {
      do {
        ;
      } while (0);
      if (i == 0 || all_variances[i] < min_variance) {
        min_variance = all_variances[i];
        min_variance_index = i;
      }
    }
    do {
      ;
    } while (0);
    for (int i = 0; i < k * D; i++) {
      centroids[i] = all_centroids[min_variance_index * k * D + i];
    }
  }
  free(all_centroids);
  free(all_variances);
}
```