user: 请从给定的汇编指令推导出C源代码：

```asm
<get_all_radar_pts>:
  endbr64
  push   %rbp
  mov    %rdx,%rsi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x118,%rsp
  mov    0x18(%rbp),%rax
  mov    0x58(%rbp),%rbx
  mov    %rdi,-0x138(%rbp)
  mov    %ecx,-0x100(%rbp)
  mov    %rsp,%rdi
  mov    %rax,-0x108(%rbp)
  mov    0x38(%rbp),%rax
  mov    %rbx,-0x110(%rbp)
  mov    0x68(%rbp),%rbx
  mov    %rax,-0xd0(%rbp)
  movslq 0x48(%rbp),%rax
  mov    %r9,-0xc0(%rbp)
  mov    %rbx,-0x118(%rbp)
  mov    %fs:0x28,%rdx
  mov    %rdx,-0x38(%rbp)
  xor    %edx,%edx
  movslq 0x40(%rbp),%rdx
  lea    0xf(,%rdx,4),%rdx
  mov    %rdx,%rcx
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rdi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rdi,%rsp
  je     L146
L152:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L152
L146:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  jne    L169
L254:
  mov    -0x100(%rbp),%edx
  mov    %rsp,%r10
  test   %edx,%edx
  jle    L201
  mov    0x40(%rbp),%ebx
  movslq %r8d,%r8
  mov    %rsi,-0xf0(%rbp)
  mov    %r10,%r13
  lea    0x0(,%rax,4),%r14
  lea    -0x1(%rbx),%edx
  lea    0x0(,%r8,4),%rbx
  mov    %rbx,-0x128(%rbp)
  mov    %edx,%ecx
  mov    -0x138(%rbp),%rbx
  lea    0x4(%r10,%rdx,4),%r15
  imul   %eax,%ecx
  imul   0x50(%rbp),%ecx
  mov    %rbx,-0xf8(%rbp)
  mov    -0x100(%rbp),%ebx
  mov    %ecx,-0x11c(%rbp)
  lea    -0x1(%rbx),%ecx
  mov    %ecx,-0xfc(%rbp)
  mov    0x50(%rbp),%ecx
  mov    %rbx,-0x130(%rbp)
  imul   %eax,%ecx
  mov    0x40(%rbp),%eax
  sub    $0x2,%eax
  movslq %ecx,%rcx
  mov    %eax,-0xc4(%rbp)
  lea    0x0(,%rcx,4),%rbx
  mov    %rbx,-0x140(%rbp)
  xor    %ebx,%ebx
  nopl   0x0(%rax,%rax,1)
L226:
  mov    -0x110(%rbp),%rdi
  mov    -0x118(%rbp),%rsi
  mov    %ebx,-0x120(%rbp)
  mov    -0xf0(%rbp),%rax
  mov    %ebx,-0xc8(%rbp)
  movss  0x4(%rax),%xmm1
  movss  (%rax),%xmm0
  subss  0x4(%rdi),%xmm1
  subss  (%rdi),%xmm0
  divss  0x4(%rsi),%xmm1
  divss  (%rsi),%xmm0
  unpcklps %xmm1,%xmm0
  movlps %xmm0,-0xa8(%rbp)
  movaps %xmm1,%xmm0
  call   <floor@plt>
  movss  -0xa8(%rbp),%xmm0
  mov    %eax,%r12d
  call   <floor@plt>
  movd   %r12d,%xmm2
  movd   %r12d,%xmm1
  lea    0x1(%r12),%esi
  lea    0x1(%rax),%edx
  movd   %esi,%xmm0
  mov    %eax,-0xb8(%rbp)
  movd   %edx,%xmm7
  movd   %edx,%xmm3
  mov    %edx,-0xd8(%rbp)
  punpckldq %xmm7,%xmm2
  movd   %eax,%xmm7
  mov    D53(%rip),%rax
  punpckldq %xmm7,%xmm1
  punpckldq %xmm7,%xmm0
  punpcklqdq %xmm2,%xmm1
  movaps %xmm1,-0x60(%rbp)
  movd   %esi,%xmm1
  punpckldq %xmm3,%xmm1
  punpcklqdq %xmm1,%xmm0
  movq   %rax,%xmm1
  movaps %xmm0,-0x50(%rbp)
  movss  -0xa4(%rbp),%xmm0
  call   <fmod@plt>
  mov    D53(%rip),%rax
  movss  %xmm0,-0xb4(%rbp)
  movss  -0xa8(%rbp),%xmm0
  movq   %rax,%xmm1
  call   <fmod@plt>
  imul   0x50(%rbp),%r12d
  mov    -0x11c(%rbp),%eax
  mov    -0xd0(%rbp),%rdi
  mov    -0xd8(%rbp),%edx
  movaps %xmm0,%xmm3
  movss  -0xb4(%rbp),%xmm2
  movss  D16(%rip),%xmm1
  lea    (%rax,%r12,1),%ecx
  add    0x50(%rbp),%r12d
  movss  D16(%rip),%xmm6
  add    %eax,%r12d
  mov    -0xc0(%rbp),%rax
  subss  %xmm2,%xmm1
  subss  %xmm0,%xmm6
  movss  (%rax,%rbx,4),%xmm4
  mov    -0xb8(%rbp),%eax
  movaps %xmm1,%xmm0
  lea    (%rax,%rcx,1),%esi
  mulss  %xmm6,%xmm0
  add    %r12d,%eax
  add    %edx,%ecx
  cltq
  movslq %ecx,%rcx
  movslq %esi,%rsi
  add    %r12d,%edx
  movss  (%rdi,%rax,4),%xmm5
  mulss  (%rdi,%rcx,4),%xmm1
  movslq %edx,%rdx
  mulss  (%rdi,%rsi,4),%xmm0
  mulss  %xmm2,%xmm5
  mulss  %xmm3,%xmm2
  mulss  (%rdi,%rdx,4),%xmm2
  mulss  %xmm3,%xmm1
  mulss  %xmm6,%xmm5
  addss  %xmm5,%xmm0
  addss  %xmm1,%xmm0
  addss  %xmm2,%xmm0
  comiss %xmm0,%xmm4
  jbe    L91
  lea    -0x60(%rbp),%rax
  xor    %r12d,%r12d
  mov    %rbx,-0xd8(%rbp)
  mov    0x40(%rbp),%ebx
  mov    %rax,-0xe0(%rbp)
  lea    -0x5c(%rbp),%rax
  mov    %rax,-0xe8(%rbp)
  mov    %r13,%rax
  mov    %r12,%r13
  mov    %rax,%r12
L297:
  mov    -0xe0(%rbp),%rax
  mov    (%rax,%r13,1),%ecx
  mov    -0xe8(%rbp),%rax
  mov    (%rax,%r13,1),%r9d
  test   %ebx,%ebx
  jle    L208
  mov    0x50(%rbp),%edx
  movslq %r9d,%rax
  imul   %ecx,%edx
  movslq %edx,%rdx
  add    %rdx,%rax
  cmpl   $0x1,0x50(%rbp)
  jne    L106
  mov    -0xd0(%rbp),%rdi
  lea    (%rdi,%rax,4),%rdx
  mov    %r12,%rax
  nopl   (%rax)
L171:
  movss  (%rdx),%xmm0
  add    $0x4,%rax
  add    %r14,%rdx
  movss  %xmm0,-0x4(%rax)
  cmp    %rax,%r15
  jne    L171
L208:
  movaps %xmm4,%xmm0
  mov    %ebx,%esi
  mov    %r12,%rdi
  mov    %r9d,-0xb8(%rbp)
  mov    %ecx,-0xb4(%rbp)
  call   <binary_search@plt>
  mov    -0xb4(%rbp),%ecx
  mov    -0xb8(%rbp),%r9d
  cmp    $0xffffffff,%eax
  je     L238
  mov    -0xc4(%rbp),%edx
  cmp    $0xfffffffe,%eax
  je     L216
  cmp    -0xc4(%rbp),%eax
  je     L216
  lea    0x1(%rax),%edx
L294:
  movslq %edx,%r11
  imul   0x30(%rbp),%ecx
  movslq %eax,%r10
  mov    -0x108(%rbp),%rsi
  imul   0x30(%rbp),%eax
  movss  (%r12,%r11,4),%xmm1
  lea    -0xa0(%rbp),%rdi
  imul   0x28(%rbp),%eax
  movss  (%r12,%r10,4),%xmm0
  lea    -0x80(%rbp),%r11
  imul   0x30(%rbp),%edx
  imul   0x28(%rbp),%edx
  unpcklps %xmm1,%xmm0
  movlps %xmm0,-0xa0(%rbp,%r13,1)
  add    %ecx,%eax
  add    %r9d,%eax
  add    %ecx,%edx
  cltq
  add    %r9d,%edx
  movss  (%rsi,%rax,4),%xmm0
  mov    -0xc0(%rbp),%rax
  movslq %edx,%rdx
  movss  (%rsi,%rdx,4),%xmm1
  mov    -0xd8(%rbp),%rsi
  unpcklps %xmm1,%xmm0
  movss  (%rax,%rsi,4),%xmm4
  movlps %xmm0,-0x80(%rbp,%r13,1)
  add    $0x8,%r13
  cmp    $0x20,%r13
  jne    L297
  mov    %rsi,%rbx
  movaps %xmm4,%xmm0
  mov    $0x2,%r9d
  mov    %r11,%rdx
  lea    -0xa8(%rbp),%r8
  mov    $0x8,%ecx
  mov    $0x8,%esi
  mov    %r12,%r13
  call   <trilinear_interp@plt>
  mov    -0xf8(%rbp),%rax
  movss  %xmm0,(%rax)
L266:
  mov    -0x128(%rbp),%rdi
  addq   $0x4,-0xf8(%rbp)
  add    $0x1,%rbx
  add    %rdi,-0xf0(%rbp)
  subl   $0x1,-0xfc(%rbp)
  cmp    -0x130(%rbp),%rbx
  jne    L226
L201:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L232
  mov    -0x138(%rbp),%rax
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax)
L216:
  lea    -0x3(%rbx),%eax
  jmp    L294
L91:
  mov    -0x100(%rbp),%edi
  mov    $0x1,%eax
  pxor   %xmm1,%xmm1
  divss  %xmm1,%xmm1
  mov    %edi,%ecx
  sub    %ebx,%ecx
  cmp    %ebx,%edi
  cmovle %eax,%ecx
  cmpl   $0x2,-0xfc(%rbp)
  jbe    L168
  cmp    %ebx,%edi
  jle    L168
  mov    %ecx,%eax
  mov    -0xf8(%rbp),%rsi
  movaps %xmm1,%xmm0
  shr    $0x2,%eax
  shufps $0x0,%xmm0,%xmm0
  sub    $0x1,%eax
  shl    $0x4,%rax
  lea    0x10(%rsi,%rax,1),%rdx
  mov    %rsi,%rax
  nopl   0x0(%rax,%rax,1)
L22:
  movups %xmm0,(%rax)
  add    $0x10,%rax
  cmp    %rdx,%rax
  jne    L22
  mov    %ecx,%eax
  and    $0xfffffffc,%eax
  add    %eax,-0xc8(%rbp)
  cmp    %ecx,%eax
  je     L266
L168:
  movslq -0xc8(%rbp),%rax
  mov    -0x138(%rbp),%rdi
  mov    -0x100(%rbp),%ecx
  lea    0x0(,%rax,4),%rdx
  movss  %xmm1,(%rdi,%rax,4)
  lea    0x1(%rax),%eax
  cmp    %eax,%ecx
  jle    L266
  add    $0x1,%eax
  movss  %xmm1,0x4(%rdi,%rdx,1)
  cmp    %ecx,%eax
  jge    L266
  movss  %xmm1,0x8(%rdi,%rdx,1)
  jmp    L266
  nopw   0x0(%rax,%rax,1)
L106:
  mov    -0xd0(%rbp),%rsi
  lea    (%rsi,%rax,4),%rdx
  mov    -0x140(%rbp),%rsi
  mov    %r12,%rax
  nopl   (%rax)
L213:
  movss  (%rdx),%xmm0
  add    $0x4,%rax
  add    %rsi,%rdx
  movss  %xmm0,-0x4(%rax)
  cmp    %rax,%r15
  jne    L213
  jmp    L208
L238:
  mov    -0x100(%rbp),%esi
  mov    -0xc8(%rbp),%eax
  mov    %r12,%r13
  mov    -0xd8(%rbp),%rbx
  mov    %esi,%ecx
  sub    -0x120(%rbp),%ecx
  cmp    %eax,%esi
  mov    $0x1,%eax
  cmovle %eax,%ecx
  cmpl   $0x2,-0xfc(%rbp)
  jbe    L105
  cmp    %ebx,%esi
  jle    L105
  mov    %ecx,%eax
  mov    -0xf8(%rbp),%rdi
  shr    $0x2,%eax
  sub    $0x1,%eax
  shl    $0x4,%rax
  lea    0x10(%rdi,%rax,1),%rdx
  mov    %rdi,%rax
  nopw   0x0(%rax,%rax,1)
L52:
  movaps D7(%rip),%xmm6
  add    $0x10,%rax
  movups %xmm6,-0x10(%rax)
  cmp    %rax,%rdx
  jne    L52
  mov    %ecx,%eax
  and    $0xfffffffc,%eax
  add    %eax,-0xc8(%rbp)
  cmp    %ecx,%eax
  je     L266
L105:
  movslq -0xc8(%rbp),%rax
  movss  D7(%rip),%xmm0
  mov    -0x138(%rbp),%rdi
  mov    -0x100(%rbp),%esi
  lea    0x0(,%rax,4),%rdx
  movss  %xmm0,(%rdi,%rax,4)
  lea    0x1(%rax),%eax
  cmp    %eax,%esi
  jle    L266
  add    $0x1,%eax
  movss  %xmm0,0x4(%rdi,%rdx,1)
  cmp    %eax,%esi
  jle    L266
  movss  %xmm0,0x8(%rdi,%rdx,1)
  jmp    L266
L169:
  orq    $0x0,-0x8(%rsp,%rcx,1)
  jmp    L254
L232:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D53
type: f64
name: disassemble_data
arguments: data_label: D16
type: byte[4]
name: disassemble_data
arguments: data_label: D7
type: byte[16]

tool: D53: 1

tool: {"D16": [0x00,0x00,0x80,0x3f]}

tool: {"D7": [0x00,0x3c,0x1c,0xc6,0x00,0x3c,0x1c,0xc6,0x00,0x3c,0x1c,0xc6,0x00,0x3c,0x1c,0xc6]}

assistant: ```c
float *get_all_radar_pts(float *output, int len, float *coords_rad_pts, int crp_x, int crp_y, float *radar_heights, int rh_x, float *model_data, int md_x, int md_y, int md_z, float *model_heights, int mh_x, int mh_y, int mh_z, float *llc_cosmo, int llc_cosmo_x, float *res_cosmo, int res_cosmo_x) {
  float radar_pts[crp_x];
  int i = 0;
  int llc_i = 0;
  int llc_j = 0;
  int current_llc_i = 0;
  int current_llc_j = 0;
  int flag = 1;
  float interp_topo = 0.0;
  float diff_i = 0;
  float diff_j = 0;
  float v[4];
  float pos_i = 0.0;
  float pos_j = 0.0;
  float pos_radar_bin[2];
  float coords_neighbours[8];
  float val_neighbours[8];
  int j = 0;
  float slice_vert[mh_x];
  int k = 0;
  int idx = 0;
  int closest_1, closest_2;
  for (i = 0; i < crp_x; i++) {
    pos_radar_bin[0] = (coords_rad_pts[i * crp_y + 0] - llc_cosmo[0]) / res_cosmo[0];
    pos_radar_bin[1] = (coords_rad_pts[i * crp_y + 1] - llc_cosmo[1]) / res_cosmo[1];
    llc_i = floor(pos_radar_bin[1]);
    llc_j = floor(pos_radar_bin[0]);
    current_llc_i = llc_i;
    current_llc_j = llc_j;
    int neighb[4][2] = {{llc_i, llc_j}, {llc_i, llc_j + 1}, {llc_i + 1, llc_j}, {llc_i + 1, llc_j + 1}};
    flag = 1;
    pos_i = fmod(pos_radar_bin[1], 1.0);
    pos_j = fmod(pos_radar_bin[0], 1.0);
    diff_i = 1.0 - pos_i;
    diff_j = 1.0 - pos_j;
    for (k = 0; k < 4; k++) {
      v[k] = model_heights[(mh_x - 1) * mh_y * mh_z + neighb[k][0] * mh_z + neighb[k][1]];
    }
    interp_topo = diff_i * diff_j * v[0] + pos_i * v[2] * diff_j + diff_i * v[1] * pos_j + pos_i * pos_j * v[3];
    if (interp_topo < radar_heights[i]) {
      for (j = 0; j < 4; j++) {
        int n[2] = {neighb[j][0], neighb[j][1]};
        slice_vert[mh_x];
        for (k = 0; k < mh_x; k++) {
          slice_vert[k] = model_heights[k * mh_y * mh_z + n[0] * mh_z + n[1]];
        }
        idx = binary_search(slice_vert, mh_x, radar_heights[i]);
        if (idx == -1) {
          flag = 2;
          break;
        }
        if (idx == -2) {
          closest_1 = mh_x - 3;
          closest_2 = mh_x - 2;
        } else {
          if (idx == (mh_x - 2)) {
            idx--;
          }
          closest_1 = idx;
          closest_2 = idx + 1;
        }
        coords_neighbours[2 * j] = slice_vert[closest_1];
        coords_neighbours[2 * j + 1] = slice_vert[closest_2];
        val_neighbours[2 * j] = model_data[closest_1 * md_z * md_y + n[0] * md_z + n[1]];
        val_neighbours[2 * j + 1] = model_data[closest_2 * md_z * md_y + n[0] * md_z + n[1]];
      }
      if (flag == 2) {
        for (k = i; k < crp_x; k++) {
          output[k] = -9999;
        }
      } else {
        output[i] = trilinear_interp(coords_neighbours, 8, val_neighbours, 8, pos_radar_bin, 2, radar_heights[i]);
      }
    } else {
      for (k = i; k < crp_x; k++) {
        output[k] = 0.0 / 0.0;
      }
    }
  }
  return output;
}
```