package ඓ.ῲ.K.ᕣ.ᨨ;

import java.nio.ByteBuffer;
import java.security.MessageDigest;
import ඓ.ῲ.K.ᓣ.C0841;
import ඓ.ῲ.K.ᓣ.C0845;
import ඓ.ῲ.K.ᕣ.AbstractC1029;
import ඓ.ῲ.K.ᕣ.AbstractC1030;
import ඓ.ῲ.K.ᕣ.C1121;
import ඓ.ῲ.K.ᕣ.ᨨ.ゎ.AbstractC0967;
import ඓ.ῲ.K.ᕣ.ᨨ.ゎ.C0964;
import ඓ.K.K.K.C1293;

/* renamed from: ඓ.ῲ.K.ᕣ.ᨨ.㶋  reason: contains not printable characters */
/* compiled from: ResourceCacheKey */
public final class C1023 implements AbstractC1029 {

    /* renamed from: 㳳  reason: contains not printable characters */
    public static final C0841<Class<?>, byte[]> f4448 = new C0841<>(50);

    /* renamed from: ʬ  reason: contains not printable characters */
    public final AbstractC1029 f4449;

    /* renamed from: ඓ  reason: contains not printable characters */
    public final int f4450;

    /* renamed from: ᨨ  reason: contains not printable characters */
    public final AbstractC1030<?> f4451;

    /* renamed from: ῲ  reason: contains not printable characters */
    public final AbstractC0967 f4452;

    /* renamed from: ⁱ  reason: contains not printable characters */
    public final Class<?> f4453;

    /* renamed from: 㴹  reason: contains not printable characters */
    public final int f4454;

    /* renamed from: 㸾  reason: contains not printable characters */
    public final AbstractC1029 f4455;

    /* renamed from: 㿎  reason: contains not printable characters */
    public final C1121 f4456;

    public C1023(AbstractC0967 r1, AbstractC1029 r2, AbstractC1029 r3, int i, int i2, AbstractC1030<?> r6, Class<?> cls, C1121 r8) {
        this.f4452 = r1;
        this.f4449 = r2;
        this.f4455 = r3;
        this.f4450 = i;
        this.f4454 = i2;
        this.f4451 = r6;
        this.f4453 = cls;
        this.f4456 = r8;
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1029
    public boolean equals(Object obj) {
        if (!(obj instanceof C1023)) {
            return false;
        }
        C1023 r4 = (C1023) obj;
        if (this.f4454 != r4.f4454 || this.f4450 != r4.f4450 || !C0845.m2451(this.f4451, r4.f4451) || !this.f4453.equals(r4.f4453) || !this.f4449.equals(r4.f4449) || !this.f4455.equals(r4.f4455) || !this.f4456.equals(r4.f4456)) {
            return false;
        }
        return true;
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1029
    public int hashCode() {
        int hashCode = ((((this.f4455.hashCode() + (this.f4449.hashCode() * 31)) * 31) + this.f4450) * 31) + this.f4454;
        AbstractC1030<?> r0 = this.f4451;
        if (r0 != null) {
            hashCode = (hashCode * 31) + r0.hashCode();
        }
        int hashCode2 = this.f4453.hashCode();
        return this.f4456.hashCode() + ((hashCode2 + (hashCode * 31)) * 31);
    }

    public String toString() {
        StringBuilder r0 = C1293.m3416("ResourceCacheKey{sourceKey=");
        r0.append(this.f4449);
        r0.append(", signature=");
        r0.append(this.f4455);
        r0.append(", width=");
        r0.append(this.f4450);
        r0.append(", height=");
        r0.append(this.f4454);
        r0.append(", decodedResourceClass=");
        r0.append(this.f4453);
        r0.append(", transformation='");
        r0.append(this.f4451);
        r0.append('\'');
        r0.append(", options=");
        r0.append(this.f4456);
        r0.append('}');
        return r0.toString();
    }

    @Override // ඓ.ῲ.K.ᕣ.AbstractC1029
    /* renamed from: K  reason: contains not printable characters */
    public void m2837(MessageDigest messageDigest) {
        byte[] bArr = (byte[]) ((C0964) this.f4452).m2734(8, byte[].class);
        ByteBuffer.wrap(bArr).putInt(this.f4450).putInt(this.f4454).array();
        this.f4455.m2845(messageDigest);
        this.f4449.m2845(messageDigest);
        messageDigest.update(bArr);
        AbstractC1030<?> r1 = this.f4451;
        if (r1 != null) {
            r1.m2845(messageDigest);
        }
        this.f4456.m3004(messageDigest);
        byte[] r12 = f4448.m2440(this.f4453);
        if (r12 == null) {
            r12 = this.f4453.getName().getBytes(AbstractC1029.f4473);
            f4448.m2439(this.f4453, r12);
        }
        messageDigest.update(r12);
        ((C0964) this.f4452).m2743(bArr);
    }
}
