package defpackage;

import android.os.Build;
import android.view.View;
import java.nio.ByteBuffer;
import java.util.ConcurrentModificationException;

/* JADX INFO: renamed from: ᵙˁ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC2634 {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public int f10234;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public int f10235;

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

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

    public AbstractC2634() {
        if (ˑᵤʽˏ.ᵜᵪʾ == null) {
            ˑᵤʽˏ.ᵜᵪʾ = new ˑᵤʽˏ(13);
        }
    }

    public boolean hasNext() {
        return this.f10234 < ((C3197) this.f10237).f12153;
    }

    public void remove() {
        C3197 c3197 = (C3197) this.f10237;
        m6397();
        if (this.f10236 == -1) {
            ᵕᵩʽᵲ.ᵪᵹᵥᵻ("Call next() before removing element from the iterator.");
            return;
        }
        c3197.m7330();
        c3197.m7335(this.f10236);
        this.f10236 = -1;
        this.f10235 = c3197.f12146;
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public void m6397() {
        if (((C3197) this.f10237).f12146 != this.f10235) {
            throw new ConcurrentModificationException();
        }
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ */
    public abstract Object mo1331(View view);

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public void m6398() {
        while (true) {
            int i = this.f10234;
            C3197 c3197 = (C3197) this.f10237;
            if (i >= c3197.f12153 || c3197.f12148[i] >= 0) {
                return;
            } else {
                this.f10234 = i + 1;
            }
        }
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public int m6399(int i) {
        if (i < this.f10235) {
            return ((ByteBuffer) this.f10237).getShort(this.f10236 + i);
        }
        return 0;
    }

    /* JADX INFO: renamed from: ᵵᵽ */
    public abstract boolean mo1332(Object obj, Object obj2);

    /* JADX INFO: renamed from: ᵷᵺʾᵖ */
    public abstract void mo1333(View view, Object obj);

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public void m6400(View view, Object obj) {
        Object tag;
        if (Build.VERSION.SDK_INT >= this.f10236) {
            mo1333(view, obj);
            return;
        }
        if (Build.VERSION.SDK_INT >= this.f10236) {
            tag = mo1331(view);
        } else {
            tag = view.getTag(this.f10234);
            if (!((Class) this.f10237).isInstance(tag)) {
                tag = null;
            }
        }
        if (mo1332(tag, obj)) {
            View.AccessibilityDelegate accessibilityDelegateM6644 = AbstractC2746.m6644(view);
            C2246 c2246 = accessibilityDelegateM6644 != null ? accessibilityDelegateM6644 instanceof C3540 ? ((C3540) accessibilityDelegateM6644).f13597 : new C2246(accessibilityDelegateM6644) : null;
            if (c2246 == null) {
                c2246 = new C2246();
            }
            AbstractC2746.m6649(view, c2246);
            view.setTag(this.f10234, obj);
            AbstractC2746.m6642(view, this.f10235);
        }
    }
}
