/*
 * Decompiled with CFR 0.152.
 */
public final class nu
extends ep {
    private final String a;
    private final String b;
    private final ck c;
    private final w d;
    private hc i;
    private hc e;
    private hc f;
    private hc g;
    private hc h;
    private hc j;
    private hc k;
    private hc l;
    private hc m;
    private hc n;
    private hc o;
    private long p = 0L;
    private ft u;
    private hx v;
    private boolean w = true;

    public final cq e() {
        return jy.i;
    }

    public final cq d() {
        return null;
    }

    public nu(eb eb2, String string, String string2, ck ck2) {
        super(eb2, null);
        this.c = ck2;
        this.a = string;
        this.b = string2;
        this.d = lh.k().h().a(1, false, false, 0, true);
    }

    public final void b() {
        this.u = null;
        this.v = null;
        this.h = null;
        this.g = null;
        this.f = null;
        this.e = null;
        this.o = null;
        this.n = null;
    }

    private void m() {
        this.a("   ", this.d);
    }

    private hc a(String string) {
        return this.a(string, this.d);
    }

    private hc a(String string, w w2) {
        hc hc2 = new hc(4, 0, this.v.a(), w2, string);
        hc2.d = -16777216;
        hc2.u = true;
        this.v.d(hc2);
        return hc2;
    }

    /*
     * Enabled aggressive block sorting
     */
    public final int a(pb pb2) {
        int n = this.v.a(pb2);
        if (!this.w) {
            if (pb2.c != 7 && pb2.c != 8) return 3;
            return 2;
        }
        this.w = false;
        if (n == -2) return 3;
        return 2;
    }

    public final void a() {
        this.l();
        String string = this.w ? "i" : "a";
        me.a((short)8, string);
    }

    public final void g_() {
        if (this.t) {
            this.l();
            this.p = 0L;
        }
    }

    public final int a(nj nj2) {
        if (this.u.b(nj2) == -2) {
            return 3;
        }
        return 4;
    }

    public final boolean a(boolean bl2) {
        return this.a(this.u) || this.p < System.currentTimeMillis();
    }

    public final void a(ht ht2) {
        if (this.p < System.currentTimeMillis()) {
            Runtime.getRuntime();
            ck ck2 = ck.e();
            int n = ps.c(ps.e());
            int n2 = ps.c(ps.b());
            this.e.a(ed.a(lh.d(126), String.valueOf(n), String.valueOf(n2)));
            gu gu2 = gu.c();
            this.f.a(ed.a(lh.d(525), String.valueOf(ps.c(gu2.b + ck2.s))));
            this.g.a(ed.a(lh.d(524), String.valueOf(ps.c(gu2.e + ck2.i))));
            this.h.a(ed.a(lh.d(380), String.valueOf(ps.c(this.c.g()))));
            int n3 = gu2.d;
            int n4 = gu2.c;
            n3 = n3 != 0 ? n3 * 100 / (n3 + n4) : 0;
            this.n.a(ed.a(lh.d(121), String.valueOf(ps.c(this.c.b()))));
            this.o.a(ed.a(lh.d(122), String.valueOf(n3)));
            this.j.a(ed.a(lh.d(300), this.c.d().toString()));
            this.k.a(ed.a(lh.d(301), iv.a(this.c.k(), this.c.l())));
            this.l.a(ed.a(lh.d(303), String.valueOf(this.c.c().b)));
            ej ej2 = ej.c();
            if (ej2 != null && ej2.e()) {
                this.i.a("myl: " + ej2.a + ":" + ej2.b + ":" + ej2.c + ":" + ej2.d);
            } else {
                this.i.a("myl: N/A");
            }
            this.m.a("svp: " + u.a().k());
            this.p = System.currentTimeMillis() + (long)5000;
            me.a((short)22, "fm", "" + n);
            me.a((short)22, "tm", "" + n2);
        }
        this.u.a(ht2, 0, 0);
    }

    private void l() {
        w w2 = lh.k().h().a(3, false, false, 0, true);
        this.u = this.s.b(false, true);
        this.v = (hx)this.u.a();
        this.a(lh.d(453), w2);
        this.a(mn.b, this.d);
        gu gu2 = gu.g();
        if (gu2.h()) {
            this.m();
            le le2 = gu2.f();
            String string = le2 == null ? gu2.s() : null;
            String string2 = mn.c;
            if (string == null) {
                string = "";
            }
            string = ed.a(string2, string);
            if (le2 != null) {
                dr dr2 = new dr(true);
                dr2.a = true;
                new hc(4, 0, this.d, string).d = -16777216;
                new hc(4, 0, this.d, string).u = true;
                dr2.d(new hc(4, 0, this.d, string));
                dr2.d(new oe(0, 0, le2));
                this.v.d(dr2);
            } else {
                this.a(string);
            }
        }
        this.m();
        this.a(ed.a(lh.d(576), new String[]{this.b, "3037", lh.p()}));
        this.a(ed.a(lh.d(365), this.a));
        this.a(ed.a(lh.d(296), lh.o()));
        if (lh.r()) {
            this.a("China");
        }
        this.m();
        this.f = this.a("XXXXXXXXXXXXXXX");
        this.g = this.a("XXXXXXXXXXXXXXX");
        this.m();
        this.e = this.a("XXXXXXXXXXXXXXX");
        this.h = this.a("XXXXXXXXXXXXXXX");
        this.n = this.a("XXXXXXXXXXXXXXX");
        this.o = this.a("XXXXXXXXXXXXXXX");
        this.m();
        this.j = this.a("XXXXXXXXXXXXXXX");
        this.k = this.a("XXXXXXXXXXXXXXX");
        this.l = this.a("XXXXXXXXXXXXXXX");
        this.i = this.a("XXXXXXXXXXXXXXX");
        this.m = this.a("XXXXXXXXXXXXXXX");
    }
}

