/*
 * Decompiled with CFR 0.152.
 */
public final class ff
extends iu {
    private static final String l;
    private static final String m;
    private static final String r;
    private static final String al;
    private static final String S;
    private static final String T;
    private static final String U;
    private static final String V;
    private static final String W;
    private static final String X;
    private static final String Y;
    private static final String Z;
    private static final String c;
    private static final String d;
    private static final String e;
    private static final String f;
    private static final String g;
    private static final String h;
    private static final String i;
    private static final String j;
    private static final String k;
    private static final String n;
    private static final String o;
    private static final String p;
    private static final String q;
    private static final String aa;
    private static final String ab;
    private static final String ac;
    private static final String ad;
    private static final String ae;
    private static final String af;
    private static final String ag;
    private static final String ah;
    private static final String ai;
    private static final String aj;
    private static final String ak;
    private static final String am;
    private static final String an;
    private static final String ao;
    private static final String as;
    private int ap = 0;
    private int aq;
    private boolean ar = false;
    public jp a;
    public hc b;

    public ff(gd gd2, ck ck2, lh lh2, jt jt2) {
        super(gd2, ck2, lh2, jt2);
    }

    public final void d(ht ht2) {
    }

    public final void C() {
    }

    public final void A() {
    }

    private static void a(StringBuffer stringBuffer) {
        stringBuffer.append("\n").append(V);
    }

    public static void a(String string) {
        me.a((short)4, "da", string);
    }

    public static void b(String string) {
        me.a((short)4, "al", string);
    }

    private static void b(String string, String string2) {
        me.a((short)4, "v", me.a(new String[]{"v=" + string, "s=" + string2}));
    }

    static {
        c = lh.d(411);
        d = lh.d(62);
        e = lh.d(535);
        f = lh.d(530);
        g = lh.d(487);
        h = lh.d(484);
        i = lh.d(488);
        j = lh.d(485);
        k = lh.d(486);
        l = lh.d(483);
        m = lh.d(56);
        n = lh.d(8);
        o = lh.d(410);
        p = lh.d(414);
        q = lh.d(415);
        r = lh.d(534);
        S = lh.d(412);
        T = lh.d(413);
        U = lh.d(532);
        V = lh.d(14);
        W = lh.d(77);
        X = lh.d(580);
        Y = lh.d(539);
        Z = lh.d(479);
        aa = lh.d(90);
        ab = lh.d(279);
        ac = lh.d(51);
        ad = lh.d(6);
        ae = lh.d(257);
        af = lh.d(291);
        ag = lh.d(529);
        ah = lh.d(293);
        ai = lh.d(79);
        aj = lh.d(67);
        ak = lh.d(459);
        al = lh.d(273);
        am = lh.d(60);
        an = lh.d(582);
        ao = lh.d(436);
        as = ps.a('\ued3f') + " " + ao;
    }

    public final boolean E() {
        if (lh.t()) {
            this.d(new pb(56, 56, 13, false));
            return true;
        }
        this.d(new pb(35, 35, 13, false));
        return true;
    }

    public final cq n() {
        if (lh.t() && !lh.u()) {
            if (!this.S()) {
                return jy.r;
            }
            return jy.q;
        }
        return super.n();
    }

    private static String b(gu gu2) {
        String string = ku.b(gu2.d());
        if (ed.b(string) && gu2.e()) {
            return ed.a(m, ku.a(gu2.u()));
        }
        return string;
    }

    private static String a(gu gu2) {
        String string = ku.b(gu2.b());
        if (ed.b(string) && gu2.i()) {
            return ed.a(n, ku.a(gu2.j()));
        }
        return string;
    }

    public final int a(pz pz2) {
        return this.c(pz2) / 3;
    }

    public final int b(pz pz2) {
        return -this.d(pz2) / 2;
    }

    public final int c(pz pz2) {
        return this.u.b(pz2.l());
    }

    public final int d(pz pz2) {
        return this.u.a(pz2.l());
    }

    private iv a(int n) {
        return this.z.c(n).a();
    }

    public final ft e() {
        String string = a.a();
        a.a(af);
        this.z.j();
        ft ft2 = this.u.a(this.c(this.z.w(), this.u.n(), true));
        a.a(string);
        return ft2;
    }

    private boolean s() {
        return ((oz)this.z.j()).h();
    }

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

    private gc ac() {
        return (gc)this.z;
    }

    private mo aa() {
        return (mo)this.z;
    }

    private by ab() {
        return (by)this.z;
    }

    private boolean ai() {
        return this.z instanceof gc;
    }

    private boolean aj() {
        return this.z instanceof by;
    }

    private boolean H() {
        return ((mo)this.z).K().v();
    }

    private int L() {
        if (((mo)this.z).T()) {
            if (!this.s()) {
                return 1;
            }
            return 0;
        }
        return 2;
    }

    private int q() {
        int n = 0;
        for (int i = 0; i < this.z.a(); ++i) {
            int n2 = this.D.a(((mo)this.z).a(i, this.u.j));
            if (n2 <= n) continue;
            n = n2;
        }
        return n;
    }

    public final void k() {
        int n;
        block3: {
            block2: {
                if (this.z == null) break block2;
                n = this.a(this.x.d());
                if (n >= 0) break block3;
                this.z.a((byte)0);
            }
            return;
        }
        this.a(n, false, false);
    }

    public final void j() {
        if (this.z instanceof gc) {
            ((mo)this.z).m(-1);
        }
        this.v.a((jr)((Object)this.z));
        this.v.a((iu)null);
        this.z = null;
    }

    public final void c(ht ht2) {
        pz pz2 = this.z.j();
        if (pz2 != null && this.z.i() == 1 && pz2.l() != 0) {
            this.a(ht2, pz2);
        }
    }

    public final cq m() {
        if (this.z.i() == 3) {
            return jy.g;
        }
        return null;
    }

    public final String K() {
        String string = this.U();
        bj bj2 = (bj)this.z;
        if (bj2 != null && bj2.G().equals(string)) {
            return "favorite:" + bj2.v();
        }
        return null;
    }

    public final String i() {
        block0: {
            StringBuffer stringBuffer;
            block2: {
                block1: {
                    if (lh.t()) break block0;
                    stringBuffer = new StringBuffer();
                    if (this.z.i() == 0) break block1;
                    if (this.z.i() == 3) break block0;
                    this.a(stringBuffer, this.z.w());
                    break block2;
                }
                stringBuffer.append(o);
            }
            ff.a(stringBuffer);
            return stringBuffer.toString();
        }
        return null;
    }

    private gm a(gm gm2, int n, int n2) {
        ja ja2 = ja.c(0);
        ja2.d(gm2);
        if (n2 == 0) {
            hc hc2;
            w w2 = this.D;
            String string = lh.t() ? lh.d(542) : lh.d(125);
            hc hc3 = hc2;
            hc3(0, 0, n, w2, string);
            gm2 = hc3;
        } else {
            gm2 = new hc(0, 0, n, jj.c(false), lh.d(506));
        }
        ja2.d(gm2);
        ja2.a(n, Integer.MAX_VALUE);
        return ja2;
    }

    private void a(StringBuffer stringBuffer, int n) {
        block5: {
            block4: {
                String string;
                boolean bl2 = n == this.z.a() - 1;
                if (n > 0) {
                    string = bl2 ? (!this.aj() ? r : q) : p;
                    stringBuffer.append(string);
                }
                if (bl2) break block4;
                if (stringBuffer.length() > 0) break block5;
                string = this.aj() ? T : U;
                stringBuffer.append(string);
            }
            return;
        }
        stringBuffer.append("   ");
        stringBuffer.append(S);
    }

    public final boolean w() {
        bj bj2;
        if (!(this.z == null || this.a == null || (bj2 = (bj)this.z).G().equals(this.a.c()) && this.J().equals(this.b.c))) {
            this.a.a(bj2.G());
            this.b.a(this.J());
        }
        if (!this.ar) {
            if (!(this.z instanceof by) || this.ab().g() == this.aq) {
                return false;
            }
        } else {
            this.ar = false;
        }
        return true;
    }

    private int ae() {
        int n = this.V();
        int n2 = !this.H() ? 0 : 1;
        n -= n2;
        n2 = ff.Z() ? 1 : 0;
        if ((n2 = n - n2) >= 0) {
            for (n = 0; n < this.z.a(); ++n) {
                oz oz2 = (oz)this.aa().c(n);
                if (oz2.i() && oz2.a == 1 && n2 > 0) {
                    --n2;
                    if (!oz2.a) {
                        --n2;
                    }
                }
                if (n2 <= 0) break;
                --n2;
            }
            return n;
        }
        return -1;
    }

    private boolean a(boolean bl2) {
        int n = this.ae();
        if (this.z != null) {
            int n2 = this.z.a();
            if (n >= 0 && n < n2 && (!bl2 || ((oz)this.z.c((int)n)).a.s())) {
                ff.b("m", String.valueOf(n));
                this.a(n, true, false);
                this.y();
                return true;
            }
        }
        return false;
    }

    /*
     * WARNING - void declaration
     */
    private void a(int n, boolean bl2, boolean bl3) {
        jr jr2 = (jr)((Object)this.z);
        if (n >= 0 && n < this.z.a() && bl2) {
            void var3_5;
            if (var3_5 != false) {
                int n2;
                int n3;
                int n4 = this.z.w();
                boolean bl4 = false;
                boolean bl5 = false;
                if (n4 != -1) {
                    n3 = jr2.a(n4);
                    n2 = jr2.a(n);
                }
                if (n3 != n2) {
                    this.v.a(jr2.c(), n3, n2, Math.abs(n4 - n));
                } else {
                    this.v.a(this.a(n));
                }
            } else {
                this.v.a(this.a(n));
            }
            me.a((short)18, "dd", String.valueOf(n));
        }
        this.z.b(n);
        this.d();
    }

    public final void g() {
        Object object = this.U();
        if (!c.equals(object)) {
            if (!ak.equals(object)) {
                if (!al.equals(object)) {
                    if (!ad.equals(object)) {
                        if (!as.equals(object)) {
                            if (ae.equals(object)) {
                                mo mo2;
                                ff.a("r");
                                mo mo3 = (mo)this.z;
                                object = new aq(mo3.m, mo3.k, mo3.o);
                                if (mo3 instanceof gc) {
                                    mo2 = new gc((jr)object, this.u.j);
                                    mo2.e = mo3.e;
                                    mo2.f = mo3.f;
                                } else {
                                    mo2 = !(mo3 instanceof bp) ? new by((jr)object) : new bp((jr)object);
                                }
                                this.v.a((iu)null);
                                this.z = null;
                                this.v.a(mo2, true);
                                return;
                            }
                            this.a(false);
                            super.g();
                            return;
                        }
                        ff.b("va");
                        this.v.b((mo)this.z);
                        return;
                    }
                    ff.a("av");
                    this.v.a((mo)this.z);
                    return;
                }
                this.ac().g(this.ae());
                this.ar = true;
                int n = this.V();
                this.d();
                this.C.l(dz.a((fs)this.C, n));
                return;
            }
            this.ac().h(this.ae());
            int n = this.V();
            this.ar = true;
            this.d();
            this.C.l(dz.a((fs)this.C, n));
            return;
        }
        ff.b("m", "#");
        this.y();
        this.d();
    }

    private String J() {
        if (this.z instanceof gc) {
            gc gc2 = this.ac();
            String string = e;
            String string2 = gc2.u() ? gc2.v() + " " : Y;
            return ed.a(string, string2, String.valueOf(this.ac().x + 1)).trim();
        }
        if (!(this.z instanceof bp)) {
            by by2 = this.ab();
            if (by2.u()) {
                return by2.v();
            }
            return W;
        }
        bp bp2 = (bp)this.z;
        if (bp2.u()) {
            return bp2.v();
        }
        return X;
    }

    private String b(oz oz2) {
        gu gu2 = oz2.a;
        if (gu2 != null) {
            StringBuffer stringBuffer = new StringBuffer();
            if (!oz2.g()) {
                if (gu2.h() > 0) {
                    int n = this.aa().B;
                    stringBuffer.append(ed.a(ab, gu2.o(), oq.a(gu2.h(), n)));
                } else {
                    stringBuffer.append(gu2.o());
                }
            } else {
                stringBuffer.append(gu2.m());
            }
            return stringBuffer.toString();
        }
        return "";
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    private String a(oz oz2, boolean bl2) {
        String string;
        gu gu2 = oz2.a;
        if (gu2 == null) return "";
        if (!oz2.a) {
            boolean bl3 = this.ai() && lh.o().startsWith("ja");
            if (!bl3 || !oz2.j() && !oz2.d()) {
                bl3 = !bl2;
                gu2 = oz2.a;
                StringBuffer stringBuffer = new StringBuffer();
                if (oz2.j() || oz2.e() || oz2.i()) {
                    if (!ed.b(gu2.m()) && oz2.j()) {
                        stringBuffer.append(ed.a(f, gu2.o(), gu2.m()));
                    } else {
                        stringBuffer.append(gu2.o());
                    }
                    if (!ed.b(gu2.g())) {
                        stringBuffer.append('\n');
                        stringBuffer.append(ed.a(d, gu2.g()));
                    }
                }
                switch (oz2.b) {
                    case 2: {
                        string = ff.a(gu2);
                        if (ed.b(string)) {
                            if (gu2.h() > 0 && bl3) {
                                stringBuffer.append(oq.a(gu2.h(), this.ac().B));
                            }
                        } else {
                            stringBuffer.append(ed.a(h, string));
                        }
                        if (stringBuffer.length() > 0) {
                            stringBuffer.append('\n');
                        }
                        stringBuffer.append(gu2.k());
                        break;
                    }
                    case 1: {
                        string = ff.b(gu2);
                        if (ed.b(string)) break;
                        stringBuffer.append('\n');
                        stringBuffer.append(ed.a(g, string));
                        break;
                    }
                    case 4: {
                        if (!oz2.k() || gu2.h() <= 0 || !bl3) break;
                        stringBuffer.append(" - ");
                        stringBuffer.append(oq.a(gu2.h(), this.ac().B));
                        break;
                    }
                    case 3: {
                        stringBuffer.append(gu2.m());
                        break;
                    }
                    default: {
                        if (!bl3) break;
                        if (!gu2.i()) {
                            if (gu2.h() <= 0) break;
                            stringBuffer.append('\n');
                            stringBuffer.append(oq.a(gu2.h(), this.ac().B));
                            break;
                        }
                        stringBuffer.append('\n');
                        stringBuffer.append(ku.a(gu2.j()));
                    }
                }
                string = stringBuffer.toString();
            } else {
                gu2 = oz2.a;
                StringBuffer stringBuffer = new StringBuffer();
                if (oz2.j()) {
                    stringBuffer.append(gu2.o());
                    if (!ed.b(gu2.g())) {
                        stringBuffer.append('\n');
                        stringBuffer.append(ed.a(d, gu2.g()));
                    }
                    stringBuffer.append('\n');
                    string = ff.b(gu2);
                    if (!ed.b(string)) {
                        stringBuffer.append(ed.a(i, string, gu2.m()));
                    } else {
                        stringBuffer.append(ed.a(k, gu2.m()));
                    }
                } else if (oz2.d()) {
                    string = ff.a(gu2);
                    if (ed.b(string)) {
                        stringBuffer.append(ed.a(l, gu2.k()));
                        if (gu2.h() > 0) {
                            stringBuffer.append('\n');
                            stringBuffer.append(oq.a(gu2.h(), this.ac().B));
                        }
                    } else {
                        stringBuffer.append(ed.a(j, string, gu2.k()));
                    }
                }
                string = stringBuffer.toString();
            }
            if (!oz2.k() || bl2) return string;
            return ed.a(am, "" + oz2.a, string);
        }
        string = ed.a(an, gu2.m());
        if (oz2.g > 0) return string + '\n' + ku.a(oz2.g);
        if (oz2.c <= 0) return string;
        return string + '\n' + oq.a(oz2.c, this.ac().B);
    }

    private gm c(int n, int n2, boolean bl2) {
        if (this.z instanceof gc) {
            gc gc2 = this.ac();
            oz oz2 = (oz)gc2.c(n);
            String string = this.ac().a(n, this.u.j, bl2);
            n = this.ap + 1;
            dr dr2 = new dr(true, 4);
            dr dr3 = new dr(false, 4);
            new hc(0, 2, n, this.D, string).e = 2;
            dr2.d(new hc(0, 2, n, this.D, string));
            boolean bl3 = false;
            int n3 = n2 - 16 - n;
            if (oz2.j() && oz2.a.a.h(17)) {
                bl3 = true;
                string = ps.a('\ued3f') + " ";
                lk lk2 = gc2.j(oz2.a.a.c(17, 0));
                string = lk2.h(1) ? string + lk2.g(1) : string + lk2.g(2);
                w w2 = mg.a(jj.a(false), string, 1, 1);
                new hc(0, 1, n3, w2, string, true).d = -5636096;
                dr3.d(new hc(0, 1, n3, w2, string, true));
            }
            n = 2;
            hc hc2 = new hc(0, 1, n3, this.D, this.a(oz2, false));
            if (bl2) {
                n3 = this.u.l() / this.D.l();
                n = this.L();
                if (n != 2) {
                    --n3;
                }
                if (bl3) {
                    --n3;
                }
                hc2.a(n3);
            }
            hc2.l(hc2.d());
            hc2.d = !oz2.d() ? -14006936 : -7566196;
            dr3.d(hc2);
            dr2.d(dr3);
            if (n != 2) {
                return this.a(dr2, n2, n);
            }
            return dr2;
        }
        int n4 = 2;
        oz oz3 = (oz)this.z.c(n);
        String string = this.aa().a(n, this.u.j);
        hc hc3 = new hc(0, 0, n2 -= 12, this.D, string + " " + this.b(oz3));
        if (bl2) {
            n = this.u.l() / this.D.l();
            n4 = this.L();
            if (n4 != 2) {
                --n;
            }
            hc3.a(n);
        }
        hc3.l(hc3.d());
        hc3.d = -14006936;
        if (n4 != 2) {
            return this.a(hc3, n2, n4);
        }
        return hc3;
    }

    private boolean r() {
        if (this.s()) {
            gu.u();
            StringBuffer stringBuffer = new StringBuffer();
            stringBuffer.append("streetview_directionstep:");
            stringBuffer.append("" + this.z.w());
            iv[] ivArray = ((mo)this.z).c();
            int n = this.z.a();
            for (int i = 0; i < n; ++i) {
                stringBuffer.append('\u0003');
                oz oz2 = (oz)this.z.c(i);
                int n2 = oz2.i;
                iv iv2 = null;
                iv iv3 = null;
                if (n2 + 1 < ivArray.length) {
                    iv2 = ivArray[oz2.i + 1];
                }
                if (n2 - 1 >= 0) {
                    iv3 = ivArray[oz2.i - 1];
                }
                StringBuffer stringBuffer2 = new StringBuffer();
                if (!lh.t()) {
                    this.a(stringBuffer2, i);
                    ff.a(stringBuffer2);
                }
                new ij(oz2.c, oz2.e, this.a(oz2, true), stringBuffer2.toString(), iv3, iv2).a(stringBuffer);
            }
            this.v.c = stringBuffer.toString();
            return true;
        }
        return false;
    }

    /*
     * Enabled force condition propagation
     * Lifted jumps to return sites
     */
    public final boolean c(pb pb2) {
        int n;
        if (pb2.b() == '#') {
            if (this.z.i() != 3) {
                ff.b("l", "#");
                this.z();
                int n2 = this.z.w();
                hx hx2 = this.C;
                hx hx3 = this.C;
                int n3 = this.H() ? 1 : 0;
                int n4 = n2 + n3;
                n3 = ff.Z() ? 1 : 0;
                n3 = n4 + n3;
                for (int i = 0; i <= n2; ++i) {
                    oz oz2 = (oz)this.aa().c(i);
                    if (!oz2.i() || oz2.a != 1 || i == n2 && oz2.a) continue;
                    ++n3;
                    if (oz2.a) continue;
                    ++n3;
                }
                hx2.l(dz.a((fs)hx3, n3));
                return true;
            }
            ff.b("m", "#");
            if (this.a(false)) return true;
            this.y();
            this.d();
            return true;
        }
        if (pb2.b() != '8') {
            if (!this.S() && this.a(this.x.d()) >= 0 && pb2.c == 7) {
                return true;
            }
        } else {
            if (this.z.i() != 3) return this.r();
            if (this.a(true)) {
                return this.r();
            }
        }
        if (this.z.i() == 3 || (n = pb2.b) != this.s && n != this.t) return false;
        int n5 = this.z.w();
        if (this.R()) {
            n5 = n == this.s ? Math.min(n5 + 1, this.z.a() - 1) : Math.max(n5 - 1, 0);
        }
        this.a(n5, true, true);
        return true;
    }

    public final void b(hh object) {
        if (object == this.z && this.v.E() != null) {
            this.d();
            return;
        }
        this.v.d = null;
        mo mo2 = (mo)object;
        if (object.a() != 0) {
            boolean bl2 = true;
            if (this.z instanceof by) {
                bl2 = ((by)this.z).t();
            }
            this.c((hh)object);
            int n = !bl2 ? this.a(this.x.d()) : 0;
            object = (jr)object;
            cn cn2 = object.a(this.x);
            int n2 = this.x.c().b < 14 ? 1 : 0;
            if (cn2.b(this.x.c()) || n2 != 0) {
                this.x.a(cn2);
            }
            if ((n2 = ((mo)object).A) != -1) {
                this.y();
                this.a(n2, bl2, false);
            } else if (n >= 0) {
                this.a(n, bl2, true);
            }
            mo2.A = -1;
        }
    }

    public final void a(hh hh2) {
        this.z = hh2;
        if (hh2 != null) {
            fb[] fbArray;
            this.v.a(this);
            this.d();
            this.O();
            this.ap = this.q();
            if (this.ai()) {
                gc gc2 = (gc)this.z;
                if (gc2 != null) {
                    int n = gc2.L();
                    fbArray = new gl[n - 1];
                    for (int i = 0; i < n - 1; ++i) {
                        fbArray[i] = new oz(gc2, oz.b(gc2.l(i)), i, i + 1);
                        ((oz)fbArray[i]).a = oz.a(gc2.l(i));
                    }
                } else {
                    fbArray = null;
                }
            } else if (!(this.z instanceof bp)) {
                by by2 = (by)this.z;
                fbArray = new gl[]{new gu(by2)};
            } else {
                new gu((bp)this.z).d = 1;
                new gu((bp)this.z).e = -1475408113;
                gu gu2 = new gu((bp)this.z);
                fbArray = new gl[]{gu2};
            }
            this.G.a(fbArray);
            if (((mo)hh2).A == -1) {
                this.z();
            }
        }
    }

    public final void b() {
        int n;
        this.ap = this.q();
        this.B = this.u.a(false, true, lh.u());
        this.C = (hx)this.B.a();
        mo mo2 = (mo)this.z;
        this.b = this.a(jj.a(), this.J(), this.C);
        this.c(ed.a(Z, bz.a(mo2.k)), this.C);
        this.c(ed.a(aa, bz.a(mo2.m)), this.C);
        hx hx2 = this.C;
        if (!this.ai()) {
            String string = null;
            mo mo3 = this.aa();
            if (mo3.B()) {
                string = oq.a(mo3.A(), mo3.B);
            }
            String string2 = null;
            if (mo3.z()) {
                string2 = ed.a(ai, ku.a(mo3.y()));
            }
            if (string != null) {
                if (string2 != null) {
                    this.c(ed.a(aj, string, string2), hx2);
                } else {
                    this.c(string, hx2);
                }
            } else if (string2 != null) {
                this.c(string2, hx2);
            }
            if (mo3.z() && this.aj()) {
                this.aq = this.ab().g();
                if (this.aq != -1) {
                    if (this.aq >= 60) {
                        n = this.aq + mo3.y();
                        this.c(ed.a(ag, ku.a(n)), hx2);
                    }
                } else {
                    this.c(ed.a(ag, ed.a(ah, "...")), hx2);
                }
            }
        } else {
            gc gc2 = this.ac();
            this.c(gc2.O(), hx2);
            lk lk2 = gc2.D();
            if (lk2 != null && ku.a(lk2)) {
                this.a(this.E, ed.a(ac, ku.c(lk2)), hx2);
            }
        }
        if (this.H()) {
            w w2 = mg.a(jj.a(true), as, 1, 1);
            jp jp2 = dz.a(this.C, as, false, w2, this.u.k);
            jp2.u = true;
            jp2.c(-5636096, -5636096);
            jp2.c(4);
        }
        if (ff.Z()) {
            jp jp3 = this.a(c, this.C);
            jp3.c(-5636096, -5636096);
            jp3.c(4);
        }
        hx2 = this.C;
        int n2 = this.ap + 8;
        for (n = 0; n < this.z.a(); ++n) {
            oz oz2 = (oz)this.z.c(n);
            if (n != 0) {
                this.z.c(n - 1);
            }
            if (oz2.a == 1 && this.z instanceof gc) {
                boolean bl2 = oz2.a;
                oz2.i();
                ff.a(this.c(n, dz.a(hx2), false), hx2);
                if (!bl2) {
                    oz2.j();
                }
                if (!oz2.a) {
                    this.a(al, hx2, n2);
                    ff.a(this.c(n, dz.a(hx2), false), hx2);
                    continue;
                }
                this.a(ak, hx2, n2);
                continue;
            }
            ff.a(this.c(n, dz.a(hx2), false), hx2);
        }
        if (mo2.I()) {
            this.a(ad, this.C);
        }
        this.a(ae, this.C);
        this.a = this.a(((bj)this.z).G(), this.C);
        this.C.s();
        this.C.B();
    }
}

