Qualcomm faces the loss of Apple’s business and the negative impact of high memory costs on overall smartphone demand.