def METHOD_NAME(name):
  match = re.fullmatch(r"xnn_cs16_bfly4(_samples(\d+))?_ukernel__(.+)(_x(\d+))?", name)
  assert match is not None, name
  if match.group(2):
    samples = int(match.group(2))
  else:
    samples = 0
  if match.group(5):
    samples_tile = int(match.group(5))
  else:
    samples_tile = 1
  arch, isa, assembly = xnncommon.parse_target_name(target_name=match.group(3))
  return samples, samples_tile, arch, isa, assembly