altos: Create ao_data_fill shared function