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

```asm
<OR_HOST_REG_B>:
  endbr64
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %edi,%ebp
  mov    %esi,%ebx
  mov    %edi,%edx
  and    %esi,%edx
  test   $0x8,%dl
  je     L147
  test   $0x10,%dil
  jne    L201
  test   $0x10,%sil
  je     L97
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0x44,%edi
  call   <addbyte@plt>
  mov    $0x89,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    $0xe8,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    $0x41,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    %ebp,%edi
  and    $0x7,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
L102:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  ret
L201:
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0x44,%edi
  call   <addbyte@plt>
  mov    $0x89,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  test   $0x10,%bl
  jne    L76
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    $0xe0,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
L19:
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0x41,%edi
  call   <addbyte@plt>
  mov    $0x9,%edi
  call   <addbyte@plt>
  mov    %ebp,%edi
  and    $0x7,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  jmp    L102
L76:
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0x25,%edi
  call   <addbyte@plt>
  mov    $0xff00,%edi
  call   <addword@plt>
  jmp    L19
L97:
  mov    $0x45,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  mov    %ebp,%eax
  and    $0x7,%eax
  or     %eax,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  jmp    L102
L147:
  test   $0x8,%dil
  je     L20
  test   $0x10,%dil
  je     L173
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    %ebx,%edi
  or     $0xe0,%dil
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    $0x66,%edi
  call   <addbyte@plt>
  mov    $0x41,%edi
  call   <addbyte@plt>
  mov    $0x9,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  mov    %ebp,%eax
  and    $0x7,%eax
  or     %eax,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  jmp    L102
L173:
  mov    $0x41,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  mov    %ebp,%eax
  and    $0x7,%eax
  or     %eax,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  jmp    L102
L20:
  test   $0x8,%sil
  je     L150
  test   $0x10,%dil
  jne    L44
L122:
  test   $0x10,%bl
  je     L124
  mov    $0x41,%edi
  call   <addbyte@plt>
  mov    $0xf,%edi
  call   <addbyte@plt>
  mov    $0xb7,%edi
  call   <addbyte@plt>
  and    $0x7,%ebx
  mov    %ebx,%edi
  or     $0xd8,%dil
  call   <addbyte@plt>
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    $0xeb,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    %ebp,%edi
  and    $0x7,%edi
  or     $0xd8,%dil
  call   <addbyte@plt>
  jmp    L102
L44:
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    %ebp,%edi
  and    $0x7,%edi
  or     $0xe8,%dil
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  jmp    L122
L124:
  mov    $0x44,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  mov    %ebp,%eax
  and    $0x7,%eax
  or     %eax,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  jmp    L102
L150:
  test   $0x10,%dil
  jne    L99
L113:
  test   $0x10,%bl
  je     L148
  mov    $0xf,%edi
  call   <addbyte@plt>
  mov    $0xb7,%edi
  call   <addbyte@plt>
  and    $0x7,%ebx
  mov    %ebx,%edi
  or     $0xd8,%dil
  call   <addbyte@plt>
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    $0xeb,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  mov    %ebp,%edi
  and    $0x7,%edi
  or     $0xd8,%dil
  call   <addbyte@plt>
  jmp    L102
L99:
  mov    $0xc1,%edi
  call   <addbyte@plt>
  mov    %ebp,%edi
  and    $0x7,%edi
  or     $0xe8,%dil
  call   <addbyte@plt>
  mov    $0x8,%edi
  call   <addbyte@plt>
  jmp    L113
L148:
  mov    $0x8,%edi
  call   <addbyte@plt>
  lea    0x0(,%rbx,8),%edi
  and    $0x38,%edi
  mov    %ebp,%eax
  and    $0x7,%eax
  or     %eax,%edi
  or     $0xc0,%dil
  call   <addbyte@plt>
  jmp    L102
```

assistant: ```c
void OR_HOST_REG_B(int dst_reg, int src_reg) {
  if (dst_reg & src_reg & 8) {
    if (dst_reg & 0x10) {
      addbyte(0x66);
      addbyte(0x44);
      addbyte(0x89);
      addbyte(0xc0 | ((src_reg & 7) << 3));
      if (!(src_reg & 0x10)) {
        addbyte(0x66);
        addbyte(0xc1);
        addbyte(0xe0);
        addbyte(8);
      } else {
        addbyte(0x66);
        addbyte(0x25);
        addword(0xff00);
      }
      addbyte(0x66);
      addbyte(0x41);
      addbyte(0x09);
      addbyte(0xc0 | (dst_reg & 7));
    } else if (src_reg & 0x10) {
      addbyte(0x66);
      addbyte(0x44);
      addbyte(0x89);
      addbyte(0xc0 | ((src_reg & 7) << 3));
      addbyte(0x66);
      addbyte(0xc1);
      addbyte(0xe8);
      addbyte(8);
      addbyte(0x41);
      addbyte(0x08);
      addbyte(0xc0 | (dst_reg & 7));
    } else {
      addbyte(0x45);
      addbyte(0x08);
      addbyte(0xc0 | (dst_reg & 7) | ((src_reg & 7) << 3));
    }
  } else if (dst_reg & 8) {
    if (dst_reg & 0x10) {
      addbyte(0x66);
      addbyte(0xc1);
      addbyte(0xe0 | src_reg);
      addbyte(0x08);
      addbyte(0x66);
      addbyte(0x41);
      addbyte(0x09);
      addbyte(0xc0 | (dst_reg & 7) | ((src_reg & 7) << 3));
    } else {
      addbyte(0x41);
      addbyte(0x08);
      addbyte(0xc0 | (dst_reg & 7) | ((src_reg & 7) << 3));
    }
  } else if (src_reg & 8) {
    if (dst_reg & 0x10) {
      addbyte(0xc1);
      addbyte(0xe8 | (dst_reg & 7));
      addbyte(8);
    }
    if (src_reg & 0x10) {
      addbyte(0x41);
      addbyte(0x0f);
      addbyte(0xb7);
      addbyte(0xd8 | (src_reg & 7));
      addbyte(0xc1);
      addbyte(0xeb);
      addbyte(8);
      addbyte(0x08);
      addbyte(0xd8 | (dst_reg & 7));
    } else {
      addbyte(0x44);
      addbyte(0x08);
      addbyte(0xc0 | (dst_reg & 7) | ((src_reg & 7) << 3));
    }
  } else {
    if (dst_reg & 0x10) {
      addbyte(0xc1);
      addbyte(0xe8 | (dst_reg & 7));
      addbyte(8);
    }
    if (src_reg & 0x10) {
      addbyte(0x0f);
      addbyte(0xb7);
      addbyte(0xd8 | (src_reg & 7));
      addbyte(0xc1);
      addbyte(0xeb);
      addbyte(8);
      addbyte(0x08);
      addbyte(0xd8 | (dst_reg & 7));
    } else {
      addbyte(0x08);
      addbyte(0xc0 | (dst_reg & 7) | ((src_reg & 7) << 3));
    }
  }
}
```