Modeling magnetic domain-wall evolution in trilayers with structural inversion asymmetry