package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class KD implements Fa0 {
    public final C2358ri0 a;
    public final Qc0 b;

    public KD(C2358ri0 c2358ri0, Qc0 qc0) {
        this.a = c2358ri0;
        this.b = qc0;
    }

    @Override // o.Fa0
    public final boolean a(C1108ec c1108ec) {
        if (c1108ec.b != 4 || this.a.a(c1108ec)) {
            return false;
        }
        String str = c1108ec.c;
        if (str == null) {
            throw new NullPointerException("Null token");
        }
        this.b.b(new C0546Vb(str, c1108ec.e, c1108ec.f));
        return true;
    }

    @Override // o.Fa0
    public final boolean b(Exception exc) {
        this.b.c(exc);
        return true;
    }
}
