@Override
	public DataType toDataType() throws DuplicateNameException, IOException {
		StructureDataType struct = new StructureDataType("x86_THREAD_STATE64", 0);
		struct.add(QWORD, "rax", null);
		struct.add(QWORD, "rbx", null);
		struct.add(QWORD, "cx", null);
		struct.add(QWORD, "rdx", null);
		struct.add(QWORD, "rdi", null);
		struct.add(QWORD, "rsi", null);
		struct.add(QWORD, "rbp", null);
		struct.add(QWORD, "rsp", null);
		struct.add(QWORD, "r8", null);
		struct.add(QWORD, "r9", null);
		struct.add(QWORD, "r10", null);
		struct.add(QWORD, "r11", null);
		struct.add(QWORD, "r12", null);
		struct.add(QWORD, "r13", null);
		struct.add(QWORD, "r14", null);
		struct.add(QWORD, "r15", null);
		struct.add(QWORD, "rip", null);
		struct.add(QWORD, "rflags", null);
		struct.add(QWORD, "cs", null);
		struct.add(QWORD, "fs", null);
		struct.add(QWORD, "gs", null);
		struct.setCategoryPath(new CategoryPath(MachConstants.DATA_TYPE_CATEGORY));
		return struct;
	}
Represents a _STRUCT_X86_THREAD_STATE64 structure.

@see <a href="https://opensource.apple.com/source/xnu/xnu-4570.71.2/osfmk/mach/i386/_structs.h.auto.html">mach/i386/_structs.h</a>
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/threadcommand/ThreadStateX86_64.java