package u3;

import android.graphics.Typeface;
import l6.C1139a;
import s7.l;

/* JADX INFO: renamed from: u3.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1596a extends l {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final Typeface f17465f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final C1139a f17466g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public boolean f17467h;

    public C1596a(C1139a c1139a, Typeface typeface) {
        this.f17465f = typeface;
        this.f17466g = c1139a;
    }

    @Override // s7.l
    public final void t(int i) {
        if (this.f17467h) {
            return;
        }
        s3.b bVar = (s3.b) this.f17466g.f14409q;
        C1596a c1596a = bVar.f16824v;
        if (c1596a != null) {
            c1596a.f17467h = true;
        }
        Typeface typeface = bVar.f16821s;
        Typeface typeface2 = this.f17465f;
        if (typeface != typeface2) {
            bVar.f16821s = typeface2;
            bVar.g();
        }
    }

    @Override // s7.l
    public final void u(Typeface typeface, boolean z8) {
        if (this.f17467h) {
            return;
        }
        s3.b bVar = (s3.b) this.f17466g.f14409q;
        C1596a c1596a = bVar.f16824v;
        if (c1596a != null) {
            c1596a.f17467h = true;
        }
        if (bVar.f16821s != typeface) {
            bVar.f16821s = typeface;
            bVar.g();
        }
    }
}
