package ඓ.ῲ.K.ᕣ.ᕣ.ʬ;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import java.security.MessageDigest;
import ඓ.ῲ.K.ComponentCallbacks2C1161;
import ඓ.ῲ.K.ᕣ.AbstractC1030;
import ඓ.ῲ.K.ᕣ.ᨨ.AbstractC1027;
import ඓ.ῲ.K.ᕣ.ᨨ.ゎ.AbstractC0976;

/* renamed from: ඓ.ῲ.K.ᕣ.ᕣ.ʬ.䁗  reason: contains not printable characters */
/* compiled from: DrawableTransformation */
public class C0894 implements AbstractC1030<Drawable> {

    /* renamed from: ʬ  reason: contains not printable characters */
    public final boolean f4149;

    /* renamed from: ῲ  reason: contains not printable characters */
    public final AbstractC1030<Bitmap> f4150;

    public C0894(AbstractC1030<Bitmap> r1, boolean z) {
        this.f4150 = r1;
        this.f4149 = z;
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1029
    public boolean equals(Object obj) {
        if (obj instanceof C0894) {
            return this.f4150.equals(((C0894) obj).f4150);
        }
        return false;
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1029
    public int hashCode() {
        return this.f4150.hashCode();
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1030
    /* renamed from: K  reason: contains not printable characters */
    public AbstractC1027<Drawable> m2572(Context context, AbstractC1027<Drawable> r4, int i, int i2) {
        AbstractC0976 r0 = ComponentCallbacks2C1161.m3105(context).f4670;
        Drawable drawable = r4.get();
        AbstractC1027<Bitmap> r02 = C0881.m2549(r0, drawable, i, i2);
        if (r02 != null) {
            AbstractC1027<Bitmap> r5 = this.f4150.m2846(context, r02, i, i2);
            if (!r5.equals(r02)) {
                return C0858.m2484(context.getResources(), r5);
            }
            r5.m2841();
            return r4;
        } else if (!this.f4149) {
            return r4;
        } else {
            throw new IllegalArgumentException("Unable to convert " + drawable + " to a Bitmap");
        }
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1029
    /* renamed from: K  reason: contains not printable characters */
    public void m2573(MessageDigest messageDigest) {
        this.f4150.m2845(messageDigest);
    }
}
