package defpackage;

import android.os.Build;
import j$.util.Objects;
import java.util.Set;

/* JADX INFO: renamed from: ᵬʢ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C4025 {

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public static final C4025 f15480;

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final int f15481;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final AbstractC5291 f15482;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final int f15483;

    static {
        C4025 c4025;
        if (Build.VERSION.SDK_INT >= 33) {
            C0342 c0342 = new C0342(4);
            for (int i = 1; i <= 10; i++) {
                c0342.m7406(Integer.valueOf(AbstractC0956.m3235(i)));
            }
            c4025 = new C4025(2, c0342.mo1609());
        } else {
            c4025 = new C4025(2, 10);
        }
        f15480 = c4025;
    }

    public C4025(int i, int i2) {
        this.f15483 = i;
        this.f15481 = i2;
        this.f15482 = null;
    }

    public C4025(int i, Set set) {
        this.f15483 = i;
        AbstractC5291 abstractC5291M10886 = AbstractC5291.m10886(set);
        this.f15482 = abstractC5291M10886;
        AbstractC0228 it = abstractC5291M10886.iterator();
        int iMax = 0;
        while (it.hasNext()) {
            iMax = Math.max(iMax, Integer.bitCount(((Integer) it.next()).intValue()));
        }
        this.f15481 = iMax;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C4025)) {
            return false;
        }
        C4025 c4025 = (C4025) obj;
        return this.f15483 == c4025.f15483 && this.f15481 == c4025.f15481 && Objects.equals(this.f15482, c4025.f15482);
    }

    public final int hashCode() {
        int i = ((this.f15483 * 31) + this.f15481) * 31;
        AbstractC5291 abstractC5291 = this.f15482;
        return i + (abstractC5291 == null ? 0 : abstractC5291.hashCode());
    }

    public final String toString() {
        return "AudioProfile[format=" + this.f15483 + ", maxChannelCount=" + this.f15481 + ", channelMasks=" + this.f15482 + "]";
    }
}
