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

```asm
<attach_mkap_conn_filter>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x90,%rsp
  mov    %edi,-0x84(%rbp)
  mov    %esi,-0x88(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    D90(%rip),%rax
  mov    (%rax),%edx
  mov    D550(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D602(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x74(%rbp)
  mov    D90(%rip),%rax
  mov    (%rax),%edx
  mov    D550(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D602(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0xe,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x60(%rbp)
  mov    D446(%rip),%rax
  mov    (%rax),%edx
  mov    D76(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D17(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0xc,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x5c(%rbp)
  mov    D308(%rip),%rax
  mov    (%rax),%edx
  mov    D238(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x2,%ecx
  mov    $0x0,%edx
  mov    $0x8100,%esi
  mov    %eax,%edi
  call   <BPF_JUMP@plt>
  mov    %eax,-0x58(%rbp)
  mov    D90(%rip),%rax
  mov    (%rax),%edx
  mov    D550(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D602(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x12,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x54(%rbp)
  mov    D446(%rip),%rax
  mov    (%rax),%edx
  mov    D76(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D17(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x10,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x50(%rbp)
  mov    D209(%rip),%rax
  mov    (%rax),%eax
  mov    D308(%rip),%rdx
  mov    (%rdx),%ecx
  mov    D238(%rip),%rdx
  mov    (%rdx),%edx
  or     %edx,%ecx
  mov    D460(%rip),%rdx
  mov    (%rdx),%edx
  or     %edx,%ecx
  mov    %ecx,%edi
  mov    $0xc,%ecx
  mov    $0x0,%edx
  mov    %eax,%esi
  call   <BPF_JUMP@plt>
  mov    %eax,-0x4c(%rbp)
  mov    D446(%rip),%rax
  mov    (%rax),%edx
  mov    D102(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D402(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x9,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x48(%rbp)
  mov    D81(%rip),%rax
  mov    (%rax),%eax
  mov    D308(%rip),%rdx
  mov    (%rdx),%ecx
  mov    D238(%rip),%rdx
  mov    (%rdx),%edx
  or     %edx,%ecx
  mov    D460(%rip),%rdx
  mov    (%rdx),%edx
  or     %edx,%ecx
  mov    %ecx,%edi
  mov    $0xa,%ecx
  mov    $0x0,%edx
  mov    %eax,%esi
  call   <BPF_JUMP@plt>
  mov    %eax,-0x44(%rbp)
  mov    D446(%rip),%rax
  mov    (%rax),%edx
  mov    D102(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D402(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x40(%rbp)
  mov    D392(%rip),%rax
  mov    (%rax),%edx
  mov    D39(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0xf,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x3c(%rbp)
  mov    D392(%rip),%rax
  mov    (%rax),%edx
  mov    D382(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x4,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x38(%rbp)
  mov    D392(%rip),%rax
  mov    (%rax),%edx
  mov    D78(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D146(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x34(%rbp)
  mov    D145(%rip),%rax
  mov    (%rax),%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x30(%rbp)
  mov    D90(%rip),%rax
  mov    (%rax),%edx
  mov    D550(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D438(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x2c(%rbp)
  mov    D446(%rip),%rax
  mov    (%rax),%edx
  mov    D76(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D402(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x28(%rbp)
  mov    D308(%rip),%rax
  mov    (%rax),%edx
  mov    D238(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%ecx
  mov    $0x3,%edx
  mov    $0xd431,%esi
  mov    %eax,%edi
  call   <BPF_JUMP@plt>
  mov    %eax,-0x24(%rbp)
  mov    D446(%rip),%rax
  mov    (%rax),%edx
  mov    D76(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D402(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x2,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x20(%rbp)
  mov    D308(%rip),%rax
  mov    (%rax),%edx
  mov    D238(%rip),%rax
  mov    (%rax),%eax
  or     %eax,%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%ecx
  mov    $0x1,%edx
  mov    $0xd431,%esi
  mov    %eax,%edi
  call   <BPF_JUMP@plt>
  mov    %eax,-0x1c(%rbp)
  mov    D378(%rip),%rax
  mov    (%rax),%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0xffffff,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x18(%rbp)
  mov    D378(%rip),%rax
  mov    (%rax),%edx
  mov    D460(%rip),%rax
  mov    (%rax),%eax
  or     %edx,%eax
  mov    $0x0,%esi
  mov    %eax,%edi
  call   <BPF_STMT@plt>
  mov    %eax,-0x14(%rbp)
  lea    -0x70(%rbp),%rax
  mov    $0x10,%edx
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <memset@plt>
  movl   $0x14,-0x70(%rbp)
  lea    -0x60(%rbp),%rax
  mov    %rax,-0x68(%rbp)
  cmpl   $0xc,-0x88(%rbp)
  jne    L10
  mov    -0x74(%rbp),%eax
  mov    %eax,-0x4c(%rbp)
  mov    -0x70(%rbp),%eax
  sub    $0x5,%eax
  mov    %eax,-0x70(%rbp)
  lea    -0x60(%rbp),%rax
  add    $0x14,%rax
  mov    %rax,-0x68(%rbp)
L10:
  mov    D30(%rip),%rax
  mov    (%rax),%edx
  mov    D224(%rip),%rax
  mov    (%rax),%esi
  lea    -0x70(%rbp),%rcx
  mov    -0x84(%rbp),%eax
  mov    $0x10,%r8d
  mov    %eax,%edi
  call   <setsockopt@plt>
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L1
  call   <__stack_chk_fail@plt>
L1:
  leave
  ret
```

assistant: ```c
int attach_mkap_conn_filter(int sock, unsigned int linktype) {
  struct sock_filter raw_ip_patch = BPF_STMT(BPF_LDX | BPF_W | BPF_IMM, 0);
  struct sock_filter filter_instr[] = {
      BPF_STMT(BPF_LDX | BPF_W | BPF_IMM, 14), BPF_STMT(BPF_LD | BPF_H | BPF_ABS, 12), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x8100, 0, 2), BPF_STMT(BPF_LDX | BPF_W | BPF_IMM, 18), BPF_STMT(BPF_LD | BPF_H | BPF_ABS, 16), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, ETH_P_IP, 0, 12), BPF_STMT(BPF_LD | BPF_B | BPF_IND, 9), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, IPPROTO_TCP, 0, 10), BPF_STMT(BPF_LD | BPF_B | BPF_IND, 0), BPF_STMT(BPF_ALU | BPF_AND | BPF_K, 0x0F), BPF_STMT(BPF_ALU | BPF_MUL | BPF_K, 4), BPF_STMT(BPF_ALU | BPF_ADD | BPF_X, 0), BPF_STMT(BPF_ST, 0), BPF_STMT(BPF_LDX | BPF_W | BPF_MEM, 0), BPF_STMT(BPF_LD | BPF_H | BPF_IND, 0), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 54321, 3, 0), BPF_STMT(BPF_LD | BPF_H | BPF_IND, 2), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 54321, 1, 0), BPF_STMT(BPF_RET | BPF_K, 0x00FFFFFF), BPF_STMT(BPF_RET | BPF_K, 0),
  };
  struct sock_fprog filter_prog;
  memset(&filter_prog, 0, sizeof(filter_prog));
  filter_prog.len = sizeof(filter_instr) / sizeof(filter_instr[0]);
  filter_prog.filter = filter_instr;
  if (linktype == 12) {
    filter_instr[5] = raw_ip_patch;
    filter_prog.len -= 5;
    filter_prog.filter = &filter_instr[5];
  }
  return setsockopt(sock, SOL_SOCKET, SO_ATTACH_FILTER, &filter_prog, sizeof(filter_prog));
}
```