The technology giant is facing headwinds as the economy weakens and living costs hit customers.