Does corporate governance affect the relationship between earnings management and firm performance? An endogenous switching regression model