code: def _build_native_platform_to_jvm_platform(build_native_platform):
      target_system, target_arch = build_native_platform.split("-")
      if target_system == "windows":
          target_system = "win32"
      if target_arch == "amd64":
          target_arch = "x86_64"
      return f"{target_system}-{target_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 8 for calling a global function with example usage: _build_native_platform_to_jvm_platform(build_native_platform) and returns: target_system, str, target_arch