package wp;

import ca.canadapost.core.data.model.CoreConstants;

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

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

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

    public static final t a(Object obj) {
        if (obj == null) {
            obj = xp.p.f50997a;
        }
        return new i0(obj);
    }

    public static final e d(h0 h0Var, vm.g gVar, int i10, vp.a aVar) {
        boolean z10 = false;
        if (i10 >= 0 && i10 < 2) {
            z10 = true;
        }
        return ((z10 || i10 == -2) && aVar == vp.a.DROP_OLDEST) ? h0Var : z.e(h0Var, gVar, i10, aVar);
    }
}
