code: def _get_platform_resources_dir(parsed_args):
      if parsed_args.macos_universal_binaries:
          return "darwin-universal2"
      elif parsed_args.target_platform is not None:
          return _build_native_platform_to_jvm_platform(
              parsed_args.target_platform
          )
      else:
          return "".join((_get_platform(), "-", _get_arch()))
  
imports: from __future__ import absolute_import, print_function
  import argparse
  import errno
  import os
  import platform
  import re
  import shutil
  import subprocess
  import sys
  import zipfile
label_desc: Use image node_id 9 for calling a global function with example usage: _get_platform_resources_dir(parsed_args) and returns: str, _build_native_platform_to_jvm_platform, str