package o;

import android.os.Parcel;
import android.os.Parcelable;
import java.util.Map;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.xO, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2899xO implements Parcelable {

    @Deprecated
    public static final Parcelable.Creator<C2899xO> CREATOR = new C2487t1(12);
    public final String l;
    public final Map m;

    public C2899xO(String str, Map map) {
        this.l = str;
        this.m = map;
    }

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

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C2899xO)) {
            return false;
        }
        C2899xO c2899xO = (C2899xO) obj;
        return F3.c(this.l, c2899xO.l) && F3.c(this.m, c2899xO.m);
    }

    public final int hashCode() {
        return this.m.hashCode() + (this.l.hashCode() * 31);
    }

    public final String toString() {
        return "Key(key=" + this.l + ", extras=" + this.m + ')';
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(this.l);
        Map map = this.m;
        parcel.writeInt(map.size());
        for (Map.Entry entry : map.entrySet()) {
            String str = (String) entry.getKey();
            String str2 = (String) entry.getValue();
            parcel.writeString(str);
            parcel.writeString(str2);
        }
    }
}
