package jq;

import java.util.LinkedHashSet;
import java.util.Set;

/* loaded from: classes3.dex */
public final class j0 extends o {

    /* renamed from: b, reason: collision with root package name */
    private final hq.e f25221b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public j0(fq.b eSerializer) {
        super(eSerializer);
        kotlin.jvm.internal.t.g(eSerializer, "eSerializer");
        this.f25221b = new i0(eSerializer.getDescriptor());
    }

    @Override // jq.n, fq.b, fq.a
    public hq.e getDescriptor() {
        return this.f25221b;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // jq.a
    /* renamed from: l, reason: merged with bridge method [inline-methods] */
    public LinkedHashSet a() {
        return new LinkedHashSet();
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // jq.a
    /* renamed from: m, reason: merged with bridge method [inline-methods] */
    public int b(LinkedHashSet linkedHashSet) {
        kotlin.jvm.internal.t.g(linkedHashSet, "<this>");
        return linkedHashSet.size();
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // jq.a
    /* renamed from: n, reason: merged with bridge method [inline-methods] */
    public void c(LinkedHashSet linkedHashSet, int i10) {
        kotlin.jvm.internal.t.g(linkedHashSet, "<this>");
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // jq.n
    /* renamed from: o, reason: merged with bridge method [inline-methods] */
    public void k(LinkedHashSet linkedHashSet, int i10, Object obj) {
        kotlin.jvm.internal.t.g(linkedHashSet, "<this>");
        linkedHashSet.add(obj);
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // jq.a
    /* renamed from: p, reason: merged with bridge method [inline-methods] */
    public LinkedHashSet i(Set set) {
        kotlin.jvm.internal.t.g(set, "<this>");
        LinkedHashSet linkedHashSet = set instanceof LinkedHashSet ? (LinkedHashSet) set : null;
        return linkedHashSet == null ? new LinkedHashSet(set) : linkedHashSet;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // jq.a
    /* renamed from: q, reason: merged with bridge method [inline-methods] */
    public Set j(LinkedHashSet linkedHashSet) {
        kotlin.jvm.internal.t.g(linkedHashSet, "<this>");
        return linkedHashSet;
    }
}
