2022 1099R Box 15 and 16

I was a resident in one state for 7 months and become a resident in another state the remaining 5 months of 2022.  The amount reflected in Box 16 for each state isn't proportinate to the number of months that I was a resident in that given state.  What should I do?  When entering in the amounts on my Federal return should I enter the amounts that are right on the 1099R or should I just enter the correct proporinate amount so not to mess up that information pulled from my Federal taxes to the state taxes?