user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<flip_D7>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  movq   $0x0,-0x20(%rbp)
  movabs $0x1010101010000000,%rax
  and    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  movabs $0x10101010100000,%rax
  and    -0x30(%rbp),%rax
  movabs $0xfefefefefe00000,%rdx
  or     %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x100000,%rax
  and    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L27
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rdx
  movabs $0x10101010100000,%rax
  and    %rdx,%rax
  or     %rax,-0x20(%rbp)
L27:
  movabs $0x10204000000,%rax
  and    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  movabs $0x204080000,%rax
  and    -0x30(%rbp),%rax
  movabs $0xfdfbf00000,%rdx
  or     %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x80000,%rax
  and    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L42
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rdx
  movabs $0x204080000,%rax
  and    %rdx,%rax
  or     %rax,-0x20(%rbp)
L42:
  movabs $0x8040000000,%rax
  and    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  and    $0x40200000,%eax
  mov    %rax,%rdx
  movabs $0x7fbfc00000,%rax
  or     %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x200000,%rax
  and    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L0
  mov    -0x8(%rbp),%rax
  sub    $0x1,%rax
  and    $0x40200000,%eax
  or     %rax,-0x20(%rbp)
L0:
  mov    -0x28(%rbp),%rax
  and    $0x700,%eax
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  and    $0x1000,%eax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L7
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <last_bit@plt>
  mov    $0x2,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    $0x1000,%eax
  sub    %rdx,%rax
  or     %rax,-0x20(%rbp)
L7:
  mov    -0x28(%rbp),%rax
  and    $0xc000,%eax
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x2000,%rax
  and    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L45
  mov    -0x8(%rbp),%rax
  sub    $0x1,%rax
  and    $0xe000,%eax
  or     %rax,-0x20(%rbp)
L45:
  mov    -0x20(%rbp),%rax
  leave
  ret
```

assistant: ```c
unsigned long long flip_D7(const unsigned long long discs_player, const unsigned long long discs_opponent) {
  unsigned long long my_discs, opp_discs, r, flipped = 0ULL;
  my_discs = discs_player & 0X1010101010000000ULL;
  opp_discs = (discs_opponent & 0X0010101010100000ULL) | 0X0FEFEFEFEFE00000ULL;
  r = (opp_discs + 0X0000000000100000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0010101010100000ULL;
  }
  my_discs = discs_player & 0X0000010204000000ULL;
  opp_discs = (discs_opponent & 0X0000000204080000ULL) | 0X000000FDFBF00000ULL;
  r = (opp_discs + 0X0000000000080000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0000000204080000ULL;
  }
  my_discs = discs_player & 0X0000008040000000ULL;
  opp_discs = (discs_opponent & 0X0000000040200000ULL) | 0X0000007FBFC00000ULL;
  r = (opp_discs + 0X0000000000200000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0000000040200000ULL;
  }
  my_discs = discs_player & 0X0000000000000700ULL;
  r = ((my_discs << 1) + discs_opponent) & 0X0000000000001000ULL;
  if (r != 0) {
    flipped |= 0X0000000000001000ULL - (0X2ULL << last_bit(my_discs));
  }
  my_discs = discs_player & 0X000000000000C000ULL;
  r = (discs_opponent + 0X0000000000002000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X000000000000E000ULL;
  }
  return flipped;
}
```