From Wiktionary, the free dictionary
Literally, “to take the pains”.
tomar as dores (first-person singular present tomo as dores, first-person singular preterite tomei as dores, past participle tomado as dores)
- (idiomatic) to assume the responsibility for the problems [with de ‘of someone’]