package androidx.fragment.app;

import android.os.Parcel;
import android.os.Parcelable;
/* compiled from: FragmentManager.java */
/* loaded from: classes.dex */
public final class FragmentManagerState implements Parcelable {
    public static final Parcelable.Creator<FragmentManagerState> CREATOR = new KQgRr5e_0();
    public int KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public int[] f2338KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public BackStackState[] f2339KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public FragmentState[] f2340KQgRr5e_0;
    public int QxJ9d_1;

    /* compiled from: FragmentManager.java */
    /* loaded from: classes.dex */
    public static class KQgRr5e_0 implements Parcelable.Creator<FragmentManagerState> {
        @Override // android.os.Parcelable.Creator
        /* renamed from: KQgRr5e_0 */
        public FragmentManagerState createFromParcel(Parcel parcel) {
            return new FragmentManagerState(parcel);
        }

        @Override // android.os.Parcelable.Creator
        /* renamed from: KQgRr5e_0 */
        public FragmentManagerState[] newArray(int i) {
            return new FragmentManagerState[i];
        }
    }

    public FragmentManagerState() {
        this.KQgRr5e_0 = -1;
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeTypedArray(this.f2340KQgRr5e_0, i);
        parcel.writeIntArray(this.f2338KQgRr5e_0);
        parcel.writeTypedArray(this.f2339KQgRr5e_0, i);
        parcel.writeInt(this.KQgRr5e_0);
        parcel.writeInt(this.QxJ9d_1);
    }

    public FragmentManagerState(Parcel parcel) {
        this.KQgRr5e_0 = -1;
        this.f2340KQgRr5e_0 = (FragmentState[]) parcel.createTypedArray(FragmentState.CREATOR);
        this.f2338KQgRr5e_0 = parcel.createIntArray();
        this.f2339KQgRr5e_0 = (BackStackState[]) parcel.createTypedArray(BackStackState.CREATOR);
        this.KQgRr5e_0 = parcel.readInt();
        this.QxJ9d_1 = parcel.readInt();
    }
}
