package androidx.recyclerview.widget;

/* JADX INFO: loaded from: classes.dex */
public final class h0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public int f13087a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public int f13088b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public int f13089c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public int f13090d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public int f13091e;

    public final boolean a() {
        int i6 = this.f13087a;
        int i7 = 2;
        if ((i6 & 7) != 0) {
            int i8 = this.f13090d;
            int i9 = this.f13088b;
            if (((i8 > i9 ? 1 : i8 == i9 ? 2 : 4) & i6) == 0) {
                return false;
            }
        }
        if ((i6 & 112) != 0) {
            int i10 = this.f13090d;
            int i11 = this.f13089c;
            if ((((i10 > i11 ? 1 : i10 == i11 ? 2 : 4) << 4) & i6) == 0) {
                return false;
            }
        }
        if ((i6 & 1792) != 0) {
            int i12 = this.f13091e;
            int i13 = this.f13088b;
            if ((((i12 > i13 ? 1 : i12 == i13 ? 2 : 4) << 8) & i6) == 0) {
                return false;
            }
        }
        if ((i6 & 28672) != 0) {
            int i14 = this.f13091e;
            int i15 = this.f13089c;
            if (i14 > i15) {
                i7 = 1;
            } else if (i14 != i15) {
                i7 = 4;
            }
            if ((i6 & (i7 << 12)) == 0) {
                return false;
            }
        }
        return true;
    }
}
