Why put this block so far away from it's first and only user?  Also consider using a ?: expression.

Similarly, while looking at this code, tyc has the same problem.. used in one area of code but defined and initialized on the other side of a loop.  It ought to be moved down unless there's a good reason for the separation.

Restricting this to I64 code doesn't look right.