package androidx.media;

import java.util.Arrays;

public class AudioAttributesImplBase implements AudioAttributesImpl {

    /* renamed from: ʬ  reason: contains not printable characters */
    public int f1374 = 0;

    /* renamed from: ῲ  reason: contains not printable characters */
    public int f1375 = 0;

    /* renamed from: K  reason: contains not printable characters */
    public int f1376 = 0;

    /* renamed from: 㸾  reason: contains not printable characters */
    public int f1377 = -1;

    public boolean equals(Object obj) {
        if (!(obj instanceof AudioAttributesImplBase)) {
            return false;
        }
        AudioAttributesImplBase audioAttributesImplBase = (AudioAttributesImplBase) obj;
        if (this.f1375 == audioAttributesImplBase.m720() && this.f1374 == audioAttributesImplBase.m719() && this.f1376 == audioAttributesImplBase.m721() && this.f1377 == audioAttributesImplBase.f1377) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return Arrays.hashCode(new Object[]{Integer.valueOf(this.f1375), Integer.valueOf(this.f1374), Integer.valueOf(this.f1376), Integer.valueOf(this.f1377)});
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("AudioAttributesCompat:");
        if (this.f1377 != -1) {
            sb.append(" stream=");
            sb.append(this.f1377);
            sb.append(" derived");
        }
        sb.append(" usage=");
        sb.append(AudioAttributesCompat.m717(this.f1376));
        sb.append(" content=");
        sb.append(this.f1375);
        sb.append(" flags=0x");
        sb.append(Integer.toHexString(this.f1374).toUpperCase());
        return sb.toString();
    }

    /* renamed from: ʬ  reason: contains not printable characters */
    public int m718() {
        int i = this.f1377;
        if (i != -1) {
            return i;
        }
        return AudioAttributesCompat.m716(false, this.f1374, this.f1376);
    }

    /* renamed from: ῲ  reason: contains not printable characters */
    public int m719() {
        int i = this.f1374;
        int r1 = m718();
        if (r1 == 6) {
            i |= 4;
        } else if (r1 == 7) {
            i |= 1;
        }
        return i & 273;
    }

    /* renamed from: K  reason: contains not printable characters */
    public int m720() {
        return this.f1375;
    }

    /* renamed from: 㸾  reason: contains not printable characters */
    public int m721() {
        return this.f1376;
    }
}
