package o;

import android.graphics.ColorFilter;
import android.graphics.PorterDuffColorFilter;
import android.os.Build;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Rd, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0444Rd {
    public final ColorFilter a;
    public final long b;
    public final int c;

    public C0444Rd(int i, long j) {
        ColorFilter porterDuffColorFilter;
        if (Build.VERSION.SDK_INT >= 29) {
            S2.l();
            porterDuffColorFilter = S2.h(AbstractC0752ap.g0(j), AbstractC1692kh0.O(i));
        } else {
            porterDuffColorFilter = new PorterDuffColorFilter(AbstractC0752ap.g0(j), AbstractC1692kh0.R(i));
        }
        this.a = porterDuffColorFilter;
        this.b = j;
        this.c = i;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof C0444Rd)) {
            return false;
        }
        C0444Rd c0444Rd = (C0444Rd) obj;
        return C0190Hi.c(this.b, c0444Rd.b) && this.c == c0444Rd.c;
    }

    public final int hashCode() {
        int i = C0190Hi.h;
        return Integer.hashCode(this.c) + (Long.hashCode(this.b) * 31);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("BlendModeColorFilter(color=");
        AbstractC0126Ew.q(this.b, sb, ", blendMode=");
        sb.append((Object) IJ.J(this.c));
        sb.append(')');
        return sb.toString();
    }
}
