A factorization result for generalized Nevanlinna functions of the classN k | doi.page