Complex sentence: It is derived from the Gaelic "MacLachlainn", which is in turn a patronymic form of the Gaelic personal name "Lachlann".
Split into simpler sentences: It is derived from the Gaelic "MacLachlainn". The latter name is a patronymic form of the Gaelic personal name "Lachlann".