Energy between your two examples with average pellet weights (7.2gr .177 & 14.3gr .22) will be about the same. Consider this, the internals of the 13xx do not change between the 1377 and 1322, so all things being equal it is going to build/expend about the same amount of energy no matter the pellet. X amount of pressure can push a pellet of varying weights only to so fast, but the amount of pressure doesn't change. Downrange energy is something different and trajectory will vary between the two (drag, gravity, velocity, etc).
Personally, if shooting at extreme angles like into tree tops, ballistic distance is much shorter so the flatter trajectory of the .177 is no longer a bonus. The .22 will be shooting just as flat at those angles, so less or no holdover. If shooting flat, like for ground squirrels, it's kinda a toss up and what you prefer. I use a .177 spring rifle on them out to ~45 yards and the 1322 out to about 10-15 yards.
-X