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 f2969b;

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

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

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

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

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

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

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

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

    f() {
    }

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

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

    public String toString() {
        return "LayoutState{mAvailable=" + this.f2969b + ", mCurrentPosition=" + this.f2970c + ", mItemDirection=" + this.f2971d + ", mLayoutDirection=" + this.f2972e + ", mStartLine=" + this.f2973f + ", mEndLine=" + this.f2974g + '}';
    }
}
