package tp;

/* loaded from: classes3.dex */
public abstract class d2 {

    /* renamed from: a, reason: collision with root package name */
    private static final zp.h0 f36518a = new zp.h0("COMPLETING_ALREADY");

    /* renamed from: b, reason: collision with root package name */
    public static final zp.h0 f36519b = new zp.h0("COMPLETING_WAITING_CHILDREN");

    /* renamed from: c, reason: collision with root package name */
    private static final zp.h0 f36520c = new zp.h0("COMPLETING_RETRY");

    /* renamed from: d, reason: collision with root package name */
    private static final zp.h0 f36521d = new zp.h0("TOO_LATE_TO_CANCEL");

    /* renamed from: e, reason: collision with root package name */
    private static final zp.h0 f36522e = new zp.h0("SEALED");

    /* renamed from: f, reason: collision with root package name */
    private static final d1 f36523f = new d1(false);

    /* renamed from: g, reason: collision with root package name */
    private static final d1 f36524g = new d1(true);

    public static final Object g(Object obj) {
        return obj instanceof p1 ? new q1((p1) obj) : obj;
    }

    public static final Object h(Object obj) {
        p1 p1Var;
        q1 q1Var = obj instanceof q1 ? (q1) obj : null;
        return (q1Var == null || (p1Var = q1Var.f36579a) == null) ? obj : p1Var;
    }
}
