package com.google.android.gms.common.api;

import android.app.PendingIntent;
import android.os.Parcel;
import android.os.Parcelable;
import com.google.android.gms.common.internal.ReflectedParcelable;
import defpackage.AbstractC4486;
import defpackage.AbstractC4814;
import defpackage.C0548;
import defpackage.C1339;
import java.util.Arrays;

/* loaded from: classes3.dex */
public final class Status extends AbstractC4814 implements ReflectedParcelable {
    public static final Parcelable.Creator<Status> CREATOR = new ᵨᵲᵜ(20);

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final String f1019;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final int f1020;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public final C0548 f1021;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final PendingIntent f1022;

    public Status(int i, String str, PendingIntent pendingIntent, C0548 c0548) {
        this.f1020 = i;
        this.f1019 = str;
        this.f1022 = pendingIntent;
        this.f1021 = c0548;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof Status)) {
            return false;
        }
        Status status = (Status) obj;
        return this.f1020 == status.f1020 && ˉᵜˆ.ᵶᵷᵕ(this.f1019, status.f1019) && ˉᵜˆ.ᵶᵷᵕ(this.f1022, status.f1022) && ˉᵜˆ.ᵶᵷᵕ(this.f1021, status.f1021);
    }

    public final int hashCode() {
        return Arrays.hashCode(new Object[]{Integer.valueOf(this.f1020), this.f1019, this.f1022, this.f1021});
    }

    public final String toString() {
        ᵶˉᵹʣ r0 = new ᵶˉᵹʣ(this);
        String strM9556 = this.f1019;
        if (strM9556 == null) {
            int i = this.f1020;
            switch (i) {
                case -1:
                    strM9556 = "SUCCESS_CACHE";
                    break;
                case 0:
                    strM9556 = "SUCCESS";
                    break;
                case 1:
                case 9:
                case 11:
                case 12:
                default:
                    strM9556 = AbstractC4486.m9556(new StringBuilder(String.valueOf(i).length() + 21), "unknown status code: ", i);
                    break;
                case 2:
                    strM9556 = "SERVICE_VERSION_UPDATE_REQUIRED";
                    break;
                case 3:
                    strM9556 = "SERVICE_DISABLED";
                    break;
                case 4:
                    strM9556 = "SIGN_IN_REQUIRED";
                    break;
                case 5:
                    strM9556 = "INVALID_ACCOUNT";
                    break;
                case C1339.STRING_SET_FIELD_NUMBER /* 6 */:
                    strM9556 = "RESOLUTION_REQUIRED";
                    break;
                case C1339.DOUBLE_FIELD_NUMBER /* 7 */:
                    strM9556 = "NETWORK_ERROR";
                    break;
                case C1339.BYTES_FIELD_NUMBER /* 8 */:
                    strM9556 = "INTERNAL_ERROR";
                    break;
                case 10:
                    strM9556 = "DEVELOPER_ERROR";
                    break;
                case 13:
                    strM9556 = "ERROR";
                    break;
                case 14:
                    strM9556 = "INTERRUPTED";
                    break;
                case 15:
                    strM9556 = "TIMEOUT";
                    break;
                case 16:
                    strM9556 = "CANCELED";
                    break;
                case 17:
                    strM9556 = "API_NOT_CONNECTED";
                    break;
                case 18:
                    strM9556 = "DEAD_CLIENT";
                    break;
                case 19:
                    strM9556 = "REMOTE_EXCEPTION";
                    break;
                case 20:
                    strM9556 = "CONNECTION_SUSPENDED_DURING_CALL";
                    break;
                case 21:
                    strM9556 = "RECONNECTION_TIMED_OUT_DURING_UPDATE";
                    break;
                case 22:
                    strM9556 = "RECONNECTION_TIMED_OUT";
                    break;
            }
        }
        r0.ˎˏʜʾ(strM9556, "statusCode");
        r0.ˎˏʜʾ(this.f1022, "resolution");
        return r0.toString();
    }

    @Override // android.os.Parcelable
    public final void writeToParcel(Parcel parcel, int i) {
        int i2 = ˊˉʤﹳ.ᵰʖʢ(parcel, 20293);
        ˊˉʤﹳ.ʿᵘˆ(parcel, 1, 4);
        parcel.writeInt(this.f1020);
        ˊˉʤﹳ.ᵥʩᵩˑ(parcel, 2, this.f1019);
        ˊˉʤﹳ.ᵣᵟᵔ(parcel, 3, this.f1022, i);
        ˊˉʤﹳ.ᵣᵟᵔ(parcel, 4, this.f1021, i);
        ˊˉʤﹳ.ᵎʾ(parcel, i2);
    }
}
