package o; import android.content.Context; import android.graphics.Bitmap; import com.bumptech.glide.Glide; import java.security.MessageDigest; /* loaded from: classes.dex */ public final class YTE implements wfh { private final wfh a; public YTE(wfh wfhVar) { if (wfhVar == null) { throw new NullPointerException("Argument must not be null"); } this.a = wfhVar; } @Override // o.wfh public final Ezi b(Context context, Ezi ezi, int i, int i2) { RiR e = ezi.e(); Ezi eQc = new EQc(e.a.c.e, Glide.a(context).a); Ezi b = this.a.b(context, eQc, i, i2); if (!eQc.equals(b)) { eQc.b(); } Bitmap e2 = b.e(); e.a.c.Fs_(this.a, e2); return ezi; } @Override // o.InterfaceC2545agd public final boolean equals(Object obj) { if (obj instanceof YTE) { return this.a.equals(((YTE) obj).a); } return false; } @Override // o.InterfaceC2545agd public final int hashCode() { return this.a.hashCode(); } @Override // o.InterfaceC2545agd public final void a(MessageDigest messageDigest) { this.a.a(messageDigest); } }