package com.google.android.gms.measurement.internal;

/* JADX INFO: loaded from: classes2.dex */
public abstract class x0 extends b0 {

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

    public x0(m1 m1Var) {
        super(m1Var);
        ((m1) this.f31277a).E++;
    }

    public final void D() {
        if (!this.f21971b) {
            throw new IllegalStateException("Not initialized");
        }
    }

    public final void E() {
        if (this.f21971b) {
            throw new IllegalStateException("Can't initialize twice");
        }
        if (F()) {
            return;
        }
        ((m1) this.f31277a).G.incrementAndGet();
        this.f21971b = true;
    }

    public abstract boolean F();
}
