user: 这段汇编代码用C语言表示是什么样的:

```asm
<check_near_masker>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  mov    %rdi,%rbp
  mov    %rsi,%r12
  mov    %rcx,(%rsp)
  mov    %r8d,%r15d
  mov    %r8d,%ecx
  call   <ptm_pnm_filter_by_ath@plt>
  test   %r15d,%r15d
  jle    L122
  mov    %r15d,%r14d
  mov    $0x0,%ebx
  jmp    L89
L2:
  movl   $0x0,0x0(%rbp,%rdx,4)
L124:
  movss  (%r12,%rdx,4),%xmm0
  comiss 0x0(%rbp,%rbx,4),%xmm0
  ja     L181
  movl   $0x0,(%r12,%rdx,4)
L1:
  add    $0x1,%rdx
  cmp    %edx,%eax
  jl     L90
L12:
  movd   %r13d,%xmm1
  comiss D6(%rip),%xmm1
  jbe    L80
  cmp    %ebx,%edx
  je     L124
  movss  0x0(%rbp,%rdx,4),%xmm0
  comiss 0x0(%rbp,%rbx,4),%xmm0
  jbe    L2
  movl   $0x0,0x0(%rbp,%rbx,4)
  jmp    L90
L181:
  movl   $0x0,0x0(%rbp,%rbx,4)
L90:
  add    $0x1,%rbx
  cmp    %r14,%rbx
  je     L122
L89:
  mov    0x0(%rbp,%rbx,4),%r13d
  movss  (%r12,%rbx,4),%xmm0
  pxor   %xmm2,%xmm2
  comiss %xmm2,%xmm0
  ja     L165
  movd   %r13d,%xmm3
  comiss %xmm2,%xmm3
  jbe    L90
L165:
  mov    (%rsp),%rax
  movss  (%rax,%rbx,4),%xmm4
  movss  %xmm4,0x8(%rsp)
  movaps %xmm4,%xmm0
  subss  D17(%rip),%xmm0
  mov    %r15d,%esi
  mov    %rax,%rdi
  call   <psd_bark2bin@plt>
  lea    0x1(%rax),%ecx
  mov    %ecx,0xc(%rsp)
  movss  0x8(%rsp),%xmm0
  addss  D17(%rip),%xmm0
  mov    %r15d,%esi
  mov    (%rsp),%rdi
  call   <psd_bark2bin@plt>
  mov    0xc(%rsp),%ecx
  cmp    %eax,%ecx
  jg     L90
  movslq %ecx,%rdx
  jmp    L12
L80:
  cmp    %ebx,%edx
  je     L19
  movss  (%r12,%rdx,4),%xmm0
  comiss (%r12,%rbx,4),%xmm0
  ja     L99
  movl   $0x0,(%r12,%rdx,4)
L19:
  movss  0x0(%rbp,%rdx,4),%xmm0
  comiss (%r12,%rbx,4),%xmm0
  ja     L172
  movl   $0x0,0x0(%rbp,%rdx,4)
  jmp    L1
L99:
  movl   $0x0,(%r12,%rbx,4)
  jmp    L90
L172:
  movl   $0x0,(%r12,%rbx,4)
  jmp    L90
L122:
  mov    $0x0,%eax
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: read_data
arguments: tag: D6
data_type: byte[4]
name: read_data
arguments: tag: D17
data_type: f32

tool: {"D6": [0x00,0x00,0x00,0x00]}

tool: D17: 0.5

assistant: ```c
int check_near_masker(float *ptm, float *pnm, float *psd_ath, float *psd_bark, int psd_len) {
  int k, j;
  int tone_found, noise_found;
  float masker_bark;
  float bw_low_bark, bw_high_bark;
  int bw_low_bin, bw_high_bin;
  ptm_pnm_filter_by_ath(ptm, pnm, psd_ath, psd_len);
  for (k = 0; k < psd_len; k++) {
    tone_found = 0;
    noise_found = 0;
    if (ptm[k] > 0)
      tone_found = 1;
    if (pnm[k] > 0)
      noise_found = 1;
    if (tone_found || noise_found) {
      masker_bark = psd_bark[k];
      bw_low_bark = masker_bark - 0.5;
      bw_high_bark = masker_bark + 0.5;
      bw_low_bin = psd_bark2bin(psd_bark, psd_len, bw_low_bark) + 1;
      bw_high_bin = psd_bark2bin(psd_bark, psd_len, bw_high_bark);
      for (j = bw_low_bin; j <= bw_high_bin; j++) {
        if (tone_found) {
          if (j != k && ptm[k] < ptm[j]) {
            ptm[k] = 0;
            break;
          } else if (j != k) {
            ptm[j] = 0;
          } else {
            ;
          }
          if (ptm[k] < pnm[j]) {
            ptm[k] = 0;
            break;
          } else {
            pnm[j] = 0;
          }
        } else if (noise_found) {
          if (j != k && pnm[k] < pnm[j]) {
            pnm[k] = 0;
            break;
          } else if (j != k) {
            pnm[j] = 0;
          } else {
            ;
          }
          if (pnm[k] < ptm[j]) {
            pnm[k] = 0;
            break;
          } else {
            ptm[j] = 0;
          }
        } else {
          ;
        }
      }
    }
  }
  return 0;
}
```