package d5;

import android.media.AudioAttributes;
import java.util.Objects;
import r4.AbstractC0983h;

/* JADX INFO: loaded from: classes.dex */
public final class a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final boolean f6146a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final boolean f6147b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f6148c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final int f6149d;

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f6151f;

    public a(boolean z5, boolean z6, int i, int i5, int i6, int i7) {
        this.f6146a = z5;
        this.f6147b = z6;
        this.f6148c = i;
        this.f6149d = i5;
        this.f6150e = i6;
        this.f6151f = i7;
    }

    public static a b(a aVar) {
        boolean z5 = aVar.f6146a;
        boolean z6 = aVar.f6147b;
        int i = aVar.f6148c;
        int i5 = aVar.f6149d;
        int i6 = aVar.f6150e;
        int i7 = aVar.f6151f;
        aVar.getClass();
        return new a(z5, z6, i, i5, i6, i7);
    }

    public final AudioAttributes a() {
        AudioAttributes audioAttributesBuild = new AudioAttributes.Builder().setUsage(this.f6149d).setContentType(this.f6148c).build();
        AbstractC0983h.d("build(...)", audioAttributesBuild);
        return audioAttributesBuild;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof a)) {
            return false;
        }
        a aVar = (a) obj;
        return this.f6146a == aVar.f6146a && this.f6147b == aVar.f6147b && this.f6148c == aVar.f6148c && this.f6149d == aVar.f6149d && this.f6150e == aVar.f6150e && this.f6151f == aVar.f6151f;
    }

    public final int hashCode() {
        return Objects.hash(Boolean.valueOf(this.f6146a), Boolean.valueOf(this.f6147b), Integer.valueOf(this.f6148c), Integer.valueOf(this.f6149d), Integer.valueOf(this.f6150e), Integer.valueOf(this.f6151f));
    }

    public final String toString() {
        return "AudioContextAndroid(isSpeakerphoneOn=" + this.f6146a + ", stayAwake=" + this.f6147b + ", contentType=" + this.f6148c + ", usageType=" + this.f6149d + ", audioFocus=" + this.f6150e + ", audioMode=" + this.f6151f + ')';
    }
}
