package d1;

import com.ifpdos.player.configure.Codec;
import java.util.Locale;
import kotlin.jvm.internal.l;

/* JADX INFO: renamed from: d1.a, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0444a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private final int f3766a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private final String f3767b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final String f3768c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private final String f3769d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private final int f3770e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private final long f3771f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private final String f3772g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    private final int f3773h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    private final int f3774i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    private final String f3775j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    private final String f3776k;

    public C0444a(int i2, String str, String codecName, String str2, int i3, long j2, String str3, int i4, int i5, String str4, String str5) {
        l.e(codecName, "codecName");
        this.f3766a = i2;
        this.f3767b = str;
        this.f3768c = codecName;
        this.f3769d = str2;
        this.f3770e = i3;
        this.f3771f = j2;
        this.f3772g = str3;
        this.f3773h = i4;
        this.f3774i = i5;
        this.f3775j = str4;
        this.f3776k = str5;
    }

    public final String a() {
        return this.f3776k;
    }

    public final String b() {
        String lowerCase;
        String str = this.f3776k;
        if (str != null) {
            lowerCase = str.toLowerCase(Locale.ROOT);
            l.d(lowerCase, "toLowerCase(...)");
        } else {
            lowerCase = null;
        }
        if (lowerCase == null) {
            return null;
        }
        int iHashCode = lowerCase.hashCode();
        if (iHashCode == -1222823053) {
            if (lowerCase.equals("he-aac")) {
                return Codec.INSTANCE.getCODEC_AAC_HE_V1();
            }
            return null;
        }
        if (iHashCode == 100509) {
            if (lowerCase.equals("eld")) {
                return Codec.INSTANCE.getCODEC_AAC_LD();
            }
            return null;
        }
        if (iHashCode == 1688088879) {
            if (lowerCase.equals("he-aacv2")) {
                return Codec.INSTANCE.getCODEC_AAC_HE_V2();
            }
            return null;
        }
        if (iHashCode == 3447) {
            if (lowerCase.equals("lc")) {
                return Codec.INSTANCE.getCODEC_AAC_LC();
            }
            return null;
        }
        if (iHashCode == 3448 && lowerCase.equals("ld")) {
            return Codec.INSTANCE.getCODEC_AAC_LD();
        }
        return null;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0444a)) {
            return false;
        }
        C0444a c0444a = (C0444a) obj;
        return this.f3766a == c0444a.f3766a && l.a(this.f3767b, c0444a.f3767b) && l.a(this.f3768c, c0444a.f3768c) && l.a(this.f3769d, c0444a.f3769d) && this.f3770e == c0444a.f3770e && this.f3771f == c0444a.f3771f && l.a(this.f3772g, c0444a.f3772g) && this.f3773h == c0444a.f3773h && this.f3774i == c0444a.f3774i && l.a(this.f3775j, c0444a.f3775j) && l.a(this.f3776k, c0444a.f3776k);
    }

    public int hashCode() {
        int iHashCode = Integer.hashCode(this.f3766a) * 31;
        String str = this.f3767b;
        int iHashCode2 = (((iHashCode + (str == null ? 0 : str.hashCode())) * 31) + this.f3768c.hashCode()) * 31;
        String str2 = this.f3769d;
        int iHashCode3 = (((((iHashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31) + Integer.hashCode(this.f3770e)) * 31) + Long.hashCode(this.f3771f)) * 31;
        String str3 = this.f3772g;
        int iHashCode4 = (((((iHashCode3 + (str3 == null ? 0 : str3.hashCode())) * 31) + Integer.hashCode(this.f3773h)) * 31) + Integer.hashCode(this.f3774i)) * 31;
        String str4 = this.f3775j;
        int iHashCode5 = (iHashCode4 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.f3776k;
        return iHashCode5 + (str5 != null ? str5.hashCode() : 0);
    }

    public String toString() {
        return "AudioStream(index=" + this.f3766a + ", title=" + this.f3767b + ", codecName=" + this.f3768c + ", language=" + this.f3769d + ", disposition=" + this.f3770e + ", bitRate=" + this.f3771f + ", sampleFormat=" + this.f3772g + ", sampleRate=" + this.f3773h + ", channels=" + this.f3774i + ", channelLayout=" + this.f3775j + ", profile=" + this.f3776k + ")";
    }
}
