package androidx.media3.common.util;

import defpackage.AbstractC0793;

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

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final int f556;

    /* JADX INFO: 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 strM2876;
        if (i == 0) {
            strM2876 = AbstractC0793.m2876(i2, "Player stuck buffering and not loading for ", " ms");
        } else if (i == 1) {
            strM2876 = AbstractC0793.m2876(i2, "Player stuck buffering with no progress for ", " ms");
        } else if (i == 2) {
            strM2876 = AbstractC0793.m2876(i2, "Player stuck playing with no progress for ", " ms");
        } else if (i == 3) {
            strM2876 = AbstractC0793.m2876(i2, "Player stuck playing without ending for ", " ms");
        } else {
            if (i != 4) {
                ᵷᵝˎ.ᵱʡˏ();
                throw null;
            }
            strM2876 = AbstractC0793.m2876(i2, "Player stuck suppressed for ", " ms");
        }
        super(strM2876);
        this.f556 = i;
        this.f557 = 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.f556 == stuckPlayerException.f556 && this.f557 == stuckPlayerException.f557;
    }

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