Univerbation of dok (“until/till, while, whilst”) + čȋm (“as soon as, once, when”). Ultimately the k sound got assimilated into the č sound through palatalization.
dòčīm (Cyrillic spelling до̀чӣм)