package com.bumptech.glide.load.engine;

import java.security.MessageDigest;
import java.util.Map;

/* JADX INFO: loaded from: classes.dex */
public final class w implements a5.h {

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

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

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

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

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

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final a5.h f5798g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final Map f5799h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final a5.l f5800i;

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public int f5801j;

    public w(Object obj, a5.h hVar, int i10, int i11, t5.d dVar, Class cls, Class cls2, a5.l lVar) {
        this.f5793b = t5.n.checkNotNull(obj);
        this.f5798g = (a5.h) t5.n.checkNotNull(hVar, "Signature must not be null");
        this.f5794c = i10;
        this.f5795d = i11;
        this.f5799h = (Map) t5.n.checkNotNull(dVar);
        this.f5796e = (Class) t5.n.checkNotNull(cls, "Resource class must not be null");
        this.f5797f = (Class) t5.n.checkNotNull(cls2, "Transcode class must not be null");
        this.f5800i = (a5.l) t5.n.checkNotNull(lVar);
    }

    @Override // a5.h
    public final boolean equals(Object obj) {
        if (!(obj instanceof w)) {
            return false;
        }
        w wVar = (w) obj;
        return this.f5793b.equals(wVar.f5793b) && this.f5798g.equals(wVar.f5798g) && this.f5795d == wVar.f5795d && this.f5794c == wVar.f5794c && this.f5799h.equals(wVar.f5799h) && this.f5796e.equals(wVar.f5796e) && this.f5797f.equals(wVar.f5797f) && this.f5800i.equals(wVar.f5800i);
    }

    @Override // a5.h
    public final int hashCode() {
        if (this.f5801j == 0) {
            int iHashCode = this.f5793b.hashCode();
            this.f5801j = iHashCode;
            int iHashCode2 = ((((this.f5798g.hashCode() + (iHashCode * 31)) * 31) + this.f5794c) * 31) + this.f5795d;
            this.f5801j = iHashCode2;
            int iHashCode3 = this.f5799h.hashCode() + (iHashCode2 * 31);
            this.f5801j = iHashCode3;
            int iHashCode4 = this.f5796e.hashCode() + (iHashCode3 * 31);
            this.f5801j = iHashCode4;
            int iHashCode5 = this.f5797f.hashCode() + (iHashCode4 * 31);
            this.f5801j = iHashCode5;
            this.f5801j = this.f5800i.f382b.hashCode() + (iHashCode5 * 31);
        }
        return this.f5801j;
    }

    public final String toString() {
        return "EngineKey{model=" + this.f5793b + ", width=" + this.f5794c + ", height=" + this.f5795d + ", resourceClass=" + this.f5796e + ", transcodeClass=" + this.f5797f + ", signature=" + this.f5798g + ", hashCode=" + this.f5801j + ", transformations=" + this.f5799h + ", options=" + this.f5800i + '}';
    }

    @Override // a5.h
    public final void updateDiskCacheKey(MessageDigest messageDigest) {
        throw new UnsupportedOperationException();
    }
}
