public SegmentCommand getSegment(String segmentName) {
		for (SegmentCommand segment : getAllSegments()) {
			if (segment.getSegmentName().equals(segmentName)) {
				return segment;
			}
		}
		return null;
	}
Returns the offset of the MachHeader in the ByteProvider

@return the offset of the MachHeader in the ByteProvider
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/MachHeader.java