code: def reverse_bits(x: int, n: int) -> int:
      assert x.bit_length() <= n <= 64
      x = reverse64(x)
      x >>= 64 - n
      return x
  
file_path: catboost/contrib/python/hypothesis/py3/hypothesis/internal/conjecture/floats.py
imports: from array import array
  from hypothesis.internal.floats import float_to_int, int_to_float
label_desc: Use image node_id 6 for calling a global function with example usage: reverse_bits(x, n) and returns: x