SMM: update code pass to skip management functions correctly