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

```asm
<clean_mask>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  mov    %ecx,-0x38(%rbp)
  movl   $0x0,-0x10(%rbp)
  movl   $0x0,-0x18(%rbp)
  jmp    L175
L248:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jle    L167
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x1,(%rax)
  jmp    L117
L167:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
L117:
  addl   $0x1,-0x18(%rbp)
L175:
  mov    -0x34(%rbp),%eax
  imul   -0x38(%rbp),%eax
  cmp    %eax,-0x18(%rbp)
  jl     L248
  movl   $0x0,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L91
L281:
  mov    -0x18(%rbp),%eax
  imul   -0x38(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jle    L50
  mov    -0xc(%rbp),%edx
  mov    -0x38(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  jle    L45
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    %rax,-0x8(%rbp)
L45:
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x14(%rbp)
  jge    L99
  mov    -0xc(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    %rax,-0x8(%rbp)
L99:
  cmpq   $0x0,-0x8(%rbp)
  jle    L192
  addl   $0x1,-0x10(%rbp)
  jmp    L50
L192:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
L50:
  addl   $0x1,-0x14(%rbp)
L91:
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L281
  movl   $0x1,-0x18(%rbp)
  jmp    L13
L207:
  mov    -0x18(%rbp),%eax
  imul   -0x38(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jle    L66
  mov    -0xc(%rbp),%eax
  sub    -0x38(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0xc(%rbp),%ecx
  mov    -0x38(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jle    L41
  addl   $0x1,-0x10(%rbp)
  jmp    L66
L41:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
L66:
  movl   $0x1,-0x14(%rbp)
  jmp    L133
L176:
  mov    -0x18(%rbp),%eax
  imul   -0x38(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jle    L135
  mov    -0xc(%rbp),%eax
  sub    -0x38(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0xc(%rbp),%ecx
  mov    -0x38(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jle    L277
  addl   $0x1,-0x10(%rbp)
  jmp    L135
L277:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
L135:
  addl   $0x1,-0x14(%rbp)
L133:
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x14(%rbp)
  jl     L176
  mov    -0x18(%rbp),%eax
  add    $0x1,%eax
  imul   -0x38(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jle    L182
  mov    -0xc(%rbp),%eax
  sub    -0x38(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0xc(%rbp),%ecx
  mov    -0x38(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rax,%rdx
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  jle    L283
  addl   $0x1,-0x10(%rbp)
  jmp    L182
L283:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
L182:
  addl   $0x1,-0x18(%rbp)
L13:
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x18(%rbp)
  jl     L207
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x18(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L61
L177:
  mov    -0x18(%rbp),%eax
  imul   -0x38(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0xc(%rbp)
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jle    L72
  mov    -0xc(%rbp),%eax
  sub    -0x38(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    %rax,-0x8(%rbp)
  cmpl   $0x0,-0x14(%rbp)
  jle    L158
  mov    -0xc(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    %rax,-0x8(%rbp)
L158:
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x14(%rbp)
  jge    L295
  mov    -0xc(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    %rax,-0x8(%rbp)
L295:
  cmpq   $0x0,-0x8(%rbp)
  jle    L58
  addl   $0x1,-0x10(%rbp)
  jmp    L72
L58:
  mov    -0xc(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  movq   $0x0,(%rax)
L72:
  addl   $0x1,-0x14(%rbp)
L61:
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L177
  mov    -0x10(%rbp),%eax
  pop    %rbp
  ret
```

assistant: ```c
int clean_mask(const int8_t *__restrict msk, int8_t *__restrict ret, int ns, int nf) {
  int i, j, q, npx;
  int8_t t;
  npx = 0;
#pragma omp parallel for private(i)
  for (i = 0; i < ns * nf; i++) {
    if (msk[i] > 0) {
      ret[i] = 1;
    } else {
      ret[i] = 0;
    }
  }
  i = 0;
  for (j = 0; j < nf; j++) {
    q = i * nf + j;
    if (ret[q] > 0) {
      t = msk[q + nf];
      if (j > 0)
        t += msk[q - 1];
      if (j < (nf - 1))
        t += msk[q + 1];
      if (t > 0) {
        npx++;
      } else {
        ret[q] = 0;
      }
    }
  }
#pragma omp parallel for private(i, j, q, t) reduction(+ : npx)
  for (i = 1; i < (ns - 1); i++) {
    q = i * nf;
    if (ret[q] > 0) {
      t = msk[q - nf] + msk[q + nf] + msk[q + 1];
      if (t > 0) {
        npx++;
      } else {
        ret[q] = 0;
      }
    }
    for (j = 1; j < (nf - 1); j++) {
      q = i * nf + j;
      if (ret[q] > 0) {
        t = msk[q - nf] + msk[q + nf] + msk[q - 1] + msk[q + 1];
        if (t > 0) {
          npx++;
        } else {
          ret[q] = 0;
        }
      }
    }
    q = (i + 1) * nf - 1;
    if (ret[q] > 0) {
      t = msk[q - nf] + msk[q + nf] + msk[q - 1];
      if (t > 0) {
        npx++;
      } else {
        ret[q] = 0;
      }
    }
  }
  i = ns - 1;
  for (j = 0; j < nf; j++) {
    q = i * nf + j;
    if (ret[q] > 0) {
      t = msk[q - nf];
      if (j > 0)
        t += msk[q - 1];
      if (j < (nf - 1))
        t += msk[q + 1];
      if (t > 0) {
        npx++;
      } else {
        ret[q] = 0;
      }
    }
  }
  return npx;
}
```