private Register getBestFitRegister(Register reg, int size) {
		while (reg.getMinimumByteSize() > size && reg.hasChildren()) {
			reg = reg.getChildRegisters().get(0);
		}
		return reg;
	}
Creates a new golang function call storage allocator for the specified Ghidra Language.
<p>
See {@link GoRegisterInfoManager#getRegisterInfoForLang(Language, GoVer)}

@param program {@link Program}
@param goVersion version of go used to create the program
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/GoParamStorageAllocator.java