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

```asm
<convolve_kernel_outside>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0xe8,%rsp
  mov    %rdi,-0x78(%rbp)
  mov    %rsi,-0x80(%rbp)
  mov    %rdx,-0x88(%rbp)
  mov    %rcx,-0x90(%rbp)
  mov    %r8,-0x98(%rbp)
  mov    %r9,-0xa0(%rbp)
  movsd  %xmm0,-0xb8(%rbp)
  movsd  %xmm1,-0xc0(%rbp)
  movsd  %xmm2,-0xc8(%rbp)
  movsd  %xmm3,-0xd0(%rbp)
  movsd  %xmm4,-0xd8(%rbp)
  movsd  %xmm5,-0xe0(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0xa8(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0xb0(%rbp)
  mov    0x38(%rbp),%rax
  mov    %rax,-0xe8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  lea    D0(%rip),%rax
  mov    %rax,-0x38(%rbp)
  cmpl   $0x0,0x40(%rbp)
  je     L69
  mov    0x40(%rbp),%eax
  add    $0x1,%eax
  and    $0xfffffffe,%eax
  sub    0x40(%rbp),%eax
  cmp    $0x1,%eax
  je     L106
L69:
  mov    0x40(%rbp),%edx
  mov    -0x38(%rbp),%rax
  mov    %rax,%rsi
  mov    $0x4308,%edi
  call   <error_kernel_size@plt>
L106:
  mov    0x40(%rbp),%eax
  sub    $0x1,%eax
  shr    %eax
  mov    %eax,-0x4c(%rbp)
  mov    0x20(%rbp),%eax
  mov    %eax,-0x48(%rbp)
  mov    0x28(%rbp),%eax
  mov    %eax,-0x44(%rbp)
  mov    0x40(%rbp),%edx
  mov    0x20(%rbp),%eax
  add    %edx,%eax
  lea    -0x1(%rax),%edx
  mov    -0x80(%rbp),%rax
  mov    %edx,(%rax)
  mov    0x40(%rbp),%edx
  mov    0x28(%rbp),%eax
  add    %edx,%eax
  lea    -0x1(%rax),%edx
  mov    -0x88(%rbp),%rax
  mov    %edx,(%rax)
  mov    0x40(%rbp),%edx
  mov    0x30(%rbp),%eax
  add    %edx,%eax
  lea    -0x1(%rax),%edx
  mov    -0x90(%rbp),%rax
  mov    %edx,(%rax)
  mov    0x20(%rbp),%eax
  imul   0x28(%rbp),%eax
  imul   0x30(%rbp),%eax
  mov    %eax,%eax
  mov    %rax,-0x30(%rbp)
  mov    -0x80(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x88(%rbp),%rax
  mov    (%rax),%eax
  imul   %eax,%edx
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,%eax
  mov    %rax,-0x28(%rbp)
  mov    -0x30(%rbp),%rdx
  lea    -0x40(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <do_vect@plt>
  mov    -0x30(%rbp),%rdx
  lea    -0xb0(%rbp),%rcx
  lea    -0x40(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <cp_vect@plt>
  mov    -0x78(%rbp),%rax
  mov    (%rax),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <zero_vect@plt>
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x5c(%rbp)
  jmp    L125
L36:
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x60(%rbp)
  jmp    L60
L157:
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x64(%rbp)
  jmp    L154
L14:
  mov    -0x40(%rbp),%rbx
  mov    -0x4c(%rbp),%ecx
  mov    -0x64(%rbp),%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x4c(%rbp),%ecx
  mov    -0x60(%rbp),%eax
  sub    %ecx,%eax
  mov    %eax,%esi
  mov    -0x4c(%rbp),%ecx
  mov    -0x5c(%rbp),%eax
  sub    %ecx,%eax
  mov    %eax,%edi
  mov    -0x48(%rbp),%ecx
  mov    -0x44(%rbp),%eax
  mov    %ecx,%r8d
  mov    %eax,%ecx
  call   <gidz_general@plt>
  cltq
  shl    $0x3,%rax
  add    %rbx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  ucomisd -0x20(%rbp),%xmm0
  jp     L38
  pxor   %xmm0,%xmm0
  ucomisd -0x20(%rbp),%xmm0
  je     L55
L38:
  mov    -0x4c(%rbp),%eax
  neg    %eax
  mov    %eax,-0x50(%rbp)
  jmp    L45
L11:
  mov    -0x4c(%rbp),%eax
  neg    %eax
  mov    %eax,-0x54(%rbp)
  jmp    L85
L84:
  mov    -0x4c(%rbp),%eax
  neg    %eax
  mov    %eax,-0x58(%rbp)
  jmp    L59
L23:
  mov    -0x58(%rbp),%edx
  mov    -0x4c(%rbp),%eax
  add    %eax,%edx
  mov    -0x54(%rbp),%ecx
  mov    -0x4c(%rbp),%eax
  lea    (%rcx,%rax,1),%esi
  mov    -0x50(%rbp),%ecx
  mov    -0x4c(%rbp),%eax
  lea    (%rcx,%rax,1),%edi
  mov    0x40(%rbp),%eax
  mov    %eax,%ecx
  call   <gidz_cube@plt>
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0xe8(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mulsd  -0x20(%rbp),%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  mov    -0x78(%rbp),%rax
  mov    (%rax),%rbx
  mov    -0x80(%rbp),%rax
  mov    (%rax),%ecx
  mov    -0x88(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x58(%rbp),%esi
  mov    -0x64(%rbp),%edx
  add    %esi,%edx
  mov    -0x54(%rbp),%edi
  mov    -0x60(%rbp),%esi
  add    %edi,%esi
  mov    -0x50(%rbp),%r8d
  mov    -0x5c(%rbp),%edi
  add    %r8d,%edi
  mov    %ecx,%r8d
  mov    %eax,%ecx
  call   <gidz_general@plt>
  movslq %eax,%rdx
  shl    $0x3,%rdx
  add    %rbx,%rdx
  movsd  (%rdx),%xmm0
  mov    -0x78(%rbp),%rdx
  mov    (%rdx),%rdx
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  addsd  -0xf0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x58(%rbp)
L59:
  mov    -0x58(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jle    L23
  addl   $0x1,-0x54(%rbp)
L85:
  mov    -0x54(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jle    L84
  addl   $0x1,-0x50(%rbp)
L45:
  mov    -0x50(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jle    L11
L55:
  addl   $0x1,-0x64(%rbp)
L154:
  mov    -0x80(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x4c(%rbp),%edx
  sub    %edx,%eax
  cmp    %eax,-0x64(%rbp)
  jb     L14
  addl   $0x1,-0x60(%rbp)
L60:
  mov    -0x88(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x4c(%rbp),%edx
  sub    %edx,%eax
  cmp    %eax,-0x60(%rbp)
  jb     L157
  addl   $0x1,-0x5c(%rbp)
L125:
  mov    -0x90(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x4c(%rbp),%edx
  sub    %edx,%eax
  cmp    %eax,-0x5c(%rbp)
  jb     L36
  mov    -0x40(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x4c(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xd0(%rbp),%xmm1
  movsd  -0xb8(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0x98(%rbp),%rax
  movsd  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x4c(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xd8(%rbp),%xmm1
  movsd  -0xc0(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0xa0(%rbp),%rax
  movsd  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x4c(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0xe0(%rbp),%xmm1
  movsd  -0xc8(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  mov    -0xa8(%rbp),%rax
  movsd  %xmm0,(%rax)
  nop
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L145
  call   <__stack_chk_fail@plt>
L145:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D0
datatype: string

tool: D0: lib_vwk

assistant: ```c
void convolve_kernel_outside(double **outmap, unsigned *out_extx, unsigned *out_exty, unsigned *out_extz, double *out_origx, double *out_origy, double *out_origz, double *inmap, unsigned in_extx, unsigned in_exty, unsigned in_extz, double in_origx, double in_origy, double in_origz, double widthx, double widthy, double widthz, double *kernel, unsigned kernel_size) {
  double dval;
  unsigned long out_nvox;
  unsigned long in_nvox;
  unsigned indx, indy, indz, tmp_extx, tmp_exty;
  int indx2, indy2, indz2, margin;
  double *tmpmap;
  char *program = "lib_vwk";
  if (kernel_size < 1 || 2 * ((kernel_size + 1) / 2) - kernel_size - 1 != 0) {
    error_kernel_size(17160, program, kernel_size);
  }
  margin = (kernel_size - 1) / 2;
  tmp_extx = in_extx;
  tmp_exty = in_exty;
  *out_extx = kernel_size - 1 + in_extx;
  *out_exty = kernel_size - 1 + in_exty;
  *out_extz = kernel_size - 1 + in_extz;
  in_nvox = in_extx * in_exty * in_extz;
  out_nvox = (*out_extx) * (*out_exty) * (*out_extz);
  do_vect(&tmpmap, in_nvox);
  cp_vect(&tmpmap, &inmap, in_nvox);
  zero_vect(*outmap, out_nvox);
  for (indz = margin; indz < (*out_extz) - margin; indz++)
    for (indy = margin; indy < (*out_exty) - margin; indy++)
      for (indx = margin; indx < (*out_extx) - margin; indx++) {
        dval = *(tmpmap + gidz_general(indz - margin, indy - margin, indx - margin, tmp_exty, tmp_extx));
        if (dval != 0.0)
          for (indz2 = -margin; indz2 <= margin; indz2++)
            for (indy2 = -margin; indy2 <= margin; indy2++)
              for (indx2 = -margin; indx2 <= margin; indx2++) {
                *(*outmap + gidz_general(indz + indz2, indy + indy2, indx + indx2, (*out_exty), (*out_extx))) += *(kernel + gidz_cube(indz2 + margin, indy2 + margin, indx2 + margin, kernel_size)) * dval;
              }
      }
  free(tmpmap);
  *out_origx = in_origx - widthx * margin;
  *out_origy = in_origy - widthy * margin;
  *out_origz = in_origz - widthz * margin;
}
```