package ඓ.ῲ.K.Ԕ;

import java.util.Collections;
import java.util.concurrent.atomic.AtomicReference;
import ඓ.ῲ.K.ᓣ.C0839;
import ඓ.ῲ.K.ᕣ.ᕣ.㿎.C0929;
import ඓ.ῲ.K.ᕣ.ᨨ.C1007;
import ඓ.ῲ.K.ᕣ.ᨨ.C1025;
import ῲ.㴹.C2284;

/* renamed from: ඓ.ῲ.K.Ԕ.ʬ  reason: contains not printable characters */
/* compiled from: LoadPathCache */
public class C0812 {

    /* renamed from: ʬ  reason: contains not printable characters */
    public static final C1007<?, ?, ?> f4028 = new C1007<>(Object.class, Object.class, Object.class, Collections.singletonList(new C1025(Object.class, Object.class, Object.class, Collections.emptyList(), new C0929(), null)), null);

    /* renamed from: ῲ  reason: contains not printable characters */
    public final AtomicReference<C0839> f4029 = new AtomicReference<>();

    /* renamed from: K  reason: contains not printable characters */
    public final C2284<C0839, C1007<?, ?, ?>> f4030 = new C2284<>();

    /* renamed from: K  reason: contains not printable characters */
    public boolean m2402(C1007<?, ?, ?> r2) {
        return f4028.equals(r2);
    }

    /* renamed from: K  reason: contains not printable characters */
    public void m2401(Class<?> cls, Class<?> cls2, Class<?> cls3, C1007<?, ?, ?> r7) {
        synchronized (this.f4030) {
            C2284<C0839, C1007<?, ?, ?>> k = this.f4030;
            C0839 r2 = new C0839(cls, cls2, cls3);
            if (r7 == null) {
                r7 = f4028;
            }
            k.put(r2, r7);
        }
    }

    /* JADX DEBUG: Multi-variable search result rejected for r3v0, resolved type: java.lang.Class<Data> */
    /* JADX DEBUG: Multi-variable search result rejected for r4v0, resolved type: java.lang.Class<TResource> */
    /* JADX DEBUG: Multi-variable search result rejected for r5v0, resolved type: java.lang.Class<Transcode> */
    /* JADX WARN: Multi-variable type inference failed */
    /* renamed from: K  reason: contains not printable characters */
    public <Data, TResource, Transcode> C1007<Data, TResource, Transcode> m2400(Class<Data> cls, Class<TResource> cls2, Class<Transcode> cls3) {
        C1007<Data, TResource, Transcode> r4;
        C0839 andSet = this.f4029.getAndSet(null);
        if (andSet == null) {
            andSet = new C0839();
        }
        andSet.f4059 = cls;
        andSet.f4058 = cls2;
        andSet.f4057 = cls3;
        synchronized (this.f4030) {
            r4 = (C1007<Data, TResource, Transcode>) this.f4030.getOrDefault(andSet, null);
        }
        this.f4029.set(andSet);
        return r4;
    }
}
