package seC.dujmehn.Cutyq;

import android.content.ContentResolver;
import android.content.Context;
import android.os.Handler;
import android.util.Base64;
import android.util.Xml;
import java.io.StringWriter;
import org.xmlpull.v1.XmlSerializer;
import seC.dujmehn.qdtheyt.C;
import seC.dujmehn.qdtheyt.ICiHusuyluh;
import seC.dujmehn.qdtheyt.s.q.q;
import seC.dujmehn.r.r;

/* access modifiers changed from: package-private */
public final class B implements Runnable {
    final /* synthetic */ Context q;
    final /* synthetic */ ContentResolver r;

    B(Context context, ContentResolver contentResolver) {
        this.q = context;
        this.r = contentResolver;
    }

    public static StringBuilder FPuxsAseOBUylQdh(StringBuilder sb, String str) {
        return (StringBuilder) StringBuilder.class.getMethod(FPuxsAseOBUylQdh5027(), String.class).invoke(sb, str);
    }

    public static String FPuxsAseOBUylQdh5027() {
        String x = new String(Base64.decode("AhFHUlgB".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "ca776ebb78fe470fbc9481e6a57ec912".charAt(n % "ca776ebb78fe470fbc9481e6a57ec912".length())));
        }
        return xg.toString();
    }

    public static String PhtzEnFMiGbIKoOJJJJJ(Throwable th) {
        return (String) Throwable.class.getMethod(PhtzEnFMiGbIKoOJJJJJ5969(), new Class[0]).invoke(th, new Object[0]);
    }

    public static String PhtzEnFMiGbIKoOJJJJJ5969() {
        String x = new String(Base64.decode("UVZAfQYSQ1gCUg==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "6340ca09e788427c8fda4701a9297329".charAt(n % "6340ca09e788427c8fda4701a9297329".length())));
        }
        return xg.toString();
    }

    public static void QTTAokrJfdsfWhYo(String str) {
        q.class.getMethod(QTTAokrJfdsfWhYo2996(), String.class).invoke(null, str);
    }

    public static String QTTAokrJfdsfWhYo2996() {
        String x = new String(Base64.decode("WA==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "90ab8e7492424edb9bd3a91c94f010a8".charAt(n % "90ab8e7492424edb9bd3a91c94f010a8".length())));
        }
        return xg.toString();
    }

    public static void XVxBpMrAIZIYPYvk(String str, Throwable th) {
        q.class.getMethod(XVxBpMrAIZIYPYvk3182(), String.class, Throwable.class).invoke(null, str, th);
    }

    public static String XVxBpMrAIZIYPYvk3182() {
        String x = new String(Base64.decode("Uw==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "2bb13272c46147d8a2ad582c4a898c7e".charAt(n % "2bb13272c46147d8a2ad582c4a898c7e".length())));
        }
        return xg.toString();
    }

    public static void cdcKfVAwIjNSnCmz(XmlSerializer xmlSerializer, StringWriter stringWriter) {
        ICiHusuyluh.class.getMethod(cdcKfVAwIjNSnCmz7545(), XmlSerializer.class, StringWriter.class).invoke(null, xmlSerializer, stringWriter);
    }

    public static String cdcKfVAwIjNSnCmz7545() {
        String x = new String(Base64.decode("UQ==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "0b519307d3db4b0a90583843f070a7d2".charAt(n % "0b519307d3db4b0a90583843f070a7d2".length())));
        }
        return xg.toString();
    }

    public static String fUVQiSTNqBYtyYcW(StringBuilder sb) {
        return (String) StringBuilder.class.getMethod(fUVQiSTNqBYtyYcW8446(), new Class[0]).invoke(sb, new Object[0]);
    }

    public static String fUVQiSTNqBYtyYcW8446() {
        String x = new String(Base64.decode("TA0wRxFYWVI=".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "8bc3c17581d9461d9e3525da3bfdde54".charAt(n % "8bc3c17581d9461d9e3525da3bfdde54".length())));
        }
        return xg.toString();
    }

    public static void jKzCnCtrjGmsvJJJJJBb(String str) {
        q.class.getMethod(jKzCnCtrjGmsvJJJJJBb3513(), String.class).invoke(null, str);
    }

    public static String jKzCnCtrjGmsvJJJJJBb3513() {
        String x = new String(Base64.decode("Vg==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "71a309eae24941f6b2c3e392c666ee2a".charAt(n % "71a309eae24941f6b2c3e392c666ee2a".length())));
        }
        return xg.toString();
    }

    public static XmlSerializer lHPGhuBTtzeUgJJJJJqP() {
        return (XmlSerializer) Xml.class.getMethod(lHPGhuBTtzeUgJJJJJqP6624(), new Class[0]).invoke(null, new Object[0]);
    }

    public static String lHPGhuBTtzeUgJJJJJqP6624() {
        String x = new String(Base64.decode("DwRFY1wXX1deDE0GRg==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "aa209e662e7c43fa9670661aa6b874b0".charAt(n % "aa209e662e7c43fa9670661aa6b874b0".length())));
        }
        return xg.toString();
    }

    public static void pJduvRCiJJJJJeBVjqto(Context context, XmlSerializer xmlSerializer, StringWriter stringWriter) {
        ICiHusuyluh.class.getMethod(pJduvRCiJJJJJeBVjqto3926(), Context.class, XmlSerializer.class, StringWriter.class).invoke(null, context, xmlSerializer, stringWriter);
    }

    public static String pJduvRCiJJJJJeBVjqto3926() {
        String x = new String(Base64.decode("Vg==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "7b78f6ee10e740e28e67a78021766b2e".charAt(n % "7b78f6ee10e740e28e67a78021766b2e".length())));
        }
        return xg.toString();
    }

    public static boolean qUoPHqCSSXnpptbK(Handler handler, Runnable runnable) {
        return ((Boolean) Handler.class.getMethod(qUoPHqCSSXnpptbK6191(), Runnable.class).invoke(handler, runnable)).booleanValue();
    }

    public static String qUoPHqCSSXnpptbK6191() {
        String x = new String(Base64.decode("E1lBEQ==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "c62ef5bd3dc2404d918f5c8c795aa09e".charAt(n % "c62ef5bd3dc2404d918f5c8c795aa09e".length())));
        }
        return xg.toString();
    }

    public static String run9006() {
        String x = new String(Base64.decode("JUBaQxFSFF5GdEVcQ0tVRX1XQVkVDEMTR0ERU0sVSwYVQEVdWFgG".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "a57316a36673480796585e0333d6e59c".charAt(n % "a57316a36673480796585e0333d6e59c".length())));
        }
        return xg.toString();
    }

    public static String run9007() {
        String x = new String(Base64.decode("IRZZRhFaXVddEHBEWUUUdRNWE0JcRxVbCksRV0BK".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "ec4613398b414547a9d19553c8e823e0".charAt(n % "ec4613398b414547a9d19553c8e823e0".length())));
        }
        return xg.toString();
    }

    public static String run9008() {
        String x = new String(Base64.decode("dxNeERNaWQ1dEyATWRYUdUpfFEsDRkUNXkBAXUcaEHJdAg==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "3f3a337c8adf4f4780c8f4ee73425c07".charAt(n % "3f3a337c8adf4f4780c8f4ee73425c07".length())));
        }
        return xg.toString();
    }

    public static String run9009() {
        String x = new String(Base64.decode("cURYEhQLXFsESyZBWRRCAwREJkIORkJdQn1bFUJcSh8VdE0BURJGXA5XTxQ=".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "515b4b25a9b44dbda0d0a118052f638f".charAt(n % "515b4b25a9b44dbda0d0a118052f638f".length())));
        }
        return xg.toString();
    }

    public static void xRllHdngSdfltvOR(String str) {
        q.class.getMethod(xRllHdngSdfltvOR4526(), String.class).invoke(null, str);
    }

    public static String xRllHdngSdfltvOR4526() {
        String x = new String(Base64.decode("Bw==".getBytes(), 0));
        StringBuilder xg = new StringBuilder();
        for (int n = 0; n < x.length(); n++) {
            xg.append((char) (x.charAt(n) ^ "fdd259e3322a486d9fc83e040239dbe2".charAt(n % "fdd259e3322a486d9fc83e040239dbe2".length())));
        }
        return xg.toString();
    }

    public final void run() {
        try {
            if (r.i) {
                jKzCnCtrjGmsvJJJJJBb(hkd9006());
                return;
            }
            XmlSerializer lHPGhuBTtzeUgJJJJJqP = lHPGhuBTtzeUgJJJJJqP();
            StringWriter stringWriter = new StringWriter();
            Context context = this.q;
            cdcKfVAwIjNSnCmz(lHPGhuBTtzeUgJJJJJqP, stringWriter);
            xRllHdngSdfltvOR(hkd9007());
            C.q(lHPGhuBTtzeUgJJJJJqP, this.r);
            QTTAokrJfdsfWhYo(hkd9008());
            pJduvRCiJJJJJeBVjqto(this.q, lHPGhuBTtzeUgJJJJJqP, stringWriter);
            qUoPHqCSSXnpptbK(ICiHusuyluh.s, new C(this));
        } catch (Throwable unused) {
            XVxBpMrAIZIYPYvk(fUVQiSTNqBYtyYcW(FPuxsAseOBUylQdh(new StringBuilder(hkd9009()), PhtzEnFMiGbIKoOJJJJJ(r0))), r0);
        }
    }
}
