descrambler: use inlines for key conditions, fix the key_late() condition