package defpackage;

import java.util.Map;

/* JADX INFO: renamed from: ˁـ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0712 extends AbstractC3929 {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final Object f3249;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final /* synthetic */ C4072 f3250;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public int f3251;

    public C0712(C4072 c4072, int i) {
        this.f3250 = c4072;
        Object obj = C4072.f15641;
        this.f3249 = c4072.m8935()[i];
        this.f3251 = i;
    }

    @Override // java.util.Map.Entry
    public final Object getKey() {
        return this.f3249;
    }

    @Override // java.util.Map.Entry
    public final Object getValue() {
        C4072 c4072 = this.f3250;
        Map mapM8932 = c4072.m8932();
        if (mapM8932 != null) {
            return mapM8932.get(this.f3249);
        }
        m2563();
        int i = this.f3251;
        if (i == -1) {
            return null;
        }
        return c4072.m8937()[i];
    }

    @Override // defpackage.AbstractC3929, java.util.Map.Entry
    public final Object setValue(Object obj) {
        C4072 c4072 = this.f3250;
        Map mapM8932 = c4072.m8932();
        Object obj2 = this.f3249;
        if (mapM8932 != null) {
            return mapM8932.put(obj2, obj);
        }
        m2563();
        int i = this.f3251;
        if (i == -1) {
            c4072.put(obj2, obj);
            return null;
        }
        Object obj3 = c4072.m8937()[i];
        c4072.m8937()[this.f3251] = obj;
        return obj3;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final void m2563() {
        int i = this.f3251;
        Object obj = this.f3249;
        C4072 c4072 = this.f3250;
        if (i != -1 && i < c4072.size()) {
            if (ᵥˇᵛˎ.ˏːˆ(obj, c4072.m8935()[this.f3251])) {
                return;
            }
        }
        Object obj2 = C4072.f15641;
        this.f3251 = c4072.m8933(obj);
    }
}
