I want to preface this question by stating that it is likely a hyper-technicality, and I am not suggesting any priest is disrespecting the Eucharist and our Lord if they are performing the genuflection incorrectly. It is merely a curiosity of mine as I have seen it done multiple ways.
When a priest reserves the Eucharist in the tabernacle, for example, following communion of the people at Mass, is it correct for the priest to genuflect to the Eucharist before the tabernacle door is shut, after it is shut, or both?