package o;

import com.google.android.gms.common.internal.Preconditions;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Qc0 {
    public final Hw0 a = new Hw0();

    public Qc0() {
    }

    public final void a(Exception exc) {
        this.a.l(exc);
    }

    public final void b(Object obj) {
        this.a.m(obj);
    }

    public final boolean c(Exception exc) {
        Hw0 hw0 = this.a;
        hw0.getClass();
        Preconditions.checkNotNull(exc, "Exception must not be null");
        synchronized (hw0.a) {
            try {
                if (hw0.c) {
                    return false;
                }
                hw0.c = true;
                hw0.f = exc;
                hw0.b.f(hw0);
                return true;
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    public final void d(Object obj) {
        this.a.o(obj);
    }

    public Qc0(C1696kj0 c1696kj0) {
        C1696kj0 c1696kj02 = new C1696kj0(18, this);
        c1696kj0.getClass();
        ((Hw0) c1696kj0.m).c(Rc0.a, new C1696kj0(5, c1696kj02));
    }
}
