package jq;

import java.util.LinkedHashMap;
import java.util.Map;

/* loaded from: classes3.dex */
public final class h0 extends p0 {

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public h0(fq.b kSerializer, fq.b vSerializer) {
        super(kSerializer, vSerializer, null);
        kotlin.jvm.internal.t.g(kSerializer, "kSerializer");
        kotlin.jvm.internal.t.g(vSerializer, "vSerializer");
        this.f25215c = new g0(kSerializer.getDescriptor(), vSerializer.getDescriptor());
    }

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

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

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

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

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

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