Speed up Squawk Decode

Re-write to avoid multiple reads of the same memory variable.