I would leave this in its original (expanded) form.
Otherwise, we have 3 function calls inside this function which is very often used.
This would incur overhead that I think is better to avoid with this code duplication.