/*
 * Decompiled with CFR 0.152.
 */
public final class mb
extends jp {
    private final jt o;
    private final String w;
    private final bu x;
    private int n;

    public final void b(boolean bl2) {
        super.b(bl2);
        this.m(Math.max(this.s, this.e().i() + mb.d() * 2));
    }

    private void f() {
        int n = this.e().i();
        if (n != this.n) {
            this.n = n;
            this.b(this.t_());
        }
    }

    public final void c_(int n) {
        this.e().c_(n);
        this.f();
    }

    public mb(bu bu2, int n, int n2, int n3, int n4, int n5, w w2, String string, boolean bl2, lc lc2, int n6, int n7, w[] wArray, le le2, jt jt2, String string2) {
        super(n, n2, n3, n4, n5, w2, string, bl2, lc2, n6, n7, wArray, le2);
        this.x = bu2;
        this.o = jt2;
        this.w = string2;
        this.n = 0;
        this.m = new dh(this.o, bu.a(this.x), ps.e, this.x.u);
        this.f();
    }

    public final void a(ht ht2, int n, int n2, int n3, w w2) {
        super.a(ht2, n, n2, n3, w2);
        if (!ed.b(this.w) && n3 == 0) {
            this.x.b.a(ht2, this.w, n + w2.a(this.j[0].trim()) + 4, n2);
        }
    }

    public final int a(int n) {
        int n2 = super.a(n);
        if (n == 0 && !ed.b(this.w)) {
            n2 = n2 - this.x.b.a(this.w) + -8;
        }
        return Math.max(0, n2);
    }
}

