package tn;

import java.util.ArrayList;
import java.util.List;

/* loaded from: classes3.dex */
public abstract class g1 {
    private g1() {
    }

    public /* synthetic */ g1(kotlin.jvm.internal.k kVar) {
        this();
    }

    public abstract boolean a(ro.f fVar);

    public abstract List b();

    public final g1 c(dn.l transform) {
        int v10;
        kotlin.jvm.internal.t.g(transform, "transform");
        if (this instanceof z) {
            z zVar = (z) this;
            return new z(zVar.d(), (jp.j) transform.invoke(zVar.e()));
        }
        if (!(this instanceof h0)) {
            throw new rm.t();
        }
        List<rm.v> b10 = b();
        v10 = sm.v.v(b10, 10);
        ArrayList arrayList = new ArrayList(v10);
        for (rm.v vVar : b10) {
            arrayList.add(rm.c0.a((ro.f) vVar.a(), transform.invoke((jp.j) vVar.b())));
        }
        return new h0(arrayList);
    }
}
