package androidx.recyclerview.widget;

import android.view.View;
import androidx.recyclerview.widget.RecyclerView;

/* JADX INFO: compiled from: LayoutState.java */
/* JADX INFO: loaded from: classes.dex */
class f {

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

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

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

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

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    boolean f1160h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    boolean f1161i;
    boolean a = true;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    int f1158f = 0;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    int f1159g = 0;

    f() {
    }

    boolean a(RecyclerView.a0 a0Var) {
        int i2 = this.f1155c;
        return i2 >= 0 && i2 < a0Var.b();
    }

    View b(RecyclerView.v vVar) {
        View viewO = vVar.o(this.f1155c);
        this.f1155c += this.f1156d;
        return viewO;
    }

    public String toString() {
        return "LayoutState{mAvailable=" + this.f1154b + ", mCurrentPosition=" + this.f1155c + ", mItemDirection=" + this.f1156d + ", mLayoutDirection=" + this.f1157e + ", mStartLine=" + this.f1158f + ", mEndLine=" + this.f1159g + '}';
    }
}
