def METHOD_NAME(zip_data: bytes, output_dir_name: str):
    """Decompresses a zip and extracts all files to the specified output directory.
    Args:
        zip_data: the input zip data
        output_dir_name: the output directory for extracted content
    """
    if not os.path.exists(output_dir_name):
        raise FileNotFoundError(f'output directory "{output_dir_name}" does not exist')
    if not os.path.isdir(output_dir_name):
        raise NotADirectoryError(f'"{output_dir_name}" is not a valid directory')
    with ZipFile(io.BytesIO(zip_data), "r") as z:
        z.extractall(output_dir_name)