public synchronized GoRegisterInfo getRegisterInfoForLang(Language lang, GoVer goVer) {
		List<GoRegisterInfo> registerInfos = loadRegisterInfo(lang);
		for(GoRegisterInfo registerInfo : registerInfos) {
			if ( registerInfo.getValidVersions().contains(goVer)) {
				return registerInfo;
			}
		}
		
		int goSize = lang.getInstructionAlignment();
		Msg.warn(this, "Missing Golang register info for: %s, defaulting to abi0, size=%d"
				.formatted(lang.getLanguageID(), goSize));
		return getDefault(lang);
	}
Returns a {@link GoRegisterInfo} instance for the specified {@link Language}.
<p>
If the language didn't define golang register info, a generic/empty instance will be
returned that forces all parameters to be stack allocated.

@param lang {@link Language}
@param goVer {@link GoVer}
@return {@link GoRegisterInfo}, never null
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/GoRegisterInfoManager.java