public static DwarfEHDecoder getDecoder(int mode) {

		DwarfEHDecoder dwarfEHDecoder = decoderMap.get(mode);
		if (dwarfEHDecoder != null) {
			return dwarfEHDecoder;
		}

		int format = mode & 0x0F;
		int appl = mode & 0x70;
		boolean isIndirect = (mode & 0x80) == 0x80;

		DwarfEHDataDecodeFormat style = DwarfEHDataDecodeFormat.valueOf(format);
		DwarfEHDataApplicationMode mod = DwarfEHDataApplicationMode.valueOf(appl);

		if ((mode & 0xFF) == 0xFF) {
			dwarfEHDecoder =
				new DW_EH_PE_omit_Decoder(DwarfEHDataApplicationMode.DW_EH_PE_omit, false);
		}
		else {
			dwarfEHDecoder = createDecoder(style, mod, isIndirect);
		}

		decoderMap.put(mode, dwarfEHDecoder);

		return dwarfEHDecoder;
	}
Get the appropriate decoder for the given 8-bit mode; mode is parsed into
decode format, application mode, and indirection flag.
@see #createDecoder(DwarfEHDataDecodeFormat, DwarfEHDataApplicationMode, boolean)
@param mode a byte that indicates an encoding
@return the decoder for the indicated mode of encoding
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/exceptionhandlers/gcc/DwarfDecoderFactory.java