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

```asm
<process_filter>:
  endbr64
  push   %r15
  mov    %rdx,%r15
  push   %r14
  mov    %rdi,%r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x4c8,%rsp
  mov    %rsi,0x10(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x4b8(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x2c(%rsp)
  call   <strlen@plt>
  mov    %rax,%rbx
  mov    %eax,%edx
  movzbl (%r14),%eax
  cmp    $0x26,%al
  je     L143
  cmp    $0x7c,%al
  je     L143
  cmp    $0x21,%al
  je     L29
  lea    0x30(%rsp),%r12
  mov    %r14,%rsi
  mov    %r12,%rdi
  call   <memcpy@plt>
  mov    0x10(%rsp),%rsi
  movslq %ebx,%rcx
  mov    %r15,%rdx
  mov    %r12,%rdi
  movb   $0x0,0x30(%rsp,%rcx,1)
  call   <create_ber_filter@plt>
L0:
  mov    0x4b8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L226
  add    $0x4c8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L143:
  movslq (%r15),%rdx
  lea    0x1(%rdx),%ecx
  add    0x10(%rsp),%rdx
  mov    %ecx,(%r15)
  cmp    $0x26,%al
  jne    L145
  movb   $0xa0,(%rdx)
L49:
  lea    -0x1(%rbx),%ecx
  add    $0x1,%r14
  test   %ecx,%ecx
  jle    L107
  lea    0x2c(%rsp),%rax
  lea    0x30(%rsp),%rbx
  mov    %rax,0x18(%rsp)
  lea    0xb0(%rsp),%r12
L61:
  lea    0x1(%r14),%r8
  sub    $0x1,%ecx
  xor    %esi,%esi
  movslq %ecx,%rdi
  mov    %r8,%rax
  jmp    L106
L184:
  test   %esi,%esi
  je     L27
  cmp    $0x29,%dl
  jne    L1
  sub    $0x1,%esi
L1:
  lea    0x1(%rax),%rdx
  sub    %r14,%rax
  cmp    %rdi,%rax
  jg     L20
L182:
  mov    %rdx,%rax
L106:
  movzbl (%rax),%edx
  cmp    $0x28,%dl
  jne    L184
  lea    0x1(%rax),%rdx
  sub    %r14,%rax
  add    $0x1,%esi
  cmp    %rdi,%rax
  jle    L182
L20:
  mov    %rdx,%r14
  jmp    L225
  nopw   0x0(%rax,%rax,1)
L27:
  cmp    $0x29,%dl
  jne    L1
  lea    0x1(%rax),%r14
L225:
  mov    %r14,%r13
  mov    %r8,%rsi
  mov    %rbx,%rdi
  mov    %ecx,0xc(%rsp)
  sub    %r8,%r13
  lea    -0x1(%r13),%ebp
  mov    %ebp,%edx
  call   <memcpy@plt>
  movslq %ebp,%rdx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  movb   $0x0,0x30(%rsp,%rdx,1)
  mov    0x18(%rsp),%rdx
  call   <process_filter>
  mov    0xc(%rsp),%ecx
  sub    %r13d,%ecx
  test   %ecx,%ecx
  jg     L61
  mov    0x2c(%rsp),%r8d
  movslq (%r15),%rax
  mov    %r8d,%edx
  cmp    $0x7f,%r8d
  jle    L230
  mov    0x10(%rsp),%rbx
  lea    0x1(%rax),%edi
  lea    (%rbx,%rax,1),%rsi
  cmp    $0xff,%r8d
  jle    L32
  xor    %edx,%edx
  nopw   0x0(%rax,%rax,1)
L104:
  mov    %edx,%eax
  add    $0x1,%edx
  mov    %r8d,%ebx
  lea    0x0(,%rdx,8),%ecx
  sar    %cl,%ebx
  test   %ebx,%ebx
  jne    L104
  add    $0xffffff80,%edx
  mov    %edi,(%r15)
  lea    0x0(,%rax,8),%ecx
  mov    %dl,(%rsi)
  nopl   0x0(%rax)
L152:
  movslq (%r15),%rax
  mov    0x10(%rsp),%rbx
  lea    0x1(%rax),%edx
  mov    %edx,(%r15)
  mov    %r8d,%edx
  sar    %cl,%edx
  sub    $0x8,%ecx
  mov    %dl,(%rbx,%rax,1)
  cmp    $0xfffffff8,%ecx
  jne    L152
  jmp    L228
L107:
  movslq (%r15),%rax
  xor    %edx,%edx
  xor    %r8d,%r8d
  lea    0xb0(%rsp),%r12
L230:
  mov    0x10(%rsp),%rbx
  lea    0x1(%rax),%ecx
  mov    %ecx,(%r15)
  mov    %dl,(%rbx,%rax,1)
L228:
  movslq (%r15),%rdi
  mov    %r8d,%edx
  add    0x10(%rsp),%rdi
  mov    %r12,%rsi
  call   <memcpy@plt>
  mov    0x2c(%rsp),%eax
  add    %eax,(%r15)
  jmp    L0
L29:
  movslq (%r15),%rax
  mov    0x10(%rsp),%rcx
  lea    0x1(%rax),%edx
  mov    %edx,(%r15)
  movb   $0xa2,(%rcx,%rax,1)
  jmp    L49
L145:
  movb   $0xa1,(%rdx)
  jmp    L49
L32:
  mov    %edi,(%r15)
  movb   $0x81,(%rsi)
  movslq (%r15),%rax
  lea    0x1(%rax),%edx
  mov    %edx,(%r15)
  mov    %r8b,(%rbx,%rax,1)
  jmp    L228
L226:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void process_filter(char *expression, char *b_filt, int *filt_len) {
  char *filt_p, *end_p, buff[128], b_buff[1024];
  int r, object_len, buff_len = 0;
  int count;
  object_len = (int)strlen(expression);
  filt_p = expression;
  if ((*filt_p == '&') || (*filt_p == '|') || (*filt_p == '!')) {
    if (*filt_p == '&')
      b_filt[(*filt_len)++] = 0xa0;
    else if (*filt_p == '|')
      b_filt[(*filt_len)++] = 0xa1;
    else if (*filt_p == '!')
      b_filt[(*filt_len)++] = 0xa2;
    ++filt_p;
    --object_len;
    while (object_len > 0) {
      ++filt_p;
      --object_len;
      end_p = filt_p;
      count = 0;
      while (end_p - filt_p - 1 < object_len) {
        if (*end_p == '(')
          ++count;
        else if (*end_p == ')' && count > 0)
          --count;
        else if (*end_p == ')') {
          ++end_p;
          break;
        }
        ++end_p;
      }
      r = (int)(end_p - filt_p - 1);
      memcpy(buff, filt_p, r);
      buff[r] = 0;
      process_filter(buff, b_buff, &buff_len);
      object_len -= (end_p - filt_p);
      filt_p = end_p;
    }
    {
      if (buff_len < 128) {
        b_filt[(*filt_len)++] = buff_len;
      } else {
        if (buff_len < 256) {
          b_filt[(*filt_len)++] = 0x80 + 1;
          b_filt[(*filt_len)++] = buff_len;
        } else {
          r = 0;
          while ((buff_len >> (r * 8)) > 0)
            r++;
          b_filt[(*filt_len)++] = 0x80 + r;
          while (r > 0) {
            r--;
            b_filt[(*filt_len)++] = (char)(buff_len >> (r * 8));
          }
        }
      }
    }
    memcpy(&b_filt[*filt_len], b_buff, buff_len);
    *filt_len += buff_len;
  } else {
    memcpy(buff, filt_p, object_len);
    buff[object_len] = 0;
    create_ber_filter(buff, b_filt, filt_len);
  }
}
```