user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<Mutation_int_Kpoint>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %rsi,%r12
  mov    %r8,%rsi
  push   %rbp
  push   %rbx
  mov    %edx,%ebx
  mov    %r9d,%edx
  sub    $0x48,%rsp
  mov    0x88(%rsp),%rax
  mov    %rcx,0x8(%rsp)
  lea    0x30(%rsp),%rdi
  mov    %r8,0x10(%rsp)
  mov    0x80(%rsp),%ebp
  mov    %r9d,0x1c(%rsp)
  mov    0x90(%rsp),%r14
  mov    %rax,0x28(%rsp)
  movsd  %xmm0,0x20(%rsp)
  movsd  (%r12),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  call   <self_adj_index_search@plt>
  test   %ebx,%ebx
  jle    L34
  lea    0x1(%rbx),%esi
  mov    $0x1,%eax
  nopl   (%rax)
L109:
  mov    0x0(%r13,%rax,4),%edx
  mov    %edx,(%r14,%rax,4)
  add    $0x1,%rax
  cmp    %rsi,%rax
  jne    L109
L34:
  cmp    $0x2,%ebp
  je     L43
  mov    $0x1,%r15d
  test   %ebp,%ebp
  jle    L111
  nopl   (%rax)
L118:
  mov    %ebx,%esi
  mov    $0x1,%edi
  add    $0x1,%r15d
  call   <integerrng@plt>
  cltq
  lea    (%r14,%rax,4),%rsi
  mov    $0x1,%eax
  sub    (%rsi),%eax
  mov    %eax,(%rsi)
  cmp    %r15d,%ebp
  jge    L118
L111:
  mov    %ebx,%esi
  mov    %r14,%rdi
  call   <cost@plt>
  mov    0x1c(%rsp),%edx
  mov    0x10(%rsp),%rsi
  lea    0x34(%rsp),%rdi
  movq   %xmm0,%rbp
  call   <self_adj_index_search@plt>
  movsd  0x20(%rsp),%xmm2
  movq   %rbp,%xmm1
  movslq 0x34(%rsp),%rax
  mov    0x8(%rsp),%rcx
  divsd  %xmm2,%xmm1
  movsd  (%rcx,%rax,8),%xmm0
  xorpd  D27(%rip),%xmm0
  movslq 0x30(%rsp),%rax
  subsd  %xmm1,%xmm0
  movsd  (%r12),%xmm1
  addsd  (%rcx,%rax,8),%xmm0
  divsd  %xmm2,%xmm1
  addsd  %xmm1,%xmm0
  comisd D29(%rip),%xmm0
  movsd  D11(%rip),%xmm1
  jbe    L91
L60:
  mov    0x28(%rsp),%r15
  xor    %eax,%eax
  movsd  %xmm1,(%r15)
  call   <uniformrng@plt>
  movsd  (%r15),%xmm1
  comisd %xmm0,%xmm1
  jbe    L15
  mov    %rbp,(%r12)
  test   %ebx,%ebx
  jle    L15
  lea    0x1(%rbx),%esi
  mov    $0x1,%eax
  xchg   %ax,%ax
L33:
  mov    (%r14,%rax,4),%edx
  mov    %edx,0x0(%r13,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rsi
  jne    L33
L15:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L9
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L91:
  call   <exp@plt>
  movapd %xmm0,%xmm1
  jmp    L60
  nopl   0x0(%rax,%rax,1)
L43:
  mov    %ebx,%esi
  mov    $0x1,%edi
  mov    $0x1,%ebp
  call   <integerrng@plt>
  mov    %ebp,%edx
  lea    -0x1(%rbx),%esi
  mov    $0x1,%edi
  cltq
  lea    (%r14,%rax,4),%rax
  sub    (%rax),%edx
  mov    %edx,(%rax)
  call   <integerrng@plt>
  cltq
  lea    (%r14,%rax,4),%rax
  sub    (%rax),%ebp
  mov    %ebp,(%rax)
  jmp    L111
L9:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D27
type_guessed: f32[4]
name: disassemble_data
arguments: data_label: D29
type_guessed: f32
name: disassemble_data
arguments: data_label: D11
type_guessed: f64

tool: {"D27": [0.0,-0.0,0.0,0.0]}

tool: D29: 0

tool: D11: 1

assistant: ```c
void Mutation_int_Kpoint(int *z, double *fz, int N_dimension, double *theta, double *grid_points, int grid_size, double temp, int K, double *accpr_pop, int *z_new) {
  int k_old;
  int k_new;
  int i;
  int lab;
  int lab2;
  double fz_new;
  double rat;
  double un;
  self_adj_index_search(&k_old, *fz, grid_points, grid_size);
  for (i = 1; i <= N_dimension; i++)
    z_new[i] = z[i];
  if (K == 2) {
    lab = integerrng(1, N_dimension);
    z_new[lab] = 1 - z_new[lab];
    lab2 = integerrng(1, N_dimension - 1);
    if (lab2 >= lab)
      i++;
    z_new[lab2] = 1 - z_new[lab2];
  } else {
    for (i = 1; i <= K; i++) {
      lab = integerrng(1, N_dimension);
      z_new[lab] = 1 - z_new[lab];
    }
  }
  fz_new = cost(z_new, N_dimension);
  self_adj_index_search(&k_new, fz_new, grid_points, grid_size);
  rat = -theta[k_new] - fz_new / temp + theta[k_old] + *fz / temp;
  *accpr_pop = ((rat > 0.0) ? 1.0 : exp(rat));
  un = uniformrng();
  if (*accpr_pop > un) {
    *fz = fz_new;
    for (i = 1; i <= N_dimension; i++)
      z[i] = z_new[i];
  }
}
```