package p6;

import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import kotlin.jvm.internal.t;
import sm.c0;
import sm.p0;
import sm.q0;
import sm.u;

/* loaded from: classes.dex */
public interface l extends Map, en.d {

    /* loaded from: classes.dex */
    public static final class a {
        public static void a(l lVar, Map other) {
            t.g(other, "other");
            for (Map.Entry entry : other.entrySet()) {
                lVar.u(entry.getKey(), (List) entry.getValue());
            }
        }

        public static List b(l lVar, Object obj, Object obj2) {
            List q10;
            q10 = u.q(obj2);
            return (List) lVar.put((l) obj, (Object) q10);
        }

        public static j c(l lVar) {
            int d10;
            Map u10;
            List S0;
            d10 = p0.d(lVar.size());
            LinkedHashMap linkedHashMap = new LinkedHashMap(d10);
            for (Map.Entry entry : lVar.entrySet()) {
                Object key = entry.getKey();
                S0 = c0.S0((List) entry.getValue());
                linkedHashMap.put(key, S0);
            }
            u10 = q0.u(linkedHashMap);
            return new n(u10);
        }
    }

    @Override // java.util.Map
    List put(Object obj, Object obj2);

    j q();

    boolean u(Object obj, Collection collection);

    void v(Map map);
}
