package defpackage;

import android.view.View;
import java.util.List;

/* renamed from: ʿʙˆ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0359 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public int f2111;

    /* renamed from: ˌᵜᵹᵩ, reason: contains not printable characters */
    public boolean f2112;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public int f2113;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public int f2114;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public int f2115;

    /* renamed from: ᵝᵵᵺ, reason: contains not printable characters */
    public int f2116;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public boolean f2117;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public int f2118;

    /* renamed from: ᵶᵷᵕ, reason: contains not printable characters */
    public int f2119;

    /* renamed from: ᵸˑ, reason: contains not printable characters */
    public List f2120;

    /* renamed from: ᵹᵝᵶ, reason: contains not printable characters */
    public int f2121;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public int f2122;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m1786(View view) {
        int iM6035;
        int size = this.f2120.size();
        View view2 = null;
        int i = Integer.MAX_VALUE;
        for (int i2 = 0; i2 < size; i2++) {
            View view3 = ((AbstractC2313) this.f2120.get(i2)).f9071;
            C1923 c1923 = (C1923) view3.getLayoutParams();
            if (view3 != view && !c1923.f7733.m6031() && (iM6035 = (c1923.f7733.m6035() - this.f2122) * this.f2111) >= 0 && iM6035 < i) {
                view2 = view3;
                if (iM6035 == 0) {
                    break;
                } else {
                    i = iM6035;
                }
            }
        }
        if (view2 == null) {
            this.f2122 = -1;
        } else {
            this.f2122 = ((C1923) view2.getLayoutParams()).f7733.m6035();
        }
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final View m1787(C4276 c4276) {
        List list = this.f2120;
        if (list == null) {
            View viewM9260 = c4276.m9260(this.f2122);
            this.f2122 += this.f2111;
            return viewM9260;
        }
        int size = list.size();
        for (int i = 0; i < size; i++) {
            View view = ((AbstractC2313) this.f2120.get(i)).f9071;
            C1923 c1923 = (C1923) view.getLayoutParams();
            if (!c1923.f7733.m6031() && this.f2122 == c1923.f7733.m6035()) {
                m1786(view);
                return view;
            }
        }
        return null;
    }
}
