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

```asm
<flip_E7>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  movq   $0x0,-0x20(%rbp)
  movabs $0x808080808000000,%rax
  and    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  movabs $0x8080808080000,%rax
  and    -0x30(%rbp),%rax
  movabs $0x7f7f7f7f7f00000,%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     L31
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rdx
  movabs $0x8080808080000,%rax
  and    %rdx,%rax
  or     %rax,-0x20(%rbp)
L31:
  movabs $0x102000000,%rax
  and    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  and    $0x2040000,%eax
  mov    %rax,%rdx
  mov    $0xfdf80000,%eax
  or     %rdx,%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x40000,%rax
  and    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L2
  mov    -0x8(%rbp),%rax
  sub    $0x1,%rax
  and    $0x2040000,%eax
  or     %rax,-0x20(%rbp)
L2:
  movabs $0x804020000000,%rax
  and    -0x28(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  movabs $0x4020100000,%rax
  and    -0x30(%rbp),%rax
  movabs $0x7fbfdfe00000,%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     L7
  mov    -0x8(%rbp),%rax
  lea    -0x1(%rax),%rdx
  movabs $0x4020100000,%rax
  and    %rdx,%rax
  or     %rax,-0x20(%rbp)
L7:
  mov    -0x28(%rbp),%rax
  and    $0x300,%eax
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  lea    (%rax,%rax,1),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  and    $0x800,%eax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L46
  mov    -0x18(%rbp),%rax
  mov    %rax,%rdi
  call   <last_bit@plt>
  mov    $0x2,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  mov    $0x800,%eax
  sub    %rdx,%rax
  or     %rax,-0x20(%rbp)
L46:
  mov    -0x28(%rbp),%rax
  and    $0xe000,%eax
  mov    %rax,-0x18(%rbp)
  mov    -0x30(%rbp),%rax
  add    $0x1000,%rax
  and    -0x18(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L49
  mov    -0x8(%rbp),%rax
  sub    $0x1,%rax
  and    $0xf000,%eax
  or     %rax,-0x20(%rbp)
L49:
  mov    -0x20(%rbp),%rax
  leave
  ret
```

assistant: ```c
unsigned long long flip_E7(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 & 0X0808080808000000ULL;
  opp_discs = (discs_opponent & 0X0008080808080000ULL) | 0X07F7F7F7F7F00000ULL;
  r = (opp_discs + 0X0000000000080000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0008080808080000ULL;
  }
  my_discs = discs_player & 0X0000000102000000ULL;
  opp_discs = (discs_opponent & 0X0000000002040000ULL) | 0X00000000FDF80000ULL;
  r = (opp_discs + 0X0000000000040000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0000000002040000ULL;
  }
  my_discs = discs_player & 0X0000804020000000ULL;
  opp_discs = (discs_opponent & 0X0000004020100000ULL) | 0X00007FBFDFE00000ULL;
  r = (opp_discs + 0X0000000000100000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0000004020100000ULL;
  }
  my_discs = discs_player & 0X0000000000000300ULL;
  r = ((my_discs << 1) + discs_opponent) & 0X0000000000000800ULL;
  if (r != 0) {
    flipped |= 0X0000000000000800ULL - (0X2ULL << last_bit(my_discs));
  }
  my_discs = discs_player & 0X000000000000E000ULL;
  r = (discs_opponent + 0X0000000000001000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X000000000000F000ULL;
  }
  return flipped;
}
```