package androidx.media3.common.util;

import defpackage.AbstractC3915;

/* loaded from: classes3.dex */
public final class StuckPlayerException extends IllegalStateException {

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

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

    /* JADX WARN: Illegal instructions before constructor call */
    public StuckPlayerException(int i, int i2) {
        String strM8596;
        if (i == 0) {
            strM8596 = AbstractC3915.m8596(i2, "Player stuck buffering and not loading for ", " ms");
        } else if (i == 1) {
            strM8596 = AbstractC3915.m8596(i2, "Player stuck buffering with no progress for ", " ms");
        } else if (i == 2) {
            strM8596 = AbstractC3915.m8596(i2, "Player stuck playing with no progress for ", " ms");
        } else if (i == 3) {
            strM8596 = AbstractC3915.m8596(i2, "Player stuck playing without ending for ", " ms");
        } else {
            if (i != 4) {
                ᵨᴵᵺ.ˌʾˀ();
                throw null;
            }
            strM8596 = AbstractC3915.m8596(i2, "Player stuck suppressed for ", " ms");
        }
        super(strM8596);
        this.f557 = i;
        this.f556 = i2;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || StuckPlayerException.class != obj.getClass()) {
            return false;
        }
        StuckPlayerException stuckPlayerException = (StuckPlayerException) obj;
        return this.f557 == stuckPlayerException.f557 && this.f556 == stuckPlayerException.f556;
    }

    public final int hashCode() {
        return ((527 + this.f557) * 31) + this.f556;
    }
}
