hygiene: Rewrite apply_mark_internal to be more understandable
#139083
+71
−70
apply_mark_internal to be more understandable
#139083