@SuppressWarnings("unchecked")
	private List<GoRegisterInfo> readFrom(Element rootElem, Language lang) throws IOException {

		List<GoRegisterInfo> result = new ArrayList<>();
		for (Element regInfoElem : (List<Element>) rootElem.getChildren("register_info")) {
			GoRegisterInfo registerInfo = readRegInfoElement(regInfoElem, lang);
			result.add(registerInfo);
		}
		return result;
	}
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