code: def normalize_deps(utilcodes):
      deps = {}
      for utilcode in utilcodes:
          deps[utilcode] = utilcode
  
      def unify_dep(dep):
          if dep in deps:
              return deps[dep]
          else:
              deps[dep] = dep
              return dep
  
      for utilcode in utilcodes:
          utilcode.requires = [
              unify_dep(dep) for dep in utilcode.requires or ()
          ]
  
imports: from __future__ import absolute_import
  import itertools
  from time import time
  from .None import Errors
  from .None import DebugFlags
  from .None import Options
  from .Errors import CompileError, InternalError, AbortError
  from .None import Naming
label_desc: Use image node_id 9 for calling a global function with example usage: normalize_deps(utilcodes) and returns: deps, dep