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

```asm
<process_wifi_frame>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  mov    %rdx,-0x18(%rbp)
  mov    %ecx,-0x1c(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  cmp    $0xd4,%eax
  jg     L89
  cmp    $0xa0,%eax
  jge    L97
  cmp    $0x88,%eax
  je     L24
  cmp    $0x88,%eax
  jg     L89
  cmp    $0x80,%eax
  je     L12
  cmp    $0x80,%eax
  jg     L89
  cmp    $0x50,%eax
  je     L299
  cmp    $0x50,%eax
  jg     L89
  cmp    $0x48,%eax
  je     L21
  cmp    $0x48,%eax
  jg     L89
  cmp    $0x40,%eax
  je     L85
  cmp    $0x40,%eax
  jg     L89
  cmp    $0x30,%eax
  je     L237
  cmp    $0x30,%eax
  jg     L89
  cmp    $0x20,%eax
  je     L127
  cmp    $0x20,%eax
  jg     L89
  cmp    $0x10,%eax
  je     L130
  cmp    $0x10,%eax
  jg     L89
  test   %eax,%eax
  je     L150
  cmp    $0x8,%eax
  je     L35
  jmp    L89
L97:
  sub    $0xa0,%eax
  cmp    $0x34,%eax
  ja     L89
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D6(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D6(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
L150:
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_associate_request@plt>
  jmp    L348
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_disassociate_request@plt>
  jmp    L348
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_deauthentication@plt>
  jmp    L348
L12:
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_beacon@plt>
  jmp    L348
L85:
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_probe@plt>
  jmp    L348
L299:
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_proberesponse@plt>
  jmp    L348
L35:
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x40,%eax
  test   %eax,%eax
  jne    L305
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_data@plt>
  jmp    L348
L24:
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  movzbl (%rax),%eax
  movzbl %al,%eax
  and    $0x40,%eax
  test   %eax,%eax
  jne    L99
  mov    -0x1c(%rbp),%ecx
  mov    -0x18(%rbp),%rdx
  mov    -0x10(%rbp),%rsi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <process_wifi_data@plt>
  jmp    L348
L89:
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  movzbl %al,%edx
  mov    -0x10(%rbp),%rax
  lea    D27(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <FRAMERR@plt>
  jmp    L348
L21:
  nop
  jmp    L348
L237:
  nop
  jmp    L348
L127:
  nop
  jmp    L348
L130:
  nop
  jmp    L348
  nop
  jmp    L348
L305:
  nop
  jmp    L348
L99:
  nop
L348:
  nop
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D27
type_infered: string

tool: D27: unknown wifi packet [0x%02x]


assistant: ```c
void process_wifi_frame(struct Seaper *seap, struct NetFrame *frame, const unsigned char *px, unsigned length) {
  switch (px[0]) {
  case 0x00:
    process_wifi_associate_request(seap, frame, px, length);
    break;
  case 0xa0:
    process_wifi_disassociate_request(seap, frame, px, length);
    break;
  case 0xc0:
    process_wifi_deauthentication(seap, frame, px, length);
    break;
  case 0x10:
    break;
  case 0xD4:
    break;
  case 0x80:
    process_wifi_beacon(seap, frame, px, length);
    break;
  case 0x40:
    process_wifi_probe(seap, frame, px, length);
    break;
  case 0x50:
    process_wifi_proberesponse(seap, frame, px, length);
    break;
  case 0x08:
    if (px[1] & 0x40)
      break;
    process_wifi_data(seap, frame, px, length);
    break;
  case 0x88:
    if (px[1] & 0x40)
      break;
    process_wifi_data(seap, frame, px, length);
    break;
  case 0x48:
    break;
  case 0xb0:
    break;
  case 0xb4:
    break;
  case 0xC4:
    break;
  case 0x30:
    break;
  case 0xc8:
    break;
  case 0xa4:
    break;
  case 0x20:
    break;
  default:
    FRAMERR(frame, "unknown wifi packet [0x%02x]\n", px[0]);
  }
}
```