/*
 * Decompiled with CFR 0.152.
 */
import java.io.DataInput;
import java.io.DataOutput;
import java.util.Vector;

/*
 * Duplicate member names - consider using --renamedupmembers true
 */
public class iu
implements nf,
jf,
jz,
Runnable,
pf {
    private static volatile boolean e;
    private static final Object[] a;
    public static final int[] M;
    private final Vector a;
    private final ht a;
    private final hj b;
    private final eb c;
    public final int s;
    public final int t;
    public final w D;
    public final w E;
    public final w F;
    public final jt G;
    public final fe I;
    public final fe J;
    public final fe K;
    public final fe L;
    public final ps u;
    public final gd v;
    public final lh w;
    public final ck x;
    public final oa y;
    private static Boolean d;
    private long a;
    public ft A;
    public iy B;
    public hx C;
    public boolean H;
    public iy N;
    public hx O;
    public int P;
    public iy Q;
    public hx R;
    public hh z;

    public synchronized void h_() {
        int n = this.a.size();
        for (int i = 0; i < n; ++i) {
            this.a(i).h_();
        }
    }

    public void k_() {
        iu.a(false);
        int n = this.a.size();
        for (int i = 0; i < n; ++i) {
            this.a(i).k_();
        }
    }

    private synchronized void i() {
        me.a((short)61, "a", "s");
        iu.a(true);
        e = false;
        int n = this.a.size();
        for (int i = 0; i < n; ++i) {
            this.a(i).j_();
        }
    }

    public synchronized void s_() {
        iu.a(false);
        e = false;
        int n = this.a.size();
        for (int i = 0; i < n; ++i) {
            this.a(i).s_();
        }
    }

    public synchronized void i_() {
        if (iu.g()) {
            int n = this.a.size();
            for (int i = 0; i < n; ++i) {
                this.a(i).i_();
            }
        }
    }

    public iu(ht ht2) {
        this.a = ht2;
    }

    public iu(hj hj2, eb eb2) {
        this.a = new Vector();
        this.b = hj2;
        this.c = eb2;
    }

    public iu(gd gd2, hj hj2) {
        this.a = new Vector();
        this.v = gd2;
        this.b = hj2;
    }

    static {
        a = new Object[]{"timer"};
        M = new int[]{-14006936, -4860423, 0xC5F5FF, -1571};
    }

    public void a(Object object, Object object2) {
        this.a(new Object[]{object, object2});
    }

    public void a(Object object) {
        this.a(new Object[]{object});
    }

    public final void N() {
        this.v();
        this.d();
        this.O();
    }

    public void j() {
        this.y();
        this.d();
    }

    private void u() {
        this.B();
        this.x();
    }

    public void o() {
        this.c((hh)null);
        this.B();
        this.A = null;
        this.a = 0L;
    }

    public void A() {
        this.z.a((byte)2);
        this.u();
        this.H = false;
    }

    public void y() {
        this.z.a((byte)1);
        this.u();
        this.H = false;
    }

    public void z() {
        this.z.a((byte)3);
        this.u();
    }

    public void f() {
        ck.e().a(new ht(true, 1, 0, ht.a(this.a), new ht(ht.b(this.a))));
    }

    public synchronized void j_() {
        e = true;
        ck.e().a(this);
    }

    private void v() {
        this.O = null;
        this.N = null;
        this.R = null;
        this.Q = null;
    }

    public void B() {
        this.B = null;
        this.C = null;
    }

    public final hc a(w w2, String string, hx hx2) {
        return iu.a(w2, string, hx2, dz.a(hx2));
    }

    public final hc c(String string, hx hx2) {
        return this.a(this.D, string, hx2);
    }

    public final jp a(String string, hx hx2, int n) {
        jp jp2 = this.a(string, hx2);
        jp2.c(n);
        return jp2;
    }

    private jz a(int n) {
        return (jz)this.a.elementAt(n);
    }

    public void a(jz jz2) {
        this.a.addElement(jz2);
    }

    public final void b(int n) {
        this.z.b(n);
        this.B();
        this.d();
    }

    public void b(ht ht2) {
    }

    public void a(DataOutput dataOutput) {
    }

    public void a(hh hh2) {
    }

    public void a() {
    }

    public void k() {
    }

    public void b() {
        ka.c();
    }

    public static boolean a() {
        return e;
    }

    public boolean f() {
        return e;
    }

    public boolean E() {
        this.A();
        this.d();
        return true;
    }

    public int z() {
        return 52;
    }

    private int q() {
        return this.u.b - (this.u.g + this.u.h());
    }

    private int F() {
        return (this.u.n() - this.A.r) / 2;
    }

    private int r() {
        return this.s() - this.u.i();
    }

    private int s() {
        return this.t() - this.u.i();
    }

    public final int V() {
        if (this.B != null && this.B.a() != null) {
            return ps.a(this.C, this.B.a().r());
        }
        return -1;
    }

    public final String U() {
        gm gm2;
        if (this.B != null && (gm2 = this.B.a().r()) != null && !(gm2 instanceof hc)) {
            if (!(gm2 instanceof pt)) {
                if (gm2 instanceof cu) {
                    return ((cu)gm2).c();
                }
            } else {
                return ((pt)gm2).a;
            }
        }
        return "";
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    public boolean a(nj nj2) {
        if (this.J != null) {
            switch (this.J.b(nj2)) {
                case 3: {
                    this.v.b(new pb(this.t, this.t, 0, false));
                }
                case -2: {
                    return true;
                }
            }
        }
        if (this.I != null) {
            switch (this.I.b(nj2)) {
                case -2: {
                    return true;
                }
                case 3: {
                    this.v.b(new pb(this.s, this.s, 0, false));
                    return true;
                }
            }
        }
        if (this.K == null) return false;
        switch (this.K.b(nj2)) {
            case -2: {
                return true;
            }
            case 3: {
                this.v.b(new pb(35, 35, 13, false));
                return true;
            }
        }
        return false;
    }

    public final void a(byte by2) {
        switch (by2) {
            case 3: {
                this.z();
                return;
            }
            case 2: {
                this.A();
                return;
            }
            case 1: {
                this.y();
            }
        }
    }

    public int a(pz pz2) {
        return 0;
    }

    public int b(pz pz2) {
        return 0;
    }

    public int d(pz pz2) {
        return 0;
    }

    public int c(pz pz2) {
        return 0;
    }

    public boolean c(pb pb2) {
        return false;
    }

    public boolean p() {
        return false;
    }

    public boolean w() {
        return false;
    }

    public boolean A_() {
        return false;
    }

    public boolean G() {
        return true;
    }

    public boolean z_() {
        return true;
    }

    public boolean y_() {
        return true;
    }

    public String K() {
        return null;
    }

    public String i() {
        return null;
    }

    public ft e() {
        return null;
    }

    public final bl W() {
        return iu.a(this.C);
    }

    public hh w_() {
        return this.z;
    }

    public void D() {
        this.k();
    }

    public iu() {
    }

    public static void a(iu iu2) {
        iu2.i();
    }

    public static bl a(hx hx2) {
        bl bl2 = new bl(0, 0, dz.a(hx2), true, -1184275, 2);
        bl2.u = true;
        hx2.d(bl2);
        return bl2;
    }

    public static hv a(gm gm2, hx hx2) {
        hv hv2 = new hv(0, 0, dz.a(hx2), gm2);
        hv2.u = true;
        hx2.d(hv2);
        return hv2;
    }

    public final jp a(String string, hx hx2) {
        jp jp2 = new jp(4, 0, dz.a(hx2), pt.a(this.D), 0, this.D, string, false, this.u.k);
        jp2.u = true;
        hx2.d(jp2);
        return jp2;
    }

    public final hv b(String string, hx hx2) {
        new hc(0, 0, dz.a(hx2) - 12, this.D, string).d = -16621882;
        return iu.a(new hc(0, 0, dz.a(hx2) - 12, this.D, string), hx2);
    }

    public static hc a(w w2, String string, fs fs2, int n) {
        if (!ed.b(string)) {
            hc hc2 = new hc(0, 0, n, w2, string);
            hc2.u = true;
            hc2.d = w2.t();
            fs2.d(hc2);
            return hc2;
        }
        return null;
    }

    public final pt a(String string, String string2, hx hx2) {
        if (string != null && string.length() != 0) {
            pt pt2 = new pt(4, 0, dz.a(hx2), this.D, string, string2, 4);
            pt2.u = true;
            hx2.d(pt2);
            return pt2;
        }
        return null;
    }

    public boolean a(iy iy2, hx hx2) {
        if (iy2 != null && hx2 != null) {
            this.B = iy2;
            this.C = hx2;
            this.a();
            return true;
        }
        return false;
    }

    public boolean a(int n, boolean bl2) {
        this.b(n);
        this.v.a(this.z.j().a(), false);
        if (bl2) {
            this.A();
        }
        return true;
    }

    public void a(jf jf2) {
        if (jf2.y_()) {
            this.a((Object)"datarequest", jf2);
        }
    }

    public final void Y() {
        if (lh.t()) {
            this.J.a();
            this.I.a();
            if (lh.u()) {
                this.K.a();
            }
        }
    }

    public final void O() {
        if (lh.t()) {
            this.I.d(this.s(), this.q(), this.u.i(), this.u.h());
            this.J.d(this.r(), this.q(), this.u.i(), this.u.h());
            if (lh.u()) {
                this.K.d(this.t(), this.q(), this.u.i(), this.u.h());
            }
        }
    }

    public final void P() {
        if (this.z != null) {
            this.z.a((byte)0);
        }
    }

    public void g() {
        String string = this.K();
        if (string != null) {
            this.v.c = string;
            if (!(this.z.i() != 2 || string.startsWith("http:") || string.startsWith("tel:") || string.startsWith("gmm:"))) {
                this.y();
                this.d();
            }
        }
    }

    public boolean T() {
        pz pz2 = this.M();
        if (pz2 != null) {
            this.A = this.e();
            if (pz2 instanceof ar && ((ar)pz2).q()) {
                this.A.a(M);
            }
            return true;
        }
        return false;
    }

    private int t() {
        int n = this.u.a;
        if (lh.t()) {
            n -= this.u.i();
        }
        if (lh.u()) {
            return n - this.u.i();
        }
        return n;
    }

    public final void c(hh hh2) {
        if (hh2 != this.z) {
            this.v();
        }
        this.a(hh2);
    }

    public void a(Object[] objectArray) {
        Vector vector = this.a;
        boolean bl2 = false;
        synchronized (vector) {
            if (this.a.isEmpty()) {
                bl2 = true;
            }
            this.a.addElement(objectArray);
        }
        if (bl2) {
            this.b.a(this);
        }
    }

    public ej a() {
        int n = nz.a("CELLID", 10);
        if (n != -1) {
            return ej.a(null, -1, n, nz.a("LAC", 10), -1, nz.a("MNC", 10), nz.a("MCC", 10), -1, -1, -1);
        }
        ej.b();
        return ej.d();
    }

    private static void a(boolean bl2) {
        if (d == null || d != bl2) {
            d = new Boolean(bl2);
            bl2 = bl2;
            lh.k().f().a("TERMS_ACCEPTED_SETTING", new byte[]{0, 0, 0, (byte)(bl2 ? 1 : 0)});
            lh.k().f().h();
        }
    }

    public static boolean g() {
        if (d == null) {
            boolean bl2 = false;
            byte[] byArray = lh.k().f().g("TERMS_ACCEPTED_SETTING");
            if (byArray != null && byArray.length == 4) {
                bl2 = ((byArray[0] & 0xFF) << 24 | (byArray[1] & 0xFF) << 16 | (byArray[2] & 0xFF) << 8 | byArray[3] & 0xFF) == 1;
            }
            d = new Boolean(bl2);
        }
        return d != false && ka.a();
    }

    public static boolean Z() {
        return !lh.t();
    }

    public boolean h() {
        return this.z != null;
    }

    public final boolean Q() {
        return !this.S();
    }

    public cq n() {
        if (!lh.t() && this.S()) {
            return jy.c;
        }
        return null;
    }

    public cq m() {
        if (this.S()) {
            return jy.b;
        }
        return null;
    }

    public final pz M() {
        if (this.z != null && this.z.i() != 0) {
            return this.z.j();
        }
        return null;
    }

    public final boolean R() {
        return this.z != null && (this.z.i() == 1 || this.z.i() == 2);
    }

    public final boolean S() {
        return this.z != null && this.C != null && this.B != null && (this.z.i() == 2 || this.z.i() == 3);
    }

    public void af() {
        if (this.z != null) {
            if (this.z.i() != 2) {
                this.R = null;
                this.Q = null;
            }
            if (this.z.i() != 3) {
                this.O = null;
                this.N = null;
            }
        }
    }

    public void v_() {
        switch (this.z.i()) {
            case 2: {
                this.P = this.z.w();
                this.R = this.C;
                this.Q = this.B;
            }
            default: {
                return;
            }
            case 3: 
        }
        this.O = this.C;
        this.N = this.B;
    }

    /*
     * Enabled aggressive block sorting
     */
    private void x() {
        if (this.z == null) return;
        if (this.w()) {
            this.v();
        }
        if (this.z.i() != 3) {
            if (this.z.i() == 2) {
                if (this.z.w() == this.P && this.a(this.Q, this.R)) return;
                this.C();
                this.v_();
                return;
            } else {
                this.B();
            }
            return;
        }
        if (this.a(this.N, this.O)) return;
        this.b();
        this.v_();
    }

    public void d() {
        if (this.z != null) {
            if (!this.T()) {
                this.B();
                this.A = null;
                this.a = 0L;
            }
            this.x();
        }
    }

    public final void e(ht ht2) {
        if (this.v.i()) {
            if (this.R()) {
                this.c(ht2);
            }
            if (this.Q()) {
                this.a(ht2);
            }
            if (this.S()) {
                this.f(ht2);
                this.B.a(ht2, 0, 0);
            }
        }
    }

    public void f(ht ht2) {
        if (lh.u() && (this.z.i() == 3 || this.z.i() == 2)) {
            this.L.e(this.B.p, this.B.q + this.B.s);
            this.L.f(this.u.n(), this.u.h());
            this.L.a(ht2, 0, 0);
        }
    }

    public void a(ht ht2) {
        if (lh.t()) {
            fe fe2 = this.J;
            boolean bl2 = this.z.w() > 0 || this.z.i() == 0;
            fe2.a = bl2;
            fe2 = this.I;
            bl2 = this.z.w() < this.z.a() - 1;
            fe2.a = bl2;
            this.I.a(ht2, 0, 0);
            this.J.a(ht2, 0, 0);
            if (lh.u()) {
                this.K.a = true;
                this.K.a(ht2, 0, 0);
            }
        }
    }

    public void a(ht ht2, pz pz2, int n, int n2, int n3) {
        block4: {
            le le2;
            ar ar2;
            block6: {
                block5: {
                    if (!((ar)pz2).T()) break block4;
                    ar2 = (ar)pz2;
                    if (!ar2.T()) break block5;
                    le2 = ar2.d;
                    if (ar2.q()) break block6;
                    if (ar2.s()) {
                        ht2.a(le2, n - le2.a() / 2, n2 - le2.b());
                    }
                }
                return;
            }
            this.u.a(ht2, ar2.b, n, n2, 0);
            ht2.a(le2, n - this.u.b(ar2.b) + 6, n2 - this.u.a(ar2.b) + 2);
            return;
        }
        this.u.a(ht2, pz2.l(), n, n2, n3);
    }

    /*
     * Enabled aggressive block sorting
     * Lifted jumps to return sites
     */
    private boolean a(pz pz2, iv iv2, int n) {
        if (pz2 == null) return false;
        iv iv3 = pz2.a();
        if (iv3 == null) return false;
        cn cn2 = this.x.c();
        int n2 = iv2.a(cn2) - iv3.a(cn2);
        int n3 = iv2.b(cn2) - iv3.b(cn2) - n;
        if (pz2 instanceof ar) {
            ar ar2 = (ar)pz2;
            if (ar2.q()) {
                if (n2 < -this.u.b(pz2.l())) return false;
                if (n2 > 0) return false;
                if (n3 < -this.u.a(pz2.l())) return false;
                if (n3 <= 0) return true;
                return false;
            }
            if (ar2.W()) {
                if (Math.abs(n2) > this.c(pz2) / 2) return false;
                if (Math.abs(n3) > this.d(pz2) / 2) return false;
                return true;
            }
        }
        n = 0;
        if (lh.u()) {
            n = 20;
        }
        if (Math.abs(n2) > this.c(pz2) / 2 + n) return false;
        if (n3 < -this.d(pz2) - n) return false;
        if (n3 <= 0) return true;
        return false;
    }

    /*
     * WARNING - void declaration
     * Enabled aggressive block sorting
     * Enabled unnecessary exception pruning
     * Enabled aggressive exception aggregation
     */
    public boolean a(DataInput dataInput) {
        if (e) {
            void var3_8;
            lk lk2 = ar.a(la.U, dataInput);
            int bl2 = ar.b(lk2, 1, -1);
            int n = ar.b(lk2.f(2), 1, -1);
            switch (bl2) {
                case 0: {
                    lk2 = lk2.f(3).f(1);
                    try {
                        if (lk2 != null && lk2.h(2) && lk2.b(2)) {
                            boolean bl3 = true;
                            break;
                        }
                        boolean bl4 = false;
                    }
                    catch (IllegalArgumentException illegalArgumentException) {
                        boolean bl5 = false;
                    }
                    catch (ClassCastException classCastException) {
                        boolean bl6 = false;
                    }
                    break;
                }
                default: {
                    ka.a(n, this.b);
                    e = false;
                    return true;
                }
            }
            this.b.a(new ht(this.c, this.b, this, (boolean)var3_8));
        }
        return true;
    }

    public void a(int n, boolean bl2) {
        String string;
        String string2;
        switch (n) {
            case 3: {
                string2 = lh.d(318);
                string = lh.d(315);
                break;
            }
            case 5: {
                string2 = lh.d(557);
                string = lh.d(556);
                break;
            }
            case 4: {
                string2 = lh.d(318);
                string = "";
                break;
            }
            case 1: 
            case 2: {
                string2 = lh.d(572);
                string = lh.d(564);
                break;
            }
            case 0: {
                string2 = lh.d(314);
                string = lh.d(313);
                break;
            }
            default: {
                string2 = lh.d(317);
                string = lh.d(316);
            }
        }
        Object[] objectArray = new Object[]{string2, string, new Boolean(true)};
        this.v.a((String)objectArray[0], (String)objectArray[1], (boolean)((Boolean)objectArray[2]));
    }

    public iu(gd gd2, ck ck2, lh lh2, jt jt2) {
        this.y = new oa();
        this.v = gd2;
        this.x = ck2;
        this.w = lh2;
        this.u = ps.a();
        this.G = jt2;
        lh lh3 = lh.k();
        this.s = lh3.b("NextKey", 54);
        this.t = lh3.b("PrevKey", 52);
        this.D = jj.a(true);
        this.E = jj.b(true);
        this.F = jj.c(true);
        if (lh.t()) {
            this.J = new fe(this.r(), this.q(), '\ued35', '\ued36');
            this.I = new fe(this.s(), this.q(), '\ued33', '\ued34');
            fe fe2 = lh.u() ? new fe(this.t(), this.q(), '\ued37', '\ued38') : null;
            this.K = fe2;
            this.L = new fe(0, 0, 0, 0, lh.d(439));
            return;
        }
        this.L = null;
        this.K = null;
        this.I = null;
        this.J = null;
    }

    /*
     * Enabled aggressive block sorting
     */
    public final boolean a(String string, String string2) {
        if (this.z == null) return false;
        if (string.startsWith("tel:")) {
            long l = -1;
            pz pz2 = this.z.j();
            if (pz2 instanceof ar) {
                l = ((ar)pz2).m();
            }
            string2 = String.valueOf(this.z.w());
            string = l != (long)-1 ? "" + l : "";
            me.a((short)1, string2, string);
            return false;
        } else {
            if (!string.startsWith("goto:")) return false;
            this.b(Integer.parseInt(string2));
            return true;
        }
    }

    public void c(ht ht2) {
        ar ar2 = (ar)this.z.j();
        if (ar2 != null) {
            iv iv2 = ar2.a();
            if (this.z.i() == 1 && iv2 != null) {
                this.x.a(iv2, this.y);
                this.a(ht2, ar2, this.y.a, this.y.b, this.z.w());
                if (ar2.b != 0 || ar2.t()) {
                    this.a(ht2, ar2);
                }
            }
        }
    }

    public void d(ht ht2) {
        iv iv2;
        int n;
        if (!this.v.f) {
            for (n = 0; n < this.z.a(); ++n) {
                ar ar2 = (ar)this.z.c(this.z.d(n));
                if (ar2 == null || ar2.T() && ar2.b != 12 || (iv2 = ar2.a()) == null) continue;
                this.x.a(iv2, this.y);
                this.u.a(ht2, ar2.b, this.y.a, this.y.b);
            }
        }
        for (n = 0; n < this.z.a(); ++n) {
            int n2 = this.z.d(n);
            pz pz2 = this.z.c(n2);
            if (pz2 == null || pz2.l() == 0 || (iv2 = pz2.a()) == null) continue;
            this.x.a(iv2, this.y);
            this.a(ht2, pz2, this.y.a, this.y.b, n2);
        }
    }

    /*
     * Unable to fully structure code
     */
    public final void a(ht var1_1, pz var2_2) {
        block5: {
            block4: {
                if (!(var2_2 instanceof ar)) ** GOTO lbl-1000
                var4_3 = ((ar)var2_2).c;
                if (var4_3 != null) {
                    ** if (var4_3.a() != 2 && var4_3.a() != 3) goto lbl-1000
lbl-1000:
                    // 1 sources

                    {
                        var3_4 = this.x.d();
                        ** GOTO lbl12
                    }
                }
                break block4;
lbl-1000:
                // 2 sources

                {
                    var3_4 = var2_2.a();
                }
                break block5;
            }
            var3_4 = null;
        }
        if (var3_4 != null) {
            this.x.a(var3_4, this.y);
            this.A.d(this.y.a + this.a(var2_2), this.y.b + this.b(var2_2));
            var5_5 = this.F();
            this.A.a(var1_1, var5_5, 0);
        }
    }

    /*
     * Enabled aggressive block sorting
     */
    public final int a(iv iv2) {
        int n;
        int n2 = 0;
        if (this.z instanceof mo) {
            n2 = this.u.a((byte)3) / 2;
        }
        if ((n = this.z.w()) >= 0 && this.a(this.z.c(n), iv2, n2)) return n;
        for (n = 0; n < this.z.a(); ++n) {
            if (this.a(this.z.c(n), iv2, n2)) return n;
        }
        n2 = 0;
        while (n2 < this.z.a()) {
            Object object = this.z.c(n2);
            if (object != null && object instanceof ar) {
                ar ar2 = (ar)object;
                cn cn2 = this.x.c();
                object = ar2.c;
                n = object != null ? (object.a() != 2 ? (object.a() == 3 ? (int)(om.a(this.G.e().a((om)object, cn2), iv2, cn2) ? 1 : 0) : 0) : (int)(cw.a(this.G.e().a((cw)object, cn2), iv2, cn2) ? 1 : 0)) : 0;
            } else {
                n = 0;
            }
            if (n != 0) {
                return n2;
            }
            ++n2;
        }
        return -1;
    }

    public void C() {
        Throwable throwable2;
        block7: {
            block6: {
                Vector vector = this.a;
                synchronized (vector) {
                    try {
                        block5: {
                            for (int i = 0; i < this.a.size(); ++i) {
                                if (((Object[])this.a.elementAt(i))[0] != "timer") {
                                    continue;
                                }
                                break block5;
                            }
                            break block6;
                        }
                        return;
                    }
                    catch (Throwable throwable2) {
                        break block7;
                    }
                }
            }
            this.a(a);
            return;
        }
        throw throwable2;
    }

    /*
     * WARNING - Removed back jump from a try to a catch block - possible behaviour change.
     * Enabled aggressive block sorting
     * Enabled unnecessary exception pruning
     * Enabled aggressive exception aggregation
     */
    public void run() {
        while (true) {
            Object[] objectArray;
            Object object = this.a;
            synchronized (object) {
                if (this.a.isEmpty()) {
                    return;
                }
                objectArray = (Object[])this.a.elementAt(0);
                this.a.removeElementAt(0);
            }
            {
                object = (String)objectArray[0];
                if (object != "timer") {
                    if (object != "datarequest") {
                        if (object != "gpsfix") {
                            if (object != "gpserror") {
                                if (object != "loginsuccessful") {
                                    if (object != "loginfailed") {
                                        if (object != "photomapcellid") {
                                            if (object != "etaRequest") continue;
                                            this.v.a((jr)objectArray[1], true);
                                            continue;
                                        }
                                        this.v.v();
                                        continue;
                                    }
                                    this.v.c(false);
                                    continue;
                                }
                                this.v.c(true);
                                continue;
                            }
                            this.v.b((Integer)objectArray[1]);
                            continue;
                        }
                        this.v.q();
                        continue;
                    }
                    this.v.a((jf)objectArray[1]);
                    continue;
                }
                this.v.r();
                continue;
            }
            break;
        }
    }

    public final boolean X() {
        block3: {
            iy iy2;
            block4: {
                block2: {
                    if (this.S()) break block2;
                    if (this.z == null || this.z.i() != 1 || this.A == null) break block3;
                    iy2 = this.A;
                    break block4;
                }
                iy2 = this.B;
            }
            if (iy2 != null) {
                boolean bl2 = false;
                long l = System.currentTimeMillis();
                if (this.a != 0L) {
                    ((gm)iy2).c_((int)(l - this.a));
                    bl2 = iy2.u() != null;
                }
                this.a = l;
                return bl2;
            }
        }
        return false;
    }

    /*
     * Unable to fully structure code
     */
    public final boolean d(pb var1_1) {
        block8: {
            block9: {
                block7: {
                    block6: {
                        gd.k = 100;
                        if (this.S()) break block6;
                        if (this.z != null && this.z.i() == 1) {
                            gd.k = 106;
                            if (this.A != null && this.A.a(var1_1) != -1) lbl-1000:
                            // 2 sources

                            {
                                return true;
                            }
                        }
                        break block7;
                    }
                    gd.k = 101;
                    var2_2 = this.B.a(var1_1);
                    if (var2_2 == -2) break block8;
                    if (var2_2 != -3) {
                        if (var1_1.c == 8) {
                            gd.k = 105;
                            this.j();
                            return true;
                        } else {
                            ** GOTO lbl19
                        }
                    }
                    break block9;
                }
                if (lh.t() && var1_1.c == 6 && (jy.r.equals(this.n()) || jy.q.equals(this.n()))) {
                    return this.c(new pb(35, 35, 13, false));
                }
                gd.k = 107;
                return this.c(var1_1);
            }
            gd.k = 104;
            this.g();
            return true;
        }
        gd.k = 102;
        ** while (!(this.B instanceof d) || var1_1.c != 4 && var1_1.c != 3)
lbl31:
        // 1 sources

        gd.k = 103;
        me.a((short)5, "t" + ((d)this.B).b, String.valueOf(this.z.w()));
        return true;
    }

    /*
     * Exception decompiling
     */
    public final boolean b(nj var1_1) {
        /*
         * This method has failed to decompile.  When submitting a bug report, please provide this stack trace, and (if you hold appropriate legal rights) the relevant class file.
         * 
         * org.benf.cfr.reader.util.ConfusedCFRException: Tried to end blocks [2[CASE]], but top level block is 5[CASE]
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.processEndingBlocks(Op04StructuredStatement.java:435)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op04StructuredStatement.buildNestedBlocks(Op04StructuredStatement.java:484)
         *     at org.benf.cfr.reader.bytecode.analysis.opgraph.Op03SimpleStatement.createInitialStructuredBlock(Op03SimpleStatement.java:736)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisInner(CodeAnalyser.java:850)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysisOrWrapFail(CodeAnalyser.java:278)
         *     at org.benf.cfr.reader.bytecode.CodeAnalyser.getAnalysis(CodeAnalyser.java:201)
         *     at org.benf.cfr.reader.entities.attributes.AttributeCode.analyse(AttributeCode.java:94)
         *     at org.benf.cfr.reader.entities.Method.analyse(Method.java:531)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseMid(ClassFile.java:1055)
         *     at org.benf.cfr.reader.entities.ClassFile.analyseTop(ClassFile.java:942)
         *     at org.benf.cfr.reader.Driver.doJarVersionTypes(Driver.java:257)
         *     at org.benf.cfr.reader.Driver.doJar(Driver.java:139)
         *     at org.benf.cfr.reader.CfrDriverImpl.analyse(CfrDriverImpl.java:76)
         *     at org.benf.cfr.reader.Main.main(Main.java:54)
         */
        throw new IllegalStateException("Decompilation failed");
    }
}

