US sanctions dented Huawei’s earnings