SponsorPayLogger.d("ConfigurationRequester", "The signature is valid, proceeding...");
        s = signedserverresponse.getResponseBody();
        if (!StringUtils.notNullNorEmpty(s))
        {
            break MISSING_BLOCK_LABEL_158;
        }
        Object obj = sharedpreferences.edit();
        ((android.content.SharedPreferences.Editor) (obj)).putString("ConfigurationRequester", s);
        if (((android.content.SharedPreferences.Editor) (obj)).commit())
        {
            SponsorPayLogger.d("ConfigurationRequester", "Server Side Configuration has been saved successfully.");
        } else
        {
            SponsorPayLogger.d("ConfigurationRequester", "Failed to save Server Side Configuration.");
        }
_L3:
        obj = s;
        if (StringUtils.nullOrEmpty(s))
        {
            SponsorPayLogger.d("ConfigurationRequester", "No configs from the server, fallback to cached version.");
            obj = sharedpreferences.getString("ConfigurationRequester", "");
            if (StringUtils.nullOrEmpty(((String) (obj))))
            {
                SponsorPayLogger.d("ConfigurationRequester", "There were no cached version to use.");
            } else
            {
                SponsorPayLogger.d("ConfigurationRequester", "Using cached json file");
            }
        }
        overrideConfig(((String) (obj)));
        return signedserverresponse;
_L2:
        SponsorPayLogger.d("ConfigurationRequester", "Invalid signature, those configs will not be used.");
        s = "";
          goto _L3
 private void overrideConfig(String s)
 {
     if (StringUtils.notNullNorEmpty(s))
     {
         s = SPMediationConfigurator.parseConfiguration(s).entrySet().iterator();
         do
         {
             if (!s.hasNext())
             {
                 return;
             }
             Object obj = (java.util.Map.Entry)s.next();
             String s1 = (String)((java.util.Map.Entry) (obj)).getKey();
             obj = (Map)((java.util.Map.Entry) (obj)).getValue();
             Map map = SPMediationConfigurator.INSTANCE.getConfigurationForAdapter(s1);
             if (map != null)
             {
                 ((Map) (obj)).putAll(map);
             }
             SPMediationConfigurator.INSTANCE.setConfigurationForAdapter(s1, ((Map) (obj)));
         } while (true);
     } else
     {
         SponsorPayLogger.d("ConfigurationRequester", "There were no credentials to override");
         return;
     }
 }