package androidx.recyclerview.widget;

import android.R;
import android.animation.LayoutTransition;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.database.Observable;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.StateListDrawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.os.SystemClock;
import android.os.Trace;
import android.util.AttributeSet;
import android.util.Log;
import android.util.SparseArray;
import android.view.Display;
import android.view.FocusFinder;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.view.ViewPropertyAnimator;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityManager;
import android.view.accessibility.AccessibilityNodeInfo;
import android.view.animation.Interpolator;
import android.widget.EdgeEffect;
import android.widget.OverScroller;
import java.lang.ref.WeakReference;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import p037.p065.p074.C1882;
import p037.p065.p078.C1905;
import p037.p065.p078.C1914;
import p037.p065.p078.C1920;
import p037.p065.p078.C1928;
import p037.p065.p078.InterfaceC1912;
import p037.p065.p078.InterfaceC1913;
import p037.p065.p078.p079.C1947;
import p037.p083.p084.AbstractC1974;
import p037.p091.p095.AbstractC2112;
import p037.p107.C2301;
import p037.p107.C2302;
import p037.p107.C2303;
import p037.p107.p108.AbstractC2370;
import p037.p107.p108.C2304;
import p037.p107.p108.C2317;
import p037.p107.p108.C2331;
import p037.p107.p108.C2336;
import p037.p107.p108.C2347;
import p037.p107.p108.C2357;
import p037.p107.p108.C2366;
import p037.p107.p108.C2367;
import p037.p107.p108.C2368;
import p037.p107.p108.C2371;
import p037.p107.p108.C2374;
import p037.p107.p108.RunnableC2328;
import p037.p107.p108.RunnableC2329;
import p037.p107.p108.RunnableC2330;
import p037.p107.p108.RunnableC2352;
import p138.p139.p143.p144.C2803;

/* JADX INFO: loaded from: classes.dex */
public class RecyclerView extends ViewGroup implements InterfaceC1912, InterfaceC1913 {

    /* JADX INFO: renamed from: ၷ, reason: contains not printable characters */
    public static final int[] f1148 = {R.attr.nestedScrollingEnabled};

    /* JADX INFO: renamed from: ၸ, reason: contains not printable characters */
    public static final boolean f1149 = false;

    /* JADX INFO: renamed from: ၹ, reason: contains not printable characters */
    public static final boolean f1150;

    /* JADX INFO: renamed from: ၺ, reason: contains not printable characters */
    public static final boolean f1151;

    /* JADX INFO: renamed from: ၻ, reason: contains not printable characters */
    public static final boolean f1152;

    /* JADX INFO: renamed from: ၼ, reason: contains not printable characters */
    public static final boolean f1153;

    /* JADX INFO: renamed from: ၽ, reason: contains not printable characters */
    public static final boolean f1154;

    /* JADX INFO: renamed from: ၾ, reason: contains not printable characters */
    public static final Class<?>[] f1155;

    /* JADX INFO: renamed from: ၿ, reason: contains not printable characters */
    public static final Interpolator f1156;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final C0215 f1157;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final C0213 f1158;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public C0216 f1159;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public C2304 f1160;

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public C2317 f1161;

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public final C2374 f1162;

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public boolean f1163;

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public final Runnable f1164;

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public final Rect f1165;

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public final Rect f1166;

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public final RectF f1167;

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public AbstractC0191 f1168;

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public AbstractC0202 f1169;

    /* JADX INFO: renamed from: ސ, reason: contains not printable characters */
    public InterfaceC0214 f1170;

    /* JADX INFO: renamed from: ޑ, reason: contains not printable characters */
    public final ArrayList<AbstractC0201> f1171;

    /* JADX INFO: renamed from: ޒ, reason: contains not printable characters */
    public final ArrayList<InterfaceC0209> f1172;

    /* JADX INFO: renamed from: ޓ, reason: contains not printable characters */
    public InterfaceC0209 f1173;

    /* JADX INFO: renamed from: ޔ, reason: contains not printable characters */
    public boolean f1174;

    /* JADX INFO: renamed from: ޕ, reason: contains not printable characters */
    public boolean f1175;

    /* JADX INFO: renamed from: ޖ, reason: contains not printable characters */
    public boolean f1176;

    /* JADX INFO: renamed from: ޗ, reason: contains not printable characters */
    public boolean f1177;

    /* JADX INFO: renamed from: ޘ, reason: contains not printable characters */
    public int f1178;

    /* JADX INFO: renamed from: ޙ, reason: contains not printable characters */
    public boolean f1179;

    /* JADX INFO: renamed from: ޚ, reason: contains not printable characters */
    public boolean f1180;

    /* JADX INFO: renamed from: ޛ, reason: contains not printable characters */
    public boolean f1181;

    /* JADX INFO: renamed from: ޜ, reason: contains not printable characters */
    public int f1182;

    /* JADX INFO: renamed from: ޝ, reason: contains not printable characters */
    public boolean f1183;

    /* JADX INFO: renamed from: ޞ, reason: contains not printable characters */
    public final AccessibilityManager f1184;

    /* JADX INFO: renamed from: ޟ, reason: contains not printable characters */
    public boolean f1185;

    /* JADX INFO: renamed from: ޠ, reason: contains not printable characters */
    public boolean f1186;

    /* JADX INFO: renamed from: ޡ, reason: contains not printable characters */
    public int f1187;

    /* JADX INFO: renamed from: ޢ, reason: contains not printable characters */
    public int f1188;

    /* JADX INFO: renamed from: ޣ, reason: contains not printable characters */
    public C0195 f1189;

    /* JADX INFO: renamed from: ޤ, reason: contains not printable characters */
    public EdgeEffect f1190;

    /* JADX INFO: renamed from: ޥ, reason: contains not printable characters */
    public EdgeEffect f1191;

    /* JADX INFO: renamed from: ޱ, reason: contains not printable characters */
    public EdgeEffect f1192;

    /* JADX INFO: renamed from: ࢠ, reason: contains not printable characters */
    public EdgeEffect f1193;

    /* JADX INFO: renamed from: ࢢ, reason: contains not printable characters */
    public AbstractC0196 f1194;

    /* JADX INFO: renamed from: ࢣ, reason: contains not printable characters */
    public int f1195;

    /* JADX INFO: renamed from: ࢤ, reason: contains not printable characters */
    public int f1196;

    /* JADX INFO: renamed from: ࢥ, reason: contains not printable characters */
    public VelocityTracker f1197;

    /* JADX INFO: renamed from: ࢦ, reason: contains not printable characters */
    public int f1198;

    /* JADX INFO: renamed from: ࢧ, reason: contains not printable characters */
    public int f1199;

    /* JADX INFO: renamed from: ࢨ, reason: contains not printable characters */
    public int f1200;

    /* JADX INFO: renamed from: ࢩ, reason: contains not printable characters */
    public int f1201;

    /* JADX INFO: renamed from: ࢪ, reason: contains not printable characters */
    public int f1202;

    /* JADX INFO: renamed from: ࢫ, reason: contains not printable characters */
    public AbstractC0208 f1203;

    /* JADX INFO: renamed from: ࢬ, reason: contains not printable characters */
    public final int f1204;

    /* JADX INFO: renamed from: ೱ, reason: contains not printable characters */
    public final int f1205;

    /* JADX INFO: renamed from: ೲ, reason: contains not printable characters */
    public float f1206;

    /* JADX INFO: renamed from: ഩ, reason: contains not printable characters */
    public float f1207;

    /* JADX INFO: renamed from: ഺ, reason: contains not printable characters */
    public boolean f1208;

    /* JADX INFO: renamed from: ൎ, reason: contains not printable characters */
    public final RunnableC0223 f1209;

    /* JADX INFO: renamed from: ໞ, reason: contains not printable characters */
    public RunnableC2352 f1210;

    /* JADX INFO: renamed from: ໟ, reason: contains not printable characters */
    public RunnableC2352.C2354 f1211;

    /* JADX INFO: renamed from: ྈ, reason: contains not printable characters */
    public final C0221 f1212;

    /* JADX INFO: renamed from: ྉ, reason: contains not printable characters */
    public AbstractC0210 f1213;

    /* JADX INFO: renamed from: ྌ, reason: contains not printable characters */
    public List<AbstractC0210> f1214;

    /* JADX INFO: renamed from: ဢ, reason: contains not printable characters */
    public boolean f1215;

    /* JADX INFO: renamed from: ဨ, reason: contains not printable characters */
    public boolean f1216;

    /* JADX INFO: renamed from: ၚ, reason: contains not printable characters */
    public AbstractC0196.InterfaceC0198 f1217;

    /* JADX INFO: renamed from: ၛ, reason: contains not printable characters */
    public boolean f1218;

    /* JADX INFO: renamed from: ၜ, reason: contains not printable characters */
    public C2368 f1219;

    /* JADX INFO: renamed from: ၝ, reason: contains not printable characters */
    public InterfaceC0194 f1220;

    /* JADX INFO: renamed from: ၡ, reason: contains not printable characters */
    public final int[] f1221;

    /* JADX INFO: renamed from: ၥ, reason: contains not printable characters */
    public C1914 f1222;

    /* JADX INFO: renamed from: ၦ, reason: contains not printable characters */
    public final int[] f1223;

    /* JADX INFO: renamed from: ၮ, reason: contains not printable characters */
    public final int[] f1224;

    /* JADX INFO: renamed from: ၯ, reason: contains not printable characters */
    public final int[] f1225;

    /* JADX INFO: renamed from: ၰ, reason: contains not printable characters */
    public final List<AbstractC0224> f1226;

    /* JADX INFO: renamed from: ၵ, reason: contains not printable characters */
    public Runnable f1227;

    /* JADX INFO: renamed from: ၶ, reason: contains not printable characters */
    public final C2374.InterfaceC2376 f1228;

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$֏, reason: contains not printable characters */
    public class RunnableC0187 implements Runnable {
        public RunnableC0187() {
        }

        @Override // java.lang.Runnable
        public void run() {
            RecyclerView recyclerView = RecyclerView.this;
            if (!recyclerView.f1177 || recyclerView.isLayoutRequested()) {
                return;
            }
            RecyclerView recyclerView2 = RecyclerView.this;
            if (!recyclerView2.f1174) {
                recyclerView2.requestLayout();
            } else if (recyclerView2.f1180) {
                recyclerView2.f1179 = true;
            } else {
                recyclerView2.m560();
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ؠ, reason: contains not printable characters */
    public class RunnableC0188 implements Runnable {
        public RunnableC0188() {
        }

        @Override // java.lang.Runnable
        public void run() {
            AbstractC0196 abstractC0196 = RecyclerView.this.f1194;
            if (abstractC0196 != null) {
                C2336 c2336 = (C2336) abstractC0196;
                boolean z = !c2336.f7395.isEmpty();
                boolean z2 = !c2336.f7397.isEmpty();
                boolean z3 = !c2336.f7398.isEmpty();
                boolean z4 = !c2336.f7396.isEmpty();
                if (z || z2 || z4 || z3) {
                    for (AbstractC0224 abstractC0224 : c2336.f7395) {
                        View view = abstractC0224.f1326;
                        ViewPropertyAnimator viewPropertyAnimatorAnimate = view.animate();
                        c2336.f7404.add(abstractC0224);
                        viewPropertyAnimatorAnimate.setDuration(c2336.f1237).alpha(0.0f).setListener(new C2331(c2336, abstractC0224, viewPropertyAnimatorAnimate, view)).start();
                    }
                    c2336.f7395.clear();
                    if (z2) {
                        ArrayList<C2336.C2338> arrayList = new ArrayList<>();
                        arrayList.addAll(c2336.f7397);
                        c2336.f7400.add(arrayList);
                        c2336.f7397.clear();
                        RunnableC2328 runnableC2328 = new RunnableC2328(c2336, arrayList);
                        if (z) {
                            C1920.m3746(arrayList.get(0).f7412.f1326, runnableC2328, c2336.f1237);
                        } else {
                            runnableC2328.run();
                        }
                    }
                    if (z3) {
                        ArrayList<C2336.C2337> arrayList2 = new ArrayList<>();
                        arrayList2.addAll(c2336.f7398);
                        c2336.f7401.add(arrayList2);
                        c2336.f7398.clear();
                        RunnableC2329 runnableC2329 = new RunnableC2329(c2336, arrayList2);
                        if (z) {
                            C1920.m3746(arrayList2.get(0).f7406.f1326, runnableC2329, c2336.f1237);
                        } else {
                            runnableC2329.run();
                        }
                    }
                    if (z4) {
                        ArrayList<AbstractC0224> arrayList3 = new ArrayList<>();
                        arrayList3.addAll(c2336.f7396);
                        c2336.f7399.add(arrayList3);
                        c2336.f7396.clear();
                        RunnableC2330 runnableC2330 = new RunnableC2330(c2336, arrayList3);
                        if (z || z2 || z3) {
                            C1920.m3746(arrayList3.get(0).f1326, runnableC2330, Math.max(z2 ? c2336.f1238 : 0L, z3 ? c2336.f1239 : 0L) + (z ? c2336.f1237 : 0L));
                        } else {
                            runnableC2330.run();
                        }
                    }
                }
            }
            RecyclerView.this.f1218 = false;
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ހ, reason: contains not printable characters */
    public static class InterpolatorC0189 implements Interpolator {
        @Override // android.animation.TimeInterpolator
        public float getInterpolation(float f) {
            float f2 = f - 1.0f;
            return (f2 * f2 * f2 * f2 * f2) + 1.0f;
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ށ, reason: contains not printable characters */
    public class C0190 implements C2374.InterfaceC2376 {
        public C0190() {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m592(AbstractC0224 abstractC0224, AbstractC0196.C0199 c0199, AbstractC0196.C0199 c01992) {
            boolean zMo4385;
            RecyclerView recyclerView = RecyclerView.this;
            if (recyclerView == null) {
                throw null;
            }
            abstractC0224.m738(false);
            AbstractC2370 abstractC2370 = (AbstractC2370) recyclerView.f1194;
            if (abstractC2370 == null) {
                throw null;
            }
            if (c0199 == null || (c0199.f1240 == c01992.f1240 && c0199.f1241 == c01992.f1241)) {
                C2336 c2336 = (C2336) abstractC2370;
                c2336.m4388(abstractC0224);
                abstractC0224.f1326.setAlpha(0.0f);
                c2336.f7396.add(abstractC0224);
                zMo4385 = true;
            } else {
                zMo4385 = abstractC2370.mo4385(abstractC0224, c0199.f1240, c0199.f1241, c01992.f1240, c01992.f1241);
            }
            if (zMo4385) {
                recyclerView.m585();
            }
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m593(AbstractC0224 abstractC0224, AbstractC0196.C0199 c0199, AbstractC0196.C0199 c01992) {
            boolean zMo4385;
            RecyclerView.this.f1158.m715(abstractC0224);
            RecyclerView recyclerView = RecyclerView.this;
            recyclerView.m542(abstractC0224);
            abstractC0224.m738(false);
            AbstractC2370 abstractC2370 = (AbstractC2370) recyclerView.f1194;
            if (abstractC2370 == null) {
                throw null;
            }
            int i = c0199.f1240;
            int i2 = c0199.f1241;
            View view = abstractC0224.f1326;
            int left = c01992 == null ? view.getLeft() : c01992.f1240;
            int top = c01992 == null ? view.getTop() : c01992.f1241;
            if (abstractC0224.m748() || (i == left && i2 == top)) {
                C2336 c2336 = (C2336) abstractC2370;
                c2336.m4388(abstractC0224);
                c2336.f7395.add(abstractC0224);
                zMo4385 = true;
            } else {
                view.layout(left, top, view.getWidth() + left, view.getHeight() + top);
                zMo4385 = abstractC2370.mo4385(abstractC0224, i, i2, left, top);
            }
            if (zMo4385) {
                recyclerView.m585();
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ނ, reason: contains not printable characters */
    public static abstract class AbstractC0191<VH extends AbstractC0224> {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final C0192 f1232 = new C0192();

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public boolean f1233 = false;

        /* JADX INFO: renamed from: ֏ */
        public abstract int mo327();

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public long mo594(int i) {
            return -1L;
        }

        /* JADX INFO: renamed from: ֏ */
        public abstract VH mo328(ViewGroup viewGroup, int i);

        /* JADX INFO: renamed from: ֏ */
        public void mo329(VH vh) {
        }

        /* JADX INFO: renamed from: ֏ */
        public abstract void mo330(VH vh, int i);

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo595(VH vh, int i, List<Object> list) {
            mo330(vh, i);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m596(boolean z) {
            if (this.f1232.m602()) {
                throw new IllegalStateException("Cannot change whether this adapter has stable IDs while the adapter has registered observers.");
            }
            this.f1233 = z;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public int mo597(int i) {
            return 0;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void mo598(VH vh) {
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void mo599(VH vh) {
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ރ, reason: contains not printable characters */
    public static class C0192 extends Observable<AbstractC0193> {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m600(int i, int i2) {
            for (int size = ((Observable) this).mObservers.size() - 1; size >= 0; size--) {
                ((AbstractC0193) ((Observable) this).mObservers.get(size)).mo608(i, i2, 1);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m601(int i, int i2, Object obj) {
            for (int size = ((Observable) this).mObservers.size() - 1; size >= 0; size--) {
                ((AbstractC0193) ((Observable) this).mObservers.get(size)).mo609(i, i2, obj);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean m602() {
            return !((Observable) this).mObservers.isEmpty();
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m603() {
            for (int size = ((Observable) this).mObservers.size() - 1; size >= 0; size--) {
                ((AbstractC0193) ((Observable) this).mObservers.get(size)).mo606();
            }
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m604(int i, int i2) {
            for (int size = ((Observable) this).mObservers.size() - 1; size >= 0; size--) {
                ((AbstractC0193) ((Observable) this).mObservers.get(size)).mo610(i, i2);
            }
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void m605(int i, int i2) {
            for (int size = ((Observable) this).mObservers.size() - 1; size >= 0; size--) {
                ((AbstractC0193) ((Observable) this).mObservers.get(size)).mo611(i, i2);
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ބ, reason: contains not printable characters */
    public static abstract class AbstractC0193 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo606() {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo607(int i, int i2) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo608(int i, int i2, int i3) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo609(int i, int i2, Object obj) {
            mo607(i, i2);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void mo610(int i, int i2) {
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void mo611(int i, int i2) {
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޅ, reason: contains not printable characters */
    public interface InterfaceC0194 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        int m612(int i, int i2);
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ކ, reason: contains not printable characters */
    public static class C0195 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public EdgeEffect m613(RecyclerView recyclerView) {
            return new EdgeEffect(recyclerView.getContext());
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$އ, reason: contains not printable characters */
    public static abstract class AbstractC0196 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public InterfaceC0198 f1234 = null;

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public ArrayList<InterfaceC0197> f1235 = new ArrayList<>();

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public long f1236 = 120;

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public long f1237 = 120;

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public long f1238 = 250;

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public long f1239 = 250;

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$އ$֏, reason: contains not printable characters */
        public interface InterfaceC0197 {
            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            void m623();
        }

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$އ$ؠ, reason: contains not printable characters */
        public interface InterfaceC0198 {
        }

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$އ$ހ, reason: contains not printable characters */
        public static class C0199 {

            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public int f1240;

            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public int f1241;
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public static int m614(AbstractC0224 abstractC0224) {
            int i = abstractC0224.f1335 & 14;
            if (abstractC0224.m746()) {
                return 4;
            }
            if ((i & 4) != 0) {
                return i;
            }
            int i2 = abstractC0224.f1329;
            int iM741 = abstractC0224.m741();
            return (i2 == -1 || iM741 == -1 || i2 == iM741) ? i : i | 2048;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m615() {
            int size = this.f1235.size();
            for (int i = 0; i < size; i++) {
                this.f1235.get(i).m623();
            }
            this.f1235.clear();
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m616(AbstractC0224 abstractC0224) {
            InterfaceC0198 interfaceC0198 = this.f1234;
            if (interfaceC0198 != null) {
                C0200 c0200 = (C0200) interfaceC0198;
                if (c0200 == null) {
                    throw null;
                }
                boolean z = true;
                abstractC0224.m738(true);
                if (abstractC0224.f1333 != null && abstractC0224.f1334 == null) {
                    abstractC0224.f1333 = null;
                }
                abstractC0224.f1334 = null;
                if ((abstractC0224.f1335 & 16) != 0) {
                    return;
                }
                RecyclerView recyclerView = RecyclerView.this;
                View view = abstractC0224.f1326;
                recyclerView.m589();
                C2317 c2317 = recyclerView.f1161;
                int iIndexOfChild = ((C2366) c2317.f7341).f7511.indexOfChild(view);
                if (iIndexOfChild == -1) {
                    c2317.m4371(view);
                } else if (c2317.f7342.m4377(iIndexOfChild)) {
                    c2317.f7342.m4378(iIndexOfChild);
                    c2317.m4371(view);
                    ((C2366) c2317.f7341).m4424(iIndexOfChild);
                } else {
                    z = false;
                }
                if (z) {
                    AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
                    recyclerView.f1158.m715(abstractC0224M527);
                    recyclerView.f1158.m710(abstractC0224M527);
                }
                recyclerView.m563(!z);
                if (z || !abstractC0224.m750()) {
                    return;
                }
                RecyclerView.this.removeDetachedView(abstractC0224.f1326, false);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public abstract boolean mo617(AbstractC0224 abstractC0224, AbstractC0224 abstractC02242, C0199 c0199, C0199 c01992);

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean mo618(AbstractC0224 abstractC0224, List<Object> list) {
            return !((AbstractC2370) this).f7517 || abstractC0224.m746();
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public abstract void mo619();

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public abstract void mo620(AbstractC0224 abstractC0224);

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public C0199 m621(AbstractC0224 abstractC0224) {
            C0199 c0199 = new C0199();
            View view = abstractC0224.f1326;
            c0199.f1240 = view.getLeft();
            c0199.f1241 = view.getTop();
            view.getRight();
            view.getBottom();
            return c0199;
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public abstract boolean mo622();
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ވ, reason: contains not printable characters */
    public class C0200 implements AbstractC0196.InterfaceC0198 {
        public C0200() {
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$މ, reason: contains not printable characters */
    public static abstract class AbstractC0201 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo624(Canvas canvas, RecyclerView recyclerView, C0221 c0221) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo625(Rect rect, View view, RecyclerView recyclerView, C0221 c0221) {
            ((C0207) view.getLayoutParams()).m694();
            rect.set(0, 0, 0, 0);
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ފ, reason: contains not printable characters */
    public static abstract class AbstractC0202 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public C2317 f1243;

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public RecyclerView f1244;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public AbstractC0218 f1249;

        /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
        public int f1255;

        /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
        public boolean f1256;

        /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
        public int f1257;

        /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
        public int f1258;

        /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
        public int f1259;

        /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
        public int f1260;

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public final C2371.InterfaceC2373 f1245 = new C0203();

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public final C2371.InterfaceC2373 f1246 = new C0204();

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public C2371 f1247 = new C2371(this.f1245);

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public C2371 f1248 = new C2371(this.f1246);

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public boolean f1250 = false;

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public boolean f1251 = false;

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public boolean f1252 = false;

        /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
        public boolean f1253 = true;

        /* JADX INFO: renamed from: މ, reason: contains not printable characters */
        public boolean f1254 = true;

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ފ$֏, reason: contains not printable characters */
        public class C0203 implements C2371.InterfaceC2373 {
            public C0203() {
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public int mo688() {
                AbstractC0202 abstractC0202 = AbstractC0202.this;
                return abstractC0202.f1259 - abstractC0202.m683();
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public int mo689(View view) {
                return AbstractC0202.this.mo667(view) - ((ViewGroup.MarginLayoutParams) ((C0207) view.getLayoutParams())).leftMargin;
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public View mo690(int i) {
                return AbstractC0202.this.m659(i);
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public int mo691() {
                return AbstractC0202.this.m682();
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public int mo692(View view) {
                return AbstractC0202.this.mo677(view) + ((ViewGroup.MarginLayoutParams) ((C0207) view.getLayoutParams())).rightMargin;
            }
        }

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ފ$ؠ, reason: contains not printable characters */
        public class C0204 implements C2371.InterfaceC2373 {
            public C0204() {
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ֏ */
            public int mo688() {
                AbstractC0202 abstractC0202 = AbstractC0202.this;
                return abstractC0202.f1260 - abstractC0202.m680();
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ֏ */
            public int mo689(View view) {
                return AbstractC0202.this.mo679(view) - ((ViewGroup.MarginLayoutParams) ((C0207) view.getLayoutParams())).topMargin;
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ֏ */
            public View mo690(int i) {
                return AbstractC0202.this.m659(i);
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ؠ */
            public int mo691() {
                return AbstractC0202.this.m684();
            }

            @Override // p037.p107.p108.C2371.InterfaceC2373
            /* JADX INFO: renamed from: ؠ */
            public int mo692(View view) {
                return AbstractC0202.this.mo665(view) + ((ViewGroup.MarginLayoutParams) ((C0207) view.getLayoutParams())).bottomMargin;
            }
        }

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ފ$ހ, reason: contains not printable characters */
        public interface InterfaceC0205 {
        }

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ފ$ށ, reason: contains not printable characters */
        public static class C0206 {

            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public int f1263;

            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public int f1264;

            /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
            public boolean f1265;

            /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
            public boolean f1266;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public static int m626(int i, int i2, int i3) {
            int mode = View.MeasureSpec.getMode(i);
            int size = View.MeasureSpec.getSize(i);
            return mode != Integer.MIN_VALUE ? mode != 1073741824 ? Math.max(i2, i3) : size : Math.min(size, Math.max(i2, i3));
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public static int m627(int i, int i2, int i3, int i4, boolean z) {
            int iMax = Math.max(0, i - i3);
            if (z) {
                if (i4 < 0) {
                    if (i4 != -1 || (i2 != Integer.MIN_VALUE && (i2 == 0 || i2 != 1073741824))) {
                        i2 = 0;
                        i4 = 0;
                    } else {
                        i4 = iMax;
                    }
                }
                i2 = 1073741824;
            } else {
                if (i4 < 0) {
                    if (i4 != -1) {
                        if (i4 == -2) {
                            i2 = (i2 == Integer.MIN_VALUE || i2 == 1073741824) ? Integer.MIN_VALUE : 0;
                        }
                        i2 = 0;
                        i4 = 0;
                    }
                    i4 = iMax;
                }
                i2 = 1073741824;
            }
            return View.MeasureSpec.makeMeasureSpec(i4, i2);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public static C0206 m628(Context context, AttributeSet attributeSet, int i, int i2) {
            C0206 c0206 = new C0206();
            TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C2303.RecyclerView, i, i2);
            c0206.f1263 = typedArrayObtainStyledAttributes.getInt(C2303.RecyclerView_android_orientation, 1);
            c0206.f1264 = typedArrayObtainStyledAttributes.getInt(C2303.RecyclerView_spanCount, 1);
            c0206.f1265 = typedArrayObtainStyledAttributes.getBoolean(C2303.RecyclerView_reverseLayout, false);
            c0206.f1266 = typedArrayObtainStyledAttributes.getBoolean(C2303.RecyclerView_stackFromEnd, false);
            typedArrayObtainStyledAttributes.recycle();
            return c0206;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public static boolean m629(int i, int i2, int i3) {
            int mode = View.MeasureSpec.getMode(i2);
            int size = View.MeasureSpec.getSize(i2);
            if (i3 > 0 && i != i3) {
                return false;
            }
            if (mode == Integer.MIN_VALUE) {
                return size >= i;
            }
            if (mode != 0) {
                return mode == 1073741824 && size == i;
            }
            return true;
        }

        /* JADX INFO: renamed from: ֏ */
        public int mo427(int i, C0213 c0213, C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ֏ */
        public int mo428(C0213 c0213, C0221 c0221) {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView == null || recyclerView.f1168 == null || !mo483()) {
                return 1;
            }
            return this.f1244.f1168.mo327();
        }

        /* JADX INFO: renamed from: ֏ */
        public int mo469(C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public View mo630(View view, int i) {
            return null;
        }

        /* JADX INFO: renamed from: ֏ */
        public View mo430(View view, int i, C0213 c0213, C0221 c0221) {
            return null;
        }

        /* JADX INFO: renamed from: ֏ */
        public C0207 mo432(Context context, AttributeSet attributeSet) {
            return new C0207(context, attributeSet);
        }

        /* JADX INFO: renamed from: ֏ */
        public C0207 mo433(ViewGroup.LayoutParams layoutParams) {
            return layoutParams instanceof C0207 ? new C0207((C0207) layoutParams) : layoutParams instanceof ViewGroup.MarginLayoutParams ? new C0207((ViewGroup.MarginLayoutParams) layoutParams) : new C0207(layoutParams);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m631(int i, int i2) {
            this.f1259 = View.MeasureSpec.getSize(i);
            int mode = View.MeasureSpec.getMode(i);
            this.f1257 = mode;
            if (mode == 0 && !RecyclerView.f1150) {
                this.f1259 = 0;
            }
            this.f1260 = View.MeasureSpec.getSize(i2);
            int mode2 = View.MeasureSpec.getMode(i2);
            this.f1258 = mode2;
            if (mode2 != 0 || RecyclerView.f1150) {
                return;
            }
            this.f1260 = 0;
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo473(int i, int i2, C0221 c0221, InterfaceC0205 interfaceC0205) {
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo475(int i, InterfaceC0205 interfaceC0205) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m632(int i, C0213 c0213) {
            View viewM659 = m659(i);
            m675(i);
            c0213.m708(viewM659);
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo434(Rect rect, int i, int i2) {
            int iM683 = m683() + m682() + rect.width();
            int iM680 = m680() + m684() + rect.height();
            this.f1244.setMeasuredDimension(m626(i, iM683, m678()), m626(i2, iM680, m676()));
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo476(Parcelable parcelable) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m633(View view) {
            m635(view, -1, true);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m634(View view, int i, int i2, int i3, int i4) {
            C0207 c0207 = (C0207) view.getLayoutParams();
            Rect rect = c0207.f1268;
            view.layout(i + rect.left + ((ViewGroup.MarginLayoutParams) c0207).leftMargin, i2 + rect.top + ((ViewGroup.MarginLayoutParams) c0207).topMargin, (i3 - rect.right) - ((ViewGroup.MarginLayoutParams) c0207).rightMargin, (i4 - rect.bottom) - ((ViewGroup.MarginLayoutParams) c0207).bottomMargin);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m635(View view, int i, boolean z) {
            AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
            if (z || abstractC0224M527.m748()) {
                this.f1244.f1162.m4436(abstractC0224M527);
            } else {
                this.f1244.f1162.m4440(abstractC0224M527);
            }
            C0207 c0207 = (C0207) view.getLayoutParams();
            if (abstractC0224M527.m755() || abstractC0224M527.m749()) {
                if (abstractC0224M527.m749()) {
                    abstractC0224M527.f1339.m715(abstractC0224M527);
                } else {
                    abstractC0224M527.m739();
                }
                this.f1243.m4363(view, i, view.getLayoutParams(), false);
            } else if (view.getParent() == this.f1244) {
                int iM4366 = this.f1243.m4366(view);
                if (i == -1) {
                    i = this.f1243.m4360();
                }
                if (iM4366 == -1) {
                    StringBuilder sbM4889 = C2803.m4889("Added View has RecyclerView as parent but view is not a real child. Unfiltered index:");
                    sbM4889.append(this.f1244.indexOfChild(view));
                    throw new IllegalStateException(C2803.m4867(this.f1244, sbM4889));
                }
                if (iM4366 != i) {
                    AbstractC0202 abstractC0202 = this.f1244.f1169;
                    View viewM659 = abstractC0202.m659(iM4366);
                    if (viewM659 == null) {
                        throw new IllegalArgumentException("Cannot move a child from non-existing index:" + iM4366 + abstractC0202.f1244.toString());
                    }
                    abstractC0202.m659(iM4366);
                    abstractC0202.f1243.m4361(iM4366);
                    C0207 c02072 = (C0207) viewM659.getLayoutParams();
                    AbstractC0224 abstractC0224M5272 = RecyclerView.m527(viewM659);
                    if (abstractC0224M5272.m748()) {
                        abstractC0202.f1244.f1162.m4436(abstractC0224M5272);
                    } else {
                        abstractC0202.f1244.f1162.m4440(abstractC0224M5272);
                    }
                    abstractC0202.f1243.m4363(viewM659, i, c02072, abstractC0224M5272.m748());
                }
            } else {
                this.f1243.m4364(view, i, false);
                c0207.f1269 = true;
                AbstractC0218 abstractC0218 = this.f1249;
                if (abstractC0218 != null && abstractC0218.f1291 && abstractC0218.m720(view) == abstractC0218.f1287) {
                    abstractC0218.f1292 = view;
                }
            }
            if (c0207.f1270) {
                abstractC0224M527.f1326.invalidate();
                c0207.f1270 = false;
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m636(View view, Rect rect) {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView == null) {
                rect.set(0, 0, 0, 0);
            } else {
                rect.set(recyclerView.m568(view));
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m637(View view, C0213 c0213) {
            m642(c0213, this.f1243.m4366(view), view);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m638(View view, C1947 c1947) {
            AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
            if (abstractC0224M527 == null || abstractC0224M527.m748() || this.f1243.m4369(abstractC0224M527.f1326)) {
                return;
            }
            RecyclerView recyclerView = this.f1244;
            mo436(recyclerView.f1158, recyclerView.f1212, view, c1947);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m639(View view, boolean z, Rect rect) {
            Matrix matrix;
            if (z) {
                Rect rect2 = ((C0207) view.getLayoutParams()).f1268;
                rect.set(-rect2.left, -rect2.top, view.getWidth() + rect2.right, view.getHeight() + rect2.bottom);
            } else {
                rect.set(0, 0, view.getWidth(), view.getHeight());
            }
            if (this.f1244 != null && (matrix = view.getMatrix()) != null && !matrix.isIdentity()) {
                RectF rectF = this.f1244.f1167;
                rectF.set(rect);
                matrix.mapRect(rectF);
                rect.set((int) Math.floor(rectF.left), (int) Math.floor(rectF.top), (int) Math.ceil(rectF.right), (int) Math.ceil(rectF.bottom));
            }
            rect.offset(view.getLeft(), view.getTop());
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo477(AccessibilityEvent accessibilityEvent) {
            RecyclerView recyclerView = this.f1244;
            C0213 c0213 = recyclerView.f1158;
            C0221 c0221 = recyclerView.f1212;
            if (recyclerView == null || accessibilityEvent == null) {
                return;
            }
            boolean z = true;
            if (!recyclerView.canScrollVertically(1) && !this.f1244.canScrollVertically(-1) && !this.f1244.canScrollHorizontally(-1) && !this.f1244.canScrollHorizontally(1)) {
                z = false;
            }
            accessibilityEvent.setScrollable(z);
            AbstractC0191 abstractC0191 = this.f1244.f1168;
            if (abstractC0191 != null) {
                accessibilityEvent.setItemCount(abstractC0191.mo327());
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo640(AbstractC0191 abstractC0191, AbstractC0191 abstractC01912) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m641(C0213 c0213) {
            for (int iM664 = m664() - 1; iM664 >= 0; iM664--) {
                m642(c0213, iM664, m659(iM664));
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m642(C0213 c0213, int i, View view) {
            AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
            if (abstractC0224M527.m754()) {
                return;
            }
            if (abstractC0224M527.m746() && !abstractC0224M527.m748() && !this.f1244.f1168.f1233) {
                m675(i);
                c0213.m710(abstractC0224M527);
            } else {
                m659(i);
                this.f1243.m4361(i);
                c0213.m714(view);
                this.f1244.f1162.m4440(abstractC0224M527);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo643(C0213 c0213, C0221 c0221, int i, int i2) {
            this.f1244.m555(i, i2);
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo436(C0213 c0213, C0221 c0221, View view, C1947 c1947) {
            c1947.m3818(C1947.C1949.m3821(mo487() ? m681(view) : 0, 1, mo483() ? m681(view) : 0, 1, false, false));
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo644(C0213 c0213, C0221 c0221, C1947 c1947) {
            if (this.f1244.canScrollVertically(-1) || this.f1244.canScrollHorizontally(-1)) {
                c1947.f6407.addAction(8192);
                c1947.f6407.setScrollable(true);
            }
            if (this.f1244.canScrollVertically(1) || this.f1244.canScrollHorizontally(1)) {
                c1947.f6407.addAction(4096);
                c1947.f6407.setScrollable(true);
            }
            c1947.f6407.setCollectionInfo(AccessibilityNodeInfo.CollectionInfo.obtain(mo446(c0213, c0221), mo428(c0213, c0221), false, 0));
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo440(RecyclerView recyclerView) {
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo441(RecyclerView recyclerView, int i, int i2) {
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo442(RecyclerView recyclerView, int i, int i2, int i3) {
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo443(RecyclerView recyclerView, int i, int i2, Object obj) {
            mo663(recyclerView, i, i2);
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo481(RecyclerView recyclerView, C0213 c0213) {
        }

        /* JADX INFO: renamed from: ֏ */
        public void mo482(String str) {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                recyclerView.m544(str);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m645(boolean z) {
            if (z != this.f1254) {
                this.f1254 = z;
                this.f1255 = 0;
                RecyclerView recyclerView = this.f1244;
                if (recyclerView != null) {
                    recyclerView.f1158.m718();
                }
            }
        }

        /* JADX INFO: renamed from: ֏ */
        public boolean mo483() {
            return false;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean m646(View view, int i, int i2, C0207 c0207) {
            return (!view.isLayoutRequested() && this.f1253 && m629(view.getWidth(), i, ((ViewGroup.MarginLayoutParams) c0207).width) && m629(view.getHeight(), i2, ((ViewGroup.MarginLayoutParams) c0207).height)) ? false : true;
        }

        /* JADX INFO: renamed from: ֏ */
        public boolean mo444(C0207 c0207) {
            return c0207 != null;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean mo647(C0213 c0213, C0221 c0221, int i, Bundle bundle) {
            int iM684;
            int iM682;
            int i2;
            int i3;
            RecyclerView recyclerView = this.f1244;
            if (recyclerView == null) {
                return false;
            }
            if (i == 4096) {
                iM684 = recyclerView.canScrollVertically(1) ? (this.f1260 - m684()) - m680() : 0;
                if (this.f1244.canScrollHorizontally(1)) {
                    iM682 = (this.f1259 - m682()) - m683();
                    i2 = iM684;
                    i3 = iM682;
                }
                i2 = iM684;
                i3 = 0;
            } else if (i != 8192) {
                i3 = 0;
                i2 = 0;
            } else {
                iM684 = recyclerView.canScrollVertically(-1) ? -((this.f1260 - m684()) - m680()) : 0;
                if (this.f1244.canScrollHorizontally(-1)) {
                    iM682 = -((this.f1259 - m682()) - m683());
                    i2 = iM684;
                    i3 = iM682;
                }
                i2 = iM684;
                i3 = 0;
            }
            if (i2 == 0 && i3 == 0) {
                return false;
            }
            this.f1244.m535(i3, i2, (Interpolator) null, Integer.MIN_VALUE, true);
            return true;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean mo648(RecyclerView recyclerView, View view, Rect rect, boolean z) {
            return m649(recyclerView, view, rect, z, false);
        }

        /* JADX WARN: Removed duplicated region for block: B:18:0x007e  */
        /* JADX WARN: Removed duplicated region for block: B:30:0x00b5  */
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        /*
            Code decompiled incorrectly, please refer to instructions dump.
        */
        public boolean m649(RecyclerView recyclerView, View view, Rect rect, boolean z, boolean z2) {
            boolean z3;
            int[] iArr = new int[2];
            int iM682 = m682();
            int iM684 = m684();
            int iM683 = this.f1259 - m683();
            int iM680 = this.f1260 - m680();
            int left = (view.getLeft() + rect.left) - view.getScrollX();
            int top = (view.getTop() + rect.top) - view.getScrollY();
            int iWidth = rect.width() + left;
            int iHeight = rect.height() + top;
            int i = left - iM682;
            int iMin = Math.min(0, i);
            int i2 = top - iM684;
            int iMin2 = Math.min(0, i2);
            int i3 = iWidth - iM683;
            int iMax = Math.max(0, i3);
            int iMax2 = Math.max(0, iHeight - iM680);
            if (m673() != 1) {
                if (iMin == 0) {
                    iMin = Math.min(i, iMax);
                }
                iMax = iMin;
            } else if (iMax == 0) {
                iMax = Math.max(iMin, i3);
            }
            if (iMin2 == 0) {
                iMin2 = Math.min(i2, iMax2);
            }
            iArr[0] = iMax;
            iArr[1] = iMin2;
            int i4 = iArr[0];
            int i5 = iArr[1];
            if (z2) {
                View focusedChild = recyclerView.getFocusedChild();
                if (focusedChild == null) {
                    z3 = false;
                    if (z3) {
                    }
                } else {
                    int iM6822 = m682();
                    int iM6842 = m684();
                    int iM6832 = this.f1259 - m683();
                    int iM6802 = this.f1260 - m680();
                    Rect rect2 = this.f1244.f1165;
                    mo654(focusedChild, rect2);
                    if (rect2.left - i4 < iM6832 && rect2.right - i4 > iM6822 && rect2.top - i5 < iM6802 && rect2.bottom - i5 > iM6842) {
                        z3 = true;
                    }
                    if (z3) {
                    }
                }
            } else if (i4 != 0 || i5 != 0) {
                if (z) {
                    recyclerView.scrollBy(i4, i5);
                } else {
                    recyclerView.mo571(i4, i5);
                }
                return true;
            }
            return false;
        }

        @Deprecated
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean mo650(RecyclerView recyclerView, View view, View view2) {
            return m686() || recyclerView.m582();
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public boolean mo651(RecyclerView recyclerView, ArrayList<View> arrayList, int i, int i2) {
            return false;
        }

        /* JADX INFO: renamed from: ؠ */
        public int mo445(int i, C0213 c0213, C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ؠ */
        public int mo446(C0213 c0213, C0221 c0221) {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView == null || recyclerView.f1168 == null || !mo487()) {
                return 1;
            }
            return this.f1244.f1168.mo327();
        }

        /* JADX INFO: renamed from: ؠ */
        public int mo448(C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ؠ */
        public View mo485(int i) {
            int iM664 = m664();
            for (int i2 = 0; i2 < iM664; i2++) {
                View viewM659 = m659(i2);
                AbstractC0224 abstractC0224M527 = RecyclerView.m527(viewM659);
                if (abstractC0224M527 != null && abstractC0224M527.m742() == i && !abstractC0224M527.m754() && (this.f1244.f1212.f1308 || !abstractC0224M527.m748())) {
                    return viewM659;
                }
            }
            return null;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m652(int i, int i2) {
            int iM664 = m664();
            if (iM664 == 0) {
                this.f1244.m555(i, i2);
                return;
            }
            int i3 = Integer.MIN_VALUE;
            int i4 = Integer.MIN_VALUE;
            int i5 = Integer.MAX_VALUE;
            int i6 = Integer.MAX_VALUE;
            for (int i7 = 0; i7 < iM664; i7++) {
                View viewM659 = m659(i7);
                Rect rect = this.f1244.f1165;
                mo654(viewM659, rect);
                int i8 = rect.left;
                if (i8 < i5) {
                    i5 = i8;
                }
                int i9 = rect.right;
                if (i9 > i3) {
                    i3 = i9;
                }
                int i10 = rect.top;
                if (i10 < i6) {
                    i6 = i10;
                }
                int i11 = rect.bottom;
                if (i11 > i4) {
                    i4 = i11;
                }
            }
            this.f1244.f1165.set(i5, i6, i3, i4);
            mo434(this.f1244.f1165, i, i2);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m653(View view) {
            m635(view, -1, false);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void mo654(View view, Rect rect) {
            RecyclerView.m520(view, rect);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m655(View view, C0213 c0213) {
            C2317 c2317 = this.f1243;
            int iIndexOfChild = ((C2366) c2317.f7341).f7511.indexOfChild(view);
            if (iIndexOfChild >= 0) {
                if (c2317.f7342.m4378(iIndexOfChild)) {
                    c2317.m4371(view);
                }
                ((C2366) c2317.f7341).m4424(iIndexOfChild);
            }
            c0213.m708(view);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void mo656(C0213 c0213) {
            for (int iM664 = m664() - 1; iM664 >= 0; iM664--) {
                if (!RecyclerView.m527(m659(iM664)).m754()) {
                    m632(iM664, c0213);
                }
            }
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m657(RecyclerView recyclerView) {
            m631(View.MeasureSpec.makeMeasureSpec(recyclerView.getWidth(), 1073741824), View.MeasureSpec.makeMeasureSpec(recyclerView.getHeight(), 1073741824));
        }

        /* JADX INFO: renamed from: ؠ */
        public void mo450(RecyclerView recyclerView, int i, int i2) {
        }

        /* JADX INFO: renamed from: ؠ */
        public boolean mo487() {
            return false;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public boolean m658(View view, int i, int i2, C0207 c0207) {
            return (this.f1253 && m629(view.getMeasuredWidth(), i, ((ViewGroup.MarginLayoutParams) c0207).width) && m629(view.getMeasuredHeight(), i2, ((ViewGroup.MarginLayoutParams) c0207).height)) ? false : true;
        }

        /* JADX INFO: renamed from: ހ */
        public int mo453(C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public View m659(int i) {
            C2317 c2317 = this.f1243;
            if (c2317 == null) {
                return null;
            }
            return ((C2366) c2317.f7341).m4423(c2317.m4368(i));
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public View m660(View view) {
            View viewM552;
            RecyclerView recyclerView = this.f1244;
            if (recyclerView == null || (viewM552 = recyclerView.m552(view)) == null || this.f1243.f7343.contains(viewM552)) {
                return null;
            }
            return viewM552;
        }

        /* JADX INFO: renamed from: ހ */
        public abstract C0207 mo454();

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void m661(C0213 c0213) {
            int size = c0213.f1277.size();
            for (int i = size - 1; i >= 0; i--) {
                View view = c0213.f1277.get(i).f1326;
                AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
                if (!abstractC0224M527.m754()) {
                    abstractC0224M527.m738(false);
                    if (abstractC0224M527.m750()) {
                        this.f1244.removeDetachedView(view, false);
                    }
                    AbstractC0196 abstractC0196 = this.f1244.f1194;
                    if (abstractC0196 != null) {
                        abstractC0196.mo620(abstractC0224M527);
                    }
                    abstractC0224M527.m738(true);
                    AbstractC0224 abstractC0224M5272 = RecyclerView.m527(view);
                    abstractC0224M5272.f1339 = null;
                    abstractC0224M5272.f1340 = false;
                    abstractC0224M5272.m739();
                    c0213.m710(abstractC0224M5272);
                }
            }
            c0213.f1277.clear();
            ArrayList<AbstractC0224> arrayList = c0213.f1278;
            if (arrayList != null) {
                arrayList.clear();
            }
            if (size > 0) {
                this.f1244.invalidate();
            }
        }

        /* JADX INFO: renamed from: ހ */
        public void mo455(C0213 c0213, C0221 c0221) {
            Log.e("RecyclerView", "You must override onLayoutChildren(Recycler recycler, State state) ");
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void m662(RecyclerView recyclerView) {
            if (recyclerView == null) {
                this.f1244 = null;
                this.f1243 = null;
                this.f1259 = 0;
                this.f1260 = 0;
            } else {
                this.f1244 = recyclerView;
                this.f1243 = recyclerView.f1161;
                this.f1259 = recyclerView.getWidth();
                this.f1260 = recyclerView.getHeight();
            }
            this.f1257 = 1073741824;
            this.f1258 = 1073741824;
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void mo663(RecyclerView recyclerView, int i, int i2) {
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public int m664() {
            C2317 c2317 = this.f1243;
            if (c2317 != null) {
                return c2317.m4360();
            }
            return 0;
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public int mo665(View view) {
            return view.getBottom() + ((C0207) view.getLayoutParams()).f1268.bottom;
        }

        /* JADX INFO: renamed from: ށ */
        public int mo490(C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public void mo666(int i) {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                int iM4360 = recyclerView.f1161.m4360();
                for (int i2 = 0; i2 < iM4360; i2++) {
                    recyclerView.f1161.m4367(i2).offsetLeftAndRight(i);
                }
            }
        }

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public int mo667(View view) {
            return view.getLeft() - ((C0207) view.getLayoutParams()).f1268.left;
        }

        /* JADX INFO: renamed from: ނ */
        public int mo456(C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public View m668() {
            View focusedChild;
            RecyclerView recyclerView = this.f1244;
            if (recyclerView == null || (focusedChild = recyclerView.getFocusedChild()) == null || this.f1243.f7343.contains(focusedChild)) {
                return null;
            }
            return focusedChild;
        }

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public void mo669(int i) {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                int iM4360 = recyclerView.f1161.m4360();
                for (int i2 = 0; i2 < iM4360; i2++) {
                    recyclerView.f1161.m4367(i2).offsetTopAndBottom(i);
                }
            }
        }

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public int m670() {
            RecyclerView recyclerView = this.f1244;
            AbstractC0191 adapter = recyclerView != null ? recyclerView.getAdapter() : null;
            if (adapter != null) {
                return adapter.mo327();
            }
            return 0;
        }

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public int m671(View view) {
            Rect rect = ((C0207) view.getLayoutParams()).f1268;
            return view.getMeasuredHeight() + rect.top + rect.bottom;
        }

        /* JADX INFO: renamed from: ރ */
        public int mo458(C0221 c0221) {
            return 0;
        }

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public void mo672(int i) {
        }

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public int m673() {
            return C1920.m3760(this.f1244);
        }

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public int m674(View view) {
            Rect rect = ((C0207) view.getLayoutParams()).f1268;
            return view.getMeasuredWidth() + rect.left + rect.right;
        }

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public void m675(int i) {
            C2317 c2317;
            int iM4368;
            View viewM4423;
            if (m659(i) == null || (viewM4423 = ((C2366) c2317.f7341).m4423((iM4368 = (c2317 = this.f1243).m4368(i)))) == null) {
                return;
            }
            if (c2317.f7342.m4378(iM4368)) {
                c2317.m4371(viewM4423);
            }
            ((C2366) c2317.f7341).m4424(iM4368);
        }

        /* JADX INFO: renamed from: ބ */
        public void mo459(C0221 c0221) {
        }

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public int m676() {
            return C1920.m3761(this.f1244);
        }

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public int mo677(View view) {
            return view.getRight() + ((C0207) view.getLayoutParams()).f1268.right;
        }

        /* JADX INFO: renamed from: ޅ */
        public void mo496(int i) {
        }

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public int m678() {
            return C1920.m3762(this.f1244);
        }

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public int mo679(View view) {
            return view.getTop() - ((C0207) view.getLayoutParams()).f1268.top;
        }

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public int m680() {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                return recyclerView.getPaddingBottom();
            }
            return 0;
        }

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public int m681(View view) {
            return ((C0207) view.getLayoutParams()).m694();
        }

        /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
        public int m682() {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                return recyclerView.getPaddingLeft();
            }
            return 0;
        }

        /* JADX INFO: renamed from: މ, reason: contains not printable characters */
        public int m683() {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                return recyclerView.getPaddingRight();
            }
            return 0;
        }

        /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
        public int m684() {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                return recyclerView.getPaddingTop();
            }
            return 0;
        }

        /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
        public boolean m685() {
            RecyclerView recyclerView = this.f1244;
            return recyclerView != null && recyclerView.hasFocus();
        }

        /* JADX INFO: renamed from: ތ */
        public boolean mo501() {
            return this.f1252;
        }

        /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
        public boolean m686() {
            AbstractC0218 abstractC0218 = this.f1249;
            return abstractC0218 != null && abstractC0218.f1291;
        }

        /* JADX INFO: renamed from: ގ */
        public Parcelable mo502() {
            return null;
        }

        /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
        public void m687() {
            RecyclerView recyclerView = this.f1244;
            if (recyclerView != null) {
                recyclerView.requestLayout();
            }
        }

        /* JADX INFO: renamed from: ސ */
        public boolean mo503() {
            return false;
        }

        /* JADX INFO: renamed from: ޑ */
        public boolean mo461() {
            return false;
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ދ, reason: contains not printable characters */
    public static class C0207 extends ViewGroup.MarginLayoutParams {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public AbstractC0224 f1267;

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public final Rect f1268;

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public boolean f1269;

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public boolean f1270;

        public C0207(int i, int i2) {
            super(i, i2);
            this.f1268 = new Rect();
            this.f1269 = true;
            this.f1270 = false;
        }

        public C0207(Context context, AttributeSet attributeSet) {
            super(context, attributeSet);
            this.f1268 = new Rect();
            this.f1269 = true;
            this.f1270 = false;
        }

        public C0207(ViewGroup.LayoutParams layoutParams) {
            super(layoutParams);
            this.f1268 = new Rect();
            this.f1269 = true;
            this.f1270 = false;
        }

        public C0207(ViewGroup.MarginLayoutParams marginLayoutParams) {
            super(marginLayoutParams);
            this.f1268 = new Rect();
            this.f1269 = true;
            this.f1270 = false;
        }

        public C0207(C0207 c0207) {
            super((ViewGroup.LayoutParams) c0207);
            this.f1268 = new Rect();
            this.f1269 = true;
            this.f1270 = false;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public int m693() {
            return this.f1267.m741();
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public int m694() {
            return this.f1267.m742();
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public boolean m695() {
            return this.f1267.m751();
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public boolean m696() {
            return this.f1267.m748();
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ތ, reason: contains not printable characters */
    public static abstract class AbstractC0208 {
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ލ, reason: contains not printable characters */
    public interface InterfaceC0209 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        void mo697(boolean z);

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        boolean mo698(RecyclerView recyclerView, MotionEvent motionEvent);

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        void mo699(RecyclerView recyclerView, MotionEvent motionEvent);
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ގ, reason: contains not printable characters */
    public static abstract class AbstractC0210 {
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo700(RecyclerView recyclerView, int i) {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo701(RecyclerView recyclerView, int i, int i2) {
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޏ, reason: contains not printable characters */
    public static class C0211 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public SparseArray<C0212> f1271 = new SparseArray<>();

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public int f1272 = 0;

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޏ$֏, reason: contains not printable characters */
        public static class C0212 {

            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public final ArrayList<AbstractC0224> f1273 = new ArrayList<>();

            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public int f1274 = 5;

            /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
            public long f1275 = 0;

            /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
            public long f1276 = 0;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public long m702(long j, long j2) {
            if (j == 0) {
                return j2;
            }
            return (j2 / 4) + ((j / 4) * 3);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final C0212 m703(int i) {
            C0212 c0212 = this.f1271.get(i);
            if (c0212 != null) {
                return c0212;
            }
            C0212 c02122 = new C0212();
            this.f1271.put(i, c02122);
            return c02122;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m704(int i, int i2) {
            C0212 c0212M703 = m703(i);
            c0212M703.f1274 = i2;
            ArrayList<AbstractC0224> arrayList = c0212M703.f1273;
            while (arrayList.size() > i2) {
                arrayList.remove(arrayList.size() - 1);
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ސ, reason: contains not printable characters */
    public final class C0213 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final ArrayList<AbstractC0224> f1277 = new ArrayList<>();

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public ArrayList<AbstractC0224> f1278 = null;

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public final ArrayList<AbstractC0224> f1279 = new ArrayList<>();

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public final List<AbstractC0224> f1280 = Collections.unmodifiableList(this.f1277);

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public int f1281 = 2;

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public int f1282 = 2;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public C0211 f1283;

        public C0213() {
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public int m705(int i) {
            if (i >= 0 && i < RecyclerView.this.f1212.m728()) {
                RecyclerView recyclerView = RecyclerView.this;
                return !recyclerView.f1212.f1308 ? i : recyclerView.f1160.m4339(i, 0);
            }
            StringBuilder sbM4896 = C2803.m4896("invalid position ", i, ". State item count is ");
            sbM4896.append(RecyclerView.this.f1212.m728());
            throw new IndexOutOfBoundsException(C2803.m4867(RecyclerView.this, sbM4896));
        }

        /* JADX WARN: Code restructure failed: missing block: B:71:0x0102, code lost:
        
            if (r10 == null) goto L85;
         */
        /* JADX WARN: Code restructure failed: missing block: B:72:0x0104, code lost:
        
            r7 = androidx.recyclerview.widget.RecyclerView.m527(r10);
            r8 = r16.f1284.f1161;
            r9 = ((p037.p107.p108.C2366) r8.f7341).f7511.indexOfChild(r10);
         */
        /* JADX WARN: Code restructure failed: missing block: B:73:0x0116, code lost:
        
            if (r9 < 0) goto L83;
         */
        /* JADX WARN: Code restructure failed: missing block: B:75:0x011e, code lost:
        
            if (r8.f7342.m4377(r9) == false) goto L81;
         */
        /* JADX WARN: Code restructure failed: missing block: B:76:0x0120, code lost:
        
            r8.f7342.m4373(r9);
            r8.m4371(r10);
            r8 = r16.f1284.f1161.m4366(r10);
         */
        /* JADX WARN: Code restructure failed: missing block: B:77:0x0130, code lost:
        
            if (r8 == (-1)) goto L79;
         */
        /* JADX WARN: Code restructure failed: missing block: B:78:0x0132, code lost:
        
            r16.f1284.f1161.m4361(r8);
            m714(r10);
            r7.m734(8224);
         */
        /* JADX WARN: Code restructure failed: missing block: B:79:0x0143, code lost:
        
            r2 = new java.lang.StringBuilder();
            r2.append("layout index should not be -1 after unhiding a view:");
            r2.append(r7);
         */
        /* JADX WARN: Code restructure failed: missing block: B:80:0x015b, code lost:
        
            throw new java.lang.IllegalStateException(p138.p139.p143.p144.C2803.m4867(r16.f1284, r2));
         */
        /* JADX WARN: Code restructure failed: missing block: B:82:0x0172, code lost:
        
            throw new java.lang.RuntimeException("trying to unhide a view that was not hidden" + r10);
         */
        /* JADX WARN: Code restructure failed: missing block: B:84:0x0189, code lost:
        
            throw new java.lang.IllegalArgumentException("view is not a child, cannot hide " + r10);
         */
        /* JADX WARN: Removed duplicated region for block: B:116:0x0201  */
        /* JADX WARN: Removed duplicated region for block: B:132:0x024a  */
        /* JADX WARN: Removed duplicated region for block: B:184:0x033f  */
        /* JADX WARN: Removed duplicated region for block: B:228:0x040f  */
        /* JADX WARN: Removed duplicated region for block: B:234:0x0435  */
        /* JADX WARN: Removed duplicated region for block: B:240:0x0447  */
        /* JADX WARN: Removed duplicated region for block: B:242:0x0462  */
        /* JADX WARN: Removed duplicated region for block: B:253:0x0484  */
        /* JADX WARN: Removed duplicated region for block: B:297:0x053f  */
        /* JADX WARN: Removed duplicated region for block: B:298:0x054d  */
        /* JADX WARN: Removed duplicated region for block: B:304:0x0569 A[ADDED_TO_REGION] */
        /* JADX WARN: Removed duplicated region for block: B:306:0x056d  */
        /* JADX WARN: Removed duplicated region for block: B:309:0x0571  */
        /* JADX WARN: Removed duplicated region for block: B:37:0x0089  */
        /* JADX WARN: Removed duplicated region for block: B:42:0x0090  */
        /* JADX WARN: Removed duplicated region for block: B:99:0x01bc  */
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        /*
            Code decompiled incorrectly, please refer to instructions dump.
        */
        public AbstractC0224 m706(int i, boolean z, long j) {
            AbstractC0224 abstractC0224M527;
            boolean z2;
            AbstractC0191 abstractC0191;
            boolean z3;
            ViewGroup.LayoutParams layoutParams;
            C0207 c0207;
            RecyclerView recyclerViewM526;
            AbstractC0224 abstractC0224Remove;
            AbstractC0224 abstractC0224;
            View view;
            boolean z4;
            int size;
            int iM4339;
            if (i < 0 || i >= RecyclerView.this.f1212.m728()) {
                StringBuilder sbM4890 = C2803.m4890("Invalid item position ", i, "(", i, "). Item count:");
                sbM4890.append(RecyclerView.this.f1212.m728());
                throw new IndexOutOfBoundsException(C2803.m4867(RecyclerView.this, sbM4890));
            }
            if (RecyclerView.this.f1212.f1308) {
                ArrayList<AbstractC0224> arrayList = this.f1278;
                if (arrayList == null || (size = arrayList.size()) == 0) {
                    abstractC0224M527 = null;
                    z2 = abstractC0224M527 == null;
                } else {
                    int i2 = 0;
                    while (true) {
                        if (i2 >= size) {
                            RecyclerView recyclerView = RecyclerView.this;
                            if (recyclerView.f1168.f1233 && (iM4339 = recyclerView.f1160.m4339(i, 0)) > 0 && iM4339 < RecyclerView.this.f1168.mo327()) {
                                long jMo594 = RecyclerView.this.f1168.mo594(iM4339);
                                for (int i3 = 0; i3 < size; i3++) {
                                    AbstractC0224 abstractC02242 = this.f1278.get(i3);
                                    if (!abstractC02242.m755() && abstractC02242.f1330 == jMo594) {
                                        abstractC02242.m734(32);
                                        abstractC0224M527 = abstractC02242;
                                        break;
                                    }
                                }
                            }
                        } else {
                            abstractC0224M527 = this.f1278.get(i2);
                            if (!abstractC0224M527.m755() && abstractC0224M527.m742() == i) {
                                abstractC0224M527.m734(32);
                                break;
                            }
                            i2++;
                        }
                    }
                    abstractC0224M527 = null;
                    if (abstractC0224M527 == null) {
                    }
                }
                if (abstractC0224M527 == null) {
                    int size2 = this.f1277.size();
                    for (int i4 = 0; i4 < size2; i4++) {
                        abstractC0224 = this.f1277.get(i4);
                        if (!abstractC0224.m755() && abstractC0224.m742() == i && !abstractC0224.m746() && (RecyclerView.this.f1212.f1308 || !abstractC0224.m748())) {
                            abstractC0224.m734(32);
                            break;
                        }
                    }
                    if (!z) {
                        C2317 c2317 = RecyclerView.this.f1161;
                        int size3 = c2317.f7343.size();
                        int i5 = 0;
                        while (true) {
                            if (i5 >= size3) {
                                view = null;
                                break;
                            }
                            view = c2317.f7343.get(i5);
                            if (((C2366) c2317.f7341) == null) {
                                throw null;
                            }
                            AbstractC0224 abstractC0224M5272 = RecyclerView.m527(view);
                            if (abstractC0224M5272.m742() == i && !abstractC0224M5272.m746() && !abstractC0224M5272.m748()) {
                                break;
                            }
                            i5++;
                        }
                    } else {
                        int size4 = this.f1279.size();
                        for (int i6 = 0; i6 < size4; i6++) {
                            abstractC0224 = this.f1279.get(i6);
                            if (!abstractC0224.m746() && abstractC0224.m742() == i && !abstractC0224.m744()) {
                                if (!z) {
                                    this.f1279.remove(i6);
                                }
                                abstractC0224M527 = abstractC0224;
                                if (abstractC0224M527 != null) {
                                    if (abstractC0224M527.m748()) {
                                        z4 = RecyclerView.this.f1212.f1308;
                                    } else {
                                        int i7 = abstractC0224M527.f1328;
                                        if (i7 < 0 || i7 >= RecyclerView.this.f1168.mo327()) {
                                            StringBuilder sb = new StringBuilder();
                                            sb.append("Inconsistency detected. Invalid view holder adapter position");
                                            sb.append(abstractC0224M527);
                                            throw new IndexOutOfBoundsException(C2803.m4867(RecyclerView.this, sb));
                                        }
                                        RecyclerView recyclerView2 = RecyclerView.this;
                                        if (recyclerView2.f1212.f1308 || recyclerView2.f1168.mo597(abstractC0224M527.f1328) == abstractC0224M527.f1331) {
                                            AbstractC0191 abstractC01912 = RecyclerView.this.f1168;
                                            z4 = !abstractC01912.f1233 || abstractC0224M527.f1330 == abstractC01912.mo594(abstractC0224M527.f1328);
                                        }
                                    }
                                    if (z4) {
                                        z2 = true;
                                    } else {
                                        if (!z) {
                                            abstractC0224M527.m734(4);
                                            if (abstractC0224M527.m749()) {
                                                RecyclerView.this.removeDetachedView(abstractC0224M527.f1326, false);
                                                abstractC0224M527.f1339.m715(abstractC0224M527);
                                            } else if (abstractC0224M527.m755()) {
                                                abstractC0224M527.m739();
                                            }
                                            m710(abstractC0224M527);
                                        }
                                        abstractC0224M527 = null;
                                    }
                                }
                            }
                        }
                        abstractC0224M527 = null;
                        if (abstractC0224M527 != null) {
                        }
                    }
                }
                if (abstractC0224M527 == null) {
                    int iM43392 = RecyclerView.this.f1160.m4339(i, 0);
                    if (iM43392 < 0 || iM43392 >= RecyclerView.this.f1168.mo327()) {
                        StringBuilder sbM48902 = C2803.m4890("Inconsistency detected. Invalid item position ", i, "(offset:", iM43392, ").state:");
                        sbM48902.append(RecyclerView.this.f1212.m728());
                        throw new IndexOutOfBoundsException(C2803.m4867(RecyclerView.this, sbM48902));
                    }
                    int iMo597 = RecyclerView.this.f1168.mo597(iM43392);
                    AbstractC0191 abstractC01913 = RecyclerView.this.f1168;
                    if (abstractC01913.f1233) {
                        long jMo5942 = abstractC01913.mo594(iM43392);
                        int size5 = this.f1277.size() - 1;
                        while (true) {
                            if (size5 >= 0) {
                                AbstractC0224 abstractC02243 = this.f1277.get(size5);
                                if (abstractC02243.f1330 == jMo5942 && !abstractC02243.m755()) {
                                    if (iMo597 == abstractC02243.f1331) {
                                        abstractC02243.m734(32);
                                        if (abstractC02243.m748() && !RecyclerView.this.f1212.f1308) {
                                            abstractC02243.m735(2, 14);
                                        }
                                        abstractC0224M527 = abstractC02243;
                                    } else if (!z) {
                                        this.f1277.remove(size5);
                                        RecyclerView.this.removeDetachedView(abstractC02243.f1326, false);
                                        AbstractC0224 abstractC0224M5273 = RecyclerView.m527(abstractC02243.f1326);
                                        abstractC0224M5273.f1339 = null;
                                        abstractC0224M5273.f1340 = false;
                                        abstractC0224M5273.m739();
                                        m710(abstractC0224M5273);
                                    }
                                }
                                size5--;
                            } else {
                                int size6 = this.f1279.size() - 1;
                                while (true) {
                                    if (size6 < 0) {
                                        break;
                                    }
                                    abstractC0224M527 = this.f1279.get(size6);
                                    if (abstractC0224M527.f1330 == jMo5942 && !abstractC0224M527.m744()) {
                                        if (iMo597 != abstractC0224M527.f1331) {
                                            if (!z) {
                                                m717(size6);
                                                break;
                                            }
                                        } else if (!z) {
                                            this.f1279.remove(size6);
                                        }
                                    }
                                    size6--;
                                }
                                abstractC0224M527 = null;
                            }
                        }
                        if (abstractC0224M527 != null) {
                            abstractC0224M527.f1328 = iM43392;
                            z2 = true;
                        }
                    }
                    if (abstractC0224M527 == null) {
                        C0211.C0212 c0212 = m713().f1271.get(iMo597);
                        if (c0212 == null || c0212.f1273.isEmpty()) {
                            abstractC0224Remove = null;
                            if (abstractC0224Remove != null) {
                                abstractC0224Remove.m753();
                                if (RecyclerView.f1149) {
                                    View view2 = abstractC0224Remove.f1326;
                                    if (view2 instanceof ViewGroup) {
                                        m709((ViewGroup) view2, false);
                                    }
                                }
                            }
                            abstractC0224M527 = abstractC0224Remove;
                        } else {
                            ArrayList<AbstractC0224> arrayList2 = c0212.f1273;
                            for (int size7 = arrayList2.size() - 1; size7 >= 0; size7--) {
                                if (!arrayList2.get(size7).m744()) {
                                    abstractC0224Remove = arrayList2.remove(size7);
                                    break;
                                }
                            }
                            abstractC0224Remove = null;
                            if (abstractC0224Remove != null) {
                            }
                            abstractC0224M527 = abstractC0224Remove;
                        }
                    }
                    if (abstractC0224M527 == null) {
                        long nanoTime = RecyclerView.this.getNanoTime();
                        if (j != Long.MAX_VALUE) {
                            long j2 = this.f1283.m703(iMo597).f1275;
                            if (!(j2 == 0 || j2 + nanoTime < j)) {
                                return null;
                            }
                        }
                        RecyclerView recyclerView3 = RecyclerView.this;
                        AbstractC0191 abstractC01914 = recyclerView3.f1168;
                        if (abstractC01914 == null) {
                            throw null;
                        }
                        try {
                            C1882.m3703("RV CreateView");
                            AbstractC0224 abstractC0224Mo328 = abstractC01914.mo328(recyclerView3, iMo597);
                            if (abstractC0224Mo328.f1326.getParent() != null) {
                                throw new IllegalStateException("ViewHolder views must not be attached when created. Ensure that you are not passing 'true' to the attachToRoot parameter of LayoutInflater.inflate(..., boolean attachToRoot)");
                            }
                            abstractC0224Mo328.f1331 = iMo597;
                            Trace.endSection();
                            if (RecyclerView.f1152 && (recyclerViewM526 = RecyclerView.m526(abstractC0224Mo328.f1326)) != null) {
                                abstractC0224Mo328.f1327 = new WeakReference<>(recyclerViewM526);
                            }
                            long nanoTime2 = RecyclerView.this.getNanoTime();
                            C0211 c0211 = this.f1283;
                            long j3 = nanoTime2 - nanoTime;
                            C0211.C0212 c0212M703 = c0211.m703(iMo597);
                            c0212M703.f1275 = c0211.m702(c0212M703.f1275, j3);
                            abstractC0224M527 = abstractC0224Mo328;
                        } catch (Throwable th) {
                            C1882.m3702();
                            throw th;
                        }
                    }
                }
                if (z2 && !RecyclerView.this.f1212.f1308 && abstractC0224M527.m740(8192)) {
                    abstractC0224M527.m735(0, 8192);
                    if (RecyclerView.this.f1212.f1311) {
                        AbstractC0196.m614(abstractC0224M527);
                        RecyclerView recyclerView4 = RecyclerView.this;
                        AbstractC0196 abstractC0196 = recyclerView4.f1194;
                        C0221 c0221 = recyclerView4.f1212;
                        abstractC0224M527.m743();
                        RecyclerView.this.m543(abstractC0224M527, abstractC0196.m621(abstractC0224M527));
                    }
                }
                if (RecyclerView.this.f1212.f1308 || !abstractC0224M527.m745()) {
                    if (abstractC0224M527.m745() || abstractC0224M527.m752() || abstractC0224M527.m746()) {
                        int iM43393 = RecyclerView.this.f1160.m4339(i, 0);
                        RecyclerView recyclerView5 = RecyclerView.this;
                        abstractC0224M527.f1343 = recyclerView5;
                        int i8 = abstractC0224M527.f1331;
                        long nanoTime3 = recyclerView5.getNanoTime();
                        if (j != Long.MAX_VALUE) {
                            long j4 = this.f1283.m703(i8).f1276;
                            if (!(j4 == 0 || j4 + nanoTime3 < j)) {
                            }
                        }
                        abstractC0191 = RecyclerView.this.f1168;
                        if (abstractC0191 != null) {
                            throw null;
                        }
                        abstractC0224M527.f1328 = iM43393;
                        if (abstractC0191.f1233) {
                            abstractC0224M527.f1330 = abstractC0191.mo594(iM43393);
                        }
                        abstractC0224M527.m735(1, 519);
                        C1882.m3703("RV OnBindView");
                        abstractC0191.mo595(abstractC0224M527, iM43393, abstractC0224M527.m743());
                        List<Object> list = abstractC0224M527.f1336;
                        if (list != null) {
                            list.clear();
                        }
                        abstractC0224M527.f1335 &= -1025;
                        ViewGroup.LayoutParams layoutParams2 = abstractC0224M527.f1326.getLayoutParams();
                        if (layoutParams2 instanceof C0207) {
                            ((C0207) layoutParams2).f1269 = true;
                        }
                        Trace.endSection();
                        long nanoTime4 = RecyclerView.this.getNanoTime();
                        C0211 c02112 = this.f1283;
                        long j5 = nanoTime4 - nanoTime3;
                        C0211.C0212 c0212M7032 = c02112.m703(abstractC0224M527.f1331);
                        c0212M7032.f1276 = c02112.m702(c0212M7032.f1276, j5);
                        AccessibilityManager accessibilityManager = RecyclerView.this.f1184;
                        if (accessibilityManager != null && accessibilityManager.isEnabled()) {
                            View view3 = abstractC0224M527.f1326;
                            if (C1920.m3758(view3) == 0) {
                                view3.setImportantForAccessibility(1);
                            }
                            C2368 c2368 = RecyclerView.this.f1219;
                            if (c2368 != null) {
                                C1905 c1905Mo4337 = c2368.mo4337();
                                if (c1905Mo4337 instanceof C2368.C2369) {
                                    C2368.C2369 c2369 = (C2368.C2369) c1905Mo4337;
                                    if (c2369 == null) {
                                        throw null;
                                    }
                                    View.AccessibilityDelegate accessibilityDelegateM3752 = C1920.m3752(view3);
                                    C1905 c1905 = accessibilityDelegateM3752 != null ? accessibilityDelegateM3752 instanceof C1905.C1906 ? ((C1905.C1906) accessibilityDelegateM3752).f6350 : new C1905(accessibilityDelegateM3752) : null;
                                    if (c1905 != null && c1905 != c2369) {
                                        c2369.f7516.put(view3, c1905);
                                    }
                                }
                                C1920.m3748(view3, c1905Mo4337);
                            }
                        }
                        if (RecyclerView.this.f1212.f1308) {
                            abstractC0224M527.f1332 = i;
                        }
                        z3 = true;
                    }
                    layoutParams = abstractC0224M527.f1326.getLayoutParams();
                    if (layoutParams == null) {
                        c0207 = (C0207) RecyclerView.this.generateDefaultLayoutParams();
                        abstractC0224M527.f1326.setLayoutParams(c0207);
                    } else if (RecyclerView.this.checkLayoutParams(layoutParams)) {
                        c0207 = (C0207) layoutParams;
                    } else {
                        c0207 = (C0207) RecyclerView.this.generateLayoutParams(layoutParams);
                        abstractC0224M527.f1326.setLayoutParams(c0207);
                    }
                    c0207.f1267 = abstractC0224M527;
                    c0207.f1270 = z2 && z3;
                    return abstractC0224M527;
                }
                abstractC0224M527.f1332 = i;
                z3 = false;
                layoutParams = abstractC0224M527.f1326.getLayoutParams();
                if (layoutParams == null) {
                }
                c0207.f1267 = abstractC0224M527;
                c0207.f1270 = z2 && z3;
                return abstractC0224M527;
            }
            abstractC0224M527 = null;
            if (abstractC0224M527 == null) {
            }
            if (abstractC0224M527 == null) {
            }
            if (z2) {
                abstractC0224M527.m735(0, 8192);
                if (RecyclerView.this.f1212.f1311) {
                }
            }
            if (RecyclerView.this.f1212.f1308) {
                if (abstractC0224M527.m745()) {
                    int iM433932 = RecyclerView.this.f1160.m4339(i, 0);
                    RecyclerView recyclerView52 = RecyclerView.this;
                    abstractC0224M527.f1343 = recyclerView52;
                    int i82 = abstractC0224M527.f1331;
                    long nanoTime32 = recyclerView52.getNanoTime();
                    if (j != Long.MAX_VALUE) {
                    }
                    abstractC0191 = RecyclerView.this.f1168;
                    if (abstractC0191 != null) {
                    }
                }
            }
            layoutParams = abstractC0224M527.f1326.getLayoutParams();
            if (layoutParams == null) {
            }
            c0207.f1267 = abstractC0224M527;
            c0207.f1270 = z2 && z3;
            return abstractC0224M527;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m707() {
            this.f1277.clear();
            m716();
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m708(View view) {
            AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
            if (abstractC0224M527.m750()) {
                RecyclerView.this.removeDetachedView(view, false);
            }
            if (abstractC0224M527.m749()) {
                abstractC0224M527.f1339.m715(abstractC0224M527);
            } else if (abstractC0224M527.m755()) {
                abstractC0224M527.m739();
            }
            m710(abstractC0224M527);
            if (RecyclerView.this.f1194 == null || abstractC0224M527.m747()) {
                return;
            }
            RecyclerView.this.f1194.mo620(abstractC0224M527);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m709(ViewGroup viewGroup, boolean z) {
            for (int childCount = viewGroup.getChildCount() - 1; childCount >= 0; childCount--) {
                View childAt = viewGroup.getChildAt(childCount);
                if (childAt instanceof ViewGroup) {
                    m709((ViewGroup) childAt, true);
                }
            }
            if (z) {
                if (viewGroup.getVisibility() == 4) {
                    viewGroup.setVisibility(0);
                    viewGroup.setVisibility(4);
                } else {
                    int visibility = viewGroup.getVisibility();
                    viewGroup.setVisibility(4);
                    viewGroup.setVisibility(visibility);
                }
            }
        }

        /* JADX WARN: Removed duplicated region for block: B:47:0x0098 A[PHI: r1
          0x0098: PHI (r1v5 boolean) = (r1v0 boolean), (r1v8 boolean) binds: [B:24:0x0040, B:45:0x0092] A[DONT_GENERATE, DONT_INLINE]] */
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        /*
            Code decompiled incorrectly, please refer to instructions dump.
        */
        public void m710(AbstractC0224 abstractC0224) {
            boolean z = true;
            if (abstractC0224.m749() || abstractC0224.f1326.getParent() != null) {
                StringBuilder sbM4889 = C2803.m4889("Scrapped or attached views may not be recycled. isScrap:");
                sbM4889.append(abstractC0224.m749());
                sbM4889.append(" isAttached:");
                sbM4889.append(abstractC0224.f1326.getParent() != null);
                throw new IllegalArgumentException(C2803.m4867(RecyclerView.this, sbM4889));
            }
            if (abstractC0224.m750()) {
                StringBuilder sb = new StringBuilder();
                sb.append("Tmp detached view should be removed from RecyclerView before it can be recycled: ");
                sb.append(abstractC0224);
                throw new IllegalArgumentException(C2803.m4867(RecyclerView.this, sb));
            }
            if (abstractC0224.m754()) {
                throw new IllegalArgumentException(C2803.m4867(RecyclerView.this, C2803.m4889("Trying to recycle an ignored view holder. You should first call stopIgnoringView(view) before calling recycle.")));
            }
            boolean z2 = (abstractC0224.f1335 & 16) == 0 && C1920.m3768(abstractC0224.f1326);
            AbstractC0191 abstractC0191 = RecyclerView.this.f1168;
            if (abstractC0191 != null && z2 && abstractC0191 == null) {
                throw null;
            }
            if (abstractC0224.m747()) {
                if (this.f1282 <= 0 || abstractC0224.m740(526)) {
                    z = false;
                } else {
                    int size = this.f1279.size();
                    if (size >= this.f1282 && size > 0) {
                        m717(0);
                        size--;
                    }
                    if (RecyclerView.f1152 && size > 0 && !RecyclerView.this.f1211.m4404(abstractC0224.f1328)) {
                        do {
                            size--;
                            if (size < 0) {
                                break;
                            }
                        } while (RecyclerView.this.f1211.m4404(this.f1279.get(size).f1328));
                        size++;
                    }
                    this.f1279.add(size, abstractC0224);
                    z = true;
                }
                if (!z) {
                    m711(abstractC0224, true);
                }
            } else {
                z = false;
            }
            RecyclerView.this.f1162.m4441(abstractC0224);
            if (z || z || !z2) {
                return;
            }
            abstractC0224.f1343 = null;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m711(AbstractC0224 abstractC0224, boolean z) {
            RecyclerView.m525(abstractC0224);
            View view = abstractC0224.f1326;
            C2368 c2368 = RecyclerView.this.f1219;
            if (c2368 != null) {
                C1905 c1905Mo4337 = c2368.mo4337();
                C1920.m3748(view, c1905Mo4337 instanceof C2368.C2369 ? ((C2368.C2369) c1905Mo4337).f7516.remove(view) : null);
            }
            if (z) {
                InterfaceC0214 interfaceC0214 = RecyclerView.this.f1170;
                if (interfaceC0214 != null) {
                    ((AbstractC2112.C2113) interfaceC0214).m4079(abstractC0224);
                }
                AbstractC0191 abstractC0191 = RecyclerView.this.f1168;
                if (abstractC0191 != null) {
                    abstractC0191.mo599(abstractC0224);
                }
                RecyclerView recyclerView = RecyclerView.this;
                if (recyclerView.f1212 != null) {
                    recyclerView.f1162.m4441(abstractC0224);
                }
            }
            abstractC0224.f1343 = null;
            C0211 c0211M713 = m713();
            if (c0211M713 == null) {
                throw null;
            }
            int i = abstractC0224.f1331;
            ArrayList<AbstractC0224> arrayList = c0211M713.m703(i).f1273;
            if (c0211M713.f1271.get(i).f1274 <= arrayList.size()) {
                return;
            }
            abstractC0224.m753();
            arrayList.add(abstractC0224);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public View m712(int i) {
            return m706(i, false, Long.MAX_VALUE).f1326;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public C0211 m713() {
            if (this.f1283 == null) {
                this.f1283 = new C0211();
            }
            return this.f1283;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m714(View view) {
            AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
            if (!abstractC0224M527.m740(12) && abstractC0224M527.m751()) {
                AbstractC0196 abstractC0196 = RecyclerView.this.f1194;
                if (!(abstractC0196 == null || abstractC0196.mo618(abstractC0224M527, abstractC0224M527.m743()))) {
                    if (this.f1278 == null) {
                        this.f1278 = new ArrayList<>();
                    }
                    abstractC0224M527.f1339 = this;
                    abstractC0224M527.f1340 = true;
                    this.f1278.add(abstractC0224M527);
                    return;
                }
            }
            if (abstractC0224M527.m746() && !abstractC0224M527.m748() && !RecyclerView.this.f1168.f1233) {
                throw new IllegalArgumentException(C2803.m4867(RecyclerView.this, C2803.m4889("Called scrap view with an invalid view. Invalid views cannot be reused from scrap, they should rebound from recycler pool.")));
            }
            abstractC0224M527.f1339 = this;
            abstractC0224M527.f1340 = false;
            this.f1277.add(abstractC0224M527);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m715(AbstractC0224 abstractC0224) {
            if (abstractC0224.f1340) {
                this.f1278.remove(abstractC0224);
            } else {
                this.f1277.remove(abstractC0224);
            }
            abstractC0224.f1339 = null;
            abstractC0224.f1340 = false;
            abstractC0224.m739();
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void m716() {
            for (int size = this.f1279.size() - 1; size >= 0; size--) {
                m717(size);
            }
            this.f1279.clear();
            if (RecyclerView.f1152) {
                RunnableC2352.C2354 c2354 = RecyclerView.this.f1211;
                int[] iArr = c2354.f7481;
                if (iArr != null) {
                    Arrays.fill(iArr, -1);
                }
                c2354.f7482 = 0;
            }
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public void m717(int i) {
            m711(this.f1279.get(i), true);
            this.f1279.remove(i);
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public void m718() {
            AbstractC0202 abstractC0202 = RecyclerView.this.f1169;
            this.f1282 = this.f1281 + (abstractC0202 != null ? abstractC0202.f1255 : 0);
            for (int size = this.f1279.size() - 1; size >= 0 && this.f1279.size() > this.f1282; size--) {
                m717(size);
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޑ, reason: contains not printable characters */
    public interface InterfaceC0214 {
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޒ, reason: contains not printable characters */
    public class C0215 extends AbstractC0193 {
        public C0215() {
        }

        @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0193
        /* JADX INFO: renamed from: ֏ */
        public void mo606() {
            RecyclerView.this.m544((String) null);
            RecyclerView recyclerView = RecyclerView.this;
            recyclerView.f1212.f1307 = true;
            recyclerView.m557(true);
            if (RecyclerView.this.f1160.m4350()) {
                return;
            }
            RecyclerView.this.requestLayout();
        }

        @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0193
        /* JADX INFO: renamed from: ֏ */
        public void mo608(int i, int i2, int i3) {
            RecyclerView.this.m544((String) null);
            C2304 c2304 = RecyclerView.this.f1160;
            if (c2304 == null) {
                throw null;
            }
            boolean z = false;
            if (i != i2) {
                if (i3 != 1) {
                    throw new IllegalArgumentException("Moving more than 1 item is not supported yet");
                }
                c2304.f7301.add(c2304.m4340(8, i, i2, null));
                c2304.f7306 |= 8;
                if (c2304.f7301.size() == 1) {
                    z = true;
                }
            }
            if (z) {
                m719();
            }
        }

        @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0193
        /* JADX INFO: renamed from: ֏ */
        public void mo609(int i, int i2, Object obj) {
            RecyclerView.this.m544((String) null);
            C2304 c2304 = RecyclerView.this.f1160;
            if (c2304 == null) {
                throw null;
            }
            boolean z = false;
            if (i2 >= 1) {
                c2304.f7301.add(c2304.m4340(4, i, i2, obj));
                c2304.f7306 |= 4;
                if (c2304.f7301.size() == 1) {
                    z = true;
                }
            }
            if (z) {
                m719();
            }
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m719() {
            if (RecyclerView.f1151) {
                RecyclerView recyclerView = RecyclerView.this;
                if (recyclerView.f1175 && recyclerView.f1174) {
                    C1920.m3745(recyclerView, recyclerView.f1164);
                    return;
                }
            }
            RecyclerView recyclerView2 = RecyclerView.this;
            recyclerView2.f1183 = true;
            recyclerView2.requestLayout();
        }

        @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0193
        /* JADX INFO: renamed from: ؠ */
        public void mo610(int i, int i2) {
            RecyclerView.this.m544((String) null);
            C2304 c2304 = RecyclerView.this.f1160;
            if (c2304 == null) {
                throw null;
            }
            boolean z = false;
            if (i2 >= 1) {
                c2304.f7301.add(c2304.m4340(1, i, i2, null));
                c2304.f7306 |= 1;
                if (c2304.f7301.size() == 1) {
                    z = true;
                }
            }
            if (z) {
                m719();
            }
        }

        @Override // androidx.recyclerview.widget.RecyclerView.AbstractC0193
        /* JADX INFO: renamed from: ހ */
        public void mo611(int i, int i2) {
            RecyclerView.this.m544((String) null);
            C2304 c2304 = RecyclerView.this.f1160;
            if (c2304 == null) {
                throw null;
            }
            boolean z = false;
            if (i2 >= 1) {
                c2304.f7301.add(c2304.m4340(2, i, i2, null));
                c2304.f7306 |= 2;
                if (c2304.f7301.size() == 1) {
                    z = true;
                }
            }
            if (z) {
                m719();
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޓ, reason: contains not printable characters */
    public static class C0216 extends AbstractC1974 {
        public static final Parcelable.Creator<C0216> CREATOR = new C0217();

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public Parcelable f1286;

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޓ$֏, reason: contains not printable characters */
        public static class C0217 implements Parcelable.ClassLoaderCreator<C0216> {
            @Override // android.os.Parcelable.Creator
            public Object createFromParcel(Parcel parcel) {
                return new C0216(parcel, null);
            }

            @Override // android.os.Parcelable.ClassLoaderCreator
            public C0216 createFromParcel(Parcel parcel, ClassLoader classLoader) {
                return new C0216(parcel, classLoader);
            }

            @Override // android.os.Parcelable.Creator
            public Object[] newArray(int i) {
                return new C0216[i];
            }
        }

        public C0216(Parcel parcel, ClassLoader classLoader) {
            super(parcel, classLoader);
            this.f1286 = parcel.readParcelable(classLoader == null ? AbstractC0202.class.getClassLoader() : classLoader);
        }

        public C0216(Parcelable parcelable) {
            super(parcelable);
        }

        @Override // p037.p083.p084.AbstractC1974, android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            parcel.writeParcelable(this.f6473, i);
            parcel.writeParcelable(this.f1286, 0);
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޔ, reason: contains not printable characters */
    public static abstract class AbstractC0218 {

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public RecyclerView f1288;

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public AbstractC0202 f1289;

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public boolean f1290;

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public boolean f1291;

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public View f1292;

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public boolean f1294;

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public int f1287 = -1;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public final C0219 f1293 = new C0219(0, 0);

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޔ$֏, reason: contains not printable characters */
        public static class C0219 {

            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public int f1295;

            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public int f1296;

            /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
            public int f1298 = -1;

            /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
            public boolean f1300 = false;

            /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
            public int f1301 = 0;

            /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
            public int f1297 = Integer.MIN_VALUE;

            /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
            public Interpolator f1299 = null;

            public C0219(int i, int i2) {
                this.f1295 = i;
                this.f1296 = i2;
            }

            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public void m727(RecyclerView recyclerView) {
                int i = this.f1298;
                if (i >= 0) {
                    this.f1298 = -1;
                    recyclerView.m561(i);
                    this.f1300 = false;
                    return;
                }
                if (!this.f1300) {
                    this.f1301 = 0;
                    return;
                }
                if (this.f1299 != null && this.f1297 < 1) {
                    throw new IllegalStateException("If you provide an interpolator, you must set a positive duration");
                }
                int i2 = this.f1297;
                if (i2 < 1) {
                    throw new IllegalStateException("Scroll duration must be a positive number");
                }
                recyclerView.f1209.m731(this.f1295, this.f1296, i2, this.f1299);
                int i3 = this.f1301 + 1;
                this.f1301 = i3;
                if (i3 > 10) {
                    Log.e("RecyclerView", "Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary");
                }
                this.f1300 = false;
            }
        }

        /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޔ$ؠ, reason: contains not printable characters */
        public interface InterfaceC0220 {
            /* JADX INFO: renamed from: ֏ */
            PointF mo470(int i);
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public int m720(View view) {
            if (this.f1288 == null) {
                throw null;
            }
            AbstractC0224 abstractC0224M527 = RecyclerView.m527(view);
            if (abstractC0224M527 != null) {
                return abstractC0224M527.m742();
            }
            return -1;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public PointF mo721(int i) {
            Object obj = this.f1289;
            if (obj instanceof InterfaceC0220) {
                return ((InterfaceC0220) obj).mo470(i);
            }
            StringBuilder sbM4889 = C2803.m4889("You should override computeScrollVectorForPosition when the LayoutManager does not implement ");
            sbM4889.append(InterfaceC0220.class.getCanonicalName());
            Log.w("RecyclerView", sbM4889.toString());
            return null;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public abstract void mo722();

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m723(int i, int i2) {
            PointF pointFMo721;
            RecyclerView recyclerView = this.f1288;
            if (this.f1287 == -1 || recyclerView == null) {
                m726();
            }
            if (this.f1290 && this.f1292 == null && this.f1289 != null && (pointFMo721 = mo721(this.f1287)) != null && (pointFMo721.x != 0.0f || pointFMo721.y != 0.0f)) {
                recyclerView.m537((int) Math.signum(pointFMo721.x), (int) Math.signum(pointFMo721.y), (int[]) null);
            }
            this.f1290 = false;
            View view = this.f1292;
            if (view != null) {
                if (m720(view) == this.f1287) {
                    mo724(this.f1292, recyclerView.f1212, this.f1293);
                    this.f1293.m727(recyclerView);
                    m726();
                } else {
                    Log.e("RecyclerView", "Passed over target position while smooth scrolling.");
                    this.f1292 = null;
                }
            }
            if (this.f1291) {
                C0221 c0221 = recyclerView.f1212;
                C0219 c0219 = this.f1293;
                C2357 c2357 = (C2357) this;
                if (c2357.f1288.f1169.m664() == 0) {
                    c2357.m726();
                } else {
                    int i3 = c2357.f7502;
                    int i4 = i3 - i;
                    if (i3 * i4 <= 0) {
                        i4 = 0;
                    }
                    c2357.f7502 = i4;
                    int i5 = c2357.f7503;
                    int i6 = i5 - i2;
                    if (i5 * i6 <= 0) {
                        i6 = 0;
                    }
                    c2357.f7503 = i6;
                    if (c2357.f7502 == 0 && i6 == 0) {
                        c2357.mo4169(c0219);
                    }
                }
                boolean z = this.f1293.f1298 >= 0;
                this.f1293.m727(recyclerView);
                if (z && this.f1291) {
                    this.f1290 = true;
                    recyclerView.f1209.m730();
                }
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public abstract void mo724(View view, C0221 c0221, C0219 c0219);

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public View m725(int i) {
            return this.f1288.f1169.mo485(i);
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public final void m726() {
            if (this.f1291) {
                this.f1291 = false;
                mo722();
                this.f1288.f1212.f1302 = -1;
                this.f1292 = null;
                this.f1287 = -1;
                this.f1290 = false;
                AbstractC0202 abstractC0202 = this.f1289;
                if (abstractC0202.f1249 == this) {
                    abstractC0202.f1249 = null;
                }
                this.f1289 = null;
                this.f1288 = null;
            }
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޕ, reason: contains not printable characters */
    public static class C0221 {

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public int f1302 = -1;

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public int f1303 = 0;

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public int f1304 = 0;

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public int f1305 = 1;

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public int f1306 = 0;

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public boolean f1307 = false;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public boolean f1308 = false;

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public boolean f1309 = false;

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public boolean f1310 = false;

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public boolean f1311 = false;

        /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
        public boolean f1312 = false;

        /* JADX INFO: renamed from: މ, reason: contains not printable characters */
        public int f1313;

        /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
        public long f1314;

        /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
        public int f1315;

        /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
        public int f1316;

        /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
        public int f1317;

        public String toString() {
            StringBuilder sbM4889 = C2803.m4889("State{mTargetPosition=");
            sbM4889.append(this.f1302);
            sbM4889.append(", mData=");
            sbM4889.append((Object) null);
            sbM4889.append(", mItemCount=");
            sbM4889.append(this.f1306);
            sbM4889.append(", mIsMeasuring=");
            sbM4889.append(this.f1310);
            sbM4889.append(", mPreviousLayoutItemCount=");
            sbM4889.append(this.f1303);
            sbM4889.append(", mDeletedInvisibleItemCountSincePreviousLayout=");
            sbM4889.append(this.f1304);
            sbM4889.append(", mStructureChanged=");
            sbM4889.append(this.f1307);
            sbM4889.append(", mInPreLayout=");
            sbM4889.append(this.f1308);
            sbM4889.append(", mRunSimpleAnimations=");
            sbM4889.append(this.f1311);
            sbM4889.append(", mRunPredictiveAnimations=");
            sbM4889.append(this.f1312);
            sbM4889.append('}');
            return sbM4889.toString();
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public int m728() {
            return this.f1308 ? this.f1303 - this.f1304 : this.f1306;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m729(int i) {
            if ((this.f1305 & i) != 0) {
                return;
            }
            StringBuilder sbM4889 = C2803.m4889("Layout state should be one of ");
            sbM4889.append(Integer.toBinaryString(i));
            sbM4889.append(" but it is ");
            sbM4889.append(Integer.toBinaryString(this.f1305));
            throw new IllegalStateException(sbM4889.toString());
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޖ, reason: contains not printable characters */
    public static abstract class AbstractC0222 {
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޗ, reason: contains not printable characters */
    public class RunnableC0223 implements Runnable {

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public int f1318;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public int f1319;

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public OverScroller f1320;

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public Interpolator f1321 = RecyclerView.f1156;

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public boolean f1322 = false;

        /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
        public boolean f1323 = false;

        public RunnableC0223() {
            this.f1320 = new OverScroller(RecyclerView.this.getContext(), RecyclerView.f1156);
        }

        @Override // java.lang.Runnable
        public void run() {
            int i;
            int i2;
            RecyclerView recyclerView = RecyclerView.this;
            if (recyclerView.f1169 == null) {
                m732();
                return;
            }
            this.f1323 = false;
            this.f1322 = true;
            recyclerView.m560();
            OverScroller overScroller = this.f1320;
            if (overScroller.computeScrollOffset()) {
                int currX = overScroller.getCurrX();
                int currY = overScroller.getCurrY();
                int i3 = currX - this.f1318;
                int i4 = currY - this.f1319;
                this.f1318 = currX;
                this.f1319 = currY;
                RecyclerView recyclerView2 = RecyclerView.this;
                int[] iArr = recyclerView2.f1225;
                iArr[0] = 0;
                iArr[1] = 0;
                if (recyclerView2.m548(i3, i4, iArr, (int[]) null, 1)) {
                    int[] iArr2 = RecyclerView.this.f1225;
                    i3 -= iArr2[0];
                    i4 -= iArr2[1];
                }
                if (RecyclerView.this.getOverScrollMode() != 2) {
                    RecyclerView.this.m531(i3, i4);
                }
                RecyclerView recyclerView3 = RecyclerView.this;
                if (recyclerView3.f1168 != null) {
                    int[] iArr3 = recyclerView3.f1225;
                    iArr3[0] = 0;
                    iArr3[1] = 0;
                    recyclerView3.m537(i3, i4, iArr3);
                    RecyclerView recyclerView4 = RecyclerView.this;
                    int[] iArr4 = recyclerView4.f1225;
                    i2 = iArr4[0];
                    i = iArr4[1];
                    i3 -= i2;
                    i4 -= i;
                    AbstractC0218 abstractC0218 = recyclerView4.f1169.f1249;
                    if (abstractC0218 != null && !abstractC0218.f1290 && abstractC0218.f1291) {
                        int iM728 = recyclerView4.f1212.m728();
                        if (iM728 == 0) {
                            abstractC0218.m726();
                        } else if (abstractC0218.f1287 >= iM728) {
                            abstractC0218.f1287 = iM728 - 1;
                            abstractC0218.m723(i2, i);
                        } else {
                            abstractC0218.m723(i2, i);
                        }
                    }
                } else {
                    i = 0;
                    i2 = 0;
                }
                if (!RecyclerView.this.f1171.isEmpty()) {
                    RecyclerView.this.invalidate();
                }
                RecyclerView recyclerView5 = RecyclerView.this;
                int[] iArr5 = recyclerView5.f1225;
                iArr5[0] = 0;
                iArr5[1] = 0;
                recyclerView5.m532(i2, i, i3, i4, null, 1, iArr5);
                int[] iArr6 = RecyclerView.this.f1225;
                int i5 = i3 - iArr6[0];
                int i6 = i4 - iArr6[1];
                if (i2 != 0 || i != 0) {
                    RecyclerView.this.m562(i2, i);
                }
                if (!RecyclerView.this.awakenScrollBars()) {
                    RecyclerView.this.invalidate();
                }
                boolean z = overScroller.isFinished() || (((overScroller.getCurrX() == overScroller.getFinalX()) || i5 != 0) && ((overScroller.getCurrY() == overScroller.getFinalY()) || i6 != 0));
                AbstractC0218 abstractC02182 = RecyclerView.this.f1169.f1249;
                if ((abstractC02182 != null && abstractC02182.f1290) || !z) {
                    m730();
                    RecyclerView recyclerView6 = RecyclerView.this;
                    RunnableC2352 runnableC2352 = recyclerView6.f1210;
                    if (runnableC2352 != null) {
                        runnableC2352.m4401(recyclerView6, i2, i);
                    }
                } else {
                    if (RecyclerView.this.getOverScrollMode() != 2) {
                        int currVelocity = (int) overScroller.getCurrVelocity();
                        int i7 = i5 < 0 ? -currVelocity : i5 > 0 ? currVelocity : 0;
                        if (i6 < 0) {
                            currVelocity = -currVelocity;
                        } else if (i6 <= 0) {
                            currVelocity = 0;
                        }
                        RecyclerView recyclerView7 = RecyclerView.this;
                        if (recyclerView7 == null) {
                            throw null;
                        }
                        if (i7 < 0) {
                            recyclerView7.m575();
                            if (recyclerView7.f1190.isFinished()) {
                                recyclerView7.f1190.onAbsorb(-i7);
                            }
                        } else if (i7 > 0) {
                            recyclerView7.m576();
                            if (recyclerView7.f1192.isFinished()) {
                                recyclerView7.f1192.onAbsorb(i7);
                            }
                        }
                        if (currVelocity < 0) {
                            recyclerView7.m577();
                            if (recyclerView7.f1191.isFinished()) {
                                recyclerView7.f1191.onAbsorb(-currVelocity);
                            }
                        } else if (currVelocity > 0) {
                            recyclerView7.m574();
                            if (recyclerView7.f1193.isFinished()) {
                                recyclerView7.f1193.onAbsorb(currVelocity);
                            }
                        }
                        if (i7 != 0 || currVelocity != 0) {
                            C1920.m3772(recyclerView7);
                        }
                    }
                    if (RecyclerView.f1152) {
                        RunnableC2352.C2354 c2354 = RecyclerView.this.f1211;
                        int[] iArr7 = c2354.f7481;
                        if (iArr7 != null) {
                            Arrays.fill(iArr7, -1);
                        }
                        c2354.f7482 = 0;
                    }
                }
            }
            AbstractC0218 abstractC02183 = RecyclerView.this.f1169.f1249;
            if (abstractC02183 != null && abstractC02183.f1290) {
                abstractC02183.m723(0, 0);
            }
            this.f1322 = false;
            if (this.f1323) {
                RecyclerView.this.removeCallbacks(this);
                C1920.m3745(RecyclerView.this, this);
            } else {
                RecyclerView.this.setScrollState(0);
                RecyclerView.this.m570(1);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m730() {
            if (this.f1322) {
                this.f1323 = true;
            } else {
                RecyclerView.this.removeCallbacks(this);
                C1920.m3745(RecyclerView.this, this);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m731(int i, int i2, int i3, Interpolator interpolator) {
            int iRound;
            if (i3 == Integer.MIN_VALUE) {
                int iAbs = Math.abs(i);
                int iAbs2 = Math.abs(i2);
                boolean z = iAbs > iAbs2;
                int iSqrt = (int) Math.sqrt(0);
                int iSqrt2 = (int) Math.sqrt((i2 * i2) + (i * i));
                RecyclerView recyclerView = RecyclerView.this;
                int width = z ? recyclerView.getWidth() : recyclerView.getHeight();
                int i4 = width / 2;
                float f = width;
                float f2 = i4;
                float fSin = (((float) Math.sin((Math.min(1.0f, (iSqrt2 * 1.0f) / f) - 0.5f) * 0.47123894f)) * f2) + f2;
                if (iSqrt > 0) {
                    iRound = Math.round(Math.abs(fSin / iSqrt) * 1000.0f) * 4;
                } else {
                    if (!z) {
                        iAbs = iAbs2;
                    }
                    iRound = (int) (((iAbs / f) + 1.0f) * 300.0f);
                }
                i3 = Math.min(iRound, 2000);
            }
            int i5 = i3;
            if (interpolator == null) {
                interpolator = RecyclerView.f1156;
            }
            if (this.f1321 != interpolator) {
                this.f1321 = interpolator;
                this.f1320 = new OverScroller(RecyclerView.this.getContext(), interpolator);
            }
            this.f1319 = 0;
            this.f1318 = 0;
            RecyclerView.this.setScrollState(2);
            this.f1320.startScroll(0, 0, i, i2, i5);
            if (Build.VERSION.SDK_INT < 23) {
                this.f1320.computeScrollOffset();
            }
            m730();
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m732() {
            RecyclerView.this.removeCallbacks(this);
            this.f1320.abortAnimation();
        }
    }

    /* JADX INFO: renamed from: androidx.recyclerview.widget.RecyclerView$ޘ, reason: contains not printable characters */
    public static abstract class AbstractC0224 {

        /* JADX INFO: renamed from: ޕ, reason: contains not printable characters */
        public static final List<Object> f1325 = Collections.emptyList();

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public final View f1326;

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public WeakReference<RecyclerView> f1327;

        /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
        public int f1335;

        /* JADX INFO: renamed from: ޔ, reason: contains not printable characters */
        public RecyclerView f1343;

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public int f1328 = -1;

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public int f1329 = -1;

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public long f1330 = -1;

        /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
        public int f1331 = -1;

        /* JADX INFO: renamed from: މ, reason: contains not printable characters */
        public int f1332 = -1;

        /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
        public AbstractC0224 f1333 = null;

        /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
        public AbstractC0224 f1334 = null;

        /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
        public List<Object> f1336 = null;

        /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
        public List<Object> f1337 = null;

        /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
        public int f1338 = 0;

        /* JADX INFO: renamed from: ސ, reason: contains not printable characters */
        public C0213 f1339 = null;

        /* JADX INFO: renamed from: ޑ, reason: contains not printable characters */
        public boolean f1340 = false;

        /* JADX INFO: renamed from: ޒ, reason: contains not printable characters */
        public int f1341 = 0;

        /* JADX INFO: renamed from: ޓ, reason: contains not printable characters */
        public int f1342 = -1;

        public AbstractC0224(View view) {
            if (view == null) {
                throw new IllegalArgumentException("itemView may not be null");
            }
            this.f1326 = view;
        }

        public String toString() {
            StringBuilder sbM4897 = C2803.m4897(getClass().isAnonymousClass() ? "ViewHolder" : getClass().getSimpleName(), "{");
            sbM4897.append(Integer.toHexString(hashCode()));
            sbM4897.append(" position=");
            sbM4897.append(this.f1328);
            sbM4897.append(" id=");
            sbM4897.append(this.f1330);
            sbM4897.append(", oldPos=");
            sbM4897.append(this.f1329);
            sbM4897.append(", pLpos:");
            sbM4897.append(this.f1332);
            StringBuilder sb = new StringBuilder(sbM4897.toString());
            if (m749()) {
                sb.append(" scrap ");
                sb.append(this.f1340 ? "[changeScrap]" : "[attachedScrap]");
            }
            if (m746()) {
                sb.append(" invalid");
            }
            if (!m745()) {
                sb.append(" unbound");
            }
            if (m752()) {
                sb.append(" update");
            }
            if (m748()) {
                sb.append(" removed");
            }
            if (m754()) {
                sb.append(" ignored");
            }
            if (m750()) {
                sb.append(" tmpDetached");
            }
            if (!m747()) {
                StringBuilder sbM4889 = C2803.m4889(" not recyclable(");
                sbM4889.append(this.f1338);
                sbM4889.append(")");
                sb.append(sbM4889.toString());
            }
            if ((this.f1335 & 512) != 0 || m746()) {
                sb.append(" undefined adapter position");
            }
            if (this.f1326.getParent() == null) {
                sb.append(" no parent");
            }
            sb.append("}");
            return sb.toString();
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m733() {
            this.f1329 = -1;
            this.f1332 = -1;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m734(int i) {
            this.f1335 = i | this.f1335;
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m735(int i, int i2) {
            this.f1335 = (i & i2) | (this.f1335 & (~i2));
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m736(int i, boolean z) {
            if (this.f1329 == -1) {
                this.f1329 = this.f1328;
            }
            if (this.f1332 == -1) {
                this.f1332 = this.f1328;
            }
            if (z) {
                this.f1332 += i;
            }
            this.f1328 += i;
            if (this.f1326.getLayoutParams() != null) {
                ((C0207) this.f1326.getLayoutParams()).f1269 = true;
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void m737(Object obj) {
            if (obj == null) {
                m734(1024);
                return;
            }
            if ((1024 & this.f1335) == 0) {
                if (this.f1336 == null) {
                    ArrayList arrayList = new ArrayList();
                    this.f1336 = arrayList;
                    this.f1337 = Collections.unmodifiableList(arrayList);
                }
                this.f1336.add(obj);
            }
        }

        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public final void m738(boolean z) {
            int i = this.f1338;
            int i2 = z ? i - 1 : i + 1;
            this.f1338 = i2;
            if (i2 < 0) {
                this.f1338 = 0;
                Log.e("View", "isRecyclable decremented below 0: unmatched pair of setIsRecyable() calls for " + this);
                return;
            }
            if (!z && i2 == 1) {
                this.f1335 |= 16;
            } else if (z && this.f1338 == 0) {
                this.f1335 &= -17;
            }
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public void m739() {
            this.f1335 &= -33;
        }

        /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
        public boolean m740(int i) {
            return (i & this.f1335) != 0;
        }

        /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
        public final int m741() {
            RecyclerView recyclerView = this.f1343;
            if (recyclerView == null) {
                return -1;
            }
            return recyclerView.m551(this);
        }

        /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
        public final int m742() {
            int i = this.f1332;
            return i == -1 ? this.f1328 : i;
        }

        /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
        public List<Object> m743() {
            if ((this.f1335 & 1024) != 0) {
                return f1325;
            }
            List<Object> list = this.f1336;
            return (list == null || list.size() == 0) ? f1325 : this.f1337;
        }

        /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
        public boolean m744() {
            return (this.f1326.getParent() == null || this.f1326.getParent() == this.f1343) ? false : true;
        }

        /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
        public boolean m745() {
            return (this.f1335 & 1) != 0;
        }

        /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
        public boolean m746() {
            return (this.f1335 & 4) != 0;
        }

        /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
        public final boolean m747() {
            return (this.f1335 & 16) == 0 && !C1920.m3768(this.f1326);
        }

        /* JADX INFO: renamed from: އ, reason: contains not printable characters */
        public boolean m748() {
            return (this.f1335 & 8) != 0;
        }

        /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
        public boolean m749() {
            return this.f1339 != null;
        }

        /* JADX INFO: renamed from: މ, reason: contains not printable characters */
        public boolean m750() {
            return (this.f1335 & 256) != 0;
        }

        /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
        public boolean m751() {
            return (this.f1335 & 2) != 0;
        }

        /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
        public boolean m752() {
            return (this.f1335 & 2) != 0;
        }

        /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
        public void m753() {
            this.f1335 = 0;
            this.f1328 = -1;
            this.f1329 = -1;
            this.f1330 = -1L;
            this.f1332 = -1;
            this.f1338 = 0;
            this.f1333 = null;
            this.f1334 = null;
            List<Object> list = this.f1336;
            if (list != null) {
                list.clear();
            }
            this.f1335 &= -1025;
            this.f1341 = 0;
            this.f1342 = -1;
            RecyclerView.m525(this);
        }

        /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
        public boolean m754() {
            return (this.f1335 & 128) != 0;
        }

        /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
        public boolean m755() {
            return (this.f1335 & 32) != 0;
        }
    }

    static {
        f1150 = Build.VERSION.SDK_INT >= 23;
        f1151 = true;
        f1152 = true;
        f1153 = false;
        f1154 = false;
        Class<?> cls = Integer.TYPE;
        f1155 = new Class[]{Context.class, AttributeSet.class, cls, cls};
        f1156 = new InterpolatorC0189();
    }

    public RecyclerView(Context context) {
        this(context, null);
    }

    public RecyclerView(Context context, AttributeSet attributeSet) {
        this(context, attributeSet, C2301.recyclerViewStyle);
    }

    public RecyclerView(Context context, AttributeSet attributeSet, int i) {
        TypedArray typedArray;
        char c;
        Constructor constructor;
        Object[] objArr;
        super(context, attributeSet, i);
        this.f1157 = new C0215();
        this.f1158 = new C0213();
        this.f1162 = new C2374();
        this.f1164 = new RunnableC0187();
        this.f1165 = new Rect();
        this.f1166 = new Rect();
        this.f1167 = new RectF();
        this.f1171 = new ArrayList<>();
        this.f1172 = new ArrayList<>();
        this.f1178 = 0;
        this.f1185 = false;
        this.f1186 = false;
        this.f1187 = 0;
        this.f1188 = 0;
        this.f1189 = new C0195();
        this.f1194 = new C2336();
        this.f1195 = 0;
        this.f1196 = -1;
        this.f1206 = Float.MIN_VALUE;
        this.f1207 = Float.MIN_VALUE;
        this.f1208 = true;
        this.f1209 = new RunnableC0223();
        this.f1211 = f1152 ? new RunnableC2352.C2354() : null;
        this.f1212 = new C0221();
        this.f1215 = false;
        this.f1216 = false;
        this.f1217 = new C0200();
        this.f1218 = false;
        this.f1221 = new int[2];
        this.f1223 = new int[2];
        this.f1224 = new int[2];
        this.f1225 = new int[2];
        this.f1226 = new ArrayList();
        this.f1227 = new RunnableC0188();
        this.f1228 = new C0190();
        setScrollContainer(true);
        setFocusableInTouchMode(true);
        ViewConfiguration viewConfiguration = ViewConfiguration.get(context);
        this.f1202 = viewConfiguration.getScaledTouchSlop();
        this.f1206 = C1928.m3784(viewConfiguration, context);
        this.f1207 = Build.VERSION.SDK_INT >= 26 ? viewConfiguration.getScaledVerticalScrollFactor() : C1928.m3782(viewConfiguration, context);
        this.f1204 = viewConfiguration.getScaledMinimumFlingVelocity();
        this.f1205 = viewConfiguration.getScaledMaximumFlingVelocity();
        setWillNotDraw(getOverScrollMode() == 2);
        this.f1194.f1234 = this.f1217;
        this.f1160 = new C2304(new C2367(this));
        this.f1161 = new C2317(new C2366(this));
        if (C1920.m3759(this) == 0 && Build.VERSION.SDK_INT >= 26) {
            setImportantForAutofill(8);
        }
        if (getImportantForAccessibility() == 0) {
            setImportantForAccessibility(1);
        }
        this.f1184 = (AccessibilityManager) getContext().getSystemService("accessibility");
        setAccessibilityDelegateCompat(new C2368(this));
        TypedArray typedArrayObtainStyledAttributes = context.obtainStyledAttributes(attributeSet, C2303.RecyclerView, i, 0);
        if (Build.VERSION.SDK_INT >= 29) {
            saveAttributeDataForStyleable(context, C2303.RecyclerView, attributeSet, typedArrayObtainStyledAttributes, i, 0);
        }
        String string = typedArrayObtainStyledAttributes.getString(C2303.RecyclerView_layoutManager);
        if (typedArrayObtainStyledAttributes.getInt(C2303.RecyclerView_android_descendantFocusability, -1) == -1) {
            setDescendantFocusability(262144);
        }
        this.f1163 = typedArrayObtainStyledAttributes.getBoolean(C2303.RecyclerView_android_clipToPadding, true);
        boolean z = typedArrayObtainStyledAttributes.getBoolean(C2303.RecyclerView_fastScrollEnabled, false);
        this.f1176 = z;
        if (z) {
            StateListDrawable stateListDrawable = (StateListDrawable) typedArrayObtainStyledAttributes.getDrawable(C2303.RecyclerView_fastScrollVerticalThumbDrawable);
            Drawable drawable = typedArrayObtainStyledAttributes.getDrawable(C2303.RecyclerView_fastScrollVerticalTrackDrawable);
            StateListDrawable stateListDrawable2 = (StateListDrawable) typedArrayObtainStyledAttributes.getDrawable(C2303.RecyclerView_fastScrollHorizontalThumbDrawable);
            Drawable drawable2 = typedArrayObtainStyledAttributes.getDrawable(C2303.RecyclerView_fastScrollHorizontalTrackDrawable);
            if (stateListDrawable == null || drawable == null || stateListDrawable2 == null || drawable2 == null) {
                throw new IllegalArgumentException(C2803.m4867(this, C2803.m4889("Trying to set fast scroller without both required drawables.")));
            }
            Resources resources = getContext().getResources();
            c = 2;
            typedArray = typedArrayObtainStyledAttributes;
            new C2347(this, stateListDrawable, drawable, stateListDrawable2, drawable2, resources.getDimensionPixelSize(C2302.fastscroll_default_thickness), resources.getDimensionPixelSize(C2302.fastscroll_minimum_range), resources.getDimensionPixelOffset(C2302.fastscroll_margin));
        } else {
            typedArray = typedArrayObtainStyledAttributes;
            c = 2;
        }
        typedArray.recycle();
        if (string != null) {
            String strTrim = string.trim();
            if (!strTrim.isEmpty()) {
                if (strTrim.charAt(0) == '.') {
                    strTrim = context.getPackageName() + strTrim;
                } else if (!strTrim.contains(".")) {
                    strTrim = RecyclerView.class.getPackage().getName() + '.' + strTrim;
                }
                String str = strTrim;
                try {
                    Class<? extends U> clsAsSubclass = Class.forName(str, false, isInEditMode() ? getClass().getClassLoader() : context.getClassLoader()).asSubclass(AbstractC0202.class);
                    try {
                        constructor = clsAsSubclass.getConstructor(f1155);
                        objArr = new Object[4];
                        objArr[0] = context;
                        objArr[1] = attributeSet;
                        objArr[c] = Integer.valueOf(i);
                        objArr[3] = 0;
                    } catch (NoSuchMethodException e) {
                        try {
                            constructor = clsAsSubclass.getConstructor(new Class[0]);
                            objArr = null;
                        } catch (NoSuchMethodException e2) {
                            e2.initCause(e);
                            throw new IllegalStateException(attributeSet.getPositionDescription() + ": Error creating LayoutManager " + str, e2);
                        }
                    }
                    constructor.setAccessible(true);
                    setLayoutManager((AbstractC0202) constructor.newInstance(objArr));
                } catch (ClassCastException e3) {
                    throw new IllegalStateException(attributeSet.getPositionDescription() + ": Class is not a LayoutManager " + str, e3);
                } catch (ClassNotFoundException e4) {
                    throw new IllegalStateException(attributeSet.getPositionDescription() + ": Unable to find LayoutManager " + str, e4);
                } catch (IllegalAccessException e5) {
                    throw new IllegalStateException(attributeSet.getPositionDescription() + ": Cannot access non-public constructor " + str, e5);
                } catch (InstantiationException e6) {
                    throw new IllegalStateException(attributeSet.getPositionDescription() + ": Could not instantiate the LayoutManager: " + str, e6);
                } catch (InvocationTargetException e7) {
                    throw new IllegalStateException(attributeSet.getPositionDescription() + ": Could not instantiate the LayoutManager: " + str, e7);
                }
            }
        }
        TypedArray typedArrayObtainStyledAttributes2 = context.obtainStyledAttributes(attributeSet, f1148, i, 0);
        if (Build.VERSION.SDK_INT >= 29) {
            saveAttributeDataForStyleable(context, f1148, attributeSet, typedArrayObtainStyledAttributes2, i, 0);
        }
        boolean z2 = typedArrayObtainStyledAttributes2.getBoolean(0, true);
        typedArrayObtainStyledAttributes2.recycle();
        setNestedScrollingEnabled(z2);
    }

    private C1914 getScrollingChildHelper() {
        if (this.f1222 == null) {
            this.f1222 = new C1914(this);
        }
        return this.f1222;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static void m520(View view, Rect rect) {
        C0207 c0207 = (C0207) view.getLayoutParams();
        Rect rect2 = c0207.f1268;
        rect.set((view.getLeft() - rect2.left) - ((ViewGroup.MarginLayoutParams) c0207).leftMargin, (view.getTop() - rect2.top) - ((ViewGroup.MarginLayoutParams) c0207).topMargin, view.getRight() + rect2.right + ((ViewGroup.MarginLayoutParams) c0207).rightMargin, view.getBottom() + rect2.bottom + ((ViewGroup.MarginLayoutParams) c0207).bottomMargin);
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public static void m525(AbstractC0224 abstractC0224) {
        WeakReference<RecyclerView> weakReference = abstractC0224.f1327;
        if (weakReference != null) {
            RecyclerView recyclerView = weakReference.get();
            while (recyclerView != null) {
                if (recyclerView == abstractC0224.f1326) {
                    return;
                }
                Object parent = recyclerView.getParent();
                recyclerView = parent instanceof View ? (View) parent : null;
            }
            abstractC0224.f1327 = null;
        }
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public static RecyclerView m526(View view) {
        if (!(view instanceof ViewGroup)) {
            return null;
        }
        if (view instanceof RecyclerView) {
            return (RecyclerView) view;
        }
        ViewGroup viewGroup = (ViewGroup) view;
        int childCount = viewGroup.getChildCount();
        for (int i = 0; i < childCount; i++) {
            RecyclerView recyclerViewM526 = m526(viewGroup.getChildAt(i));
            if (recyclerViewM526 != null) {
                return recyclerViewM526;
            }
        }
        return null;
    }

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public static AbstractC0224 m527(View view) {
        if (view == null) {
            return null;
        }
        return ((C0207) view.getLayoutParams()).f1267;
    }

    @Override // android.view.ViewGroup, android.view.View
    public void addFocusables(ArrayList<View> arrayList, int i, int i2) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null || !abstractC0202.mo651(this, arrayList, i, i2)) {
            super.addFocusables(arrayList, i, i2);
        }
    }

    @Override // android.view.ViewGroup
    public boolean checkLayoutParams(ViewGroup.LayoutParams layoutParams) {
        return (layoutParams instanceof C0207) && this.f1169.mo444((C0207) layoutParams);
    }

    @Override // android.view.View
    public int computeHorizontalScrollExtent() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null && abstractC0202.mo483()) {
            return this.f1169.mo469(this.f1212);
        }
        return 0;
    }

    @Override // android.view.View
    public int computeHorizontalScrollOffset() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null && abstractC0202.mo483()) {
            return this.f1169.mo448(this.f1212);
        }
        return 0;
    }

    @Override // android.view.View
    public int computeHorizontalScrollRange() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null && abstractC0202.mo483()) {
            return this.f1169.mo453(this.f1212);
        }
        return 0;
    }

    @Override // android.view.View
    public int computeVerticalScrollExtent() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null && abstractC0202.mo487()) {
            return this.f1169.mo490(this.f1212);
        }
        return 0;
    }

    @Override // android.view.View
    public int computeVerticalScrollOffset() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null && abstractC0202.mo487()) {
            return this.f1169.mo456(this.f1212);
        }
        return 0;
    }

    @Override // android.view.View
    public int computeVerticalScrollRange() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null && abstractC0202.mo487()) {
            return this.f1169.mo458(this.f1212);
        }
        return 0;
    }

    @Override // android.view.View
    public boolean dispatchNestedFling(float f, float f2, boolean z) {
        return getScrollingChildHelper().m3727(f, f2, z);
    }

    @Override // android.view.View
    public boolean dispatchNestedPreFling(float f, float f2) {
        return getScrollingChildHelper().m3726(f, f2);
    }

    @Override // android.view.View
    public boolean dispatchNestedPreScroll(int i, int i2, int[] iArr, int[] iArr2) {
        return getScrollingChildHelper().m3730(i, i2, iArr, iArr2, 0);
    }

    @Override // android.view.View
    public boolean dispatchNestedScroll(int i, int i2, int i3, int i4, int[] iArr) {
        return getScrollingChildHelper().m3729(i, i2, i3, i4, iArr);
    }

    @Override // android.view.View
    public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent accessibilityEvent) {
        onPopulateAccessibilityEvent(accessibilityEvent);
        return true;
    }

    @Override // android.view.ViewGroup, android.view.View
    public void dispatchRestoreInstanceState(SparseArray<Parcelable> sparseArray) {
        dispatchThawSelfOnly(sparseArray);
    }

    @Override // android.view.ViewGroup, android.view.View
    public void dispatchSaveInstanceState(SparseArray<Parcelable> sparseArray) {
        dispatchFreezeSelfOnly(sparseArray);
    }

    @Override // android.view.View
    public void draw(Canvas canvas) {
        boolean z;
        super.draw(canvas);
        int size = this.f1171.size();
        boolean z2 = false;
        for (int i = 0; i < size; i++) {
            this.f1171.get(i).mo624(canvas, this, this.f1212);
        }
        EdgeEffect edgeEffect = this.f1190;
        if (edgeEffect == null || edgeEffect.isFinished()) {
            z = false;
        } else {
            int iSave = canvas.save();
            int paddingBottom = this.f1163 ? getPaddingBottom() : 0;
            canvas.rotate(270.0f);
            canvas.translate((-getHeight()) + paddingBottom, 0.0f);
            EdgeEffect edgeEffect2 = this.f1190;
            z = edgeEffect2 != null && edgeEffect2.draw(canvas);
            canvas.restoreToCount(iSave);
        }
        EdgeEffect edgeEffect3 = this.f1191;
        if (edgeEffect3 != null && !edgeEffect3.isFinished()) {
            int iSave2 = canvas.save();
            if (this.f1163) {
                canvas.translate(getPaddingLeft(), getPaddingTop());
            }
            EdgeEffect edgeEffect4 = this.f1191;
            z |= edgeEffect4 != null && edgeEffect4.draw(canvas);
            canvas.restoreToCount(iSave2);
        }
        EdgeEffect edgeEffect5 = this.f1192;
        if (edgeEffect5 != null && !edgeEffect5.isFinished()) {
            int iSave3 = canvas.save();
            int width = getWidth();
            int paddingTop = this.f1163 ? getPaddingTop() : 0;
            canvas.rotate(90.0f);
            canvas.translate(-paddingTop, -width);
            EdgeEffect edgeEffect6 = this.f1192;
            z |= edgeEffect6 != null && edgeEffect6.draw(canvas);
            canvas.restoreToCount(iSave3);
        }
        EdgeEffect edgeEffect7 = this.f1193;
        if (edgeEffect7 != null && !edgeEffect7.isFinished()) {
            int iSave4 = canvas.save();
            canvas.rotate(180.0f);
            if (this.f1163) {
                canvas.translate(getPaddingRight() + (-getWidth()), getPaddingBottom() + (-getHeight()));
            } else {
                canvas.translate(-getWidth(), -getHeight());
            }
            EdgeEffect edgeEffect8 = this.f1193;
            if (edgeEffect8 != null && edgeEffect8.draw(canvas)) {
                z2 = true;
            }
            z |= z2;
            canvas.restoreToCount(iSave4);
        }
        if ((z || this.f1194 == null || this.f1171.size() <= 0 || !this.f1194.mo622()) ? z : true) {
            C1920.m3772(this);
        }
    }

    @Override // android.view.ViewGroup
    public boolean drawChild(Canvas canvas, View view, long j) {
        return super.drawChild(canvas, view, j);
    }

    /* JADX WARN: Removed duplicated region for block: B:147:0x01d3  */
    @Override // android.view.ViewGroup, android.view.ViewParent
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public View focusSearch(View view, int i) {
        View viewMo430;
        int i2;
        boolean z;
        View viewMo630 = this.f1169.mo630(view, i);
        if (viewMo630 != null) {
            return viewMo630;
        }
        boolean z2 = false;
        boolean z3 = (this.f1168 == null || this.f1169 == null || m582() || this.f1180) ? false : true;
        FocusFinder focusFinder = FocusFinder.getInstance();
        if (z3 && (i == 2 || i == 1)) {
            if (this.f1169.mo487()) {
                int i3 = i == 2 ? 130 : 33;
                z = focusFinder.findNextFocus(this, view, i3) == null;
                if (f1153) {
                    i = i3;
                }
            } else {
                z = false;
            }
            if (!z && this.f1169.mo483()) {
                int i4 = (this.f1169.m673() == 1) ^ (i == 2) ? 66 : 17;
                z = focusFinder.findNextFocus(this, view, i4) == null;
                if (f1153) {
                    i = i4;
                }
            }
            if (z) {
                m560();
                if (m552(view) == null) {
                    return null;
                }
                m589();
                this.f1169.mo430(view, i, this.f1158, this.f1212);
                m563(false);
            }
            viewMo430 = focusFinder.findNextFocus(this, view, i);
        } else {
            View viewFindNextFocus = focusFinder.findNextFocus(this, view, i);
            if (viewFindNextFocus == null && z3) {
                m560();
                if (m552(view) == null) {
                    return null;
                }
                m589();
                viewMo430 = this.f1169.mo430(view, i, this.f1158, this.f1212);
                m563(false);
            } else {
                viewMo430 = viewFindNextFocus;
            }
        }
        if (viewMo430 != null && !viewMo430.hasFocusable()) {
            if (getFocusedChild() == null) {
                return super.focusSearch(view, i);
            }
            m539(viewMo430, (View) null);
            return view;
        }
        if (viewMo430 == null || viewMo430 == this) {
            z2 = false;
        } else if (m552(viewMo430) != null) {
            if (view != null && m552(view) != null) {
                this.f1165.set(0, 0, view.getWidth(), view.getHeight());
                this.f1166.set(0, 0, viewMo430.getWidth(), viewMo430.getHeight());
                offsetDescendantRectToMyCoords(view, this.f1165);
                offsetDescendantRectToMyCoords(viewMo430, this.f1166);
                byte b = -1;
                int i5 = this.f1169.m673() == 1 ? -1 : 1;
                Rect rect = this.f1165;
                int i6 = rect.left;
                int i7 = this.f1166.left;
                if ((i6 < i7 || rect.right <= i7) && this.f1165.right < this.f1166.right) {
                    i2 = 1;
                } else {
                    Rect rect2 = this.f1165;
                    int i8 = rect2.right;
                    int i9 = this.f1166.right;
                    i2 = ((i8 > i9 || rect2.left >= i9) && this.f1165.left > this.f1166.left) ? -1 : 0;
                }
                Rect rect3 = this.f1165;
                int i10 = rect3.top;
                int i11 = this.f1166.top;
                if ((i10 < i11 || rect3.bottom <= i11) && this.f1165.bottom < this.f1166.bottom) {
                    b = 1;
                } else {
                    Rect rect4 = this.f1165;
                    int i12 = rect4.bottom;
                    int i13 = this.f1166.bottom;
                    if ((i12 <= i13 && rect4.top < i13) || this.f1165.top <= this.f1166.top) {
                        b = 0;
                    }
                }
                if (i != 1) {
                    if (i != 2) {
                        if (i != 17) {
                            if (i != 33) {
                                if (i != 66) {
                                    if (i != 130) {
                                        StringBuilder sb = new StringBuilder();
                                        sb.append("Invalid direction: ");
                                        sb.append(i);
                                        throw new IllegalArgumentException(C2803.m4867(this, sb));
                                    }
                                    if (b > 0) {
                                    }
                                } else if (i2 > 0) {
                                }
                            } else if (b < 0) {
                            }
                        } else if (i2 < 0) {
                        }
                    } else if (b > 0 || (b == 0 && i2 * i5 >= 0)) {
                    }
                } else if (b < 0 || (b == 0 && i2 * i5 <= 0)) {
                }
            }
            z2 = true;
        }
        return z2 ? viewMo430 : super.focusSearch(view, i);
    }

    @Override // android.view.ViewGroup
    public ViewGroup.LayoutParams generateDefaultLayoutParams() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            return abstractC0202.mo454();
        }
        throw new IllegalStateException(C2803.m4867(this, C2803.m4889("RecyclerView has no LayoutManager")));
    }

    @Override // android.view.ViewGroup
    public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attributeSet) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            return abstractC0202.mo432(getContext(), attributeSet);
        }
        throw new IllegalStateException(C2803.m4867(this, C2803.m4889("RecyclerView has no LayoutManager")));
    }

    @Override // android.view.ViewGroup
    public ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams layoutParams) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            return abstractC0202.mo433(layoutParams);
        }
        throw new IllegalStateException(C2803.m4867(this, C2803.m4889("RecyclerView has no LayoutManager")));
    }

    @Override // android.view.ViewGroup, android.view.View
    public CharSequence getAccessibilityClassName() {
        return "androidx.recyclerview.widget.RecyclerView";
    }

    public AbstractC0191 getAdapter() {
        return this.f1168;
    }

    @Override // android.view.View
    public int getBaseline() {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            return super.getBaseline();
        }
        if (abstractC0202 != null) {
            return -1;
        }
        throw null;
    }

    @Override // android.view.ViewGroup
    public int getChildDrawingOrder(int i, int i2) {
        InterfaceC0194 interfaceC0194 = this.f1220;
        return interfaceC0194 == null ? super.getChildDrawingOrder(i, i2) : interfaceC0194.m612(i, i2);
    }

    @Override // android.view.ViewGroup
    public boolean getClipToPadding() {
        return this.f1163;
    }

    public C2368 getCompatAccessibilityDelegate() {
        return this.f1219;
    }

    public C0195 getEdgeEffectFactory() {
        return this.f1189;
    }

    public AbstractC0196 getItemAnimator() {
        return this.f1194;
    }

    public int getItemDecorationCount() {
        return this.f1171.size();
    }

    public AbstractC0202 getLayoutManager() {
        return this.f1169;
    }

    public int getMaxFlingVelocity() {
        return this.f1205;
    }

    public int getMinFlingVelocity() {
        return this.f1204;
    }

    public long getNanoTime() {
        if (f1152) {
            return System.nanoTime();
        }
        return 0L;
    }

    public AbstractC0208 getOnFlingListener() {
        return null;
    }

    public boolean getPreserveFocusAfterLayout() {
        return this.f1208;
    }

    public C0211 getRecycledViewPool() {
        return this.f1158.m713();
    }

    public int getScrollState() {
        return this.f1195;
    }

    @Override // android.view.View
    public boolean hasNestedScrollingParent() {
        return getScrollingChildHelper().m3731(0);
    }

    @Override // android.view.View
    public boolean isAttachedToWindow() {
        return this.f1174;
    }

    @Override // android.view.ViewGroup
    public final boolean isLayoutSuppressed() {
        return this.f1180;
    }

    @Override // android.view.View
    public boolean isNestedScrollingEnabled() {
        return getScrollingChildHelper().f6360;
    }

    @Override // android.view.ViewGroup, android.view.View
    public void onAttachedToWindow() {
        super.onAttachedToWindow();
        this.f1187 = 0;
        this.f1174 = true;
        this.f1177 = this.f1177 && !isLayoutRequested();
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            abstractC0202.f1251 = true;
        }
        this.f1218 = false;
        if (f1152) {
            RunnableC2352 runnableC2352 = RunnableC2352.f7473.get();
            this.f1210 = runnableC2352;
            if (runnableC2352 == null) {
                this.f1210 = new RunnableC2352();
                Display displayM3757 = C1920.m3757(this);
                float f = 60.0f;
                if (!isInEditMode() && displayM3757 != null) {
                    float refreshRate = displayM3757.getRefreshRate();
                    if (refreshRate >= 30.0f) {
                        f = refreshRate;
                    }
                }
                RunnableC2352 runnableC23522 = this.f1210;
                runnableC23522.f7477 = (long) (1.0E9f / f);
                RunnableC2352.f7473.set(runnableC23522);
            }
            this.f1210.f7475.add(this);
        }
    }

    @Override // android.view.ViewGroup, android.view.View
    public void onDetachedFromWindow() {
        RunnableC2352 runnableC2352;
        super.onDetachedFromWindow();
        AbstractC0196 abstractC0196 = this.f1194;
        if (abstractC0196 != null) {
            abstractC0196.mo619();
        }
        m590();
        this.f1174 = false;
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            C0213 c0213 = this.f1158;
            abstractC0202.f1251 = false;
            abstractC0202.mo481(this, c0213);
        }
        this.f1226.clear();
        removeCallbacks(this.f1227);
        if (this.f1162 == null) {
            throw null;
        }
        while (C2374.C2375.f7527.mo3716() != null) {
        }
        if (!f1152 || (runnableC2352 = this.f1210) == null) {
            return;
        }
        runnableC2352.f7475.remove(this);
        this.f1210 = null;
    }

    @Override // android.view.View
    public void onDraw(Canvas canvas) {
        super.onDraw(canvas);
        int size = this.f1171.size();
        for (int i = 0; i < size; i++) {
            if (this.f1171.get(i) == null) {
                throw null;
            }
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:31:0x0066  */
    /* JADX WARN: Removed duplicated region for block: B:33:0x006a  */
    @Override // android.view.View
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean onGenericMotionEvent(MotionEvent motionEvent) {
        float f;
        float axisValue;
        if (this.f1169 != null && !this.f1180 && motionEvent.getAction() == 8) {
            if ((motionEvent.getSource() & 2) != 0) {
                f = this.f1169.mo487() ? -motionEvent.getAxisValue(9) : 0.0f;
                axisValue = this.f1169.mo483() ? motionEvent.getAxisValue(10) : 0.0f;
                if (f != 0.0f || axisValue != 0.0f) {
                    m547((int) (axisValue * this.f1206), (int) (f * this.f1207), motionEvent);
                }
            } else if ((motionEvent.getSource() & 4194304) != 0) {
                float axisValue2 = motionEvent.getAxisValue(26);
                if (this.f1169.mo487()) {
                    f = -axisValue2;
                    if (f != 0.0f) {
                        m547((int) (axisValue * this.f1206), (int) (f * this.f1207), motionEvent);
                    }
                } else {
                    if (this.f1169.mo483()) {
                        axisValue = axisValue2;
                        f = 0.0f;
                        if (f != 0.0f) {
                        }
                    }
                    f = 0.0f;
                    if (f != 0.0f) {
                    }
                }
            } else {
                f = 0.0f;
                if (f != 0.0f) {
                }
            }
        }
        return false;
    }

    @Override // android.view.ViewGroup
    public boolean onInterceptTouchEvent(MotionEvent motionEvent) {
        boolean z;
        if (this.f1180) {
            return false;
        }
        this.f1173 = null;
        if (m549(motionEvent)) {
            m530();
            return true;
        }
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            return false;
        }
        boolean zMo483 = abstractC0202.mo483();
        boolean zMo487 = this.f1169.mo487();
        if (this.f1197 == null) {
            this.f1197 = VelocityTracker.obtain();
        }
        this.f1197.addMovement(motionEvent);
        int actionMasked = motionEvent.getActionMasked();
        int actionIndex = motionEvent.getActionIndex();
        if (actionMasked == 0) {
            if (this.f1181) {
                this.f1181 = false;
            }
            this.f1196 = motionEvent.getPointerId(0);
            int x = (int) (motionEvent.getX() + 0.5f);
            this.f1200 = x;
            this.f1198 = x;
            int y = (int) (motionEvent.getY() + 0.5f);
            this.f1201 = y;
            this.f1199 = y;
            if (this.f1195 == 2) {
                getParent().requestDisallowInterceptTouchEvent(true);
                setScrollState(1);
                m570(1);
            }
            int[] iArr = this.f1224;
            iArr[1] = 0;
            iArr[0] = 0;
            int i = zMo483 ? 1 : 0;
            if (zMo487) {
                i |= 2;
            }
            m573(i, 0);
        } else if (actionMasked == 1) {
            this.f1197.clear();
            m570(0);
        } else if (actionMasked == 2) {
            int iFindPointerIndex = motionEvent.findPointerIndex(this.f1196);
            if (iFindPointerIndex < 0) {
                StringBuilder sbM4889 = C2803.m4889("Error processing scroll; pointer index for id ");
                sbM4889.append(this.f1196);
                sbM4889.append(" not found. Did any MotionEvents get skipped?");
                Log.e("RecyclerView", sbM4889.toString());
                return false;
            }
            int x2 = (int) (motionEvent.getX(iFindPointerIndex) + 0.5f);
            int y2 = (int) (motionEvent.getY(iFindPointerIndex) + 0.5f);
            if (this.f1195 != 1) {
                int i2 = x2 - this.f1198;
                int i3 = y2 - this.f1199;
                if (!zMo483 || Math.abs(i2) <= this.f1202) {
                    z = false;
                } else {
                    this.f1200 = x2;
                    z = true;
                }
                if (zMo487 && Math.abs(i3) > this.f1202) {
                    this.f1201 = y2;
                    z = true;
                }
                if (z) {
                    setScrollState(1);
                }
            }
        } else if (actionMasked == 3) {
            m530();
        } else if (actionMasked == 5) {
            this.f1196 = motionEvent.getPointerId(actionIndex);
            int x3 = (int) (motionEvent.getX(actionIndex) + 0.5f);
            this.f1200 = x3;
            this.f1198 = x3;
            int y3 = (int) (motionEvent.getY(actionIndex) + 0.5f);
            this.f1201 = y3;
            this.f1199 = y3;
        } else if (actionMasked == 6) {
            m556(motionEvent);
        }
        return this.f1195 == 1;
    }

    @Override // android.view.ViewGroup, android.view.View
    public void onLayout(boolean z, int i, int i2, int i3, int i4) {
        C1882.m3703("RV OnLayout");
        m565();
        Trace.endSection();
        this.f1177 = true;
    }

    @Override // android.view.View
    public void onMeasure(int i, int i2) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            m555(i, i2);
            return;
        }
        boolean z = false;
        if (abstractC0202.mo501()) {
            int mode = View.MeasureSpec.getMode(i);
            int mode2 = View.MeasureSpec.getMode(i2);
            this.f1169.mo643(this.f1158, this.f1212, i, i2);
            if (mode == 1073741824 && mode2 == 1073741824) {
                z = true;
            }
            if (z || this.f1168 == null) {
                return;
            }
            if (this.f1212.f1305 == 1) {
                m569();
            }
            this.f1169.m631(i, i2);
            this.f1212.f1310 = true;
            m572();
            this.f1169.m652(i, i2);
            if (this.f1169.mo503()) {
                this.f1169.m631(View.MeasureSpec.makeMeasureSpec(getMeasuredWidth(), 1073741824), View.MeasureSpec.makeMeasureSpec(getMeasuredHeight(), 1073741824));
                this.f1212.f1310 = true;
                m572();
                this.f1169.m652(i, i2);
                return;
            }
            return;
        }
        if (this.f1175) {
            this.f1169.mo643(this.f1158, this.f1212, i, i2);
            return;
        }
        if (this.f1183) {
            m589();
            m584();
            m586();
            m545(true);
            C0221 c0221 = this.f1212;
            if (c0221.f1312) {
                c0221.f1308 = true;
            } else {
                this.f1160.m4347();
                this.f1212.f1308 = false;
            }
            this.f1183 = false;
            m563(false);
        } else if (this.f1212.f1312) {
            setMeasuredDimension(getMeasuredWidth(), getMeasuredHeight());
            return;
        }
        AbstractC0191 abstractC0191 = this.f1168;
        if (abstractC0191 != null) {
            this.f1212.f1306 = abstractC0191.mo327();
        } else {
            this.f1212.f1306 = 0;
        }
        m589();
        this.f1169.mo643(this.f1158, this.f1212, i, i2);
        m563(false);
        this.f1212.f1308 = false;
    }

    @Override // android.view.ViewGroup
    public boolean onRequestFocusInDescendants(int i, Rect rect) {
        if (m582()) {
            return false;
        }
        return super.onRequestFocusInDescendants(i, rect);
    }

    @Override // android.view.View
    public void onRestoreInstanceState(Parcelable parcelable) {
        Parcelable parcelable2;
        if (!(parcelable instanceof C0216)) {
            super.onRestoreInstanceState(parcelable);
            return;
        }
        C0216 c0216 = (C0216) parcelable;
        this.f1159 = c0216;
        super.onRestoreInstanceState(c0216.f6473);
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null || (parcelable2 = this.f1159.f1286) == null) {
            return;
        }
        abstractC0202.mo476(parcelable2);
    }

    @Override // android.view.View
    public Parcelable onSaveInstanceState() {
        C0216 c0216 = new C0216(super.onSaveInstanceState());
        C0216 c02162 = this.f1159;
        if (c02162 != null) {
            c0216.f1286 = c02162.f1286;
        } else {
            AbstractC0202 abstractC0202 = this.f1169;
            if (abstractC0202 != null) {
                c0216.f1286 = abstractC0202.mo502();
            } else {
                c0216.f1286 = null;
            }
        }
        return c0216;
    }

    @Override // android.view.View
    public void onSizeChanged(int i, int i2, int i3, int i4) {
        super.onSizeChanged(i, i2, i3, i4);
        if (i == i3 && i2 == i4) {
            return;
        }
        m580();
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* JADX WARN: Removed duplicated region for block: B:138:0x0265  */
    /* JADX WARN: Removed duplicated region for block: B:56:0x00f7 A[PHI: r8
      0x00f7: PHI (r8v9 int) = (r8v5 int), (r8v13 int) binds: [B:50:0x00e0, B:54:0x00f3] A[DONT_GENERATE, DONT_INLINE]] */
    /* JADX WARN: Removed duplicated region for block: B:58:0x00fa  */
    /* JADX WARN: Removed duplicated region for block: B:64:0x0110  */
    @Override // android.view.View
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean onTouchEvent(MotionEvent motionEvent) {
        boolean zM549;
        boolean z;
        boolean z2;
        boolean z3 = false;
        if (this.f1180 || this.f1181) {
            return false;
        }
        InterfaceC0209 interfaceC0209 = this.f1173;
        if (interfaceC0209 == null) {
            zM549 = motionEvent.getAction() == 0 ? false : m549(motionEvent);
        } else {
            interfaceC0209.mo699(this, motionEvent);
            int action = motionEvent.getAction();
            if (action == 3 || action == 1) {
                this.f1173 = null;
            }
            zM549 = true;
        }
        if (zM549) {
            m530();
            return true;
        }
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            return false;
        }
        boolean zMo483 = abstractC0202.mo483();
        boolean zMo487 = this.f1169.mo487();
        if (this.f1197 == null) {
            this.f1197 = VelocityTracker.obtain();
        }
        int actionMasked = motionEvent.getActionMasked();
        int actionIndex = motionEvent.getActionIndex();
        if (actionMasked == 0) {
            int[] iArr = this.f1224;
            iArr[1] = 0;
            iArr[0] = 0;
        }
        MotionEvent motionEventObtain = MotionEvent.obtain(motionEvent);
        int[] iArr2 = this.f1224;
        motionEventObtain.offsetLocation(iArr2[0], iArr2[1]);
        if (actionMasked == 0) {
            this.f1196 = motionEvent.getPointerId(0);
            int x = (int) (motionEvent.getX() + 0.5f);
            this.f1200 = x;
            this.f1198 = x;
            int y = (int) (motionEvent.getY() + 0.5f);
            this.f1201 = y;
            this.f1199 = y;
            int i = zMo483 ? 1 : 0;
            if (zMo487) {
                i |= 2;
            }
            m573(i, 0);
        } else if (actionMasked == 1) {
            this.f1197.addMovement(motionEventObtain);
            this.f1197.computeCurrentVelocity(1000, this.f1205);
            float f = zMo483 ? -this.f1197.getXVelocity(this.f1196) : 0.0f;
            float f2 = zMo487 ? -this.f1197.getYVelocity(this.f1196) : 0.0f;
            if (f != 0.0f || f2 != 0.0f) {
                int i2 = (int) f;
                int i3 = (int) f2;
                AbstractC0202 abstractC02022 = this.f1169;
                if (abstractC02022 == null) {
                    Log.e("RecyclerView", "Cannot fling without a LayoutManager set. Call setLayoutManager with a non-null argument.");
                } else if (!this.f1180) {
                    boolean zMo4832 = abstractC02022.mo483();
                    boolean zMo4872 = this.f1169.mo487();
                    if (!zMo4832 || Math.abs(i2) < this.f1204) {
                        i2 = 0;
                    }
                    if (!zMo4872 || Math.abs(i3) < this.f1204) {
                        i3 = 0;
                    }
                    if (i2 != 0 || i3 != 0) {
                        float f3 = i2;
                        float f4 = i3;
                        if (!dispatchNestedPreFling(f3, f4)) {
                            boolean z4 = zMo4832 || zMo4872;
                            dispatchNestedFling(f3, f4, z4);
                            int i4 = zMo4832;
                            if (z4) {
                                if (zMo4872) {
                                    i4 = (zMo4832 ? 1 : 0) | 2;
                                }
                                m573(i4, 1);
                                int i5 = this.f1205;
                                int iMax = Math.max(-i5, Math.min(i2, i5));
                                int i6 = this.f1205;
                                int iMax2 = Math.max(-i6, Math.min(i3, i6));
                                RunnableC0223 runnableC0223 = this.f1209;
                                RecyclerView.this.setScrollState(2);
                                runnableC0223.f1319 = 0;
                                runnableC0223.f1318 = 0;
                                Interpolator interpolator = runnableC0223.f1321;
                                Interpolator interpolator2 = f1156;
                                if (interpolator != interpolator2) {
                                    runnableC0223.f1321 = interpolator2;
                                    runnableC0223.f1320 = new OverScroller(RecyclerView.this.getContext(), f1156);
                                }
                                runnableC0223.f1320.fling(0, 0, iMax, iMax2, Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE);
                                runnableC0223.m730();
                                z = true;
                            }
                            if (!z) {
                                setScrollState(0);
                            }
                            m588();
                            z3 = true;
                        }
                    }
                }
                z = false;
                if (!z) {
                }
                m588();
                z3 = true;
            }
        } else if (actionMasked == 2) {
            int iFindPointerIndex = motionEvent.findPointerIndex(this.f1196);
            if (iFindPointerIndex < 0) {
                StringBuilder sbM4889 = C2803.m4889("Error processing scroll; pointer index for id ");
                sbM4889.append(this.f1196);
                sbM4889.append(" not found. Did any MotionEvents get skipped?");
                Log.e("RecyclerView", sbM4889.toString());
                return false;
            }
            int x2 = (int) (motionEvent.getX(iFindPointerIndex) + 0.5f);
            int y2 = (int) (motionEvent.getY(iFindPointerIndex) + 0.5f);
            int iMax3 = this.f1200 - x2;
            int iMax4 = this.f1201 - y2;
            if (this.f1195 != 1) {
                if (zMo483) {
                    iMax3 = iMax3 > 0 ? Math.max(0, iMax3 - this.f1202) : Math.min(0, iMax3 + this.f1202);
                    if (iMax3 != 0) {
                        z2 = true;
                    }
                    if (zMo487) {
                    }
                    if (z2) {
                    }
                } else {
                    z2 = false;
                    if (zMo487) {
                        iMax4 = iMax4 > 0 ? Math.max(0, iMax4 - this.f1202) : Math.min(0, iMax4 + this.f1202);
                        if (iMax4 != 0) {
                            z2 = true;
                        }
                    }
                    if (z2) {
                        setScrollState(1);
                    }
                }
            }
            if (this.f1195 == 1) {
                int[] iArr3 = this.f1225;
                iArr3[0] = 0;
                iArr3[1] = 0;
                if (getScrollingChildHelper().m3730(zMo483 ? iMax3 : 0, zMo487 ? iMax4 : 0, this.f1225, this.f1223, 0)) {
                    int[] iArr4 = this.f1225;
                    iMax3 -= iArr4[0];
                    iMax4 -= iArr4[1];
                    int[] iArr5 = this.f1224;
                    int i7 = iArr5[0];
                    int[] iArr6 = this.f1223;
                    iArr5[0] = i7 + iArr6[0];
                    iArr5[1] = iArr5[1] + iArr6[1];
                    getParent().requestDisallowInterceptTouchEvent(true);
                }
                int[] iArr7 = this.f1223;
                this.f1200 = x2 - iArr7[0];
                this.f1201 = y2 - iArr7[1];
                if (m547(zMo483 ? iMax3 : 0, zMo487 ? iMax4 : 0, motionEvent)) {
                    getParent().requestDisallowInterceptTouchEvent(true);
                }
                if (this.f1210 != null && (iMax3 != 0 || iMax4 != 0)) {
                    this.f1210.m4401(this, iMax3, iMax4);
                }
            }
        } else if (actionMasked == 3) {
            m530();
        } else if (actionMasked == 5) {
            this.f1196 = motionEvent.getPointerId(actionIndex);
            int x3 = (int) (motionEvent.getX(actionIndex) + 0.5f);
            this.f1200 = x3;
            this.f1198 = x3;
            int y3 = (int) (motionEvent.getY(actionIndex) + 0.5f);
            this.f1201 = y3;
            this.f1199 = y3;
        } else if (actionMasked == 6) {
            m556(motionEvent);
        }
        if (!z3) {
            this.f1197.addMovement(motionEventObtain);
        }
        motionEventObtain.recycle();
        return true;
    }

    @Override // android.view.ViewGroup
    public void removeDetachedView(View view, boolean z) {
        AbstractC0224 abstractC0224M527 = m527(view);
        if (abstractC0224M527 != null) {
            if (abstractC0224M527.m750()) {
                abstractC0224M527.f1335 &= -257;
            } else if (!abstractC0224M527.m754()) {
                StringBuilder sb = new StringBuilder();
                sb.append("Called removeDetachedView with a view which is not flagged as tmp detached.");
                sb.append(abstractC0224M527);
                throw new IllegalArgumentException(C2803.m4867(this, sb));
            }
        }
        view.clearAnimation();
        m538(view);
        super.removeDetachedView(view, z);
    }

    @Override // android.view.ViewGroup, android.view.ViewParent
    public void requestChildFocus(View view, View view2) {
        if (!this.f1169.mo650(this, view, view2) && view2 != null) {
            m539(view, view2);
        }
        super.requestChildFocus(view, view2);
    }

    @Override // android.view.ViewGroup, android.view.ViewParent
    public boolean requestChildRectangleOnScreen(View view, Rect rect, boolean z) {
        return this.f1169.mo648(this, view, rect, z);
    }

    @Override // android.view.ViewGroup, android.view.ViewParent
    public void requestDisallowInterceptTouchEvent(boolean z) {
        int size = this.f1172.size();
        for (int i = 0; i < size; i++) {
            this.f1172.get(i).mo697(z);
        }
        super.requestDisallowInterceptTouchEvent(z);
    }

    @Override // android.view.View, android.view.ViewParent
    public void requestLayout() {
        if (this.f1178 != 0 || this.f1180) {
            this.f1179 = true;
        } else {
            super.requestLayout();
        }
    }

    @Override // android.view.View
    public void scrollBy(int i, int i2) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            Log.e("RecyclerView", "Cannot scroll without a LayoutManager set. Call setLayoutManager with a non-null argument.");
            return;
        }
        if (this.f1180) {
            return;
        }
        boolean zMo483 = abstractC0202.mo483();
        boolean zMo487 = this.f1169.mo487();
        if (zMo483 || zMo487) {
            if (!zMo483) {
                i = 0;
            }
            if (!zMo487) {
                i2 = 0;
            }
            m547(i, i2, (MotionEvent) null);
        }
    }

    @Override // android.view.View
    public void scrollTo(int i, int i2) {
        Log.w("RecyclerView", "RecyclerView does not support scrolling to an absolute position. Use scrollToPosition instead");
    }

    @Override // android.view.View, android.view.accessibility.AccessibilityEventSource
    public void sendAccessibilityEventUnchecked(AccessibilityEvent accessibilityEvent) {
        if (m582()) {
            int contentChangeTypes = accessibilityEvent != null ? accessibilityEvent.getContentChangeTypes() : 0;
            this.f1182 |= contentChangeTypes != 0 ? contentChangeTypes : 0;
            i = 1;
        }
        if (i != 0) {
            return;
        }
        super.sendAccessibilityEventUnchecked(accessibilityEvent);
    }

    public void setAccessibilityDelegateCompat(C2368 c2368) {
        this.f1219 = c2368;
        C1920.m3748(this, c2368);
    }

    public void setAdapter(AbstractC0191 abstractC0191) {
        setLayoutFrozen(false);
        AbstractC0191 abstractC01912 = this.f1168;
        if (abstractC01912 != null) {
            abstractC01912.f1232.unregisterObserver(this.f1157);
            if (this.f1168 == null) {
                throw null;
            }
        }
        m587();
        C2304 c2304 = this.f1160;
        c2304.m4342(c2304.f7301);
        c2304.m4342(c2304.f7302);
        c2304.f7306 = 0;
        AbstractC0191 abstractC01913 = this.f1168;
        this.f1168 = abstractC0191;
        if (abstractC0191 != null) {
            abstractC0191.f1232.registerObserver(this.f1157);
        }
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            abstractC0202.mo640(abstractC01913, this.f1168);
        }
        C0213 c0213 = this.f1158;
        AbstractC0191 abstractC01914 = this.f1168;
        c0213.m707();
        C0211 c0211M713 = c0213.m713();
        if (c0211M713 == null) {
            throw null;
        }
        if (abstractC01913 != null) {
            c0211M713.f1272--;
        }
        if (c0211M713.f1272 == 0) {
            for (int i = 0; i < c0211M713.f1271.size(); i++) {
                c0211M713.f1271.valueAt(i).f1273.clear();
            }
        }
        if (abstractC01914 != null) {
            c0211M713.f1272++;
        }
        this.f1212.f1307 = true;
        m557(false);
        requestLayout();
    }

    public void setChildDrawingOrderCallback(InterfaceC0194 interfaceC0194) {
        if (interfaceC0194 == this.f1220) {
            return;
        }
        this.f1220 = interfaceC0194;
        setChildrenDrawingOrderEnabled(interfaceC0194 != null);
    }

    @Override // android.view.ViewGroup
    public void setClipToPadding(boolean z) {
        if (z != this.f1163) {
            m580();
        }
        this.f1163 = z;
        super.setClipToPadding(z);
        if (this.f1177) {
            requestLayout();
        }
    }

    public void setEdgeEffectFactory(C0195 c0195) {
        if (c0195 == null) {
            throw null;
        }
        this.f1189 = c0195;
        m580();
    }

    public void setHasFixedSize(boolean z) {
        this.f1175 = z;
    }

    public void setItemAnimator(AbstractC0196 abstractC0196) {
        AbstractC0196 abstractC01962 = this.f1194;
        if (abstractC01962 != null) {
            abstractC01962.mo619();
            this.f1194.f1234 = null;
        }
        this.f1194 = abstractC0196;
        if (abstractC0196 != null) {
            abstractC0196.f1234 = this.f1217;
        }
    }

    public void setItemViewCacheSize(int i) {
        C0213 c0213 = this.f1158;
        c0213.f1281 = i;
        c0213.m718();
    }

    @Deprecated
    public void setLayoutFrozen(boolean z) {
        suppressLayout(z);
    }

    public void setLayoutManager(AbstractC0202 abstractC0202) {
        if (abstractC0202 == this.f1169) {
            return;
        }
        m590();
        if (this.f1169 != null) {
            AbstractC0196 abstractC0196 = this.f1194;
            if (abstractC0196 != null) {
                abstractC0196.mo619();
            }
            this.f1169.mo656(this.f1158);
            this.f1169.m661(this.f1158);
            this.f1158.m707();
            if (this.f1174) {
                AbstractC0202 abstractC02022 = this.f1169;
                C0213 c0213 = this.f1158;
                abstractC02022.f1251 = false;
                abstractC02022.mo481(this, c0213);
            }
            this.f1169.m662((RecyclerView) null);
            this.f1169 = null;
        } else {
            this.f1158.m707();
        }
        C2317 c2317 = this.f1161;
        C2317.C2318 c2318 = c2317.f7342;
        c2318.f7344 = 0L;
        C2317.C2318 c23182 = c2318.f7345;
        if (c23182 != null) {
            c23182.m4376();
        }
        int size = c2317.f7343.size();
        while (true) {
            size--;
            if (size < 0) {
                C2366 c2366 = (C2366) c2317.f7341;
                int iM4422 = c2366.m4422();
                for (int i = 0; i < iM4422; i++) {
                    View viewM4423 = c2366.m4423(i);
                    c2366.f7511.m538(viewM4423);
                    viewM4423.clearAnimation();
                }
                c2366.f7511.removeAllViews();
                this.f1169 = abstractC0202;
                if (abstractC0202 != null) {
                    if (abstractC0202.f1244 != null) {
                        StringBuilder sb = new StringBuilder();
                        sb.append("LayoutManager ");
                        sb.append(abstractC0202);
                        sb.append(" is already attached to a RecyclerView:");
                        throw new IllegalArgumentException(C2803.m4867(abstractC0202.f1244, sb));
                    }
                    abstractC0202.m662(this);
                    if (this.f1174) {
                        this.f1169.f1251 = true;
                    }
                }
                this.f1158.m718();
                requestLayout();
                return;
            }
            C2317.InterfaceC2319 interfaceC2319 = c2317.f7341;
            View view = c2317.f7343.get(size);
            C2366 c23662 = (C2366) interfaceC2319;
            if (c23662 == null) {
                throw null;
            }
            AbstractC0224 abstractC0224M527 = m527(view);
            if (abstractC0224M527 != null) {
                c23662.f7511.m550(abstractC0224M527, abstractC0224M527.f1341);
                abstractC0224M527.f1341 = 0;
            }
            c2317.f7343.remove(size);
        }
    }

    @Override // android.view.ViewGroup
    @Deprecated
    public void setLayoutTransition(LayoutTransition layoutTransition) {
        if (layoutTransition != null) {
            throw new IllegalArgumentException("Providing a LayoutTransition into RecyclerView is not supported. Please use setItemAnimator() instead for animating changes to the items in this RecyclerView");
        }
        super.setLayoutTransition(null);
    }

    @Override // android.view.View
    public void setNestedScrollingEnabled(boolean z) {
        C1914 scrollingChildHelper = getScrollingChildHelper();
        if (scrollingChildHelper.f6360) {
            C1920.m3774(scrollingChildHelper.f6359);
        }
        scrollingChildHelper.f6360 = z;
    }

    public void setOnFlingListener(AbstractC0208 abstractC0208) {
        this.f1203 = abstractC0208;
    }

    @Deprecated
    public void setOnScrollListener(AbstractC0210 abstractC0210) {
        this.f1213 = abstractC0210;
    }

    public void setPreserveFocusAfterLayout(boolean z) {
        this.f1208 = z;
    }

    public void setRecycledViewPool(C0211 c0211) {
        C0213 c0213 = this.f1158;
        if (c0213.f1283 != null) {
            r1.f1272--;
        }
        c0213.f1283 = c0211;
        if (c0211 == null || RecyclerView.this.getAdapter() == null) {
            return;
        }
        c0213.f1283.f1272++;
    }

    public void setRecyclerListener(InterfaceC0214 interfaceC0214) {
        this.f1170 = interfaceC0214;
    }

    public void setScrollState(int i) {
        AbstractC0218 abstractC0218;
        if (i == this.f1195) {
            return;
        }
        this.f1195 = i;
        if (i != 2) {
            this.f1209.m732();
            AbstractC0202 abstractC0202 = this.f1169;
            if (abstractC0202 != null && (abstractC0218 = abstractC0202.f1249) != null) {
                abstractC0218.m726();
            }
        }
        AbstractC0202 abstractC02022 = this.f1169;
        if (abstractC02022 != null) {
            abstractC02022.mo672(i);
        }
        AbstractC0210 abstractC0210 = this.f1213;
        if (abstractC0210 != null) {
            abstractC0210.mo700(this, i);
        }
        List<AbstractC0210> list = this.f1214;
        if (list == null) {
            return;
        }
        int size = list.size();
        while (true) {
            size--;
            if (size < 0) {
                return;
            } else {
                this.f1214.get(size).mo700(this, i);
            }
        }
    }

    public void setScrollingTouchSlop(int i) {
        ViewConfiguration viewConfiguration = ViewConfiguration.get(getContext());
        if (i != 0) {
            if (i == 1) {
                this.f1202 = viewConfiguration.getScaledPagingTouchSlop();
                return;
            }
            Log.w("RecyclerView", "setScrollingTouchSlop(): bad argument constant " + i + "; using default value");
        }
        this.f1202 = viewConfiguration.getScaledTouchSlop();
    }

    public void setViewCacheExtension(AbstractC0222 abstractC0222) {
    }

    @Override // android.view.View
    public boolean startNestedScroll(int i) {
        return getScrollingChildHelper().m3728(i, 0);
    }

    @Override // android.view.View
    public void stopNestedScroll() {
        getScrollingChildHelper().m3733(0);
    }

    @Override // android.view.ViewGroup
    public final void suppressLayout(boolean z) {
        if (z != this.f1180) {
            m544("Do not suppressLayout in layout or scroll");
            if (z) {
                long jUptimeMillis = SystemClock.uptimeMillis();
                onTouchEvent(MotionEvent.obtain(jUptimeMillis, jUptimeMillis, 3, 0.0f, 0.0f, 0));
                this.f1180 = true;
                this.f1181 = true;
                m590();
                return;
            }
            this.f1180 = false;
            if (this.f1179 && this.f1169 != null && this.f1168 != null) {
                requestLayout();
            }
            this.f1179 = false;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public AbstractC0224 m528(int i) {
        AbstractC0224 abstractC0224 = null;
        if (this.f1185) {
            return null;
        }
        int iM4365 = this.f1161.m4365();
        for (int i2 = 0; i2 < iM4365; i2++) {
            AbstractC0224 abstractC0224M527 = m527(this.f1161.m4370(i2));
            if (abstractC0224M527 != null && !abstractC0224M527.m748() && m551(abstractC0224M527) == i) {
                if (!this.f1161.m4369(abstractC0224M527.f1326)) {
                    return abstractC0224M527;
                }
                abstractC0224 = abstractC0224M527;
            }
        }
        return abstractC0224;
    }

    /* JADX WARN: Removed duplicated region for block: B:15:0x002a  */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public AbstractC0224 m529(int i, boolean z) {
        int iM4365 = this.f1161.m4365();
        AbstractC0224 abstractC0224 = null;
        for (int i2 = 0; i2 < iM4365; i2++) {
            AbstractC0224 abstractC0224M527 = m527(this.f1161.m4370(i2));
            if (abstractC0224M527 != null && !abstractC0224M527.m748()) {
                if (z) {
                    if (abstractC0224M527.f1328 != i) {
                        continue;
                    } else {
                        if (!this.f1161.m4369(abstractC0224M527.f1326)) {
                            return abstractC0224M527;
                        }
                        abstractC0224 = abstractC0224M527;
                    }
                } else if (abstractC0224M527.m742() != i) {
                    continue;
                }
            }
        }
        return abstractC0224;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m530() {
        m588();
        setScrollState(0);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m531(int i, int i2) {
        boolean zIsFinished;
        EdgeEffect edgeEffect = this.f1190;
        if (edgeEffect == null || edgeEffect.isFinished() || i <= 0) {
            zIsFinished = false;
        } else {
            this.f1190.onRelease();
            zIsFinished = this.f1190.isFinished();
        }
        EdgeEffect edgeEffect2 = this.f1192;
        if (edgeEffect2 != null && !edgeEffect2.isFinished() && i < 0) {
            this.f1192.onRelease();
            zIsFinished |= this.f1192.isFinished();
        }
        EdgeEffect edgeEffect3 = this.f1191;
        if (edgeEffect3 != null && !edgeEffect3.isFinished() && i2 > 0) {
            this.f1191.onRelease();
            zIsFinished |= this.f1191.isFinished();
        }
        EdgeEffect edgeEffect4 = this.f1193;
        if (edgeEffect4 != null && !edgeEffect4.isFinished() && i2 < 0) {
            this.f1193.onRelease();
            zIsFinished |= this.f1193.isFinished();
        }
        if (zIsFinished) {
            C1920.m3772(this);
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m532(int i, int i2, int i3, int i4, int[] iArr, int i5, int[] iArr2) {
        getScrollingChildHelper().m3732(i, i2, i3, i4, iArr, i5, iArr2);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void mo533(int i, int i2, Interpolator interpolator) {
        m534(i, i2, interpolator, Integer.MIN_VALUE);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m534(int i, int i2, Interpolator interpolator, int i3) {
        m535(i, i2, interpolator, i3, false);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m535(int i, int i2, Interpolator interpolator, int i3, boolean z) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            Log.e("RecyclerView", "Cannot smooth scroll without a LayoutManager set. Call setLayoutManager with a non-null argument.");
            return;
        }
        if (this.f1180) {
            return;
        }
        if (!abstractC0202.mo483()) {
            i = 0;
        }
        if (!this.f1169.mo487()) {
            i2 = 0;
        }
        if (i == 0 && i2 == 0) {
            return;
        }
        if (!(i3 == Integer.MIN_VALUE || i3 > 0)) {
            scrollBy(i, i2);
            return;
        }
        if (z) {
            int i4 = i != 0 ? 1 : 0;
            if (i2 != 0) {
                i4 |= 2;
            }
            m573(i4, 1);
        }
        this.f1209.m731(i, i2, i3, interpolator);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m536(int i, int i2, boolean z) {
        int i3 = i + i2;
        int iM4365 = this.f1161.m4365();
        for (int i4 = 0; i4 < iM4365; i4++) {
            AbstractC0224 abstractC0224M527 = m527(this.f1161.m4370(i4));
            if (abstractC0224M527 != null && !abstractC0224M527.m754()) {
                int i5 = abstractC0224M527.f1328;
                if (i5 >= i3) {
                    abstractC0224M527.m736(-i2, z);
                    this.f1212.f1307 = true;
                } else if (i5 >= i) {
                    abstractC0224M527.m734(8);
                    abstractC0224M527.m736(-i2, z);
                    abstractC0224M527.f1328 = i - 1;
                    this.f1212.f1307 = true;
                }
            }
        }
        C0213 c0213 = this.f1158;
        int size = c0213.f1279.size();
        while (true) {
            size--;
            if (size < 0) {
                requestLayout();
                return;
            }
            AbstractC0224 abstractC0224 = c0213.f1279.get(size);
            if (abstractC0224 != null) {
                int i6 = abstractC0224.f1328;
                if (i6 >= i3) {
                    abstractC0224.m736(-i2, z);
                } else if (i6 >= i) {
                    abstractC0224.m734(8);
                    c0213.m717(size);
                }
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m537(int i, int i2, int[] iArr) {
        AbstractC0224 abstractC0224;
        m589();
        m584();
        C1882.m3703("RV Scroll");
        m541(this.f1212);
        int iMo427 = i != 0 ? this.f1169.mo427(i, this.f1158, this.f1212) : 0;
        int iMo445 = i2 != 0 ? this.f1169.mo445(i2, this.f1158, this.f1212) : 0;
        Trace.endSection();
        int iM4360 = this.f1161.m4360();
        for (int i3 = 0; i3 < iM4360; i3++) {
            View viewM4367 = this.f1161.m4367(i3);
            AbstractC0224 abstractC0224Mo564 = mo564(viewM4367);
            if (abstractC0224Mo564 != null && (abstractC0224 = abstractC0224Mo564.f1334) != null) {
                View view = abstractC0224.f1326;
                int left = viewM4367.getLeft();
                int top = viewM4367.getTop();
                if (left != view.getLeft() || top != view.getTop()) {
                    view.layout(left, top, view.getWidth() + left, view.getHeight() + top);
                }
            }
        }
        m545(true);
        m563(false);
        if (iArr != null) {
            iArr[0] = iMo427;
            iArr[1] = iMo445;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m538(View view) {
        AbstractC0224 abstractC0224M527 = m527(view);
        AbstractC0191 abstractC0191 = this.f1168;
        if (abstractC0191 == null || abstractC0224M527 == null) {
            return;
        }
        abstractC0191.mo598(abstractC0224M527);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m539(View view, View view2) {
        View view3 = view2 != null ? view2 : view;
        this.f1165.set(0, 0, view3.getWidth(), view3.getHeight());
        ViewGroup.LayoutParams layoutParams = view3.getLayoutParams();
        if (layoutParams instanceof C0207) {
            C0207 c0207 = (C0207) layoutParams;
            if (!c0207.f1269) {
                Rect rect = c0207.f1268;
                Rect rect2 = this.f1165;
                rect2.left -= rect.left;
                rect2.right += rect.right;
                rect2.top -= rect.top;
                rect2.bottom += rect.bottom;
            }
        }
        if (view2 != null) {
            offsetDescendantRectToMyCoords(view2, this.f1165);
            offsetRectIntoDescendantCoords(view, this.f1165);
        }
        this.f1169.m649(this, view, this.f1165, !this.f1177, view2 == null);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m540(AbstractC0201 abstractC0201) {
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            abstractC0202.mo482("Cannot add item decoration during a scroll  or layout");
        }
        if (this.f1171.isEmpty()) {
            setWillNotDraw(false);
        }
        this.f1171.add(abstractC0201);
        m583();
        requestLayout();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m541(C0221 c0221) {
        if (getScrollState() != 2) {
            c0221.f1316 = 0;
            c0221.f1317 = 0;
        } else {
            OverScroller overScroller = this.f1209.f1320;
            c0221.f1316 = overScroller.getFinalX() - overScroller.getCurrX();
            c0221.f1317 = overScroller.getFinalY() - overScroller.getCurrY();
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m542(AbstractC0224 abstractC0224) {
        View view = abstractC0224.f1326;
        boolean z = view.getParent() == this;
        this.f1158.m715(mo564(view));
        if (abstractC0224.m750()) {
            this.f1161.m4363(view, -1, view.getLayoutParams(), true);
            return;
        }
        if (!z) {
            this.f1161.m4364(view, -1, true);
            return;
        }
        C2317 c2317 = this.f1161;
        int iIndexOfChild = ((C2366) c2317.f7341).f7511.indexOfChild(view);
        if (iIndexOfChild >= 0) {
            c2317.f7342.m4379(iIndexOfChild);
            c2317.m4362(view);
        } else {
            throw new IllegalArgumentException("view is not a child, cannot hide " + view);
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m543(AbstractC0224 abstractC0224, AbstractC0196.C0199 c0199) {
        abstractC0224.m735(0, 8192);
        if (this.f1212.f1309 && abstractC0224.m751() && !abstractC0224.m748() && !abstractC0224.m754()) {
            this.f1162.f7526.m3367(m559(abstractC0224), abstractC0224);
        }
        this.f1162.m4438(abstractC0224, c0199);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m544(String str) {
        if (m582()) {
            if (str != null) {
                throw new IllegalStateException(str);
            }
            throw new IllegalStateException(C2803.m4867(this, C2803.m4889("Cannot call this method while RecyclerView is computing a layout or scrolling")));
        }
        if (this.f1188 > 0) {
            Log.w("RecyclerView", "Cannot call this method in a scroll callback. Scroll callbacks mightbe run during a measure & layout pass where you cannot change theRecyclerView data. Any method call that might change the structureof the RecyclerView or the adapter contents should be postponed tothe next frame.", new IllegalStateException(C2803.m4867(this, C2803.m4889(""))));
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m545(boolean z) {
        int i;
        int i2 = this.f1187 - 1;
        this.f1187 = i2;
        if (i2 < 1) {
            this.f1187 = 0;
            if (z) {
                int i3 = this.f1182;
                this.f1182 = 0;
                if (i3 != 0) {
                    AccessibilityManager accessibilityManager = this.f1184;
                    if (accessibilityManager != null && accessibilityManager.isEnabled()) {
                        AccessibilityEvent accessibilityEventObtain = AccessibilityEvent.obtain();
                        accessibilityEventObtain.setEventType(2048);
                        accessibilityEventObtain.setContentChangeTypes(i3);
                        sendAccessibilityEventUnchecked(accessibilityEventObtain);
                    }
                }
                for (int size = this.f1226.size() - 1; size >= 0; size--) {
                    AbstractC0224 abstractC0224 = this.f1226.get(size);
                    if (abstractC0224.f1326.getParent() == this && !abstractC0224.m754() && (i = abstractC0224.f1342) != -1) {
                        C1920.m3740(abstractC0224.f1326, i);
                        abstractC0224.f1342 = -1;
                    }
                }
                this.f1226.clear();
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m546(int[] iArr) {
        int iM4360 = this.f1161.m4360();
        if (iM4360 == 0) {
            iArr[0] = -1;
            iArr[1] = -1;
            return;
        }
        int i = Integer.MAX_VALUE;
        int i2 = Integer.MIN_VALUE;
        for (int i3 = 0; i3 < iM4360; i3++) {
            AbstractC0224 abstractC0224M527 = m527(this.f1161.m4367(i3));
            if (!abstractC0224M527.m754()) {
                int iM742 = abstractC0224M527.m742();
                if (iM742 < i) {
                    i = iM742;
                }
                if (iM742 > i2) {
                    i2 = iM742;
                }
            }
        }
        iArr[0] = i;
        iArr[1] = i2;
    }

    /* JADX WARN: Removed duplicated region for block: B:34:0x00e0  */
    /* JADX WARN: Removed duplicated region for block: B:35:0x00f6  */
    /* JADX WARN: Removed duplicated region for block: B:40:0x0113  */
    /* JADX WARN: Removed duplicated region for block: B:44:0x011b  */
    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public boolean m547(int i, int i2, MotionEvent motionEvent) {
        int i3;
        int i4;
        int i5;
        int i6;
        boolean z;
        m560();
        if (this.f1168 != null) {
            int[] iArr = this.f1225;
            iArr[0] = 0;
            iArr[1] = 0;
            m537(i, i2, iArr);
            int[] iArr2 = this.f1225;
            int i7 = iArr2[0];
            int i8 = iArr2[1];
            i3 = i8;
            i4 = i7;
            i5 = i - i7;
            i6 = i2 - i8;
        } else {
            i3 = 0;
            i4 = 0;
            i5 = 0;
            i6 = 0;
        }
        if (!this.f1171.isEmpty()) {
            invalidate();
        }
        int[] iArr3 = this.f1225;
        iArr3[0] = 0;
        iArr3[1] = 0;
        m532(i4, i3, i5, i6, this.f1223, 0, iArr3);
        int[] iArr4 = this.f1225;
        int i9 = i5 - iArr4[0];
        int i10 = i6 - iArr4[1];
        boolean z2 = (iArr4[0] == 0 && iArr4[1] == 0) ? false : true;
        int i11 = this.f1200;
        int[] iArr5 = this.f1223;
        this.f1200 = i11 - iArr5[0];
        this.f1201 -= iArr5[1];
        int[] iArr6 = this.f1224;
        iArr6[0] = iArr6[0] + iArr5[0];
        iArr6[1] = iArr6[1] + iArr5[1];
        if (getOverScrollMode() != 2) {
            if (motionEvent != null) {
                if (!((motionEvent.getSource() & 8194) == 8194)) {
                    float x = motionEvent.getX();
                    float f = i9;
                    float y = motionEvent.getY();
                    float f2 = i10;
                    if (f < 0.0f) {
                        m575();
                        this.f1190.onPull((-f) / getWidth(), 1.0f - (y / getHeight()));
                    } else if (f > 0.0f) {
                        m576();
                        this.f1192.onPull(f / getWidth(), y / getHeight());
                    } else {
                        z = false;
                        if (f2 >= 0.0f) {
                            m577();
                            this.f1191.onPull((-f2) / getHeight(), x / getWidth());
                        } else {
                            if (f2 > 0.0f) {
                                m574();
                                this.f1193.onPull(f2 / getHeight(), 1.0f - (x / getWidth()));
                            }
                            if (z || f != 0.0f || f2 != 0.0f) {
                                C1920.m3772(this);
                            }
                        }
                        z = true;
                        if (z) {
                            C1920.m3772(this);
                        }
                    }
                    z = true;
                    if (f2 >= 0.0f) {
                    }
                    z = true;
                    if (z) {
                    }
                }
            }
            m531(i, i2);
        }
        if (i4 != 0 || i3 != 0) {
            m562(i4, i3);
        }
        if (!awakenScrollBars()) {
            invalidate();
        }
        return (!z2 && i4 == 0 && i3 == 0) ? false : true;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public boolean m548(int i, int i2, int[] iArr, int[] iArr2, int i3) {
        return getScrollingChildHelper().m3730(i, i2, iArr, iArr2, i3);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final boolean m549(MotionEvent motionEvent) {
        int action = motionEvent.getAction();
        int size = this.f1172.size();
        for (int i = 0; i < size; i++) {
            InterfaceC0209 interfaceC0209 = this.f1172.get(i);
            if (interfaceC0209.mo698(this, motionEvent) && action != 3) {
                this.f1173 = interfaceC0209;
                return true;
            }
        }
        return false;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public boolean m550(AbstractC0224 abstractC0224, int i) {
        if (!m582()) {
            C1920.m3740(abstractC0224.f1326, i);
            return true;
        }
        abstractC0224.f1342 = i;
        this.f1226.add(abstractC0224);
        return false;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public int m551(AbstractC0224 abstractC0224) {
        if (abstractC0224.m740(524) || !abstractC0224.m745()) {
            return -1;
        }
        C2304 c2304 = this.f1160;
        int i = abstractC0224.f1328;
        int size = c2304.f7301.size();
        for (int i2 = 0; i2 < size; i2++) {
            C2304.C2306 c2306 = c2304.f7301.get(i2);
            int i3 = c2306.f7307;
            if (i3 != 1) {
                if (i3 == 2) {
                    int i4 = c2306.f7308;
                    if (i4 <= i) {
                        int i5 = c2306.f7310;
                        if (i4 + i5 > i) {
                            return -1;
                        }
                        i -= i5;
                    } else {
                        continue;
                    }
                } else if (i3 == 8) {
                    int i6 = c2306.f7308;
                    if (i6 == i) {
                        i = c2306.f7310;
                    } else {
                        if (i6 < i) {
                            i--;
                        }
                        if (c2306.f7310 <= i) {
                            i++;
                        }
                    }
                }
            } else if (c2306.f7308 <= i) {
                i += c2306.f7310;
            }
        }
        return i;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public View m552(View view) {
        ViewParent parent = view.getParent();
        while (parent != null && parent != this && (parent instanceof View)) {
            view = parent;
            parent = view.getParent();
        }
        if (parent == this) {
            return view;
        }
        return null;
    }

    @Deprecated
    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public AbstractC0224 m553(int i) {
        return m529(i, false);
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m554() {
        int iM4365 = this.f1161.m4365();
        for (int i = 0; i < iM4365; i++) {
            AbstractC0224 abstractC0224M527 = m527(this.f1161.m4370(i));
            if (!abstractC0224M527.m754()) {
                abstractC0224M527.m733();
            }
        }
        C0213 c0213 = this.f1158;
        int size = c0213.f1279.size();
        for (int i2 = 0; i2 < size; i2++) {
            c0213.f1279.get(i2).m733();
        }
        int size2 = c0213.f1277.size();
        for (int i3 = 0; i3 < size2; i3++) {
            c0213.f1277.get(i3).m733();
        }
        ArrayList<AbstractC0224> arrayList = c0213.f1278;
        if (arrayList != null) {
            int size3 = arrayList.size();
            for (int i4 = 0; i4 < size3; i4++) {
                c0213.f1278.get(i4).m733();
            }
        }
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m555(int i, int i2) {
        setMeasuredDimension(AbstractC0202.m626(i, getPaddingRight() + getPaddingLeft(), C1920.m3762(this)), AbstractC0202.m626(i2, getPaddingBottom() + getPaddingTop(), getMinimumHeight()));
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final void m556(MotionEvent motionEvent) {
        int actionIndex = motionEvent.getActionIndex();
        if (motionEvent.getPointerId(actionIndex) == this.f1196) {
            int i = actionIndex == 0 ? 1 : 0;
            this.f1196 = motionEvent.getPointerId(i);
            int x = (int) (motionEvent.getX(i) + 0.5f);
            this.f1200 = x;
            this.f1198 = x;
            int y = (int) (motionEvent.getY(i) + 0.5f);
            this.f1201 = y;
            this.f1199 = y;
        }
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public void m557(boolean z) {
        this.f1186 = z | this.f1186;
        this.f1185 = true;
        int iM4365 = this.f1161.m4365();
        for (int i = 0; i < iM4365; i++) {
            AbstractC0224 abstractC0224M527 = m527(this.f1161.m4370(i));
            if (abstractC0224M527 != null && !abstractC0224M527.m754()) {
                abstractC0224M527.m734(6);
            }
        }
        m583();
        C0213 c0213 = this.f1158;
        int size = c0213.f1279.size();
        for (int i2 = 0; i2 < size; i2++) {
            AbstractC0224 abstractC0224 = c0213.f1279.get(i2);
            if (abstractC0224 != null) {
                abstractC0224.m734(6);
                abstractC0224.m737((Object) null);
            }
        }
        AbstractC0191 abstractC0191 = RecyclerView.this.f1168;
        if (abstractC0191 == null || !abstractC0191.f1233) {
            c0213.m716();
        }
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public int m558(View view) {
        AbstractC0224 abstractC0224M527 = m527(view);
        if (abstractC0224M527 != null) {
            return abstractC0224M527.m741();
        }
        return -1;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public long m559(AbstractC0224 abstractC0224) {
        return this.f1168.f1233 ? abstractC0224.f1330 : abstractC0224.f1328;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void m560() {
        if (!this.f1177 || this.f1185) {
            C1882.m3703("RV FullInvalidate");
            m565();
            Trace.endSection();
            return;
        }
        if (this.f1160.m4350()) {
            boolean z = false;
            if ((this.f1160.f7306 & 4) != 0) {
                if (!((this.f1160.f7306 & 11) != 0)) {
                    C1882.m3703("RV PartialInvalidate");
                    m589();
                    m584();
                    this.f1160.m4351();
                    if (!this.f1179) {
                        int iM4360 = this.f1161.m4360();
                        int i = 0;
                        while (true) {
                            if (i < iM4360) {
                                AbstractC0224 abstractC0224M527 = m527(this.f1161.m4367(i));
                                if (abstractC0224M527 != null && !abstractC0224M527.m754() && abstractC0224M527.m751()) {
                                    z = true;
                                    break;
                                }
                                i++;
                            } else {
                                break;
                            }
                        }
                        if (z) {
                            m565();
                        } else {
                            this.f1160.m4341();
                        }
                    }
                    m563(true);
                    m545(true);
                    Trace.endSection();
                    return;
                }
            }
            if (this.f1160.m4350()) {
                C1882.m3703("RV FullInvalidate");
                m565();
                Trace.endSection();
            }
        }
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void m561(int i) {
        if (this.f1169 == null) {
            return;
        }
        setScrollState(2);
        this.f1169.mo496(i);
        awakenScrollBars();
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void m562(int i, int i2) {
        this.f1188++;
        int scrollX = getScrollX();
        int scrollY = getScrollY();
        onScrollChanged(scrollX, scrollY, scrollX - i, scrollY - i2);
        mo567(i, i2);
        AbstractC0210 abstractC0210 = this.f1213;
        if (abstractC0210 != null) {
            abstractC0210.mo701(this, i, i2);
        }
        List<AbstractC0210> list = this.f1214;
        if (list != null) {
            for (int size = list.size() - 1; size >= 0; size--) {
                this.f1214.get(size).mo701(this, i, i2);
            }
        }
        this.f1188--;
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public void m563(boolean z) {
        if (this.f1178 < 1) {
            this.f1178 = 1;
        }
        if (!z && !this.f1180) {
            this.f1179 = false;
        }
        if (this.f1178 == 1) {
            if (z && this.f1179 && !this.f1180 && this.f1169 != null && this.f1168 != null) {
                m565();
            }
            if (!this.f1180) {
                this.f1179 = false;
            }
        }
        this.f1178--;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public AbstractC0224 mo564(View view) {
        ViewParent parent = view.getParent();
        if (parent == null || parent == this) {
            return m527(view);
        }
        throw new IllegalArgumentException("View " + view + " is not a direct child of " + this);
    }

    /* JADX WARN: Removed duplicated region for block: B:160:0x035b  */
    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public void m565() {
        AbstractC0224 abstractC0224M527;
        View view;
        View viewFindViewById;
        boolean z;
        AbstractC0224 abstractC0224;
        boolean zMo4385;
        if (this.f1168 == null) {
            Log.e("RecyclerView", "No adapter attached; skipping layout");
            return;
        }
        if (this.f1169 == null) {
            Log.e("RecyclerView", "No layout manager attached; skipping layout");
            return;
        }
        C0221 c0221 = this.f1212;
        c0221.f1310 = false;
        boolean z2 = true;
        if (c0221.f1305 == 1) {
            m569();
            this.f1169.m657(this);
            m572();
        } else {
            C2304 c2304 = this.f1160;
            if (!((c2304.f7302.isEmpty() || c2304.f7301.isEmpty()) ? false : true) && this.f1169.f1259 == getWidth() && this.f1169.f1260 == getHeight()) {
                this.f1169.m657(this);
            } else {
                this.f1169.m657(this);
                m572();
            }
        }
        int i = 4;
        this.f1212.m729(4);
        m589();
        m584();
        C0221 c02212 = this.f1212;
        c02212.f1305 = 1;
        View view2 = null;
        if (c02212.f1311) {
            int iM4360 = this.f1161.m4360() - 1;
            while (iM4360 >= 0) {
                AbstractC0224 abstractC0224M5272 = m527(this.f1161.m4367(iM4360));
                if (!abstractC0224M5272.m754()) {
                    long jM559 = m559(abstractC0224M5272);
                    if (this.f1194 == null) {
                        throw null;
                    }
                    AbstractC0196.C0199 c0199 = new AbstractC0196.C0199();
                    View view3 = abstractC0224M5272.f1326;
                    c0199.f1240 = view3.getLeft();
                    c0199.f1241 = view3.getTop();
                    view3.getRight();
                    view3.getBottom();
                    AbstractC0224 abstractC0224M3364 = this.f1162.f7526.m3364(jM559, null);
                    if (abstractC0224M3364 == null || abstractC0224M3364.m754()) {
                        this.f1162.m4437(abstractC0224M5272, c0199);
                    } else {
                        boolean zM4439 = this.f1162.m4439(abstractC0224M3364);
                        boolean zM44392 = this.f1162.m4439(abstractC0224M5272);
                        if (zM4439 && abstractC0224M3364 == abstractC0224M5272) {
                            this.f1162.m4437(abstractC0224M5272, c0199);
                        } else {
                            AbstractC0196.C0199 c0199M4435 = this.f1162.m4435(abstractC0224M3364, i);
                            this.f1162.m4437(abstractC0224M5272, c0199);
                            AbstractC0196.C0199 c0199M44352 = this.f1162.m4435(abstractC0224M5272, 8);
                            if (c0199M4435 == null) {
                                int iM43602 = this.f1161.m4360();
                                for (int i2 = 0; i2 < iM43602; i2++) {
                                    AbstractC0224 abstractC0224M5273 = m527(this.f1161.m4367(i2));
                                    if (abstractC0224M5273 != abstractC0224M5272 && m559(abstractC0224M5273) == jM559) {
                                        AbstractC0191 abstractC0191 = this.f1168;
                                        if (abstractC0191 == null || !abstractC0191.f1233) {
                                            StringBuilder sb = new StringBuilder();
                                            sb.append("Two different ViewHolders have the same change ID. This might happen due to inconsistent Adapter update events or if the LayoutManager lays out the same View multiple times.\n ViewHolder 1:");
                                            sb.append(abstractC0224M5273);
                                            sb.append(" \n View Holder 2:");
                                            sb.append(abstractC0224M5272);
                                            throw new IllegalStateException(C2803.m4867(this, sb));
                                        }
                                        StringBuilder sb2 = new StringBuilder();
                                        sb2.append("Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change.\n ViewHolder 1:");
                                        sb2.append(abstractC0224M5273);
                                        sb2.append(" \n View Holder 2:");
                                        sb2.append(abstractC0224M5272);
                                        throw new IllegalStateException(C2803.m4867(this, sb2));
                                    }
                                }
                                Log.e("RecyclerView", "Problem while matching changed view holders with the newones. The pre-layout information for the change holder " + abstractC0224M3364 + " cannot be found but it is necessary for " + abstractC0224M5272 + m578());
                            } else {
                                abstractC0224M3364.m738(false);
                                if (zM4439) {
                                    m542(abstractC0224M3364);
                                }
                                if (abstractC0224M3364 != abstractC0224M5272) {
                                    if (zM44392) {
                                        m542(abstractC0224M5272);
                                    }
                                    abstractC0224M3364.f1333 = abstractC0224M5272;
                                    m542(abstractC0224M3364);
                                    this.f1158.m715(abstractC0224M3364);
                                    abstractC0224M5272.m738(false);
                                    abstractC0224M5272.f1334 = abstractC0224M3364;
                                }
                                if (this.f1194.mo617(abstractC0224M3364, abstractC0224M5272, c0199M4435, c0199M44352)) {
                                    m585();
                                }
                            }
                        }
                    }
                }
                iM4360--;
                i = 4;
            }
            C2374 c2374 = this.f1162;
            C2374.InterfaceC2376 interfaceC2376 = this.f1228;
            for (int i3 = c2374.f7525.f5620 - 1; i3 >= 0; i3--) {
                AbstractC0224 abstractC0224M3390 = c2374.f7525.m3390(i3);
                C2374.C2375 c2375Mo3391 = c2374.f7525.mo3391(i3);
                int i4 = c2375Mo3391.f7528;
                if ((i4 & 3) == 3) {
                    RecyclerView recyclerView = RecyclerView.this;
                    recyclerView.f1169.m655(abstractC0224M3390.f1326, recyclerView.f1158);
                } else if ((i4 & 1) != 0) {
                    AbstractC0196.C0199 c01992 = c2375Mo3391.f7529;
                    if (c01992 == null) {
                        RecyclerView recyclerView2 = RecyclerView.this;
                        recyclerView2.f1169.m655(abstractC0224M3390.f1326, recyclerView2.f1158);
                    } else {
                        ((C0190) interfaceC2376).m593(abstractC0224M3390, c01992, c2375Mo3391.f7530);
                    }
                } else if ((i4 & 14) == 14) {
                    ((C0190) interfaceC2376).m592(abstractC0224M3390, c2375Mo3391.f7529, c2375Mo3391.f7530);
                } else if ((i4 & 12) == 12) {
                    AbstractC0196.C0199 c01993 = c2375Mo3391.f7529;
                    AbstractC0196.C0199 c01994 = c2375Mo3391.f7530;
                    C0190 c0190 = (C0190) interfaceC2376;
                    if (c0190 == null) {
                        throw null;
                    }
                    abstractC0224M3390.m738(false);
                    RecyclerView recyclerView3 = RecyclerView.this;
                    if (!recyclerView3.f1185) {
                        AbstractC2370 abstractC2370 = (AbstractC2370) recyclerView3.f1194;
                        if (abstractC2370 == null) {
                            throw null;
                        }
                        if (c01993.f1240 == c01994.f1240 && c01993.f1241 == c01994.f1241) {
                            abstractC2370.m616(abstractC0224M3390);
                            zMo4385 = false;
                        } else {
                            zMo4385 = abstractC2370.mo4385(abstractC0224M3390, c01993.f1240, c01993.f1241, c01994.f1240, c01994.f1241);
                        }
                        if (zMo4385) {
                            RecyclerView.this.m585();
                        }
                    } else if (recyclerView3.f1194.mo617(abstractC0224M3390, abstractC0224M3390, c01993, c01994)) {
                        RecyclerView.this.m585();
                    }
                } else if ((i4 & 4) != 0) {
                    ((C0190) interfaceC2376).m593(abstractC0224M3390, c2375Mo3391.f7529, null);
                } else if ((i4 & 8) != 0) {
                    ((C0190) interfaceC2376).m592(abstractC0224M3390, c2375Mo3391.f7529, c2375Mo3391.f7530);
                }
                C2374.C2375.m4443(c2375Mo3391);
            }
        }
        this.f1169.m661(this.f1158);
        C0221 c02213 = this.f1212;
        c02213.f1303 = c02213.f1306;
        this.f1185 = false;
        this.f1186 = false;
        c02213.f1311 = false;
        c02213.f1312 = false;
        this.f1169.f1250 = false;
        ArrayList<AbstractC0224> arrayList = this.f1158.f1278;
        if (arrayList != null) {
            arrayList.clear();
        }
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202.f1256) {
            abstractC0202.f1255 = 0;
            abstractC0202.f1256 = false;
            this.f1158.m718();
        }
        this.f1169.mo459(this.f1212);
        m545(true);
        m563(false);
        C2374 c23742 = this.f1162;
        c23742.f7525.clear();
        c23742.f7526.m3365();
        int[] iArr = this.f1221;
        int i5 = iArr[0];
        int i6 = iArr[1];
        m546(iArr);
        int[] iArr2 = this.f1221;
        if (iArr2[0] == i5 && iArr2[1] == i6) {
            z2 = false;
        }
        if (z2) {
            m562(0, 0);
        }
        if (this.f1208 && this.f1168 != null && hasFocus() && getDescendantFocusability() != 393216 && (getDescendantFocusability() != 131072 || !isFocused())) {
            if (!isFocused()) {
                View focusedChild = getFocusedChild();
                if (!f1154 || (focusedChild.getParent() != null && focusedChild.hasFocus())) {
                    if (this.f1161.m4369(focusedChild)) {
                        long j = this.f1212.f1314;
                        if (j == -1 || !(z = this.f1168.f1233)) {
                            abstractC0224M527 = null;
                        } else {
                            if (z) {
                                int iM4365 = this.f1161.m4365();
                                abstractC0224 = null;
                                for (int i7 = 0; i7 < iM4365; i7++) {
                                    abstractC0224M527 = m527(this.f1161.m4370(i7));
                                    if (abstractC0224M527 != null && !abstractC0224M527.m748() && abstractC0224M527.f1330 == j) {
                                        if (!this.f1161.m4369(abstractC0224M527.f1326)) {
                                            break;
                                        } else {
                                            abstractC0224 = abstractC0224M527;
                                        }
                                    }
                                }
                            } else {
                                abstractC0224 = null;
                            }
                            abstractC0224M527 = abstractC0224;
                        }
                        if (abstractC0224M527 != null && !this.f1161.m4369(abstractC0224M527.f1326) && abstractC0224M527.f1326.hasFocusable()) {
                            view2 = abstractC0224M527.f1326;
                        } else if (this.f1161.m4360() > 0) {
                            int i8 = this.f1212.f1313;
                            int i9 = i8 != -1 ? i8 : 0;
                            int iM728 = this.f1212.m728();
                            for (int i10 = i9; i10 < iM728; i10++) {
                                AbstractC0224 abstractC0224M528 = m528(i10);
                                if (abstractC0224M528 == null) {
                                    break;
                                }
                                if (abstractC0224M528.f1326.hasFocusable()) {
                                    view = abstractC0224M528.f1326;
                                    break;
                                }
                            }
                            for (int iMin = Math.min(iM728, i9) - 1; iMin >= 0; iMin--) {
                                AbstractC0224 abstractC0224M5282 = m528(iMin);
                                if (abstractC0224M5282 == null) {
                                    break;
                                }
                                if (abstractC0224M5282.f1326.hasFocusable()) {
                                    view = abstractC0224M5282.f1326;
                                    view2 = view;
                                }
                            }
                        }
                        if (view2 != null) {
                            int i11 = this.f1212.f1315;
                            if (i11 != -1 && (viewFindViewById = view2.findViewById(i11)) != null && viewFindViewById.isFocusable()) {
                                view2 = viewFindViewById;
                            }
                            view2.requestFocus();
                        }
                    }
                } else if (this.f1161.m4360() == 0) {
                    requestFocus();
                }
            }
        }
        C0221 c02214 = this.f1212;
        c02214.f1314 = -1L;
        c02214.f1313 = -1;
        c02214.f1315 = -1;
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public void mo566(int i) {
        if (this.f1180) {
            return;
        }
        m590();
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null) {
            Log.e("RecyclerView", "Cannot scroll to position a LayoutManager set. Call setLayoutManager with a non-null argument.");
        } else {
            abstractC0202.mo496(i);
            awakenScrollBars();
        }
    }

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public void mo567(int i, int i2) {
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public Rect m568(View view) {
        C0207 c0207 = (C0207) view.getLayoutParams();
        if (!c0207.f1269) {
            return c0207.f1268;
        }
        if (this.f1212.f1308 && (c0207.m695() || c0207.f1267.m746())) {
            return c0207.f1268;
        }
        Rect rect = c0207.f1268;
        rect.set(0, 0, 0, 0);
        int size = this.f1171.size();
        for (int i = 0; i < size; i++) {
            this.f1165.set(0, 0, 0, 0);
            this.f1171.get(i).mo625(this.f1165, view, this, this.f1212);
            int i2 = rect.left;
            Rect rect2 = this.f1165;
            rect.left = i2 + rect2.left;
            rect.top += rect2.top;
            rect.right += rect2.right;
            rect.bottom += rect2.bottom;
        }
        c0207.f1269 = false;
        return rect;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public final void m569() {
        View viewM552;
        this.f1212.m729(1);
        m541(this.f1212);
        this.f1212.f1310 = false;
        m589();
        C2374 c2374 = this.f1162;
        c2374.f7525.clear();
        c2374.f7526.m3365();
        m584();
        m586();
        View focusedChild = (this.f1208 && hasFocus() && this.f1168 != null) ? getFocusedChild() : null;
        AbstractC0224 abstractC0224Mo564 = (focusedChild == null || (viewM552 = m552(focusedChild)) == null) ? null : mo564(viewM552);
        if (abstractC0224Mo564 == null) {
            C0221 c0221 = this.f1212;
            c0221.f1314 = -1L;
            c0221.f1313 = -1;
            c0221.f1315 = -1;
        } else {
            this.f1212.f1314 = this.f1168.f1233 ? abstractC0224Mo564.f1330 : -1L;
            this.f1212.f1313 = this.f1185 ? -1 : abstractC0224Mo564.m748() ? abstractC0224Mo564.f1329 : abstractC0224Mo564.m741();
            C0221 c02212 = this.f1212;
            View focusedChild2 = abstractC0224Mo564.f1326;
            int id = focusedChild2.getId();
            while (!focusedChild2.isFocused() && (focusedChild2 instanceof ViewGroup) && focusedChild2.hasFocus()) {
                focusedChild2 = ((ViewGroup) focusedChild2).getFocusedChild();
                if (focusedChild2.getId() != -1) {
                    id = focusedChild2.getId();
                }
            }
            c02212.f1315 = id;
        }
        C0221 c02213 = this.f1212;
        c02213.f1309 = c02213.f1311 && this.f1216;
        this.f1216 = false;
        this.f1215 = false;
        C0221 c02214 = this.f1212;
        c02214.f1308 = c02214.f1312;
        c02214.f1306 = this.f1168.mo327();
        m546(this.f1221);
        if (this.f1212.f1311) {
            int iM4360 = this.f1161.m4360();
            for (int i = 0; i < iM4360; i++) {
                AbstractC0224 abstractC0224M527 = m527(this.f1161.m4367(i));
                if (!abstractC0224M527.m754() && (!abstractC0224M527.m746() || this.f1168.f1233)) {
                    AbstractC0196 abstractC0196 = this.f1194;
                    AbstractC0196.m614(abstractC0224M527);
                    abstractC0224M527.m743();
                    this.f1162.m4438(abstractC0224M527, abstractC0196.m621(abstractC0224M527));
                    if (this.f1212.f1309 && abstractC0224M527.m751() && !abstractC0224M527.m748() && !abstractC0224M527.m754() && !abstractC0224M527.m746()) {
                        this.f1162.f7526.m3367(m559(abstractC0224M527), abstractC0224M527);
                    }
                }
            }
        }
        if (this.f1212.f1312) {
            int iM4365 = this.f1161.m4365();
            for (int i2 = 0; i2 < iM4365; i2++) {
                AbstractC0224 abstractC0224M5272 = m527(this.f1161.m4370(i2));
                if (!abstractC0224M5272.m754() && abstractC0224M5272.f1329 == -1) {
                    abstractC0224M5272.f1329 = abstractC0224M5272.f1328;
                }
            }
            C0221 c02215 = this.f1212;
            boolean z = c02215.f1307;
            c02215.f1307 = false;
            this.f1169.mo455(this.f1158, c02215);
            this.f1212.f1307 = z;
            for (int i3 = 0; i3 < this.f1161.m4360(); i3++) {
                AbstractC0224 abstractC0224M5273 = m527(this.f1161.m4367(i3));
                if (!abstractC0224M5273.m754()) {
                    C2374.C2375 orDefault = this.f1162.f7525.getOrDefault(abstractC0224M5273, null);
                    if (!((orDefault == null || (orDefault.f7528 & 4) == 0) ? false : true)) {
                        AbstractC0196.m614(abstractC0224M5273);
                        boolean zM740 = abstractC0224M5273.m740(8192);
                        AbstractC0196 abstractC01962 = this.f1194;
                        abstractC0224M5273.m743();
                        AbstractC0196.C0199 c0199M621 = abstractC01962.m621(abstractC0224M5273);
                        if (zM740) {
                            m543(abstractC0224M5273, c0199M621);
                        } else {
                            C2374 c23742 = this.f1162;
                            C2374.C2375 orDefault2 = c23742.f7525.getOrDefault(abstractC0224M5273, null);
                            if (orDefault2 == null) {
                                orDefault2 = C2374.C2375.m4442();
                                c23742.f7525.put(abstractC0224M5273, orDefault2);
                            }
                            orDefault2.f7528 |= 2;
                            orDefault2.f7529 = c0199M621;
                        }
                    }
                }
            }
            m554();
        } else {
            m554();
        }
        m545(true);
        m563(false);
        this.f1212.f1305 = 2;
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public void m570(int i) {
        getScrollingChildHelper().m3733(i);
    }

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public void mo571(int i, int i2) {
        mo533(i, i2, (Interpolator) null);
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final void m572() {
        m589();
        m584();
        this.f1212.m729(6);
        this.f1160.m4347();
        this.f1212.f1306 = this.f1168.mo327();
        C0221 c0221 = this.f1212;
        c0221.f1304 = 0;
        c0221.f1308 = false;
        this.f1169.mo455(this.f1158, c0221);
        C0221 c02212 = this.f1212;
        c02212.f1307 = false;
        this.f1159 = null;
        c02212.f1311 = c02212.f1311 && this.f1194 != null;
        this.f1212.f1305 = 4;
        m545(true);
        m563(false);
    }

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public boolean m573(int i, int i2) {
        return getScrollingChildHelper().m3728(i, i2);
    }

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public void m574() {
        if (this.f1193 != null) {
            return;
        }
        EdgeEffect edgeEffectM613 = this.f1189.m613(this);
        this.f1193 = edgeEffectM613;
        if (this.f1163) {
            edgeEffectM613.setSize((getMeasuredWidth() - getPaddingLeft()) - getPaddingRight(), (getMeasuredHeight() - getPaddingTop()) - getPaddingBottom());
        } else {
            edgeEffectM613.setSize(getMeasuredWidth(), getMeasuredHeight());
        }
    }

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public void m575() {
        if (this.f1190 != null) {
            return;
        }
        EdgeEffect edgeEffectM613 = this.f1189.m613(this);
        this.f1190 = edgeEffectM613;
        if (this.f1163) {
            edgeEffectM613.setSize((getMeasuredHeight() - getPaddingTop()) - getPaddingBottom(), (getMeasuredWidth() - getPaddingLeft()) - getPaddingRight());
        } else {
            edgeEffectM613.setSize(getMeasuredHeight(), getMeasuredWidth());
        }
    }

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public void m576() {
        if (this.f1192 != null) {
            return;
        }
        EdgeEffect edgeEffectM613 = this.f1189.m613(this);
        this.f1192 = edgeEffectM613;
        if (this.f1163) {
            edgeEffectM613.setSize((getMeasuredHeight() - getPaddingTop()) - getPaddingBottom(), (getMeasuredWidth() - getPaddingLeft()) - getPaddingRight());
        } else {
            edgeEffectM613.setSize(getMeasuredHeight(), getMeasuredWidth());
        }
    }

    /* JADX INFO: renamed from: އ, reason: contains not printable characters */
    public void m577() {
        if (this.f1191 != null) {
            return;
        }
        EdgeEffect edgeEffectM613 = this.f1189.m613(this);
        this.f1191 = edgeEffectM613;
        if (this.f1163) {
            edgeEffectM613.setSize((getMeasuredWidth() - getPaddingLeft()) - getPaddingRight(), (getMeasuredHeight() - getPaddingTop()) - getPaddingBottom());
        } else {
            edgeEffectM613.setSize(getMeasuredWidth(), getMeasuredHeight());
        }
    }

    /* JADX INFO: renamed from: ވ, reason: contains not printable characters */
    public String m578() {
        StringBuilder sbM4889 = C2803.m4889(" ");
        sbM4889.append(super.toString());
        sbM4889.append(", adapter:");
        sbM4889.append(this.f1168);
        sbM4889.append(", layout:");
        sbM4889.append(this.f1169);
        sbM4889.append(", context:");
        sbM4889.append(getContext());
        return sbM4889.toString();
    }

    /* JADX INFO: renamed from: މ, reason: contains not printable characters */
    public boolean m579() {
        return !this.f1177 || this.f1185 || this.f1160.m4350();
    }

    /* JADX INFO: renamed from: ފ, reason: contains not printable characters */
    public void m580() {
        this.f1193 = null;
        this.f1191 = null;
        this.f1192 = null;
        this.f1190 = null;
    }

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public void m581() {
        if (this.f1171.size() == 0) {
            return;
        }
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            abstractC0202.mo482("Cannot invalidate item decorations during a scroll or layout");
        }
        m583();
        requestLayout();
    }

    /* JADX INFO: renamed from: ތ, reason: contains not printable characters */
    public boolean m582() {
        return this.f1187 > 0;
    }

    /* JADX INFO: renamed from: ލ, reason: contains not printable characters */
    public void m583() {
        int iM4365 = this.f1161.m4365();
        for (int i = 0; i < iM4365; i++) {
            ((C0207) this.f1161.m4370(i).getLayoutParams()).f1269 = true;
        }
        C0213 c0213 = this.f1158;
        int size = c0213.f1279.size();
        for (int i2 = 0; i2 < size; i2++) {
            C0207 c0207 = (C0207) c0213.f1279.get(i2).f1326.getLayoutParams();
            if (c0207 != null) {
                c0207.f1269 = true;
            }
        }
    }

    /* JADX INFO: renamed from: ގ, reason: contains not printable characters */
    public void m584() {
        this.f1187++;
    }

    /* JADX INFO: renamed from: ޏ, reason: contains not printable characters */
    public void m585() {
        if (this.f1218 || !this.f1174) {
            return;
        }
        C1920.m3745(this, this.f1227);
        this.f1218 = true;
    }

    /* JADX INFO: renamed from: ސ, reason: contains not printable characters */
    public final void m586() {
        boolean z = false;
        if (this.f1185) {
            C2304 c2304 = this.f1160;
            c2304.m4342(c2304.f7301);
            c2304.m4342(c2304.f7302);
            c2304.f7306 = 0;
            if (this.f1186) {
                this.f1169.mo440(this);
            }
        }
        if (this.f1194 != null && this.f1169.mo461()) {
            this.f1160.m4351();
        } else {
            this.f1160.m4347();
        }
        boolean z2 = this.f1215 || this.f1216;
        this.f1212.f1311 = this.f1177 && this.f1194 != null && (this.f1185 || z2 || this.f1169.f1250) && (!this.f1185 || this.f1168.f1233);
        C0221 c0221 = this.f1212;
        if (c0221.f1311 && z2 && !this.f1185) {
            if (this.f1194 != null && this.f1169.mo461()) {
                z = true;
            }
        }
        c0221.f1312 = z;
    }

    /* JADX INFO: renamed from: ޑ, reason: contains not printable characters */
    public void m587() {
        AbstractC0196 abstractC0196 = this.f1194;
        if (abstractC0196 != null) {
            abstractC0196.mo619();
        }
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 != null) {
            abstractC0202.mo656(this.f1158);
            this.f1169.m661(this.f1158);
        }
        this.f1158.m707();
    }

    /* JADX INFO: renamed from: ޒ, reason: contains not printable characters */
    public final void m588() {
        VelocityTracker velocityTracker = this.f1197;
        if (velocityTracker != null) {
            velocityTracker.clear();
        }
        boolean zIsFinished = false;
        m570(0);
        EdgeEffect edgeEffect = this.f1190;
        if (edgeEffect != null) {
            edgeEffect.onRelease();
            zIsFinished = this.f1190.isFinished();
        }
        EdgeEffect edgeEffect2 = this.f1191;
        if (edgeEffect2 != null) {
            edgeEffect2.onRelease();
            zIsFinished |= this.f1191.isFinished();
        }
        EdgeEffect edgeEffect3 = this.f1192;
        if (edgeEffect3 != null) {
            edgeEffect3.onRelease();
            zIsFinished |= this.f1192.isFinished();
        }
        EdgeEffect edgeEffect4 = this.f1193;
        if (edgeEffect4 != null) {
            edgeEffect4.onRelease();
            zIsFinished |= this.f1193.isFinished();
        }
        if (zIsFinished) {
            C1920.m3772(this);
        }
    }

    /* JADX INFO: renamed from: ޓ, reason: contains not printable characters */
    public void m589() {
        int i = this.f1178 + 1;
        this.f1178 = i;
        if (i != 1 || this.f1180) {
            return;
        }
        this.f1179 = false;
    }

    /* JADX INFO: renamed from: ޔ, reason: contains not printable characters */
    public void m590() {
        setScrollState(0);
        m591();
    }

    /* JADX INFO: renamed from: ޕ, reason: contains not printable characters */
    public final void m591() {
        AbstractC0218 abstractC0218;
        this.f1209.m732();
        AbstractC0202 abstractC0202 = this.f1169;
        if (abstractC0202 == null || (abstractC0218 = abstractC0202.f1249) == null) {
            return;
        }
        abstractC0218.m726();
    }
}
