/*
 * Decompiled with CFR 0.152.
 */
public final class cl
extends cf {
    private static final String a = lh.d(84);

    public final void v_() {
    }

    public final void a(ht ht2) {
    }

    public final void a(hh hh2) {
        if (hh2 == null) {
            this.z.b(-1);
        }
    }

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

    public final void d(ht ht2) {
        for (int i = 0; i < this.z.a(); ++i) {
            int n = this.z.d(i);
            ar ar2 = (ar)this.z.c(n);
            if (ar2 == null) continue;
            this.x.a(ar2.a(), this.y);
            this.a(ht2, ar2, this.y.a, this.y.b, n);
        }
    }

    public final boolean c(pb pb2) {
        if ((pb2.c == 8 || pb2.b() == '#') && this.z.i() == 2) {
            this.y();
            this.d();
            return true;
        }
        if (this.z.i() != 0 && pb2.c == 7 && this.z.i() == 1) {
            this.A();
            this.d();
            return true;
        }
        return false;
    }

    public final ft e() {
        char c = (char)(49 + this.z.w());
        String string = lh.t() ? lh.d(540) : lh.d(108);
        return this.c(string.replace('?', c));
    }

    public final void k() {
        int n = this.a(this.x.d());
        if (n != this.z.w()) {
            this.b(-1);
            return;
        }
        this.b(n);
    }

    public final boolean v() {
        int n = this.a(this.x.d());
        if (n >= 0) {
            this.b(n);
            return true;
        }
        return false;
    }

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

    public final int a(pz pz2) {
        return 1;
    }

    public final boolean J() {
        return true;
    }

    public final String i() {
        return null;
    }

    public final String l() {
        return a;
    }

    public final void o() {
        this.z.a((byte)0);
    }

    public final void a(ht ht2, pz pz2, int n, int n2, int n3) {
        this.u.a(ht2, pz2.l(), n, n2, n3);
    }

    public cl(gd gd2, ck ck2, lh lh2) {
        super(gd2, ck2, lh2, null);
        this.z = bj.a();
    }
}

