code: def _decons_group_index(
      comp_labels: npt.NDArray[np.intp], shape: Shape
  ) -> list[npt.NDArray[np.intp]]:
      # reconstruct labels
      if is_int64_overflow_possible(shape):
          # at some point group indices are factorized,
          # and may not be deconstructed here! wrong path!
          raise ValueError(
              "cannot deconstruct factorized group indices!"
          )
  
      label_list = []
      factor = 1
      y = np.array(0)
      x = comp_labels
      for i in reversed(range(len(shape))):
          labels = (x - y) % (factor * shape[i]) // factor
          np.putmask(labels, comp_labels < 0, -1)
          label_list.append(labels)
          y = labels * factor
          factor *= shape[i]
      return label_list[::-1]
  
imports: from __future__ import annotations
  from collections import defaultdict
  from typing import TYPE_CHECKING, Callable, DefaultDict, Hashable, Iterable, Sequence, cast
  import numpy
  from pandas._libs import algos, hashtable, lib
  from pandas._libs.hashtable import unique_label_indices
  from pandas._typing import AxisInt, IndexKeyFunc, Level, NaPosition, Shape, SortKind, npt
  from pandas.core.dtypes.common import ensure_int64, ensure_platform_int, is_extension_array_dtype
  from pandas.core.dtypes.generic import ABCMultiIndex, ABCRangeIndex
  from pandas.core.dtypes.missing import isna
  from pandas.core.construction import extract_array
label_desc: Use image node_id 5 for calling a global function with example usage: _decons_group_index(comp_labels, shape) and returns: label_list