Investors have to balance the pain of rising costs with the stock's lower valuation.