Describe how you would implement a state machine to manage the transition states of a complex electromechanical assembly at ASML.