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

```asm
<grib_get_reduced_row>:
  endbr64
  mov    %rdi,%r8
  movapd %xmm0,%xmm2
  mov    %rdx,%rax
  mov    %rcx,%rdx
  movapd %xmm1,%xmm0
  subsd  %xmm2,%xmm0
  pxor   %xmm3,%xmm3
  comisd %xmm0,%xmm3
  ja     L34
L132:
  pxor   %xmm4,%xmm4
  cvtsi2sd %r8,%xmm4
  mulsd  %xmm4,%xmm0
  movsd  D10(%rip),%xmm3
  divsd  %xmm3,%xmm0
  addsd  D52(%rip),%xmm0
  cvttsd2si %xmm0,%rcx
  mov    %rcx,(%rsi)
  movapd %xmm4,%xmm0
  mulsd  %xmm2,%xmm0
  divsd  %xmm3,%xmm0
  cvttsd2si %xmm0,%rcx
  mov    %rcx,(%rax)
  movapd %xmm4,%xmm0
  mulsd  %xmm1,%xmm0
  divsd  %xmm3,%xmm0
  cvttsd2si %xmm0,%r9
  mov    %r9,(%rdx)
  mov    (%rax),%rcx
  mov    %r9,%rdi
  sub    %rcx,%rdi
  add    $0x1,%rdi
  mov    (%rsi),%r10
  cmp    %rdi,%r10
  je     L42
  jge    L38
  pxor   %xmm0,%xmm0
  cvtsi2sd %rcx,%xmm0
  mulsd  %xmm3,%xmm0
  divsd  %xmm4,%xmm0
  comisd %xmm0,%xmm2
  jbe    L70
  add    $0x1,%rcx
  mov    %rcx,(%rax)
L70:
  mov    (%rdx),%rcx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rcx,%xmm0
  mulsd  D10(%rip),%xmm0
  divsd  %xmm4,%xmm0
  comisd %xmm1,%xmm0
  jbe    L20
  sub    $0x1,%rcx
  mov    %rcx,(%rdx)
  jmp    L20
L34:
  movsd  D10(%rip),%xmm3
  addsd  %xmm3,%xmm0
  subsd  %xmm3,%xmm2
  jmp    L132
L38:
  sub    $0x1,%rcx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rcx,%xmm0
  mulsd  D10(%rip),%xmm0
  divsd  %xmm4,%xmm0
  comisd %xmm2,%xmm0
  ja     L78
  add    $0x1,%r9
  pxor   %xmm0,%xmm0
  cvtsi2sd %r9,%xmm0
  mulsd  D10(%rip),%xmm0
  divsd  %xmm4,%xmm0
  comisd %xmm0,%xmm1
  jbe    L110
L139:
  mov    %r9,(%rdx)
  jmp    L20
L110:
  sub    $0x1,%r10
  mov    %r10,(%rsi)
  jmp    L20
L42:
  pxor   %xmm0,%xmm0
  cvtsi2sd %rcx,%xmm0
  mulsd  D10(%rip),%xmm0
  divsd  %xmm4,%xmm0
  comisd %xmm0,%xmm2
  jbe    L20
  add    $0x1,%rcx
  mov    %rcx,(%rax)
  addq   $0x1,(%rdx)
L20:
  mov    (%rax),%rdx
  test   %rdx,%rdx
  js     L24
  ret
L24:
  add    %r8,%rdx
  mov    %rdx,(%rax)
  ret
L78:
  mov    %rcx,(%rax)
  mov    (%rdx),%rsi
  lea    0x1(%rsi),%r9
  pxor   %xmm0,%xmm0
  cvtsi2sd %r9,%xmm0
  mulsd  D10(%rip),%xmm0
  divsd  %xmm4,%xmm0
  comisd %xmm0,%xmm1
  ja     L139
  jmp    L20
```

tool_calls: name: parse_data
arguments: label: D10
type_infered: f64
name: parse_data
arguments: label: D52
type_infered: f32[2]

tool: D10: 360

tool: {"D52": [0.0,1.875]}

assistant: ```c
void grib_get_reduced_row(long pl, double lon_first, double lon_last, long *npoints, long *ilon_first, long *ilon_last) {
  double range = 0, dlon_first = 0, dlon_last = 0;
  long irange;
  range = lon_last - lon_first;
  if (range < 0) {
    range += 360;
    lon_first -= 360;
  }
  *npoints = (range * pl) / 360.0 + 1;
  *ilon_first = (lon_first * pl) / 360.0;
  *ilon_last = (lon_last * pl) / 360.0;
  irange = *ilon_last - *ilon_first + 1;
  if (irange != *npoints) {
    if (irange > *npoints) {
      dlon_first = ((*ilon_first) * 360.0) / pl;
      if (dlon_first < lon_first) {
        (*ilon_first)++;
        irange--;
      }
      dlon_last = ((*ilon_last) * 360.0) / pl;
      if (dlon_last > lon_last) {
        (*ilon_last)--;
        irange--;
      }
    } else {
      int ok = 0;
      dlon_first = ((*ilon_first - 1) * 360.0) / pl;
      if (dlon_first > lon_first) {
        (*ilon_first)--;
        irange++;
        ok = 1;
      }
      dlon_last = ((*ilon_last + 1) * 360.0) / pl;
      if (dlon_last < lon_last) {
        (*ilon_last)++;
        irange++;
        ok = 1;
      }
      if (!ok) {
        (*npoints)--;
      }
    }
  } else {
    dlon_first = ((*ilon_first) * 360.0) / pl;
    if (dlon_first < lon_first) {
      (*ilon_first)++;
      (*ilon_last)++;
    }
  }
  if (*ilon_first < 0)
    *ilon_first += pl;
  return;
}
```