package defpackage;

import j$.util.Map;
import java.util.Collection;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.Function;

/* JADX INFO: renamed from: ᵢᵴˏ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C3310 extends C4053 implements Map, j$.util.Map {

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public C2528 f12738;

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public C3882 f12739;

    /* JADX INFO: renamed from: ᵶˇᵱ, reason: contains not printable characters */
    public C3198 f12740;

    public C3310() {
        super(0);
    }

    public C3310(C3310 c3310) {
        super(0);
        mo8868(c3310);
    }

    @Override // java.util.Map, j$.util.Map, java.util.concurrent.ConcurrentMap
    public /* synthetic */ Object compute(Object obj, BiFunction biFunction) {
        return Map.CC.$default$compute(this, obj, biFunction);
    }

    @Override // java.util.Map, j$.util.Map, java.util.concurrent.ConcurrentMap
    public /* synthetic */ Object computeIfAbsent(Object obj, Function function) {
        return Map.CC.$default$computeIfAbsent(this, obj, function);
    }

    @Override // java.util.Map, j$.util.Map, java.util.concurrent.ConcurrentMap
    public /* synthetic */ Object computeIfPresent(Object obj, BiFunction biFunction) {
        return Map.CC.$default$computeIfPresent(this, obj, biFunction);
    }

    @Override // java.util.Map
    public final Set entrySet() {
        C2528 c2528 = this.f12738;
        if (c2528 != null) {
            return c2528;
        }
        C2528 c25282 = new C2528(0, this);
        this.f12738 = c25282;
        return c25282;
    }

    @Override // java.util.Map, j$.util.Map, java.util.concurrent.ConcurrentMap
    public /* synthetic */ void forEach(BiConsumer biConsumer) {
        Map.CC.$default$forEach(this, biConsumer);
    }

    @Override // java.util.Map
    public final Set keySet() {
        C3882 c3882 = this.f12739;
        if (c3882 != null) {
            return c3882;
        }
        C3882 c38822 = new C3882(this);
        this.f12739 = c38822;
        return c38822;
    }

    @Override // java.util.Map, j$.util.Map, java.util.concurrent.ConcurrentMap
    public /* synthetic */ Object merge(Object obj, Object obj2, BiFunction biFunction) {
        return Map.CC.$default$merge(this, obj, obj2, biFunction);
    }

    @Override // java.util.Map
    public final void putAll(java.util.Map map) {
        m8862(map.size() + this.f15546);
        for (Map.Entry entry : map.entrySet()) {
            put(entry.getKey(), entry.getValue());
        }
    }

    @Override // java.util.Map, j$.util.Map, java.util.concurrent.ConcurrentMap
    public /* synthetic */ void replaceAll(BiFunction biFunction) {
        Map.CC.$default$replaceAll(this, biFunction);
    }

    @Override // java.util.Map
    public final Collection values() {
        C3198 c3198 = this.f12740;
        if (c3198 != null) {
            return c3198;
        }
        C3198 c31982 = new C3198(this);
        this.f12740 = c31982;
        return c31982;
    }

    /* JADX INFO: renamed from: ᵝᵶ, reason: contains not printable characters */
    public final boolean m7574(Collection collection) {
        int i = this.f15546;
        for (int i2 = i - 1; i2 >= 0; i2--) {
            if (!collection.contains(m8871(i2))) {
                mo8863(i2);
            }
        }
        return i != this.f15546;
    }

    /* JADX INFO: renamed from: ᵮᵣᵗˈ, reason: contains not printable characters */
    public final boolean m7575(Collection collection) {
        int i = this.f15546;
        Iterator it = collection.iterator();
        while (it.hasNext()) {
            super.remove(it.next());
        }
        return i != this.f15546;
    }

    /* JADX INFO: renamed from: ᵶᵥᵝ, reason: contains not printable characters */
    public final boolean m7576(Collection collection) {
        Iterator it = collection.iterator();
        while (it.hasNext()) {
            if (!super.containsKey(it.next())) {
                return false;
            }
        }
        return true;
    }
}
