Univerbation of док (“until/till, while, whilst”) + чи̑м (“as soon as, once, when”). Ultimately the к sound got assimilated into the ч sound through palatalization.
дòчīм (Latin spelling dòčīm)