code: def _get_map_slots(size, fixed_slots):
      res = list(range(size))
      pos = 0
      for i in range(size):
          if i in fixed_slots:
              continue
          res[i] = pos
          pos += 1
      return res
  
imports: from sympy.combinatorics.permutations import Permutation, _af_rmul, _af_invert, _af_new
  from sympy.combinatorics.perm_groups import PermutationGroup, _orbit, _orbit_transversal
  from sympy.combinatorics.util import _distribute_gens_by_base, _orbits_transversals_from_bsgs
label_desc: Use image node_id 9 for calling a global function with example usage: _get_map_slots(size, fixed_slots) and returns: res