package jq;

import iq.b;

/* loaded from: classes3.dex */
public abstract class n extends a {

    /* renamed from: a, reason: collision with root package name */
    private final fq.b f25239a;

    public /* synthetic */ n(fq.b bVar, kotlin.jvm.internal.k kVar) {
        this(bVar);
    }

    @Override // jq.a
    protected final void e(iq.b decoder, Object obj, int i10, int i11) {
        kotlin.jvm.internal.t.g(decoder, "decoder");
        if (!(i11 >= 0)) {
            throw new IllegalArgumentException("Size must be known in advance when using READ_ALL".toString());
        }
        for (int i12 = 0; i12 < i11; i12++) {
            f(decoder, i10 + i12, obj, false);
        }
    }

    @Override // jq.a
    protected void f(iq.b decoder, int i10, Object obj, boolean z10) {
        kotlin.jvm.internal.t.g(decoder, "decoder");
        k(obj, i10, b.a.c(decoder, getDescriptor(), i10, this.f25239a, null, 8, null));
    }

    @Override // fq.b, fq.a
    public abstract hq.e getDescriptor();

    protected abstract void k(Object obj, int i10, Object obj2);

    private n(fq.b bVar) {
        super(null);
        this.f25239a = bVar;
    }
}
