code: def _invert(x: int, total_size: int) -> int:
      """Flips every bit of x as if x was an unsigned integer."""
      # use XOR of x and 0xFFFFFF to get the inverse
      return x ^ (2**total_size - 1)
  
imports: import copy
  from typing import List
label_desc: Use image node_id 6 for calling a global function with example usage: _invert(x, total_size) and returns: unknown