code: def _get_ya_make_platform_from_build_native_platform(target_platform):
      platform, arch = target_platform.lower().split("-")
      if arch == "amd64":
          arch = "x86_64"
      if platform == "windows":
          # TODO(akhropov): legacy logic, switch to 'win'
          platform = "win"
      return "default-" + platform + "-" + 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 12 for calling a global function with example usage: _get_ya_make_platform_from_build_native_platform(target_platform) and returns: unknown