Need wiring diagram

Switch was removed and fell apart not sure where wires went. 8 wires coming from motor