package tp;

/* loaded from: classes3.dex */
public abstract class r {
    public static final void a(o oVar, b1 b1Var) {
        oVar.x(new c1(b1Var));
    }

    public static final p b(vm.d dVar) {
        if (!(dVar instanceof zp.j)) {
            return new p(dVar, 1);
        }
        p i10 = ((zp.j) dVar).i();
        if (i10 != null) {
            if (!i10.H()) {
                i10 = null;
            }
            if (i10 != null) {
                return i10;
            }
        }
        return new p(dVar, 2);
    }
}
