package p038m0;

import android.os.Parcel;
import android.os.Parcelable;

/* renamed from: m0.a */
/* loaded from: classes.dex */
public abstract class AbstractC1459a implements Parcelable {

    /* renamed from: d */
    public final Parcelable f3206d;

    /* renamed from: e */
    public static final AbstractC1459a f3205e = new C1460a();
    public static final Parcelable.Creator<AbstractC1459a> CREATOR = new C1461b();

    /* renamed from: m0.a$a */
    /* loaded from: classes.dex */
    public static class C1460a extends AbstractC1459a {
        public C1460a() {
            super((C1460a) null);
        }
    }

    /* renamed from: m0.a$b */
    /* loaded from: classes.dex */
    public static class C1461b implements Parcelable.ClassLoaderCreator<AbstractC1459a> {
        @Override // android.os.Parcelable.Creator
        /* renamed from: a */
        public AbstractC1459a createFromParcel(Parcel parcel) {
            return createFromParcel(parcel, null);
        }

        @Override // android.os.Parcelable.ClassLoaderCreator
        /* renamed from: b */
        public AbstractC1459a createFromParcel(Parcel parcel, ClassLoader classLoader) {
            if (parcel.readParcelable(classLoader) == null) {
                return AbstractC1459a.f3205e;
            }
            throw new IllegalStateException("superState must be null");
        }

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

    public AbstractC1459a() {
        this.f3206d = null;
    }

    public AbstractC1459a(Parcel parcel, ClassLoader classLoader) {
        Parcelable readParcelable = parcel.readParcelable(classLoader);
        this.f3206d = readParcelable == null ? f3205e : readParcelable;
    }

    public AbstractC1459a(Parcelable parcelable) {
        if (parcelable == null) {
            throw new IllegalArgumentException("superState must not be null");
        }
        this.f3206d = parcelable == f3205e ? null : parcelable;
    }

    public /* synthetic */ AbstractC1459a(C1460a c1460a) {
        this();
    }

    /* renamed from: a */
    public final Parcelable m1308a() {
        return this.f3206d;
    }

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

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeParcelable(this.f3206d, i);
    }
}