def METHOD_NAME(platform: PlatformName, bitness: Literal["64", "32"]) -> set[Architecture]:
    archs_32 = {Architecture.i686, Architecture.x86}
    auto_archs = Architecture.auto_archs(platform)
    if bitness == "64":
        return auto_archs - archs_32
    elif bitness == "32":
        return auto_archs & archs_32
    else:
        assert_never(bitness)