public boolean specializes(DisjointPattern op2) {
		PatternBlock a, b;

		a = getBlock(false);
		b = op2.getBlock(false);
		if (b != null) {		// a must match existing block
			if (a == null) {
				return false;
			}
			if (!a.specializes(b)) {
				return false;
			}
		}
		a = getBlock(true);
		b = op2.getBlock(true);
		if (b != null) {		// a must match existing block
			if (a == null) {
				return false;
			}
			if (!a.specializes(b)) {
				return false;
			}
		}
		return true;
	}
A pattern with no ORs in it
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/pattern/DisjointPattern.java