package X6FRs_4.WwEq_13;

import androidx.media.AudioAttributesCompat;
import java.util.Arrays;
/* compiled from: AudioAttributesImplBase.java */
/* loaded from: classes.dex */
public class PGPF6hQ_2 implements KQgRr5e_0 {
    public int KQgRr5e_0 = 0;
    public int QxJ9d_1 = 0;
    public int PGPF6hQ_2 = 0;

    /* renamed from: Mqv2r_3  reason: collision with root package name */
    public int f3247Mqv2r_3 = -1;

    public int KQgRr5e_0() {
        return this.QxJ9d_1;
    }

    public int Mqv2r_3() {
        return this.KQgRr5e_0;
    }

    public int PGPF6hQ_2() {
        int i = this.f3247Mqv2r_3;
        return i != -1 ? i : AudioAttributesCompat.KQgRr5e_0(false, this.PGPF6hQ_2, this.KQgRr5e_0);
    }

    public int QxJ9d_1() {
        int i = this.PGPF6hQ_2;
        int PGPF6hQ_2 = PGPF6hQ_2();
        if (PGPF6hQ_2 == 6) {
            i |= 4;
        } else if (PGPF6hQ_2 == 7) {
            i |= 1;
        }
        return i & 273;
    }

    public boolean equals(Object obj) {
        if (obj instanceof PGPF6hQ_2) {
            PGPF6hQ_2 pGPF6hQ_2 = (PGPF6hQ_2) obj;
            return this.QxJ9d_1 == pGPF6hQ_2.KQgRr5e_0() && this.PGPF6hQ_2 == pGPF6hQ_2.QxJ9d_1() && this.KQgRr5e_0 == pGPF6hQ_2.Mqv2r_3() && this.f3247Mqv2r_3 == pGPF6hQ_2.f3247Mqv2r_3;
        }
        return false;
    }

    public int hashCode() {
        return Arrays.hashCode(new Object[]{Integer.valueOf(this.QxJ9d_1), Integer.valueOf(this.PGPF6hQ_2), Integer.valueOf(this.KQgRr5e_0), Integer.valueOf(this.f3247Mqv2r_3)});
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("AudioAttributesCompat:");
        if (this.f3247Mqv2r_3 != -1) {
            sb.append(" stream=");
            sb.append(this.f3247Mqv2r_3);
            sb.append(" derived");
        }
        sb.append(" usage=");
        sb.append(AudioAttributesCompat.KQgRr5e_0(this.KQgRr5e_0));
        sb.append(" content=");
        sb.append(this.QxJ9d_1);
        sb.append(" flags=0x");
        sb.append(Integer.toHexString(this.PGPF6hQ_2).toUpperCase());
        return sb.toString();
    }
}
