public RegisterTree getRegisterTree(Register register1) {
		if (this.register == register1) {
			return this;
		}
		for (RegisterTree child : children) {
			RegisterTree tree = child.getRegisterTree(register1);
			if (tree != null) {
				return tree;
			}
		}
		return null;
	}
Returns the RegisterTree for the given register if one exists in this RegisterTree object.
@param  register1 The register for which to get a RegisterTree.
@return The RegisterTree for the given register if one exists in this RegisterTree object.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/RegisterTree.java