package com.apiguard3.domain;

import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.PhoneNumberUtils;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.webkit.URLUtil;
import android.widget.ExpandableListView;
import com.apiguard3.internal.checkCertificates;
import com.apiguard3.internal.getMethod;
import com.apiguard3.internal.getState;
import com.apiguard3.internal.log;
import com.apiguard3.internal.rm;
import com.apiguard3.url_matcher.UriFilter;
import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;
import java.io.Serializable;
import java.nio.charset.Charset;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;

public class Config implements Serializable {
    public static int AGRequest = 0;
    public static byte[] AGRequest$Builder = null;
    public static int addHeader = 0;
    public static int delete = 0;
    public static Config getBody = null;
    public static final Integer getHeaders = Integer.valueOf(log.getBody.getBody.getBody());
    public static int getMethod = 0;
    public static final Map<String, rm> getUrl = Collections.unmodifiableMap((Map) ((Class) getMethod.AGRequest((char) (22933 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), TextUtils.indexOf("", "") + 29, View.getDefaultSize(0, 0) + 1077)).getDeclaredConstructor((Class[]) null).newInstance((Object[]) null));
    public static int head = 0;
    public static char[] method = null;
    public static short[] newBuilder = null;
    public static final long serialVersionUID = 623200184570711875L;
    public static long url;
    public int bodyXsumMaxLength = -1;
    public Map<String, String> cvmCodeMap;
    public Map<String, String> cvmDigestMap;
    public Boolean cvmEnabled;
    public Integer debugLevel = Integer.valueOf(log.getBody.getHeaders.getBody());
    public String id;
    public String kernel;
    public String kernelId;
    public String kernelPatch;
    public long maxUpdateIntervalInMilliseconds = -1;
    public long minUpdateIntervalInMilliseconds = -1;
    public Boolean nativeHeaderCachingEnabled;
    public String nativeSignalHeaderPrefix;
    public Integer rtd;
    public Boolean storePersistentID;
    public Integer support;
    public long ttlInMilliSeconds = -1;
    public String updateHeaderName;
    public long updateTimeoutInMilliseconds = -1;
    public String updateURL;
    public Map<String, String> updateURLMap;
    public UriFilter uriBypass2;
    public com.apiguard3.network.UriFilter uriFilter;
    public UriFilter uriFilter2;
    public int urlXsumMaxLength = -1;
    public String version;

    public static void getSharedInstance() {
        addHeader = -1694036294;
        getMethod = 794243196;
        AGRequest$Builder = new byte[]{-49, -13, 42, 30, -43, -52, -43, -17, 15, -14, 83, -83, 10, 73, -76, 7, -9, -4, 13, -6, 75, -70, -3, 73, -84, 15, -14, 83, -69, 3, 66, -84, 1, -2, 8, 77, -68, 27, -35, 7, -9, -4, 13, -6, -11, -16, 9, 11, -21, 86, -65, 65, -69, -17, 21, -7, 72, -84, 1, -2, 8, 77, -69, -8, 12, -13, 78, -82, 13, 1, 3, -4, -3, 72, -69, -15, 19, -3, -12, 27, 53, -76, 7, -9, -4, 13, -6, -52, -8, -47, -1, 6, -10, 1, 13, -17, -52, -5, -30, 15, 3, 1, -13, 34, -34, 13, 1, 3, -4, 29, -36, 11, -13, 7, -2, 22, -18, -17, 13, -11, 19, -13, -44, -65, 0, 18, -15, -9, 55, -39, -9, -3, -53, -53, -49, 11, -25, -14, -1, -46, -5, -7, -21, -13, 3, -5, 1, -45, -9, 19, -34, -7, 10, 1, -13, 9, -47, 2, 3, -1, 0, -5, 2, -36, -12, 13, -7, 9, 25, -33, -8, 2, 8, 8, -2, -3, 37, -54, 21, -11, 13, -46, 27, -35, 7, -9, -4, 13, -6};
        AGRequest = 54;
        method = new char[]{45020, 58133, 13866, 18736, 40000, 12099, 25197, 46450, 51345, 7086, 44793, 57804, 13522, 18413, 39671, 11790, 24850, 46126, 51035, 6750, 44409, 57466, 13198, 18073, 39397, 11480, 32713, 45802, 50686, 6410, 44055, 65326, 12848, 17759, 25717, 10388, 64947, 33464, 22485, 58584, 43439, 32490, 770, 53282, 25913, 10816, 65375, 35885, 20855, 58764, 43674, 32689, 3266, 53699, 26275, 11251, 63502, 36116, 21038, 59141, 46170, 31092, 3680, 53913, 26591, 13473, 63930, 36547, 21474, 57521, 46338, 31325, 3897, 56376, 24903, 13936, 64370, 10705, 25933, 'M', 19599, 39344, 59052, 13271, 32980, 52729, 6887, 26388, 46206, 314, 20063, 39770, 59493, 13677, 33181, 52878, 60602, 41050, 30079, 2677, 57100, 27675, 8469, 63026, 35797, 22764, 60917, 'u', 19614, 39352, 59051, 13260, 32963, 52700, 6887, 26385, 46138, 297, 20040, 39782, 59511, 13673, 33175, 'u', 19614, 39352, 59051, 13260, 32963, 52673, 6864, 26428, 46099, 301, 20042, 'u', 19612, 39349, 59020, 13265, 32970, 52704, 6887, 26370, 46188, 'c', 19589, 2758, 'e', 19584, 39357, 59048, 13268, 32963, 52698, 6858, 26419, 'r', 19610, 39352, 57784, 44407, 30787, 1860, 53821, 24874, 11292, 64283, 34536, 21890, 57555, 44969, 31418, 2444, 54417, 24681, 12092, 64091, 35123, 21622, 14181, 31619, 37442, 57037, 2961, 50784, 35465, 24485, 8348, 62917, 18134, 3042, 56572, 41238, 29246, 50996, 34915, 23896, 11885, 62326, 18323, 2205, 'm', 19599, 39332, 59039, 13256, 32962, 52725, 6902, 26389, 46103, 290, 20046, 39757, 59492, 13682, 33171, 52876, 'u', 19614, 39352, 59051, 13260, 32963, 52701, 6892, 26372, 46139, 318, 20044, 39753, 59514, 'u', 19614, 39352, 59051, 13260, 32963, 52672, 6891, 26397, 46139, 291, 20047, 39772, 60597, 41051, 30065, 'u', 19614, 39352, 59051, 13260, 32963, 52673, 6864, 26428, 'k', 19595, 39342, 59044, 13277, 32970, 8218, 27883, 47558};
        url = -4548743475480408850L;
    }

    public void getBody(String str) {
        if (!TextUtils.isEmpty(str)) {
            this.kernel = str;
            int i = delete + 115;
            head = i % 128;
            int i2 = i % 2;
        }
        int i3 = delete + 37;
        head = i3 % 128;
        if (i3 % 2 == 0) {
            throw new NullPointerException("hashCode");
        }
    }

    public String AGRequest$Builder() {
        int i = head;
        int i2 = i + 113;
        delete = i2 % 128;
        int i3 = i2 % 2;
        String str = this.id;
        int i4 = i + 75;
        delete = i4 % 128;
        int i5 = i4 % 2;
        return str;
    }

    public Long AGResponse() {
        int i = head + 103;
        delete = i % 128;
        int i2 = i % 2;
        Long valueOf = Long.valueOf(this.maxUpdateIntervalInMilliseconds);
        int i3 = head + 17;
        delete = i3 % 128;
        int i4 = i3 % 2;
        return valueOf;
    }

    public String addHeader() {
        int i = head + 115;
        int i2 = i % 128;
        delete = i2;
        int i3 = i % 2;
        String str = this.kernel;
        int i4 = i2 + 59;
        head = i4 % 128;
        int i5 = i4 % 2;
        return str;
    }

    public String build() {
        int i = delete;
        int i2 = i + 63;
        head = i2 % 128;
        int i3 = i2 % 2;
        String str = this.updateHeaderName;
        int i4 = i + 107;
        head = i4 % 128;
        int i5 = i4 % 2;
        return str;
    }

    public long delete() {
        int i = head;
        int i2 = i + 7;
        delete = i2 % 128;
        int i3 = i2 % 2;
        long j = this.ttlInMilliSeconds;
        int i4 = i + 69;
        delete = i4 % 128;
        int i5 = i4 % 2;
        return j;
    }

    public Map<String, String> get() {
        int i = delete + 9;
        int i2 = i % 128;
        head = i2;
        int i3 = i % 2;
        Map<String, String> map = this.cvmCodeMap;
        int i4 = i2 + 33;
        delete = i4 % 128;
        int i5 = i4 % 2;
        return map;
    }

    public String getBody() {
        int i = head + 47;
        delete = i % 128;
        if (i % 2 == 0) {
            return this.version;
        }
        return this.version;
    }

    public boolean getUrl() {
        Boolean bool = this.cvmEnabled;
        if (bool == null) {
            int i = delete + 49;
            head = i % 128;
            int i2 = i % 2;
            return false;
        }
        boolean booleanValue = bool.booleanValue();
        int i3 = delete + 101;
        head = i3 % 128;
        int i4 = i3 % 2;
        return booleanValue;
    }

    public Long head() {
        int i = delete + 53;
        head = i % 128;
        int i2 = i % 2;
        Long valueOf = Long.valueOf(this.updateTimeoutInMilliseconds);
        int i3 = head + 5;
        delete = i3 % 128;
        int i4 = i3 % 2;
        return valueOf;
    }

    public String headers() {
        int i = head;
        int i2 = i + 77;
        delete = i2 % 128;
        int i3 = i2 % 2;
        String str = this.nativeSignalHeaderPrefix;
        int i4 = i + 105;
        delete = i4 % 128;
        int i5 = i4 % 2;
        return str;
    }

    public UriFilter headersMultiMap() {
        int i = delete + 33;
        int i2 = i % 128;
        head = i2;
        int i3 = i % 2;
        UriFilter uriFilter3 = this.uriBypass2;
        int i4 = i2 + 65;
        delete = i4 % 128;
        int i5 = i4 % 2;
        return uriFilter3;
    }

    public String newBuilder() {
        int i = delete;
        int i2 = i + 111;
        head = i2 % 128;
        int i3 = i2 % 2;
        String str = this.updateURL;
        int i4 = i + 103;
        head = i4 % 128;
        int i5 = i4 % 2;
        return str;
    }

    public Long post() {
        int i = head + 23;
        delete = i % 128;
        int i2 = i % 2;
        Long valueOf = Long.valueOf(this.minUpdateIntervalInMilliseconds);
        int i3 = delete + 71;
        head = i3 % 128;
        int i4 = i3 % 2;
        return valueOf;
    }

    public int statusCode() {
        int i = head + 115;
        delete = i % 128;
        int i2 = i % 2;
        return this.rtd.intValue();
    }

    public String url() {
        int i = head + 105;
        int i2 = i % 128;
        delete = i2;
        int i3 = i % 2;
        String str = this.kernelPatch;
        int i4 = i2 + 49;
        head = i4 % 128;
        int i5 = i4 % 2;
        return str;
    }

    public int valueOf() {
        int i = head;
        int i2 = i + 5;
        delete = i2 % 128;
        int i3 = i2 % 2;
        int i4 = this.bodyXsumMaxLength;
        int i5 = i + 3;
        delete = i5 % 128;
        int i6 = i5 % 2;
        return i4;
    }

    public Boolean AGResponse$Builder() {
        Integer num = this.support;
        if (num == null) {
            return Boolean.FALSE;
        }
        boolean z = true;
        if ((num.intValue() & 1) != 0) {
            z = false;
        } else {
            int i = delete;
            int i2 = i + 117;
            head = i2 % 128;
            int i3 = i2 % 2;
            int i4 = i + 89;
            head = i4 % 128;
            int i5 = i4 % 2;
        }
        return Boolean.valueOf(z);
    }

    public Integer AGState() {
        boolean z;
        int i = delete + 125;
        head = i % 128;
        boolean z2 = false;
        if (i % 2 != 0) {
            z = true;
        } else {
            z = false;
        }
        if (!z) {
            Integer num = this.debugLevel;
            throw new NullPointerException("hashCode");
        }
        if (this.debugLevel == null) {
            z2 = true;
        }
        if (!z2) {
            return this.debugLevel;
        }
        Integer valueOf = Integer.valueOf(log.getBody.getHeaders.getBody());
        int i2 = head + 11;
        delete = i2 % 128;
        int i3 = i2 % 2;
        return valueOf;
    }

    public UriFilter getStatusCode() {
        int i = head + 31;
        int i2 = i % 128;
        delete = i2;
        int i3 = i % 2;
        UriFilter uriFilter3 = this.uriFilter2;
        int i4 = i2 + 57;
        head = i4 % 128;
        if (i4 % 2 != 0) {
            return uriFilter3;
        }
        throw new NullPointerException("hashCode");
    }

    public String method() {
        boolean z;
        int i = head;
        int i2 = i + 25;
        delete = i2 % 128;
        int i3 = i2 % 2;
        String str = this.kernelId;
        int i4 = i + 125;
        delete = i4 % 128;
        if (i4 % 2 == 0) {
            z = false;
        } else {
            z = true;
        }
        if (!z) {
            return str;
        }
        throw new NullPointerException("hashCode");
    }

    public Map<String, String> put() {
        char c;
        int i = delete + 11;
        head = i % 128;
        if (i % 2 != 0) {
            c = 'F';
        } else {
            c = 'U';
        }
        if (c == 'F') {
            return this.updateURLMap;
        }
        Map<String, String> map = this.updateURLMap;
        throw new NullPointerException("hashCode");
    }

    static {
        Covode.recordClassIndex(2401);
        head = 1;
        getSharedInstance();
        try {
            int i = delete + 117;
            head = i % 128;
            int i2 = i % 2;
        } catch (Throwable th) {
            Throwable cause = th.getCause();
            if (cause != null) {
                throw cause;
            }
            throw th;
        }
    }

    public boolean getHeaders() {
        Boolean bool = this.storePersistentID;
        if (bool == null) {
            int i = head + 87;
            delete = i % 128;
            int i2 = i % 2;
            return false;
        }
        int i3 = delete + 67;
        head = i3 % 128;
        int i4 = i3 % 2;
        return bool.booleanValue();
    }

    public static synchronized Config AGRequest() {
        Config config;
        synchronized (Config.class) {
            MethodCollector.i(15725);
            int i = delete + 113;
            head = i % 128;
            int i2 = i % 2;
            if (getBody == null) {
                Config config2 = new Config();
                getBody = config2;
                config2.updateHeaderName = getUrl((ViewConfiguration.getEdgeSlop() >> 16) + 1694036382, -794243196 - KeyEvent.getDeadChar(0, 0), -55 - View.resolveSize(0, 0), (short) (4 - AndroidCharacter.getEastAsianWidth('0')), (byte) TextUtils.getOffsetBefore("", 0)).intern();
                getBody.nativeSignalHeaderPrefix = getUrl(TextUtils.getOffsetBefore("", 0) + 1694036382, TextUtils.indexOf("", "", 0) - 794243191, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) - 55, (short) (Process.myPid() >> 22), (byte) (1 - (SystemClock.currentThreadTimeMillis() > -1 ? 1 : (SystemClock.currentThreadTimeMillis() == -1 ? 0 : -1)))).intern();
                Config config3 = getBody;
                config3.ttlInMilliSeconds = 86400000;
                config3.updateTimeoutInMilliseconds = 60000;
                config3.minUpdateIntervalInMilliseconds = 300000;
                config3.maxUpdateIntervalInMilliseconds = 28800000;
                config3.urlXsumMaxLength = 1024;
                config3.bodyXsumMaxLength = 1024;
                config3.kernelPatch = null;
                config3.debugLevel = Integer.valueOf(log.getBody.getHeaders.getBody());
                getBody.uriFilter = com.apiguard3.network.UriFilter.getBody();
                getBody.uriFilter2 = UriFilter.getMethod();
                getBody.uriBypass2 = UriFilter.getMethod();
                getBody.nativeHeaderCachingEnabled = Boolean.TRUE;
                getBody.support = 255;
                getBody.rtd = 255;
                int i3 = head + 77;
                delete = i3 % 128;
                int i4 = i3 % 2;
            }
            config = getBody;
            MethodCollector.o(15725);
        }
        return config;
    }

    private Config getRequestHeaders() {
        com.apiguard3.network.UriFilter uriFilter3;
        UriFilter uriFilter4;
        Config config = new Config();
        config.version = this.version;
        config.id = this.id;
        config.kernel = this.kernel;
        config.kernelId = this.kernelId;
        config.kernelPatch = this.kernelPatch;
        config.updateURL = this.updateURL;
        if (this.updateURLMap != null) {
            config.updateURLMap = new HashMap(this.updateURLMap);
        }
        config.updateHeaderName = this.updateHeaderName;
        config.nativeSignalHeaderPrefix = this.nativeSignalHeaderPrefix;
        config.ttlInMilliSeconds = this.ttlInMilliSeconds;
        config.updateTimeoutInMilliseconds = this.updateTimeoutInMilliseconds;
        config.minUpdateIntervalInMilliseconds = this.minUpdateIntervalInMilliseconds;
        config.maxUpdateIntervalInMilliseconds = this.maxUpdateIntervalInMilliseconds;
        config.urlXsumMaxLength = this.urlXsumMaxLength;
        config.bodyXsumMaxLength = this.bodyXsumMaxLength;
        com.apiguard3.network.UriFilter uriFilter5 = this.uriFilter;
        UriFilter uriFilter6 = null;
        if (uriFilter5 != null) {
            uriFilter3 = uriFilter5.getUrl();
        } else {
            int i = delete + 43;
            head = i % 128;
            int i2 = i % 2;
            uriFilter3 = null;
        }
        config.uriFilter = uriFilter3;
        UriFilter uriFilter7 = this.uriFilter2;
        if (uriFilter7 != null) {
            uriFilter4 = uriFilter7.getHeaders();
            int i3 = delete + 119;
            head = i3 % 128;
            int i4 = i3 % 2;
        } else {
            uriFilter4 = null;
        }
        config.uriFilter2 = uriFilter4;
        UriFilter uriFilter8 = this.uriBypass2;
        if (uriFilter8 != null) {
            uriFilter6 = uriFilter8.getHeaders();
        } else {
            int i5 = delete + 119;
            head = i5 % 128;
            if (i5 % 2 != 0) {
            }
        }
        config.uriBypass2 = uriFilter6;
        config.storePersistentID = this.storePersistentID;
        config.cvmEnabled = this.cvmEnabled;
        config.debugLevel = this.debugLevel;
        config.nativeHeaderCachingEnabled = this.nativeHeaderCachingEnabled;
        config.support = this.support;
        config.rtd = this.rtd;
        if (this.cvmCodeMap != null) {
            int i6 = head + 59;
            delete = i6 % 128;
            if (i6 % 2 == 0 ? this.cvmDigestMap != null : this.cvmDigestMap != null) {
                config.cvmCodeMap = new HashMap(this.cvmCodeMap);
                config.cvmDigestMap = new HashMap(this.cvmDigestMap);
            }
        }
        return config;
    }

    /* JADX WARNING: Code restructure failed: missing block: B:12:0x002f, code lost:
        if (getBody(newBuilder(r7.version)) != false) goto L_0x0031;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public boolean values() {
        /*
            r7 = this;
            r6 = 0
            java.lang.String r0 = r7.version     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = android.text.TextUtils.isEmpty(r0)     // Catch:{ getUrl -> 0x0086 }
            r5 = 1
            if (r0 == 0) goto L_0x000b
            goto L_0x0085
        L_0x000b:
            int r0 = delete
            int r1 = r0 + 15
            int r0 = r1 % 128
            head = r0
            int r0 = r1 % 2
            if (r0 == 0) goto L_0x0018
            goto L_0x0025
        L_0x0018:
            java.lang.String r0 = r7.version     // Catch:{ getUrl -> 0x0086 }
            java.lang.Integer[] r0 = newBuilder((java.lang.String) r0)     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = getBody((java.lang.Integer[]) r0)     // Catch:{ getUrl -> 0x0086 }
            if (r0 != 0) goto L_0x0031
            goto L_0x0085
        L_0x0025:
            java.lang.String r0 = r7.version     // Catch:{ getUrl -> 0x0086 }
            java.lang.Integer[] r0 = newBuilder((java.lang.String) r0)     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = getBody((java.lang.Integer[]) r0)     // Catch:{ getUrl -> 0x0086 }
            if (r0 == 0) goto L_0x0085
        L_0x0031:
            java.lang.String r0 = r7.kernel     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = android.text.TextUtils.isEmpty(r0)     // Catch:{ getUrl -> 0x0086 }
            if (r0 == 0) goto L_0x003a
            goto L_0x0085
        L_0x003a:
            java.lang.String r0 = r7.kernelId     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = android.text.TextUtils.isEmpty(r0)     // Catch:{ getUrl -> 0x0086 }
            if (r0 == 0) goto L_0x0043
            goto L_0x0085
        L_0x0043:
            int r0 = delete
            int r1 = r0 + 125
            int r0 = r1 % 128
            head = r0
            int r0 = r1 % 2
            java.lang.String r0 = r7.id     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = android.text.TextUtils.isEmpty(r0)     // Catch:{ getUrl -> 0x0086 }
            if (r0 != 0) goto L_0x0085
            java.lang.String r0 = r7.updateURL     // Catch:{ getUrl -> 0x0086 }
            boolean r0 = android.text.TextUtils.isEmpty(r0)     // Catch:{ getUrl -> 0x0086 }
            if (r0 != 0) goto L_0x0085
            java.util.Map<java.lang.String, java.lang.String> r0 = r7.updateURLMap     // Catch:{ getUrl -> 0x0086 }
            if (r0 == 0) goto L_0x0085
            long r1 = r7.updateTimeoutInMilliseconds     // Catch:{ getUrl -> 0x0086 }
            r3 = -1
            int r0 = (r3 > r1 ? 1 : (r3 == r1 ? 0 : -1))
            if (r0 == 0) goto L_0x0085
            long r1 = r7.minUpdateIntervalInMilliseconds     // Catch:{ getUrl -> 0x0086 }
            r0 = 18
            int r0 = (r3 > r1 ? 1 : (r3 == r1 ? 0 : -1))
            if (r0 != 0) goto L_0x0072
            goto L_0x0085
        L_0x0072:
            int r2 = head
            int r1 = r2 + 35
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
            int r1 = r2 + 117
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
            return r5
        L_0x0085:
            return r6
        L_0x0086:
            r0 = move-exception
            com.apiguard3.internal.log$getBody r2 = com.apiguard3.internal.log.getBody.getHeaders
            com.apiguard3.internal.getState$AGRequest r1 = com.apiguard3.internal.getState.AGRequest.getBody
            java.lang.String r0 = r0.getMessage()
            com.apiguard3.internal.checkCertificates.AGRequest((com.apiguard3.internal.log.getBody) r2, (com.apiguard3.internal.log.getMethod) r1, (java.lang.String) r0)
            return r6
        */
        throw new UnsupportedOperationException("Method not decompiled: com.apiguard3.domain.Config.values():boolean");
    }

    public boolean getMethod() {
        int i = delete + 49;
        head = i % 128;
        int i2 = i % 2;
        boolean booleanValue = this.nativeHeaderCachingEnabled.booleanValue();
        int i3 = delete + 81;
        head = i3 % 128;
        int i4 = i3 % 2;
        return booleanValue;
    }

    public void getHeaders(Map<String, String> map) {
        int i = head + 31;
        delete = i % 128;
        int i2 = i % 2;
        this.updateURLMap = map;
    }

    public void getMethod(Map<String, String> map) {
        int i = head + 95;
        delete = i % 128;
        int i2 = i % 2;
        this.cvmDigestMap = map;
    }

    public void getUrl(UriFilter uriFilter3) {
        int i = head + 101;
        delete = i % 128;
        int i2 = i % 2;
        this.uriBypass2 = uriFilter3;
    }

    public void AGRequest(String str) {
        int i = delete + 65;
        int i2 = i % 128;
        head = i2;
        int i3 = i % 2;
        this.id = str;
        int i4 = i2 + 91;
        delete = i4 % 128;
        int i5 = i4 % 2;
    }

    public void getHeaders(String str) {
        int i = head;
        int i2 = i + 103;
        delete = i2 % 128;
        int i3 = i2 % 2;
        this.kernelPatch = str;
        int i4 = i + 117;
        delete = i4 % 128;
        int i5 = i4 % 2;
    }

    public void AGRequest(UriFilter uriFilter3) {
        int i = head + 73;
        int i2 = i % 128;
        delete = i2;
        int i3 = i % 2;
        this.uriFilter2 = uriFilter3;
        int i4 = i2 + 53;
        head = i4 % 128;
        if (i4 % 2 == 0) {
            throw new NullPointerException("hashCode");
        }
    }

    public boolean addHeader(String str) {
        int i = delete + 49;
        head = i % 128;
        if (i % 2 == 0 ? AGRequest$Builder(str) : AGRequest$Builder(str)) {
            this.updateURL = str;
            int i2 = delete + 33;
            head = i2 % 128;
            int i3 = i2 % 2;
            return true;
        }
        checkCertificates.getMethod(log.getBody.getMethod, getState.getBody.getUrl);
        return false;
    }

    public void getHeaders(int i) {
        boolean z;
        int i2 = delete + 37;
        head = i2 % 128;
        if (i2 % 2 != 0) {
            z = true;
        } else {
            z = false;
        }
        this.rtd = Integer.valueOf(i);
        if (!z) {
            throw new NullPointerException("hashCode");
        }
        int i3 = head + 111;
        delete = i3 % 128;
        int i4 = i3 % 2;
    }

    public void getMethod(Integer num) {
        if (num.intValue() >= 0) {
            int i = delete + 59;
            head = i % 128;
            int i2 = i % 2;
            if (num.intValue() <= getHeaders.intValue()) {
                this.debugLevel = num;
                return;
            }
        }
        checkCertificates.getMethod(log.getBody.getHeaders, getState.getHeaders.transformRequest);
        int i3 = head + 99;
        delete = i3 % 128;
        if (i3 % 2 != 0) {
            throw new NullPointerException("hashCode");
        }
    }

    public void getUrl(String str) {
        char c;
        int i = delete + 59;
        head = i % 128;
        int i2 = i % 2;
        if (!TextUtils.isEmpty(str)) {
            int i3 = head + 39;
            delete = i3 % 128;
            if (i3 % 2 == 0) {
                c = '5';
            } else {
                c = 30;
            }
            this.kernelId = str;
            if (c != '5') {
                throw new NullPointerException("hashCode");
            }
        }
    }

    public static Map<String, String> AGRequest(JSONObject jSONObject) {
        boolean z;
        char c;
        String str;
        Object obj;
        if (jSONObject != null) {
            HashMap hashMap = new HashMap();
            Iterator<String> keys = jSONObject.keys();
            int i = delete + 53;
            head = i % 128;
            int i2 = i % 2;
            while (true) {
                if (!keys.hasNext()) {
                    c = 'S';
                } else {
                    c = '6';
                }
                if (c != '6') {
                    return hashMap;
                }
                int i3 = delete + 51;
                head = i3 % 128;
                if (i3 % 2 == 0) {
                    str = keys.next();
                    obj = jSONObject.get(str);
                } else {
                    str = keys.next();
                    try {
                        obj = jSONObject.get(str);
                    } catch (JSONException unused) {
                        checkCertificates.getMethod(log.getBody.getMethod, getState.getBody.headers);
                    }
                }
                hashMap.put(str, obj);
            }
        } else {
            int i4 = head + 17;
            delete = i4 % 128;
            if (i4 % 2 == 0) {
                z = false;
            } else {
                z = true;
            }
            if (!z) {
                return Collections.emptyMap();
            }
            return Collections.emptyMap();
        }
    }

    public static boolean AGRequest$Builder(String str) {
        try {
            if (!((Boolean) ((Class) getMethod.AGRequest((char) ((Process.getThreadPriority(0) + 20) >> 6), 41 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0 ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0 ? 0 : -1)), (AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)) + 5997)).getMethod("getHeaders", (Class[]) null).invoke((Object) null, (Object[]) null)).booleanValue()) {
                int i = head + 121;
                delete = i % 128;
                int i2 = i % 2;
                if (!URLUtil.isHttpsUrl(str)) {
                    return false;
                }
            }
            int i3 = head + 117;
            delete = i3 % 128;
            int i4 = i3 % 2;
            return true;
        } catch (Throwable th) {
            Throwable cause = th.getCause();
            if (cause != null) {
                throw cause;
            }
            throw th;
        }
    }

    public static Integer getUrl(JSONObject jSONObject) {
        char c;
        Integer num;
        if (!jSONObject.has(getBody(180 - ((Process.getThreadPriority(0) + 20) >> 6), 2 - Color.red(0), (char) ((Process.myTid() >> 22) + 14081)).intern())) {
            c = 29;
        } else {
            c = 'C';
        }
        if (c != 29) {
            int i = head + 37;
            delete = i % 128;
            int i2 = i % 2;
            try {
                num = Integer.valueOf(jSONObject.getInt(getBody(180 - ExpandableListView.getPackedPositionGroup(0), 2 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ((SystemClock.uptimeMillis() > 0 ? 1 : (SystemClock.uptimeMillis() == 0 ? 0 : -1)) + 14080)).intern()));
            } catch (Exception e) {
                checkCertificates.AGRequest(log.getBody.getHeaders, (log.getMethod) getState.getHeaders.transformRequest, e.toString());
            }
            int i3 = head + 117;
            delete = i3 % 128;
            int i4 = i3 % 2;
            return num;
        }
        num = null;
        int i32 = head + 117;
        delete = i32 % 128;
        int i42 = i32 % 2;
        return num;
    }

    public void getMethod(String str) {
        boolean z;
        int i = head + 103;
        delete = i % 128;
        if (i % 2 == 0) {
            z = false;
        } else {
            z = true;
        }
        this.version = str;
        if (z) {
            throw new NullPointerException("hashCode");
        }
        int i2 = delete + 1;
        head = i2 % 128;
        int i3 = i2 % 2;
    }

    public void url(String str) {
        int i = delete + 35;
        int i2 = i % 128;
        head = i2;
        int i3 = i % 2;
        if (str != null) {
            this.nativeSignalHeaderPrefix = str;
            int i4 = i2 + 63;
            delete = i4 % 128;
            int i5 = i4 % 2;
            return;
        }
        checkCertificates.AGRequest(log.getBody.getUrl, getState.url.getMethod.AGRequest());
        this.nativeSignalHeaderPrefix = getUrl((AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 1694036381, -794243191 - TextUtils.indexOf("", "", 0, 0), AndroidCharacter.getEastAsianWidth('0') - 59, (short) ((ViewConfiguration.getZoomControlsTimeout() > 0 ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0 ? 0 : -1)) - 1), (byte) (Process.myPid() >> 22)).intern();
    }

    public static Long AGRequest$Builder(JSONObject jSONObject) {
        boolean z;
        int i = delete + 13;
        head = i % 128;
        int i2 = i % 2;
        Long l = -1L;
        if (!jSONObject.has(getBody(TextUtils.lastIndexOf("", '0') + 203, (ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)) + 18, (char) (Color.rgb(0, 0, 0) + 16777216)).intern())) {
            z = true;
        } else {
            z = false;
        }
        if (!z) {
            int i3 = delete + 61;
            head = i3 % 128;
            if (i3 % 2 == 0) {
                try {
                    l = Long.valueOf(jSONObject.getLong(getBody(9953 << (SystemClock.uptimeMillis() > 0 ? 1 : (SystemClock.uptimeMillis() == 0 ? 0 : -1)), Color.argb(1, 0, 0, 0) + 45, (char) (ViewConfiguration.getJumpTapTimeout() >> 85)).intern()));
                    if (l.longValue() > 0) {
                    }
                } catch (Exception unused) {
                    throw new getUrl((log.getMethod) getState.AGRequest.newBuilder);
                }
            } else {
                l = Long.valueOf(jSONObject.getLong(getBody((SystemClock.uptimeMillis() > 0 ? 1 : (SystemClock.uptimeMillis() == 0 ? 0 : -1)) + 201, 17 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16)).intern()));
                if (l.longValue() > 0) {
                }
            }
            throw new getUrl((log.getMethod) getState.AGRequest.newBuilder);
        }
        int i4 = head + 31;
        delete = i4 % 128;
        int i5 = i4 % 2;
        return l;
    }

    /* JADX WARNING: Code restructure failed: missing block: B:15:0x00a1, code lost:
        if (r5.longValue() > 1) goto L_0x00a3;
     */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public static java.lang.Long addHeader(org.json.JSONObject r6) {
        /*
            r0 = -1
            java.lang.Long r5 = java.lang.Long.valueOf(r0)
            r4 = 0
            int r0 = android.graphics.Color.alpha(r4)
            int r2 = 233 - r0
            java.lang.String r3 = ""
            r0 = 48
            int r0 = android.text.TextUtils.indexOf(r3, r0, r4, r4)
            int r1 = r0 + 14
            int r0 = android.graphics.Color.argb(r4, r4, r4, r4)
            char r0 = (char) r0
            java.lang.String r0 = getBody(r2, r1, r0)
            java.lang.String r0 = r0.intern()
            boolean r0 = r6.has(r0)
            r1 = 70
            if (r0 != 0) goto L_0x00ae
            r0 = 85
        L_0x002e:
            if (r0 == r1) goto L_0x0031
        L_0x0030:
            return r5
        L_0x0031:
            int r0 = delete
            int r1 = r0 + 53
            int r0 = r1 % 128
            head = r0
            int r0 = r1 % 2
            r1 = 1
            if (r0 == 0) goto L_0x0042
            r0 = 0
        L_0x003f:
            if (r0 == r1) goto L_0x0074
            goto L_0x0044
        L_0x0042:
            r0 = 1
            goto L_0x003f
        L_0x0044:
            int r0 = android.view.ViewConfiguration.getScrollDefaultDelay()     // Catch:{ Exception -> 0x00ba }
            int r0 = r0 >> 16
            int r2 = 233 - r0
            int r0 = android.view.ViewConfiguration.getJumpTapTimeout()     // Catch:{ Exception -> 0x00ba }
            int r0 = r0 >> 16
            int r1 = r0 + 13
            int r0 = android.text.TextUtils.getOffsetAfter(r3, r4)     // Catch:{ Exception -> 0x00ba }
            char r0 = (char) r0     // Catch:{ Exception -> 0x00ba }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ Exception -> 0x00ba }
            java.lang.String r0 = r0.intern()     // Catch:{ Exception -> 0x00ba }
            long r0 = r6.getLong(r0)     // Catch:{ Exception -> 0x00ba }
            java.lang.Long r5 = java.lang.Long.valueOf(r0)     // Catch:{ Exception -> 0x00ba }
            long r3 = r5.longValue()     // Catch:{ Exception -> 0x00ba }
            r1 = 0
            int r0 = (r3 > r1 ? 1 : (r3 == r1 ? 0 : -1))
            if (r0 <= 0) goto L_0x00b2
            goto L_0x00a3
        L_0x0074:
            int r0 = android.view.ViewConfiguration.getScrollDefaultDelay()     // Catch:{ Exception -> 0x00ba }
            int r0 = r0 << 53
            int r2 = r0 * 22371
            int r0 = android.view.ViewConfiguration.getJumpTapTimeout()     // Catch:{ Exception -> 0x00ba }
            int r0 = r0 % 53
            int r1 = 30 - r0
            int r0 = android.text.TextUtils.getOffsetAfter(r3, r4)     // Catch:{ Exception -> 0x00ba }
            char r0 = (char) r0     // Catch:{ Exception -> 0x00ba }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ Exception -> 0x00ba }
            java.lang.String r0 = r0.intern()     // Catch:{ Exception -> 0x00ba }
            long r0 = r6.getLong(r0)     // Catch:{ Exception -> 0x00ba }
            java.lang.Long r5 = java.lang.Long.valueOf(r0)     // Catch:{ Exception -> 0x00ba }
            long r3 = r5.longValue()     // Catch:{ Exception -> 0x00ba }
            r1 = 1
            int r0 = (r3 > r1 ? 1 : (r3 == r1 ? 0 : -1))
            if (r0 <= 0) goto L_0x00b2
        L_0x00a3:
            int r0 = delete
            int r1 = r0 + 51
            int r0 = r1 % 128
            head = r0
            int r0 = r1 % 2
            goto L_0x0030
        L_0x00ae:
            r0 = 70
            goto L_0x002e
        L_0x00b2:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl     // Catch:{ Exception -> 0x00ba }
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.addHeader     // Catch:{ Exception -> 0x00ba }
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)     // Catch:{ Exception -> 0x00ba }
            throw r1     // Catch:{ Exception -> 0x00ba }
        L_0x00ba:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.addHeader
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.apiguard3.domain.Config.addHeader(org.json.JSONObject):java.lang.Long");
    }

    public static Integer getBody(JSONObject jSONObject) {
        char c;
        String obj;
        int i = head + 27;
        delete = i % 128;
        int i2 = i % 2;
        Integer num = null;
        if (jSONObject.has(getUrl((ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)) + 1694036410, -794243040 - (Process.myTid() >> 22), (Process.myPid() >> 22) - 55, (short) ((ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) - 1), (byte) TextUtils.getTrimmedLength("")).intern())) {
            try {
                num = Integer.valueOf(jSONObject.getInt(getUrl((ViewConfiguration.getDoubleTapTimeout() >> 16) + 1694036409, (ViewConfiguration.getScrollBarSize() >> 8) - 794243040, (ViewConfiguration.getEdgeSlop() >> 16) - 55, (short) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0 ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0 ? 0 : -1))), (byte) ((ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) - 1)).intern()));
            } catch (JSONException e) {
                checkCertificates.AGRequest(log.getBody.getHeaders, (log.getMethod) getState.getHeaders.readObject, e.getMessage());
            }
        }
        log.getBody getbody = log.getBody.getUrl;
        getState.getHeaders getheaders = getState.getHeaders.readObject;
        if (num == null) {
            c = ',';
        } else {
            c = 9;
        }
        if (c != 9) {
            obj = getBody(182 - View.MeasureSpec.makeMeasureSpec(0, 0), TextUtils.getOffsetAfter("", 0) + 3, (char) ((SystemClock.elapsedRealtime() > 0 ? 1 : (SystemClock.elapsedRealtime() == 0 ? 0 : -1)) + 37387)).intern();
        } else {
            int i3 = delete + 29;
            head = i3 % 128;
            if (i3 % 2 == 0) {
                obj = num.toString();
            } else {
                obj = num.toString();
            }
        }
        checkCertificates.AGRequest(getbody, (log.getMethod) getheaders, obj);
        int i4 = delete + 63;
        head = i4 % 128;
        int i5 = i4 % 2;
        return num;
    }

    public static Boolean getHeaders(JSONObject jSONObject) {
        char c;
        int i = head + 43;
        delete = i % 128;
        int i2 = i % 2;
        Boolean bool = null;
        if (!jSONObject.has(getUrl((ViewConfiguration.getTapTimeout() >> 16) + 1694036395, TextUtils.indexOf("", "") - 794243049, (ViewConfiguration.getEdgeSlop() >> 16) - 55, (short) (KeyEvent.getMaxKeyCode() >> 16), (byte) ExpandableListView.getPackedPositionType(0)).intern())) {
            c = 16;
        } else {
            c = ' ';
        }
        if (c == 16) {
            return null;
        }
        int i3 = head + 39;
        delete = i3 % 128;
        int i4 = i3 % 2;
        try {
            bool = Boolean.valueOf(jSONObject.getBoolean(getUrl(1694036395 - TextUtils.getTrimmedLength(""), -794243048 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0 ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0 ? 0 : -1)), AndroidCharacter.getEastAsianWidth('0') - 59, (short) (-1 - TextUtils.indexOf("", '0', 0)), (byte) TextUtils.indexOf("", "", 0)).intern()));
            return bool;
        } catch (Exception e) {
            checkCertificates.AGRequest(log.getBody.getHeaders, (log.getMethod) getState.getHeaders.gc, e.toString());
            return bool;
        }
    }

    public static Boolean getMethod(JSONObject jSONObject) {
        boolean z;
        int i = head + 107;
        delete = i % 128;
        int i2 = i % 2;
        Boolean bool = null;
        if (!jSONObject.has(getUrl((ViewConfiguration.getTouchSlop() >> 8) + 1694036409, -794243058 - TextUtils.lastIndexOf("", '0'), -55 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (short) Color.green(0), (byte) (TypedValue.complexToFloat(0) > 0.0f ? 1 : (TypedValue.complexToFloat(0) == 0.0f ? 0 : -1))).intern())) {
            z = true;
        } else {
            z = false;
        }
        if (!z) {
            int i3 = head + 55;
            delete = i3 % 128;
            int i4 = i3 % 2;
            try {
                bool = Boolean.valueOf(jSONObject.getBoolean(getUrl(TextUtils.getOffsetAfter("", 0) + 1694036409, TextUtils.lastIndexOf("", '0', 0, 0) - 794243056, TextUtils.getOffsetBefore("", 0) - 55, (short) TextUtils.indexOf("", "", 0, 0), (byte) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)).intern()));
                int i5 = head + 71;
                delete = i5 % 128;
                int i6 = i5 % 2;
            } catch (Exception e) {
                checkCertificates.AGRequest(log.getBody.getHeaders, (log.getMethod) getState.getHeaders.getSharedInstance, e.toString());
            }
        }
        return bool;
    }

    public static Integer method(JSONObject jSONObject) {
        boolean z;
        Integer num = -1;
        if (!jSONObject.has(getUrl(1694036391 - ImageFormat.getBitsPerPixel(0), -794243033 - (ViewConfiguration.getScrollBarSize() >> 8), -55 - KeyEvent.getDeadChar(0, 0), (short) TextUtils.getOffsetAfter("", 0), (byte) TextUtils.indexOf("", "")).intern())) {
            z = true;
        } else {
            z = false;
        }
        if (!z) {
            try {
                num = Integer.valueOf(jSONObject.getInt(getUrl(View.MeasureSpec.makeMeasureSpec(0, 0) + 1694036392, Color.green(0) - 794243033, -56 - TextUtils.indexOf("", '0', 0), (short) (Process.getGidForName("") + 1), (byte) (ViewConfiguration.getLongPressTimeout() >> 16)).intern()));
                if (num.intValue() >= 0) {
                    int i = delete + 5;
                    head = i % 128;
                    int i2 = i % 2;
                } else {
                    throw new getUrl((log.getMethod) getState.AGRequest.AGRequest$Builder);
                }
            } catch (Exception unused) {
                throw new getUrl((log.getMethod) getState.AGRequest.method);
            }
        }
        int i3 = head + 107;
        delete = i3 % 128;
        int i4 = i3 % 2;
        return num;
    }

    public static Integer newBuilder(JSONObject jSONObject) {
        char c;
        int i = head + 67;
        delete = i % 128;
        int i2 = i % 2;
        Integer num = -1;
        if (!jSONObject.has(getBody((TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)) + 185, 16 - ImageFormat.getBitsPerPixel(0), (char) ((Process.myTid() >> 22) + 50709)).intern())) {
            c = '\'';
        } else {
            c = '4';
        }
        if (c == '4') {
            int i3 = delete + 39;
            head = i3 % 128;
            int i4 = i3 % 2;
            try {
                num = Integer.valueOf(jSONObject.getInt(getBody(ExpandableListView.getPackedPositionChild(0) + 186, (KeyEvent.getMaxKeyCode() >> 16) + 17, (char) (50709 - ((Process.getThreadPriority(0) + 20) >> 6))).intern()));
                if (num.intValue() < 0) {
                    throw new getUrl((log.getMethod) getState.AGRequest.AGRequest$Builder);
                }
            } catch (Exception unused) {
                throw new getUrl((log.getMethod) getState.AGRequest.AGRequest$Builder);
            }
        }
        return num;
    }

    public static Long put(JSONObject jSONObject) {
        char c;
        Long l = -1L;
        if (!jSONObject.has(getBody(TextUtils.getOffsetBefore("", 0) + 246, (Process.myPid() >> 22) + 3, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0 ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0 ? 0 : -1)) + 60608)).intern())) {
            c = '1';
        } else {
            c = 'N';
        }
        if (c == 'N') {
            int i = head + 91;
            delete = i % 128;
            int i2 = i % 2;
            try {
                l = Long.valueOf(jSONObject.getLong(getBody(246 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 3 - (ViewConfiguration.getTapTimeout() >> 16), (char) (60608 - TextUtils.lastIndexOf("", '0', 0, 0))).intern()));
                if (l.longValue() <= 0) {
                    throw new getUrl((log.getMethod) getState.AGRequest.getUrl);
                }
            } catch (Exception unused) {
                throw new getUrl((log.getMethod) getState.AGRequest.getUrl);
            }
        }
        int i3 = delete + 97;
        head = i3 % 128;
        int i4 = i3 % 2;
        return l;
    }

    public static Long url(JSONObject jSONObject) {
        char c;
        Long l = -1L;
        if (!jSONObject.has(getBody(219 - TextUtils.getCapsMode("", 0, 0), TextUtils.lastIndexOf("", '0', 0, 0) + 15, (char) ExpandableListView.getPackedPositionGroup(0)).intern())) {
            c = 0;
        } else {
            c = '1';
        }
        if (c == '1') {
            int i = delete + 73;
            head = i % 128;
            int i2 = i % 2;
            try {
                l = Long.valueOf(jSONObject.getLong(getBody(219 - (AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)), 15 - (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)), (char) TextUtils.getOffsetBefore("", 0)).intern()));
                if (l.longValue() > 0) {
                    int i3 = delete + 125;
                    head = i3 % 128;
                    int i4 = i3 % 2;
                } else {
                    throw new getUrl((log.getMethod) getState.AGRequest.url);
                }
            } catch (Exception unused) {
                throw new getUrl((log.getMethod) getState.AGRequest.url);
            }
        }
        int i5 = delete + 27;
        head = i5 % 128;
        int i6 = i5 % 2;
        return l;
    }

    public static boolean getBody(Integer[] numArr) {
        int i = delete + 97;
        head = i % 128;
        int i2 = i % 2;
        if (!(numArr == null || numArr.length == 0)) {
            try {
                if (getBody(newBuilder(getBody(264 - (ExpandableListView.getPackedPositionForGroup(0) > 0 ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0 ? 0 : -1)), Color.green(0) + 3, (char) (TextUtils.getOffsetAfter("", 0) + 8235)).intern()), numArr) > 0) {
                    return false;
                }
                int i3 = delete + 47;
                head = i3 % 128;
                int i4 = i3 % 2;
                return true;
            } catch (getUrl unused) {
            }
        }
        return false;
    }

    public static Integer[] newBuilder(String str) {
        char c;
        char c2;
        try {
            String[] split = str.split(getBody(77 - TextUtils.getOffsetBefore("", 0), ExpandableListView.getPackedPositionChild(0) + 3, (char) (TextUtils.indexOf("", '0') + 10638)).intern());
            if (split.length > 0) {
                Integer[] numArr = new Integer[split.length];
                int i = head + 1;
                delete = i % 128;
                int i2 = i % 2;
                int i3 = 0;
                while (true) {
                    if (i3 >= split.length) {
                        c = '1';
                    } else {
                        c = 'A';
                    }
                    if (c == '1') {
                        return numArr;
                    }
                    int i4 = delete + 77;
                    head = i4 % 128;
                    if (i4 % 2 != 0) {
                        c2 = 'S';
                    } else {
                        c2 = 10;
                    }
                    if (c2 != 10) {
                        numArr[i3] = Integer.valueOf(Integer.parseInt(split[i3]));
                        i3++;
                    } else {
                        numArr[i3] = Integer.valueOf(Integer.parseInt(split[i3]));
                        i3 += 87;
                    }
                }
            } else {
                throw new getUrl(getBody((ViewConfiguration.getLongPressTimeout() >> 16) + 79, View.MeasureSpec.getSize(0) + 17, (char) TextUtils.getCapsMode("", 0, 0)).intern());
            }
        } catch (Exception unused) {
            throw new getUrl(getBody(79 - (Process.myPid() >> 22), (ViewConfiguration.getLongPressTimeout() >> 16) + 17, (char) KeyEvent.getDeadChar(0, 0)).intern());
        }
    }

    public void AGRequest(Map<String, String> map) {
        int i = delete + 67;
        int i2 = i % 128;
        head = i2;
        int i3 = i % 2;
        this.cvmCodeMap = map;
        int i4 = i2 + 103;
        delete = i4 % 128;
        int i5 = i4 % 2;
    }

    private Config getHeaders(Config config) {
        Config AGRequest2;
        String str;
        if (config != null) {
            AGRequest2 = config.getRequestHeaders();
            int i = delete + 71;
            head = i % 128;
            int i2 = i % 2;
        } else {
            AGRequest2 = AGRequest();
        }
        String str2 = this.kernelId;
        if (str2 != null || this.kernel == null) {
            String str3 = this.version;
            if (str3 != null) {
                int i3 = head + 3;
                delete = i3 % 128;
                int i4 = i3 % 2;
                AGRequest2.version = str3;
            }
            String str4 = this.id;
            if (str4 != null) {
                AGRequest2.id = str4;
            }
            if (str2 != null) {
                AGRequest2.kernelId = str2;
            }
            String str5 = this.kernel;
            if (str5 != null) {
                AGRequest2.kernel = str5;
            }
            String str6 = this.kernelPatch;
            if (str6 != null) {
                AGRequest2.kernelPatch = str6;
            } else if (this.kernel != null) {
                AGRequest2.kernelPatch = null;
            }
            com.apiguard3.network.UriFilter uriFilter3 = this.uriFilter;
            if (uriFilter3 != null) {
                AGRequest2.uriFilter = uriFilter3.getUrl();
            }
            String str7 = this.updateURL;
            if (str7 != null) {
                AGRequest2.updateURL = str7;
            }
            Map<String, String> map = this.updateURLMap;
            if (map != null) {
                AGRequest2.updateURLMap = map;
            }
            String str8 = this.updateHeaderName;
            if (str8 != null) {
                AGRequest2.updateHeaderName = str8;
            }
            String str9 = this.nativeSignalHeaderPrefix;
            if (str9 != null) {
                AGRequest2.nativeSignalHeaderPrefix = str9;
            }
            long j = this.ttlInMilliSeconds;
            if (j > 0) {
                AGRequest2.ttlInMilliSeconds = j;
            }
            long j2 = this.updateTimeoutInMilliseconds;
            if (j2 > 0) {
                AGRequest2.updateTimeoutInMilliseconds = j2;
            }
            long j3 = this.minUpdateIntervalInMilliseconds;
            if (j3 > 0) {
                AGRequest2.minUpdateIntervalInMilliseconds = j3;
            }
            long j4 = this.maxUpdateIntervalInMilliseconds;
            if (j4 > 0) {
                AGRequest2.maxUpdateIntervalInMilliseconds = j4;
            }
            int i5 = this.urlXsumMaxLength;
            if (i5 >= 0) {
                AGRequest2.urlXsumMaxLength = i5;
            }
            int i6 = this.bodyXsumMaxLength;
            if (i6 >= 0) {
                int i7 = head + 33;
                delete = i7 % 128;
                int i8 = i7 % 2;
                AGRequest2.bodyXsumMaxLength = i6;
            }
            UriFilter uriFilter4 = this.uriFilter2;
            if (uriFilter4 != null) {
                int i9 = head + 115;
                delete = i9 % 128;
                if (i9 % 2 == 0) {
                    AGRequest2.uriFilter2 = uriFilter4;
                } else {
                    AGRequest2.uriFilter2 = uriFilter4;
                    throw new NullPointerException("hashCode");
                }
            }
            UriFilter uriFilter5 = this.uriBypass2;
            if (uriFilter5 != null) {
                AGRequest2.uriBypass2 = uriFilter5;
            }
            Boolean bool = this.storePersistentID;
            if (bool != null) {
                AGRequest2.storePersistentID = bool;
            }
            Boolean bool2 = this.cvmEnabled;
            if (bool2 != null) {
                AGRequest2.cvmEnabled = bool2;
            }
            Integer num = this.debugLevel;
            if (num != null) {
                int i10 = head + 57;
                delete = i10 % 128;
                int i11 = i10 % 2;
                AGRequest2.getMethod(num);
            }
            Boolean bool3 = this.nativeHeaderCachingEnabled;
            if (bool3 != null) {
                AGRequest2.AGRequest(bool3.booleanValue());
            }
            Integer num2 = this.support;
            if (num2 != null) {
                int i12 = head + 77;
                delete = i12 % 128;
                if (i12 % 2 == 0) {
                    AGRequest2.getBody(num2.intValue());
                } else {
                    AGRequest2.getBody(num2.intValue());
                    throw new NullPointerException("hashCode");
                }
            }
            Integer num3 = this.rtd;
            if (num3 != null) {
                AGRequest2.getHeaders(num3.intValue());
            }
            if (!(AGRequest2.version == null || AGRequest2.id == null || AGRequest2.kernelId == null || AGRequest2.kernel == null || AGRequest2.uriFilter == null || AGRequest2.updateURL == null)) {
                int i13 = head + 119;
                int i14 = i13 % 128;
                delete = i14;
                int i15 = i13 % 2;
                if (!(AGRequest2.updateURLMap == null || (str = AGRequest2.updateHeaderName) == null)) {
                    int i16 = i14 + 35;
                    int i17 = i16 % 128;
                    head = i17;
                    if (i16 % 2 != 0 ? AGRequest2.nativeSignalHeaderPrefix != null : AGRequest2.nativeSignalHeaderPrefix != null) {
                        if (!(-1 == AGRequest2.ttlInMilliSeconds || -1 == AGRequest2.updateTimeoutInMilliseconds || -1 == AGRequest2.minUpdateIntervalInMilliseconds || -1 == AGRequest2.maxUpdateIntervalInMilliseconds || -1 == AGRequest2.urlXsumMaxLength || -1 == AGRequest2.bodyXsumMaxLength || AGRequest2.uriFilter2 == null)) {
                            int i18 = i17 + 91;
                            delete = i18 % 128;
                            if (i18 % 2 == 0 ? AGRequest2.uriBypass2 != null : AGRequest2.uriBypass2 != null) {
                                if (str.isEmpty()) {
                                    throw new IllegalArgumentException(getUrl(1694036400 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) - 794243152, Color.blue(0) - 55, (short) (-1 - TextUtils.indexOf("", '0', 0, 0)), (byte) (ViewConfiguration.getEdgeSlop() >> 16)).intern());
                                } else if (!AGRequest2.nativeSignalHeaderPrefix.isEmpty()) {
                                    if (!(this.cvmCodeMap == null || this.cvmDigestMap == null)) {
                                        if (AGRequest2.cvmCodeMap == null) {
                                            AGRequest2.cvmCodeMap = new HashMap();
                                        }
                                        if (AGRequest2.cvmDigestMap == null) {
                                            AGRequest2.cvmDigestMap = new HashMap();
                                        }
                                        for (String next : this.cvmCodeMap.keySet()) {
                                            int i19 = head + 19;
                                            delete = i19 % 128;
                                            int i20 = i19 % 2;
                                            try {
                                                String str10 = this.cvmCodeMap.get(next);
                                                String str11 = this.cvmDigestMap.get(next);
                                                String str12 = AGRequest2.cvmDigestMap.get(next);
                                                if (str12 == null || !str12.equalsIgnoreCase(str11)) {
                                                    AGRequest2.cvmCodeMap.put(next, str10);
                                                    AGRequest2.cvmDigestMap.put(next, str11);
                                                }
                                            } catch (Exception unused) {
                                                checkCertificates.getMethod(log.getBody.getHeaders, getState.getHeaders.FraudScore);
                                            }
                                        }
                                    }
                                    return AGRequest2;
                                } else {
                                    throw new IllegalArgumentException(getBody((ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) + 33, 43 - TextUtils.indexOf("", ""), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 25627)).intern());
                                }
                            }
                        }
                    }
                }
            }
            throw new IllegalArgumentException(getBody((TypedValue.complexToFloat(0) > 0.0f ? 1 : (TypedValue.complexToFloat(0) == 0.0f ? 0 : -1)), (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 33, (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 44949)).intern());
        }
        throw new IllegalArgumentException(getUrl(1694036401 - Color.blue(0), TextUtils.indexOf("", "") - 794243189, (TypedValue.complexToFloat(0) > 0.0f ? 1 : (TypedValue.complexToFloat(0) == 0.0f ? 0 : -1)) - 55, (short) (TextUtils.lastIndexOf("", '0') + 1), (byte) (ViewConfiguration.getFadingEdgeLength() >> 16)).intern());
    }

    public void AGRequest(boolean z) {
        int i = head + 5;
        delete = i % 128;
        int i2 = i % 2;
        this.nativeHeaderCachingEnabled = Boolean.valueOf(z);
        int i3 = delete + 57;
        head = i3 % 128;
        int i4 = i3 % 2;
    }

    public void getBody(int i) {
        int i2 = delete + 121;
        head = i2 % 128;
        int i3 = i2 % 2;
        this.support = Integer.valueOf(i);
        int i4 = delete + 83;
        head = i4 % 128;
        int i5 = i4 % 2;
    }

    public static Config getMethod(String str, Config config) {
        Config body = getBody(new JSONObject(str), config);
        int i = delete + 99;
        head = i % 128;
        int i2 = i % 2;
        return body;
    }

    public static int getBody(Integer[] numArr, Integer[] numArr2) {
        int i;
        int intValue;
        int max = Math.max(numArr.length, numArr2.length);
        int i2 = 0;
        while (i2 < max) {
            if (i2 < numArr.length) {
                i = numArr[i2].intValue();
            } else {
                i = 0;
            }
            if (i2 >= numArr2.length) {
                intValue = 0;
            } else {
                int i3 = delete + 73;
                head = i3 % 128;
                int i4 = i3 % 2;
                intValue = numArr2[i2].intValue();
                int i5 = delete + 87;
                head = i5 % 128;
                int i6 = i5 % 2;
            }
            if (i > intValue) {
                return 1;
            }
            if (i >= intValue) {
                i2++;
            } else {
                int i7 = head + 25;
                delete = i7 % 128;
                int i8 = i7 % 2;
                return -1;
            }
        }
        return 0;
    }

    public static JSONObject getHeaders(JSONObject jSONObject, String str) {
        String[] split = str.split(getUrl((ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) + 1694036352, TextUtils.getOffsetAfter("", 0) - 794243063, -16777271 - Color.rgb(0, 0, 0), (short) (TextUtils.indexOf("", '0') + 1), (byte) (-16777216 - Color.rgb(0, 0, 0))).intern());
        if (split.length == 3) {
            byte[] decode = Base64.decode(split[0], 10);
            byte[] decode2 = Base64.decode(split[1], 10);
            rm rmVar = getUrl.get(split[2]);
            if (rmVar != null) {
                String str2 = new String(rmVar.AGRequest(decode, decode2), Charset.forName(getUrl(1694036508 - PhoneNumberUtils.toaFromString(""), (ViewConfiguration.getEdgeSlop() >> 16) - 794243062, -54 - (SystemClock.elapsedRealtime() > 0 ? 1 : (SystemClock.elapsedRealtime() == 0 ? 0 : -1)), (short) (-1 - TextUtils.indexOf("", '0')), (byte) ((SystemClock.elapsedRealtime() > 0 ? 1 : (SystemClock.elapsedRealtime() == 0 ? 0 : -1)) - 1)).intern()));
                log.getBody getbody = log.getBody.AGRequest;
                StringBuilder sb = new StringBuilder();
                sb.append(getBody(View.MeasureSpec.getMode(0) + 160, TextUtils.getOffsetBefore("", 0) + 20, (char) (57852 - Color.argb(0, 0, 0, 0))).intern());
                sb.append(str2);
                checkCertificates.AGRequest(getbody, sb.toString());
                try {
                    JSONObject jSONObject2 = new JSONObject(str2);
                    Iterator<String> keys = jSONObject2.keys();
                    while (keys.hasNext()) {
                        int i = head + 105;
                        delete = i % 128;
                        if (i % 2 == 0) {
                            String next = keys.next();
                            jSONObject.accumulate(next, jSONObject2.get(next));
                        } else {
                            String next2 = keys.next();
                            jSONObject.accumulate(next2, jSONObject2.get(next2));
                            throw new NullPointerException("hashCode");
                        }
                    }
                } catch (JSONException unused) {
                    checkCertificates.getMethod(log.getBody.getHeaders, getState.getHeaders.log);
                }
                return jSONObject;
            }
            int i2 = head + 119;
            delete = i2 % 128;
            int i3 = i2 % 2;
            checkCertificates.getMethod(log.getBody.getHeaders, getState.getHeaders.APIGuard$InitializationCallback);
            int i4 = delete + 3;
            head = i4 % 128;
            if (i4 % 2 != 0) {
                return jSONObject;
            }
            throw new NullPointerException("hashCode");
        }
        checkCertificates.getMethod(log.getBody.getHeaders, getState.getHeaders.updateKernel);
        return jSONObject;
    }

    public static Map<String, String> getUrl(JSONObject jSONObject, String str) {
        char c;
        char c2;
        char c3;
        int i = head;
        int i2 = i + 65;
        delete = i2 % 128;
        if (i2 % 2 == 0 ? jSONObject == null : jSONObject == null) {
            int i3 = i + 81;
            delete = i3 % 128;
            if (i3 % 2 == 0) {
                c = 5;
            } else {
                c = '^';
            }
            if (c != 5) {
                return Collections.emptyMap();
            }
            return Collections.emptyMap();
        }
        HashMap hashMap = new HashMap();
        Iterator<String> keys = jSONObject.keys();
        while (true) {
            if (!keys.hasNext()) {
                c2 = '0';
            } else {
                c2 = 8;
            }
            if (c2 == '0') {
                return hashMap;
            }
            String next = keys.next();
            try {
                JSONObject optJSONObject = jSONObject.optJSONObject(next);
                if (optJSONObject == null) {
                    c3 = '!';
                } else {
                    c3 = ' ';
                }
                if (c3 == ' ') {
                    hashMap.put(next, optJSONObject.get(str));
                }
            } catch (JSONException unused) {
                checkCertificates.getMethod(log.getBody.getHeaders, getState.getHeaders.FraudScore);
            }
        }
    }

    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r34v3, resolved type: java.lang.Object} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v318, resolved type: java.lang.String} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r32v1, resolved type: java.lang.Object} */
    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v334, resolved type: java.lang.String} */
    /* JADX WARNING: Code restructure failed: missing block: B:24:0x013c, code lost:
        if (r13.has(getBody((android.widget.ExpandableListView.getPackedPositionForChild(0, 1) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 1) == 0 ? 0 : -1)) + 5393, 2 - (android.view.ViewConfiguration.getZoomControlsTimeout() > 0 ? 1 : (android.view.ViewConfiguration.getZoomControlsTimeout() == 0 ? 0 : -1)), (char) ((android.media.AudioTrack.getMaxVolume() > 0.0f ? 1 : (android.media.AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 0)).intern()) != false) goto L_0x013e;
     */
    /* JADX WARNING: Multi-variable type inference failed */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public static com.apiguard3.domain.Config getBody(org.json.JSONObject r34, com.apiguard3.domain.Config r35) {
        /*
            int r0 = head
            int r1 = r0 + 9
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
            r35 = r35
            com.apiguard3.domain.Config r5 = r35.getRequestHeaders()
            r6 = 1694036457(0x64f8f1e9, float:3.6737792E22)
            r3 = 48
            char r0 = android.text.AndroidCharacter.getMirror(r3)
            int r6 = r6 - r0
            r4 = -794243110(0xffffffffd0a8cfda, float:-2.26575524E10)
            java.lang.String r10 = ""
            int r0 = android.text.TextUtils.indexOf(r10, r3)
            int r4 = r4 - r0
            int r0 = android.telephony.PhoneNumberUtils.toaFromString(r10)
            int r2 = r0 + -184
            int r0 = android.view.ViewConfiguration.getLongPressTimeout()
            int r0 = r0 >> 16
            short r1 = (short) r0
            r15 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionType(r15)
            byte r0 = (byte) r0
            java.lang.String r0 = getUrl(r6, r4, r2, r1, r0)
            java.lang.String r0 = r0.intern()
            r13 = r34
            java.lang.String r1 = r13.optString(r0)
            boolean r0 = android.text.TextUtils.isEmpty(r1)
            if (r0 == 0) goto L_0x00a0
            com.apiguard3.internal.log$getBody r1 = com.apiguard3.internal.log.getBody.getHeaders
            com.apiguard3.internal.getState$getHeaders r0 = com.apiguard3.internal.getState.getHeaders.APIGuard$Callback
            com.apiguard3.internal.checkCertificates.getMethod(r1, r0)
        L_0x0053:
            r7 = 1694036412(0x64f8f1bc, float:3.673769E22)
            int r0 = android.os.Process.myPid()
            int r0 = r0 >> 22
            int r7 = r7 - r0
            r0 = -794243106(0xffffffffd0a8cfde, float:-2.26575606E10)
            int r6 = android.os.Process.getGidForName(r10)
            int r6 = r6 + r0
            int r0 = android.text.TextUtils.indexOf(r10, r10)
            int r4 = r0 + -55
            long r11 = android.view.ViewConfiguration.getGlobalActionKeyTimeout()
            r8 = 1
            r2 = 0
            int r0 = (r11 > r15 ? 1 : (r11 == r15 ? 0 : -1))
            int r0 = 1 - r0
            short r1 = (short) r0
            int r0 = android.text.TextUtils.indexOf(r10, r10, r2)
            byte r0 = (byte) r0
            java.lang.String r0 = getUrl(r7, r6, r4, r1, r0)
            java.lang.String r0 = r0.intern()
            java.lang.String r33 = r13.optString(r0)
            boolean r0 = android.text.TextUtils.isEmpty(r33)
            if (r0 != 0) goto L_0x074e
            java.lang.Integer[] r0 = newBuilder((java.lang.String) r33)
            boolean r0 = getBody((java.lang.Integer[]) r0)
            if (r0 == 0) goto L_0x0746
            com.apiguard3.network.UriFilter r9 = new com.apiguard3.network.UriFilter
            r9.<init>(r13)
            r0 = 1694036402(0x64f8f1b2, float:3.6737668E22)
            goto L_0x00a4
        L_0x00a0:
            getHeaders(r13, r1)
            goto L_0x0053
        L_0x00a4:
            int r7 = android.graphics.ImageFormat.getBitsPerPixel(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r7 = r7 + r0
            int r0 = android.view.ViewConfiguration.getScrollBarFadeDuration()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            r11 = -794243015(0xffffffffd0a8d039, float:-2.26577469E10)
            int r6 = r11 - r0
            int r0 = android.view.ViewConfiguration.getLongPressTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            int r4 = -55 - r0
            r1 = 16777216(0x1000000, float:2.3509887E-38)
            int r0 = android.graphics.Color.rgb(r2, r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + r1
            short r1 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.view.ViewConfiguration.getPressedStateDuration()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r7, r6, r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 != 0) goto L_0x00db
            r0 = 0
            goto L_0x00dc
        L_0x00db:
            r0 = 1
        L_0x00dc:
            r14 = 0
            if (r0 == r8) goto L_0x00e3
            r32 = 0
            goto L_0x0174
        L_0x00e3:
            int r0 = head
            int r1 = r0 + 29
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
            if (r0 == 0) goto L_0x00f0
            goto L_0x0118
        L_0x00f0:
            long r6 = android.widget.ExpandableListView.getPackedPositionForChild(r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r6 > r15 ? 1 : (r6 == r15 ? 0 : -1))
            int r4 = r0 + 259
            long r6 = android.view.ViewConfiguration.getZoomControlsTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r6 > r15 ? 1 : (r6 == r15 ? 0 : -1))
            int r1 = r0 + 5
            float r0 = android.media.AudioTrack.getMaxVolume()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r0 > r14 ? 1 : (r0 == r14 ? 0 : -1))
            int r0 = 1 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x0734
            goto L_0x013e
        L_0x0118:
            long r6 = android.widget.ExpandableListView.getPackedPositionForChild(r2, r8)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r6 > r15 ? 1 : (r6 == r15 ? 0 : -1))
            int r4 = r0 + 5393
            long r6 = android.view.ViewConfiguration.getZoomControlsTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r6 > r15 ? 1 : (r6 == r15 ? 0 : -1))
            int r1 = 2 - r0
            float r0 = android.media.AudioTrack.getMaxVolume()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r0 > r14 ? 1 : (r0 == r14 ? 0 : -1))
            int r0 = r0 + r2
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x0734
        L_0x013e:
            r4 = 1694036400(0x64f8f1b0, float:3.6737664E22)
            long r0 = android.os.SystemClock.uptimeMillis()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r7 = (r0 > r15 ? 1 : (r0 == r15 ? 0 : -1))
            int r7 = r7 + r4
            int r6 = android.text.TextUtils.indexOf(r10, r10, r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r6 = r6 + r11
            int r0 = android.widget.ExpandableListView.getPackedPositionGroup(r15)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = r0 + -55
            int r0 = android.widget.ExpandableListView.getPackedPositionChild(r15)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + r8
            short r1 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.os.Process.getThreadPriority(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + 20
            int r0 = r0 >> 6
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r7, r6, r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Object r32 = r13.get(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r0 = r32
            java.lang.String r0 = (java.lang.String) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r32 = r0
        L_0x0174:
            r7 = 1694036399(0x64f8f1af, float:3.6737661E22)
            int r0 = android.view.View.MeasureSpec.getMode(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r7 = r7 - r0
            r1 = -794243100(0xffffffffd0a8cfe4, float:-2.26575729E10)
            float r0 = android.util.TypedValue.complexToFloat(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r6 = (r0 > r14 ? 1 : (r0 == r14 ? 0 : -1))
            int r6 = r6 + r1
            int r0 = android.text.TextUtils.indexOf(r10, r10, r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = r0 + -55
            int r0 = android.widget.ExpandableListView.getPackedPositionType(r15)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            short r1 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.os.Process.myPid()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 22
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r7, r6, r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r1 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x01d4
            java.lang.Object r34 = r13.get(r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r0 = r34
            java.lang.String r0 = (java.lang.String) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r34 = r0
        L_0x01b0:
            int r0 = android.graphics.Color.blue(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = 258 - r0
            int r0 = android.os.Process.myTid()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 22
            int r1 = 6 - r0
            char r0 = android.text.AndroidCharacter.getMirror(r3)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = 48 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 != 0) goto L_0x01d9
            goto L_0x01d7
        L_0x01d4:
            r34 = 0
            goto L_0x01b0
        L_0x01d7:
            r12 = 0
            goto L_0x0236
        L_0x01d9:
            r0 = 1694036401(0x64f8f1b1, float:3.6737666E22)
            int r7 = android.graphics.Color.green(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r7 = r7 + r0
            r0 = -777465799(0xffffffffd1a8d039, float:-9.0630988E10)
            int r6 = android.graphics.Color.rgb(r2, r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r6 = r6 + r0
            float r0 = android.view.ViewConfiguration.getScrollFriction()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r0 > r14 ? 1 : (r0 == r14 ? 0 : -1))
            int r4 = r0 + -56
            int r0 = android.os.Process.getThreadPriority(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + 20
            int r0 = r0 >> 6
            short r1 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.view.ViewConfiguration.getMinimumFlingVelocity()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r7, r6, r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x072c
            int r0 = android.view.KeyEvent.getDeadChar(r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r6 = 258 - r0
            int r0 = android.os.Process.getGidForName(r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = 5 - r0
            r0 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionType(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r6, r4, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Object r12 = r13.get(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r12 = (java.lang.String) r12     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = android.text.TextUtils.isEmpty(r12)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 != 0) goto L_0x0724
        L_0x0236:
            int r0 = android.text.TextUtils.getTrimmedLength(r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r6 = r0 + 96
            int r0 = android.graphics.drawable.Drawable.resolveOpacity(r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = r0 + 11
            r1 = 60625(0xecd1, float:8.4954E-41)
            int r0 = android.view.ViewConfiguration.getJumpTapTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            int r0 = r0 + r1
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r6, r4, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r1 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x0283
            java.lang.Object r11 = r13.get(r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r11 = (java.lang.String) r11     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0261:
            int r0 = android.view.ViewConfiguration.getLongPressTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            int r4 = r0 + 249
            int r0 = android.graphics.Color.alpha(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = 9 - r0
            int r0 = android.text.AndroidCharacter.getEastAsianWidth(r3)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + -4
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            goto L_0x0285
        L_0x0283:
            r11 = 0
            goto L_0x0261
        L_0x0285:
            if (r0 != 0) goto L_0x0289
            r8 = 0
            goto L_0x02be
        L_0x0289:
            int r0 = head
            int r1 = r0 + 9
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
            int r0 = android.view.View.resolveSize(r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = 249 - r0
            float r0 = android.media.AudioTrack.getMaxVolume()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r0 > r14 ? 1 : (r0 == r14 ? 0 : -1))
            int r1 = r0 + 8
            r6 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionChild(r6)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = -1 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Object r8 = r13.get(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r8 = (java.lang.String) r8     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = AGRequest$Builder((java.lang.String) r8)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x071c
        L_0x02be:
            int r0 = android.text.TextUtils.getOffsetBefore(r10, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = 107 - r0
            int r0 = android.view.View.resolveSize(r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = r0 + 16
            char r0 = android.text.AndroidCharacter.getMirror(r3)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + -48
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r4, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r1 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x0316
            java.lang.Object r7 = r13.get(r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r7 = (java.lang.String) r7     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x02e5:
            r0 = 1694036404(0x64f8f1b4, float:3.6737673E22)
            int r4 = android.view.View.getDefaultSize(r2, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r4 = r4 + r0
            r1 = -794243099(0xffffffffd0a8cfe5, float:-2.26575749E10)
            int r0 = android.text.TextUtils.lastIndexOf(r10, r3, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = r1 - r0
            int r0 = android.text.AndroidCharacter.getEastAsianWidth(r3)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r3 = -51 - r0
            int r0 = android.os.Process.myPid()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 22
            short r2 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.view.ViewConfiguration.getMaximumDrawingCacheSize()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 24
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r4, r1, r3, r2, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r2 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            goto L_0x0318
        L_0x0316:
            r7 = 0
            goto L_0x02e5
        L_0x0318:
            if (r0 != 0) goto L_0x031c
            r6 = 0
            goto L_0x0333
        L_0x031c:
            int r0 = head
            int r1 = r0 + 111
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
            if (r0 != 0) goto L_0x032d
            java.lang.Object r6 = r13.get(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            goto L_0x0331
        L_0x032d:
            java.lang.Object r6 = r13.get(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0331:
            java.lang.String r6 = (java.lang.String) r6     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0333:
            java.lang.Long r31 = put(r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Long r30 = addHeader((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Long r29 = url((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Long r27 = AGRequest$Builder((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Integer r25 = method(r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Integer r26 = newBuilder((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r0 = 0
            int r0 = android.graphics.Color.alpha(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r2 = 123 - r0
            r0 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionGroup(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = r0 + 12
            r0 = 0
            int r0 = android.graphics.drawable.Drawable.resolveOpacity(r0, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 != 0) goto L_0x0371
            r28 = 0
            goto L_0x03c8
        L_0x0371:
            int r0 = delete
            int r1 = r0 + 93
            int r0 = r1 % 128
            head = r0
            int r0 = r1 % 2
            if (r0 != 0) goto L_0x037e
            goto L_0x03a1
        L_0x037e:
            int r0 = android.text.TextUtils.indexOf(r10, r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r2 = r0 + 123
            r0 = 0
            int r1 = android.view.View.getDefaultSize(r0, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = r1 + 12
            int r0 = android.os.Process.getThreadPriority(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + 20
            int r0 = r0 >> 6
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            org.json.JSONObject r0 = r13.getJSONObject(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            goto L_0x03c4
        L_0x03a1:
            int r0 = android.text.TextUtils.indexOf(r10, r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r3 = r0 + 52
            r2 = 1
            r0 = 0
            int r0 = android.view.View.getDefaultSize(r0, r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = r0 * 15
            int r0 = android.os.Process.getThreadPriority(r2)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 62
            int r0 = r0 / 3
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r3, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            org.json.JSONObject r0 = r13.getJSONObject(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x03c4:
            java.util.Map r28 = AGRequest((org.json.JSONObject) r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x03c8:
            r0 = 0
            int r0 = android.graphics.Color.blue(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r2 = 135 - r0
            int r0 = android.view.ViewConfiguration.getMaximumDrawingCacheSize()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 24
            int r1 = 10 - r0
            int r0 = android.telephony.PhoneNumberUtils.toaFromString(r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = 129 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x04b7
            com.apiguard3.url_matcher.UriFilter r4 = new com.apiguard3.url_matcher.UriFilter     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.view.ViewConfiguration.getScrollDefaultDelay()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            int r2 = 135 - r0
            int r0 = android.view.ViewConfiguration.getWindowTouchSlop()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 8
            int r1 = 10 - r0
            int r0 = android.view.ViewConfiguration.getPressedStateDuration()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            org.json.JSONArray r0 = r13.optJSONArray(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r4.<init>(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0414:
            r1 = 1694036411(0x64f8f1bb, float:3.6737688E22)
            int r0 = android.view.ViewConfiguration.getMaximumDrawingCacheSize()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r14 = r0 >> 24
            int r14 = r14 + r1
            r0 = -794243074(0xffffffffd0a8cffe, float:-2.26576261E10)
            int r3 = android.text.TextUtils.getTrimmedLength(r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r3 = r3 + r0
            r0 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionChild(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r2 = -56 - r0
            int r0 = android.view.ViewConfiguration.getScrollDefaultDelay()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            short r1 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r0 = 48
            int r0 = android.text.AndroidCharacter.getEastAsianWidth(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + -4
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r14, r3, r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x04b5
            com.apiguard3.url_matcher.UriFilter r3 = new com.apiguard3.url_matcher.UriFilter     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r15 = 1694036411(0x64f8f1bb, float:3.6737688E22)
            r0 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionType(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r15 = r15 - r0
            r1 = -794243073(0xffffffffd0a8cfff, float:-2.26576282E10)
            r0 = 0
            int r14 = android.graphics.ImageFormat.getBitsPerPixel(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r14 = r14 + r1
            float r2 = android.media.AudioTrack.getMaxVolume()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r1 = 0
            int r1 = (r2 > r1 ? 1 : (r2 == r1 ? 0 : -1))
            int r2 = -54 - r1
            long r18 = android.widget.ExpandableListView.getPackedPositionForChild(r0, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r16 = 0
            int r1 = (r18 > r16 ? 1 : (r18 == r16 ? 0 : -1))
            int r1 = -1 - r1
            short r1 = (short) r1     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.graphics.Color.blue(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getUrl(r15, r14, r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            org.json.JSONArray r0 = r13.optJSONArray(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r3.<init>(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0489:
            java.lang.Boolean r24 = getMethod((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Boolean r23 = getHeaders((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r0 = 48
            char r0 = android.text.AndroidCharacter.getMirror(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r2 = r0 + 97
            r14 = 0
            int r0 = android.graphics.drawable.Drawable.resolveOpacity(r14, r14)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r1 = 2 - r0
            int r0 = android.graphics.Color.argb(r14, r14, r14, r14)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 != 0) goto L_0x04ba
            goto L_0x05c6
        L_0x04b5:
            r3 = 0
            goto L_0x0489
        L_0x04b7:
            r4 = 0
            goto L_0x0414
        L_0x04ba:
            r1 = 0
            float r0 = android.graphics.PointF.length(r1, r1)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = (r0 > r1 ? 1 : (r0 == r1 ? 0 : -1))
            int r2 = r0 + 145
            long r16 = android.os.SystemClock.uptimeMillis()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r14 = 0
            int r1 = (r16 > r14 ? 1 : (r16 == r14 ? 0 : -1))
            r0 = 1
            int r1 = r1 + r0
            r0 = 48
            int r0 = android.text.AndroidCharacter.getEastAsianWidth(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = 4 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r2, r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            org.json.JSONObject r1 = r13.optJSONObject(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r1 == 0) goto L_0x05c6
            long r14 = android.os.Process.getElapsedCpuTime()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r17 = 0
            int r0 = (r14 > r17 ? 1 : (r14 == r17 ? 0 : -1))
            int r14 = 148 - r0
            long r15 = android.os.SystemClock.elapsedRealtime()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r2 = (r15 > r17 ? 1 : (r15 == r17 ? 0 : -1))
            int r0 = android.view.ViewConfiguration.getTouchSlop()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 8
            int r0 = 2725 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r14, r2, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.util.Map r22 = getUrl(r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r19 = 1694036394(0x64f8f1aa, float:3.673765E22)
            r15 = 0
            int r0 = android.view.View.MeasureSpec.makeMeasureSpec(r15, r15)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r19 = r19 - r0
            r18 = -794243065(0xffffffffd0a8d007, float:-2.26576445E10)
            r16 = 0
            int r0 = android.widget.ExpandableListView.getPackedPositionChild(r16)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r18 = r18 - r0
            int r0 = android.widget.ExpandableListView.getPackedPositionChild(r16)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r14 = r0 + -54
            int r0 = android.view.View.resolveSize(r15, r15)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            short r2 = (short) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.view.View.resolveSize(r15, r15)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            byte r0 = (byte) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r15 = r19
            r16 = r18
            r17 = r14
            r18 = r2
            r19 = r0
            java.lang.String r0 = getUrl(r15, r16, r17, r18, r19)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.util.Map r2 = getUrl(r1, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0544:
            java.lang.Integer r1 = getUrl((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r14 = 0
            int r0 = android.view.View.getDefaultSize(r14, r14)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 + 148
            r16 = r0
            int r0 = android.text.TextUtils.indexOf(r10, r10)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r15 = r0 + 9
            int r0 = android.graphics.drawable.Drawable.resolveOpacity(r14, r14)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r16 = r16
            r17 = r15
            r18 = r0
            java.lang.String r0 = getBody(r16, r17, r18)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            if (r0 == 0) goto L_0x05c3
            r15 = -16777068(0xffffffffff000094, float:-1.7014419E38)
            int r0 = android.graphics.Color.rgb(r14, r14, r14)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r15 = r15 - r0
            int r0 = android.view.ViewConfiguration.getTapTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 16
            int r14 = 9 - r0
            long r19 = android.view.ViewConfiguration.getZoomControlsTimeout()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r17 = 0
            int r16 = (r19 > r17 ? 1 : (r19 == r17 ? 0 : -1))
            r0 = 1
            int r0 = 1 - r16
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r15, r14, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.optBoolean(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Boolean r21 = java.lang.Boolean.valueOf(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x059c:
            java.lang.Integer r20 = getBody((org.json.JSONObject) r13)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = android.os.Process.myPid()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 22
            int r15 = 157 - r0
            int r0 = android.view.ViewConfiguration.getWindowTouchSlop()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r0 >> 8
            int r14 = r0 + 3
            r0 = 0
            int r0 = android.text.TextUtils.indexOf(r10, r10, r0, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r15, r14, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            boolean r0 = r13.has(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            goto L_0x05cb
        L_0x05c3:
            r21 = 0
            goto L_0x059c
        L_0x05c6:
            r2 = 0
            r22 = 0
            goto L_0x0544
        L_0x05cb:
            if (r0 != 0) goto L_0x06e6
            r16 = 0
        L_0x05cf:
            int r0 = head
            int r13 = r0 + 37
            int r0 = r13 % 128
            delete = r0
            int r0 = r13 % 2
            r0 = r33
            r5.getMethod((java.lang.String) r0)
            r0 = r34
            r5.AGRequest((java.lang.String) r0)
            r0 = r32
            r5.getUrl((java.lang.String) r0)
            r5.getBody((java.lang.String) r12)
            r5.getHeaders((java.lang.String) r11)
            r5.uriFilter = r9
            if (r8 == 0) goto L_0x05f5
            r5.addHeader((java.lang.String) r8)
        L_0x05f5:
            if (r7 != 0) goto L_0x06e3
            r12 = 1694036382(0x64f8f19e, float:3.6737623E22)
            r13 = 0
            int r0 = android.view.View.MeasureSpec.makeMeasureSpec(r13, r13)
            int r12 = r12 - r0
            r11 = -794243195(0xffffffffd0a8cf85, float:-2.26573783E10)
            long r14 = android.os.SystemClock.uptimeMillis()
            r7 = 0
            int r0 = (r14 > r7 ? 1 : (r14 == r7 ? 0 : -1))
            int r11 = r11 - r0
            int r0 = android.view.ViewConfiguration.getTapTimeout()
            int r0 = r0 >> 16
            int r9 = r0 + -55
            int r0 = android.text.TextUtils.getOffsetAfter(r10, r13)
            short r8 = (short) r0
            r7 = 0
            float r0 = android.util.TypedValue.complexToFraction(r13, r7, r7)
            int r0 = (r0 > r7 ? 1 : (r0 == r7 ? 0 : -1))
            byte r0 = (byte) r0
            java.lang.String r0 = getUrl(r12, r11, r9, r8, r0)
            java.lang.String r7 = r0.intern()
        L_0x0629:
            r5.updateHeaderName = r7
            if (r6 != 0) goto L_0x06d4
        L_0x062d:
            long r6 = r31.longValue()
            r8 = 0
            int r0 = (r6 > r8 ? 1 : (r6 == r8 ? 0 : -1))
            if (r0 <= 0) goto L_0x063d
            long r6 = r31.longValue()
            r5.ttlInMilliSeconds = r6
        L_0x063d:
            long r6 = r30.longValue()
            int r0 = (r6 > r8 ? 1 : (r6 == r8 ? 0 : -1))
            if (r0 <= 0) goto L_0x064b
            long r6 = r30.longValue()
            r5.updateTimeoutInMilliseconds = r6
        L_0x064b:
            long r6 = r29.longValue()
            int r0 = (r6 > r8 ? 1 : (r6 == r8 ? 0 : -1))
            if (r0 <= 0) goto L_0x0659
            long r6 = r29.longValue()
            r5.minUpdateIntervalInMilliseconds = r6
        L_0x0659:
            long r6 = r27.longValue()
            int r0 = (r6 > r8 ? 1 : (r6 == r8 ? 0 : -1))
            if (r0 <= 0) goto L_0x0667
            long r6 = r27.longValue()
            r5.maxUpdateIntervalInMilliseconds = r6
        L_0x0667:
            int r0 = r26.intValue()
            r5.urlXsumMaxLength = r0
            int r0 = r25.intValue()
            r5.bodyXsumMaxLength = r0
            if (r28 != 0) goto L_0x06c4
        L_0x0675:
            if (r4 == 0) goto L_0x067a
            r5.AGRequest((com.apiguard3.url_matcher.UriFilter) r4)
        L_0x067a:
            if (r3 == 0) goto L_0x067f
            r5.getUrl((com.apiguard3.url_matcher.UriFilter) r3)
        L_0x067f:
            if (r24 == 0) goto L_0x0685
            r0 = r24
            r5.storePersistentID = r0
        L_0x0685:
            if (r23 == 0) goto L_0x068b
            r0 = r23
            r5.cvmEnabled = r0
        L_0x068b:
            r0 = r22
            r5.AGRequest((java.util.Map<java.lang.String, java.lang.String>) r0)
            r5.getMethod((java.util.Map<java.lang.String, java.lang.String>) r2)
            if (r1 == 0) goto L_0x0697
            r5.debugLevel = r1
        L_0x0697:
            if (r21 == 0) goto L_0x06a0
            boolean r0 = r21.booleanValue()
            r5.AGRequest((boolean) r0)
        L_0x06a0:
            if (r20 != 0) goto L_0x06bc
        L_0x06a2:
            if (r16 == 0) goto L_0x06b5
            int r0 = r16.intValue()
            r5.getHeaders((int) r0)
            int r0 = head
            int r1 = r0 + 67
            int r0 = r1 % 128
            delete = r0
            int r0 = r1 % 2
        L_0x06b5:
            r0 = r35
            com.apiguard3.domain.Config r0 = r5.getHeaders((com.apiguard3.domain.Config) r0)
            return r0
        L_0x06bc:
            int r0 = r20.intValue()
            r5.getBody((int) r0)
            goto L_0x06a2
        L_0x06c4:
            int r0 = head
            int r6 = r0 + 123
            int r0 = r6 % 128
            delete = r0
            int r0 = r6 % 2
            r0 = r28
            r5.getHeaders((java.util.Map<java.lang.String, java.lang.String>) r0)
            goto L_0x0675
        L_0x06d4:
            int r0 = head
            int r7 = r0 + 77
            int r0 = r7 % 128
            delete = r0
            int r0 = r7 % 2
            r5.url((java.lang.String) r6)
            goto L_0x062d
        L_0x06e3:
            r0 = 0
            goto L_0x0629
        L_0x06e6:
            int r0 = head
            int r14 = r0 + 121
            int r0 = r14 % 128
            delete = r0
            int r0 = r14 % 2
            r0 = 0
            int r14 = android.text.TextUtils.indexOf(r10, r10, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r15 = r14 + 157
            r14 = 48
            int r14 = android.text.TextUtils.lastIndexOf(r10, r14, r0, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r14 = r14 + 4
            long r18 = android.widget.ExpandableListView.getPackedPositionForChild(r0, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r16 = 0
            int r0 = (r18 > r16 ? 1 : (r18 == r16 ? 0 : -1))
            int r0 = -1 - r0
            char r0 = (char) r0     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = getBody(r15, r14, r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.String r0 = r0.intern()     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            int r0 = r13.getInt(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            java.lang.Integer r16 = java.lang.Integer.valueOf(r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            goto L_0x05cf
        L_0x071c:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.delete     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            throw r1     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0724:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.get     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            throw r1     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x072c:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.post     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            throw r1     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x0734:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.head     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
            throw r1     // Catch:{ getUrl -> 0x0744, Exception -> 0x073c }
        L_0x073c:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl
            com.apiguard3.internal.getState$getBody r0 = com.apiguard3.internal.getState.getBody.post
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)
            throw r1
        L_0x0744:
            r0 = move-exception
            throw r0
        L_0x0746:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.getHeaders
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)
            throw r1
        L_0x074e:
            com.apiguard3.domain.getUrl r1 = new com.apiguard3.domain.getUrl
            com.apiguard3.internal.getState$AGRequest r0 = com.apiguard3.internal.getState.AGRequest.getHeaders
            r1.<init>((com.apiguard3.internal.log.getMethod) r0)
            throw r1
        */
        throw new UnsupportedOperationException("Method not decompiled: com.apiguard3.domain.Config.getBody(org.json.JSONObject, com.apiguard3.domain.Config):com.apiguard3.domain.Config");
    }

    public static String getBody(int i, int i2, char c) {
        char[] cArr = new char[i2];
        int i3 = 0;
        while (i3 < i2) {
            int i4 = head + 73;
            int i5 = i4 % 128;
            delete = i5;
            int i6 = i4 % 2;
            cArr[i3] = (char) ((int) ((((long) method[i + i3]) ^ (((long) i3) * url)) ^ ((long) c)));
            i3++;
            int i7 = i5 + 23;
            head = i7 % 128;
            int i8 = i7 % 2;
        }
        return new String(cArr);
    }

    public static String getUrl(int i, int i2, int i3, short s, byte b) {
        boolean z;
        int i4;
        int i5;
        short s2;
        int i6;
        StringBuilder sb = new StringBuilder();
        int i7 = AGRequest;
        int i8 = i3 + i7;
        if (i8 == -1) {
            z = true;
            byte[] bArr = AGRequest$Builder;
            if (bArr == null) {
                i8 = (short) (newBuilder[getMethod + i2] + i7);
            } else {
                int i9 = delete + 83;
                head = i9 % 128;
                int i10 = i9 % 2;
                i8 = (byte) (bArr[getMethod + i2] + i7);
            }
        } else {
            int i11 = delete + 113;
            head = i11 % 128;
            int i12 = i11 % 2;
            z = false;
        }
        if (i8 > 0) {
            int i13 = ((i2 + i8) - 2) + getMethod;
            if (!z) {
                i4 = 0;
            } else {
                int i14 = delete + 49;
                head = i14 % 128;
                int i15 = i14 % 2;
                i4 = 1;
            }
            int i16 = i13 + i4;
            char c = (char) (i + addHeader);
            sb.append(c);
            int i17 = head + 123;
            delete = i17 % 128;
            int i18 = i17 % 2;
            for (int i19 = 1; i19 < i8; i19++) {
                int i20 = head + 117;
                int i21 = i20 % 128;
                delete = i21;
                if (i20 % 2 == 0 ? AGRequest$Builder != null : AGRequest$Builder != null) {
                    int i22 = i21 + 5;
                    head = i22 % 128;
                    if (i22 % 2 == 0) {
                        i5 = i16 + 41;
                        i6 = c / (((byte) (AGRequest$Builder[i16] >>> s)) & b);
                        c = (char) i6;
                        i16 = i5;
                        sb.append(c);
                    } else {
                        i5 = i16 - 1;
                        s2 = (byte) (AGRequest$Builder[i16] + s);
                    }
                } else {
                    i5 = i16 - 1;
                    s2 = (short) (newBuilder[i16] + s);
                }
                i6 = c + (s2 ^ b);
                c = (char) i6;
                i16 = i5;
                sb.append(c);
            }
        }
        return sb.toString();
    }
}
