package oo;

import kotlin.jvm.internal.t;
import kotlin.reflect.jvm.internal.impl.protobuf.i;

/* loaded from: classes3.dex */
public abstract class e {
    public static final Object a(i.d dVar, i.f extension) {
        t.g(dVar, "<this>");
        t.g(extension, "extension");
        if (dVar.r(extension)) {
            return dVar.o(extension);
        }
        return null;
    }

    public static final Object b(i.d dVar, i.f extension, int i10) {
        t.g(dVar, "<this>");
        t.g(extension, "extension");
        if (i10 < dVar.q(extension)) {
            return dVar.p(extension, i10);
        }
        return null;
    }
}
