code: def _unpack_args(*args):
      """Given a list/tuple of arguments previously processed by _plot_sympify()
      and/or _check_arguments(), separates and returns its components:
      expressions, ranges, label and rendering keywords.
  
      Examples
      ========
  
      >>> from sympy import cos, sin, symbols
      >>> from sympy.plotting.utils import _plot_sympify, _unpack_args
      >>> x, y = symbols('x, y')
      >>> args = (sin(x), (x, -10, 10), "f1")
      >>> args = _plot_sympify(args)
      >>> _unpack_args(*args)
      ([sin(x)], [(x, -10, 10)], 'f1', None)
  
      >>> args = (sin(x**2 + y**2), (x, -2, 2), (y, -3, 3), "f2")
      >>> args = _plot_sympify(args)
      >>> _unpack_args(*args)
      ([sin(x**2 + y**2)], [(x, -2, 2), (y, -3, 3)], 'f2', None)
  
      >>> args = (sin(x + y), cos(x - y), x + y, (x, -2, 2), (y, -3, 3), "f3")
      >>> args = _plot_sympify(args)
      >>> _unpack_args(*args)
      ([sin(x + y), cos(x - y), x + y], [(x, -2, 2), (y, -3, 3)], 'f3', None)
      """
      ranges = [t for t in args if _is_range(t)]
      labels = [t for t in args if isinstance(t, str)]
      label = None if not labels else labels[0]
      rendering_kw = [t for t in args if isinstance(t, dict)]
      rendering_kw = None if not rendering_kw else rendering_kw[0]
      # NOTE: why None? because args might have been preprocessed by
      # _check_arguments, so None might represent the rendering_kw
      results = [
          not (
              _is_range(a) or isinstance(a, (str, dict)) or (a is None)
          )
          for a in args
      ]
      exprs = [a for a, b in zip(args, results) if b]
      return exprs, ranges, label, rendering_kw
  
file_path: sympy/sympy/plotting/utils.py
imports: from sympy.core.containers import Tuple
  from sympy.core.basic import Basic
  from sympy.core.expr import Expr
  from sympy.core.function import AppliedUndef
  from sympy.core.relational import Relational
  from sympy.core.symbol import Dummy
  from sympy.core.sympify import sympify
  from sympy.logic.boolalg import BooleanFunction
  from sympy.sets.fancysets import ImageSet
  from sympy.sets.sets import FiniteSet
  from sympy.tensor.indexed import Indexed
label_desc: Use image node_id 6 for calling a global function with example usage: _unpack_args() and returns: exprs,  ranges,  label,  rendering_kw