ALSA: oxfw: gather model-dependent conditions to a function