Though it feels unnecessarily large and could probably be simplified (to its benefit), the optimizations here are great and choices are relatively dense for its length.
Feels like a precursor to the reach-around lock (which we can thank for Memories of Light) but I dislike how simple this solution is and how underutilized most of this structure is.