How do I enter rollover from after-tax 401K split between Roth IRA and regular IRA ?

I had made after-tax contributions to my fidelity 401K account. After about a year, I rolled over the after-tax contributions to my Roth IRA account ("mega backdoor Roth IRA"), and the investment gains on those contributions to a regular IRA (to defer paying taxes on them). 

I am unable to figure out how to enter this information through the 1099-R section on turbotax online. It doesn't seem to support an option for indicating that part of the rollover is non-taxable (the Roth IRA portion) and part is tax deferred (regular IRA portion). 

Thanks.