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

```asm
<rm_outliers>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %rdi,%r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  sub    $0x38,%rsp
  movslq (%rsi),%r14
  mov    $0x8,%esi
  movsd  %xmm0,0x10(%rsp)
  mulsd  D23(%rip),%xmm0
  mov    %r14d,%edi
  minsd  %xmm1,%xmm0
  mulsd  D20(%rip),%xmm0
  movsd  %xmm0,0x8(%rsp)
  call   <my_alloc@plt>
  mov    (%r12),%rbx
  mov    %rax,%r13
  test   %r14d,%r14d
  jle    L78
  movsd  0x8(%rsp),%xmm0
  lea    (%rbx,%r14,8),%rcx
  xor    %r14d,%r14d
  movsd  0x10(%rsp),%xmm5
  movq   D69(%rip),%xmm6
  mov    %rax,%r15
  lea    D72(%rip),%rdi
  comisd %xmm5,%xmm0
  ja     L168
  nopw   0x0(%rax,%rax,1)
L52:
  movsd  (%rbx),%xmm2
  movapd %xmm2,%xmm1
  subsd  %xmm5,%xmm1
  andpd  %xmm6,%xmm1
  comisd %xmm0,%xmm1
  jbe    L173
  comisd %xmm2,%xmm0
  jbe    L173
  movapd %xmm5,%xmm3
  subsd  D42(%rip),%xmm3
  andpd  %xmm6,%xmm3
  comisd %xmm3,%xmm0
  ja     L92
  cs nopw 0x0(%rax,%rax,1)
L173:
  comisd %xmm1,%xmm0
  jbe    L179
  movsd  %xmm2,(%r15)
  add    $0x1,%r14d
  add    $0x8,%r15
L36:
  add    $0x8,%rbx
  cmp    %rcx,%rbx
  jne    L52
L186:
  mov    0x0(%rbp),%edx
  cmp    %r14d,%edx
  je     L115
  mov    %edx,%esi
  lea    D105(%rip),%rdi
  xor    %eax,%eax
  sub    %r14d,%esi
  call   <printf@plt>
L115:
  mov    (%r12),%rdi
  call   <free@plt>
  mov    %r13,(%r12)
  mov    %r14d,0x0(%rbp)
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L113:
  movsd  %xmm2,(%r15)
  add    $0x1,%r14d
  add    $0x8,%r15
L98:
  add    $0x8,%rbx
  cmp    %rcx,%rbx
  je     L186
L168:
  movsd  (%rbx),%xmm2
  movapd %xmm2,%xmm1
  subsd  %xmm5,%xmm1
  andpd  %xmm6,%xmm1
  comisd %xmm0,%xmm1
  jbe    L87
  movapd %xmm2,%xmm3
  subsd  D42(%rip),%xmm3
  movapd %xmm3,%xmm4
  andpd  %xmm6,%xmm4
  comisd %xmm4,%xmm0
  jbe    L124
  movapd %xmm3,%xmm1
  movapd %xmm3,%xmm2
  subsd  %xmm5,%xmm1
  andpd  %xmm6,%xmm1
  cs nopw 0x0(%rax,%rax,1)
L87:
  comisd %xmm1,%xmm0
  ja     L113
  cvttsd2si %xmm5,%edx
  mov    $0x1,%eax
  mov    %rcx,0x18(%rsp)
  cvttsd2si %xmm2,%esi
  movaps %xmm6,0x20(%rsp)
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm0,0x8(%rsp)
  call   <printf@plt>
  movapd 0x20(%rsp),%xmm6
  mov    0x18(%rsp),%rcx
  lea    D72(%rip),%rdi
  movsd  0x10(%rsp),%xmm5
  movsd  0x8(%rsp),%xmm0
  jmp    L98
  nopl   0x0(%rax)
L124:
  comisd %xmm2,%xmm0
  jbe    L87
  movapd %xmm5,%xmm3
  subsd  D42(%rip),%xmm3
  andpd  %xmm6,%xmm3
  comisd %xmm3,%xmm0
  jbe    L87
  addsd  D42(%rip),%xmm2
  movapd %xmm2,%xmm1
  subsd  %xmm5,%xmm1
  andpd  %xmm6,%xmm1
  jmp    L87
  nopl   (%rax)
L179:
  cvttsd2si %xmm5,%edx
  mov    $0x1,%eax
  mov    %rcx,0x18(%rsp)
  cvttsd2si %xmm2,%esi
  movaps %xmm6,0x20(%rsp)
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm0,0x8(%rsp)
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm0
  mov    0x18(%rsp),%rcx
  lea    D72(%rip),%rdi
  movsd  0x10(%rsp),%xmm5
  movapd 0x20(%rsp),%xmm6
  jmp    L36
  nopl   0x0(%rax,%rax,1)
L92:
  addsd  D42(%rip),%xmm2
  movapd %xmm2,%xmm1
  subsd  %xmm5,%xmm1
  andpd  %xmm6,%xmm1
  jmp    L173
  nopl   0x0(%rax)
L78:
  xor    %r14d,%r14d
  jmp    L186
```

tool_calls: name: read_data
arguments: data_tag: D23
data_type: byte[8]
name: read_data
arguments: data_tag: D20
data_type: f64
name: read_data
arguments: data_tag: D69
data_type: qword
name: read_data
arguments: data_tag: D72
data_type: string
name: read_data
arguments: data_tag: D42
data_type: f64
name: read_data
arguments: data_tag: D105
data_type: string

tool: {"D23": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: D20: 3

tool: D69: 9223372036854775807

tool: D72: Outlier: %g (median=%g, 3RMS=%g)


tool: D42: 360

tool: D105: %d outliers removed (from %d)



assistant: ```c
void rm_outliers(double **buf, int *N, double med, double std) {
  if (std > med / 2.)
    std = med / 2.;
  std *= 3.;
  int L = 0, i, oN = *N;
  double *ret = ((double *)my_alloc(oN, sizeof(double))), *rptr = ret, *iptr = *buf;
  for (i = 0; i < oN; ++i, ++iptr) {
    double d = *iptr;
    if (fabs(d - med) > std) {
      if (fabs(d - 360.) < std && med < std)
        d -= 360.;
      else if (d < std && fabs(med - 360.) < std)
        d += 360.;
    }
    if (fabs(d - med) < std) {
      *rptr++ = d;
      ++L;
    } else
      printf("Outlier: %g (median=%g, 3RMS=%g)\n", d, med, std);
  }
  if (L != *N)
    printf("%d outliers removed (from %d)\n\n", *N - L, *N);
  free(*buf);
  *buf = ret;
  *N = L;
}
```