package X6FRs_4.YghfZG_14.PGPF6hQ_2;

import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
/* compiled from: SimpleItemAnimator.java */
/* loaded from: classes.dex */
public abstract class KNBe_11 extends RecyclerView.KNBe_11 {
    public boolean KQgRr5e_0 = true;

    public void EuDEkJe_12(RecyclerView.WGk6X_27 wGk6X_27) {
    }

    public final void FSaI4_7(RecyclerView.WGk6X_27 wGk6X_27) {
        WwEq_13(wGk6X_27);
        mo911KQgRr5e_0(wGk6X_27);
    }

    public final void IFxWkV_5(RecyclerView.WGk6X_27 wGk6X_27) {
        KNBe_11(wGk6X_27);
        mo911KQgRr5e_0(wGk6X_27);
    }

    public final void IMuAHx_6(RecyclerView.WGk6X_27 wGk6X_27) {
        EuDEkJe_12(wGk6X_27);
    }

    public void KNBe_11(RecyclerView.WGk6X_27 wGk6X_27) {
    }

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    /* renamed from: KQgRr5e_0 */
    public boolean mo911KQgRr5e_0(RecyclerView.WGk6X_27 wGk6X_27) {
        return !this.KQgRr5e_0 || wGk6X_27.isInvalid();
    }

    public abstract boolean KQgRr5e_0(RecyclerView.WGk6X_27 wGk6X_27, int i, int i2, int i3, int i4);

    public abstract boolean KQgRr5e_0(RecyclerView.WGk6X_27 wGk6X_27, RecyclerView.WGk6X_27 wGk6X_272, int i, int i2, int i3, int i4);

    public final void Mqv2r_3(RecyclerView.WGk6X_27 wGk6X_27) {
        XnFJ5_9(wGk6X_27);
        mo911KQgRr5e_0(wGk6X_27);
    }

    public void Mqv2r_3(RecyclerView.WGk6X_27 wGk6X_27, boolean z) {
    }

    public void Nm6q_10(RecyclerView.WGk6X_27 wGk6X_27) {
    }

    public void PGPF6hQ_2(RecyclerView.WGk6X_27 wGk6X_27, boolean z) {
    }

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    public abstract boolean PGPF6hQ_2(RecyclerView.WGk6X_27 wGk6X_27);

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    public boolean PGPF6hQ_2(RecyclerView.WGk6X_27 wGk6X_27, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_2, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_22) {
        if (pGPF6hQ_2.KQgRr5e_0 == pGPF6hQ_22.KQgRr5e_0 && pGPF6hQ_2.QxJ9d_1 == pGPF6hQ_22.QxJ9d_1) {
            IFxWkV_5(wGk6X_27);
            return false;
        }
        return KQgRr5e_0(wGk6X_27, pGPF6hQ_2.KQgRr5e_0, pGPF6hQ_2.QxJ9d_1, pGPF6hQ_22.KQgRr5e_0, pGPF6hQ_22.QxJ9d_1);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    public abstract boolean QxJ9d_1(RecyclerView.WGk6X_27 wGk6X_27);

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    public boolean QxJ9d_1(RecyclerView.WGk6X_27 wGk6X_27, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_2, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_22) {
        int i = pGPF6hQ_2.KQgRr5e_0;
        int i2 = pGPF6hQ_2.QxJ9d_1;
        View view = wGk6X_27.itemView;
        int left = pGPF6hQ_22 == null ? view.getLeft() : pGPF6hQ_22.KQgRr5e_0;
        int top = pGPF6hQ_22 == null ? view.getTop() : pGPF6hQ_22.QxJ9d_1;
        if (!wGk6X_27.isRemoved() && (i != left || i2 != top)) {
            view.layout(left, top, view.getWidth() + left, view.getHeight() + top);
            return KQgRr5e_0(wGk6X_27, i, i2, left, top);
        }
        return PGPF6hQ_2(wGk6X_27);
    }

    public void WwEq_13(RecyclerView.WGk6X_27 wGk6X_27) {
    }

    public final void X6FRs_4(RecyclerView.WGk6X_27 wGk6X_27) {
        Nm6q_10(wGk6X_27);
    }

    public final void Xgtqvk_8(RecyclerView.WGk6X_27 wGk6X_27) {
        YghfZG_14(wGk6X_27);
    }

    public void XnFJ5_9(RecyclerView.WGk6X_27 wGk6X_27) {
    }

    public void YghfZG_14(RecyclerView.WGk6X_27 wGk6X_27) {
    }

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    public boolean KQgRr5e_0(RecyclerView.WGk6X_27 wGk6X_27, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_2, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_22) {
        if (pGPF6hQ_2 != null && (pGPF6hQ_2.KQgRr5e_0 != pGPF6hQ_22.KQgRr5e_0 || pGPF6hQ_2.QxJ9d_1 != pGPF6hQ_22.QxJ9d_1)) {
            return KQgRr5e_0(wGk6X_27, pGPF6hQ_2.KQgRr5e_0, pGPF6hQ_2.QxJ9d_1, pGPF6hQ_22.KQgRr5e_0, pGPF6hQ_22.QxJ9d_1);
        }
        return QxJ9d_1(wGk6X_27);
    }

    @Override // androidx.recyclerview.widget.RecyclerView.KNBe_11
    public boolean KQgRr5e_0(RecyclerView.WGk6X_27 wGk6X_27, RecyclerView.WGk6X_27 wGk6X_272, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_2, RecyclerView.KNBe_11.PGPF6hQ_2 pGPF6hQ_22) {
        int i;
        int i2;
        int i3 = pGPF6hQ_2.KQgRr5e_0;
        int i4 = pGPF6hQ_2.QxJ9d_1;
        if (wGk6X_272.shouldIgnore()) {
            int i5 = pGPF6hQ_2.KQgRr5e_0;
            i2 = pGPF6hQ_2.QxJ9d_1;
            i = i5;
        } else {
            i = pGPF6hQ_22.KQgRr5e_0;
            i2 = pGPF6hQ_22.QxJ9d_1;
        }
        return KQgRr5e_0(wGk6X_27, wGk6X_272, i3, i4, i, i2);
    }

    public final void QxJ9d_1(RecyclerView.WGk6X_27 wGk6X_27, boolean z) {
        Mqv2r_3(wGk6X_27, z);
    }

    public final void KQgRr5e_0(RecyclerView.WGk6X_27 wGk6X_27, boolean z) {
        PGPF6hQ_2(wGk6X_27, z);
        mo911KQgRr5e_0(wGk6X_27);
    }
}
