user: Translate the below assembly code into C programming language:

```asm
<flip_F3>:
  endbr64
  movabs $0x200000000,%rax
  mov    %rdi,%rdx
  push   %r14
  movabs $0x20000000000,%rcx
  movabs $0x404040400,%r14
  shl    $0x9,%rdx
  push   %r13
  movabs $0x40000000000,%r13
  and    %rsi,%rdx
  push   %r12
  mov    %rdi,%r12
  and    %rax,%rdx
  lea    (%rdi,%rdi,1),%rax
  shr    $0x9,%r12
  push   %rbp
  and    %rsi,%rax
  and    %rsi,%r12
  mov    %rdi,%rbp
  push   %rbx
  and    %rcx,%rax
  mov    %rsi,%rbx
  movabs $0x2000000000000,%rcx
  or     %rdx,%rax
  mov    %rdi,%rdx
  shr    $0x7,%rdx
  and    %rsi,%rdx
  and    %rcx,%rdx
  movabs $0x4000000000000,%rcx
  or     %rax,%rdx
  mov    %rdi,%rax
  and    $0x4040404,%edi
  shr    $0x8,%rax
  and    %rsi,%rax
  and    %rcx,%rax
  or     %rdx,%rax
  movabs $0x8000000000000,%rdx
  and    %rdx,%r12
  movabs $0x3fbfbfbf800,%rdx
  or     %rax,%r12
  mov    %rsi,%rax
  and    %r14,%rax
  or     %rdx,%rax
  mov    %rdi,%rdx
  shl    $0x8,%rdx
  add    %rdx,%rax
  test   %r13,%rax
  jne    L42
L43:
  movabs $0x810204000,%r14
  mov    %rbp,%rdi
  mov    %rbx,%rax
  movabs $0x3f7efdf8000,%rdx
  and    $0x10204080,%edi
  and    %r14,%rax
  movabs $0x40000000000,%r13
  or     %rdx,%rax
  mov    %rdi,%rdx
  shl    $0x7,%rdx
  add    %rdx,%rax
  test   %r13,%rax
  jne    L36
L35:
  movabs $0x80000000000,%rax
  add    %rax,%rbx
  movabs $0xf00000000000,%rax
  and    %rbp,%rbx
  and    %rax,%rbx
  je     L41
  movabs $0xf80000000000,%rax
  sub    $0x1,%rbx
  and    %rax,%rbx
  or     %rbx,%r12
L41:
  pop    %rbx
  mov    %r12,%rax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L42:
  call   <last_bit@plt>
  mov    $0x2,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  sub    %rdx,%r13
  and    %r14,%r13
  or     %r13,%r12
  jmp    L43
  nopl   (%rax)
L36:
  call   <last_bit@plt>
  mov    $0x2,%edx
  mov    %eax,%ecx
  shl    %cl,%rdx
  sub    %rdx,%r13
  and    %r14,%r13
  or     %r13,%r12
  jmp    L35
```

assistant: ```c
unsigned long long flip_F3(const unsigned long long discs_player, const unsigned long long discs_opponent) {
  unsigned long long my_discs, opp_discs, r;
  unsigned long long flipped = (discs_opponent & 0X0000000200000000ULL) & (discs_player << 9);
  flipped |= (discs_opponent & 0X0000020000000000ULL) & (discs_player << 1);
  flipped |= (discs_opponent & 0X0002000000000000ULL) & (discs_player >> 7);
  flipped |= (discs_opponent & 0X0004000000000000ULL) & (discs_player >> 8);
  flipped |= (discs_opponent & 0X0008000000000000ULL) & (discs_player >> 9);
  my_discs = discs_player & 0X0000000004040404ULL;
  opp_discs = (discs_opponent & 0X0000000404040400ULL) | 0X000003FBFBFBF800ULL;
  r = ((my_discs << 8) + opp_discs) & 0X0000040000000000ULL;
  if (r != 0) {
    flipped |= (0X0000040000000000ULL - (0X2ULL << last_bit(my_discs))) & 0X0000000404040400ULL;
  }
  my_discs = discs_player & 0X0000000010204080ULL;
  opp_discs = (discs_opponent & 0X0000000810204000ULL) | 0X000003F7EFDF8000ULL;
  r = ((my_discs << 7) + opp_discs) & 0X0000040000000000ULL;
  if (r != 0) {
    flipped |= (0X0000040000000000ULL - (0X2ULL << last_bit(my_discs))) & 0X0000000810204000ULL;
  }
  my_discs = discs_player & 0X0000F00000000000ULL;
  r = (discs_opponent + 0X0000080000000000ULL) & my_discs;
  if (r != 0) {
    flipped |= (r - 1) & 0X0000F80000000000ULL;
  }
  return flipped;
}
```