package o; import com.airbnb.deeplinkdispatch.UrlTreeKt; import java.nio.ByteBuffer; import java.security.MessageDigest; /* loaded from: classes.dex */ final class Ajc implements InterfaceC2545agd { private static final C1139Wlo, byte[]> c = new C1139Wlo<>(50); private final Opg a; private final int b; private final Class d; private final wfh f; private final InterfaceC2545agd g; private final InterfaceC2545agd h; private final unA i; private final int j; /* JADX INFO: Access modifiers changed from: package-private */ public Ajc(Opg opg, InterfaceC2545agd interfaceC2545agd, InterfaceC2545agd interfaceC2545agd2, int i, int i2, wfh wfhVar, Class cls, unA una) { this.a = opg; this.g = interfaceC2545agd; this.h = interfaceC2545agd2; this.j = i; this.b = i2; this.f = wfhVar; this.d = cls; this.i = una; } @Override // o.InterfaceC2545agd public final boolean equals(Object obj) { if (!(obj instanceof Ajc)) { return false; } Ajc ajc = (Ajc) obj; return this.b == ajc.b && this.j == ajc.j && FKd.c(this.f, ajc.f) && this.d.equals(ajc.d) && this.g.equals(ajc.g) && this.h.equals(ajc.h) && this.i.equals(ajc.i); } @Override // o.InterfaceC2545agd public final int hashCode() { int hashCode = (((((this.g.hashCode() * 31) + this.h.hashCode()) * 31) + this.j) * 31) + this.b; wfh wfhVar = this.f; if (wfhVar != null) { hashCode = (hashCode * 31) + wfhVar.hashCode(); } return (((hashCode * 31) + this.d.hashCode()) * 31) + this.i.hashCode(); } @Override // o.InterfaceC2545agd public final void a(MessageDigest messageDigest) { byte[] bArr = (byte[]) this.a.a(byte[].class); ByteBuffer.wrap(bArr).putInt(this.j).putInt(this.b).array(); this.h.a(messageDigest); this.g.a(messageDigest); messageDigest.update(bArr); wfh wfhVar = this.f; if (wfhVar != null) { wfhVar.a(messageDigest); } this.i.a(messageDigest); C1139Wlo, byte[]> c1139Wlo = c; byte[] b = c1139Wlo.b(this.d); if (b == null) { b = this.d.getName().getBytes(e); c1139Wlo.a(this.d, b); } messageDigest.update(b); this.a.b(bArr); } public final String toString() { StringBuilder sb = new StringBuilder("ResourceCacheKey{sourceKey="); sb.append(this.g); sb.append(", signature="); sb.append(this.h); sb.append(", width="); sb.append(this.j); sb.append(", height="); sb.append(this.b); sb.append(", decodedResourceClass="); sb.append(this.d); sb.append(", transformation='"); sb.append(this.f); sb.append("', options="); sb.append(this.i); sb.append(UrlTreeKt.componentParamSuffixChar); return sb.toString(); } }