package ඓ.ῲ.K.ᕣ.㿎;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import ඓ.ῲ.K.ᕣ.㿎.AbstractC1130;
import ῲ.ᨨ.㳳.C1841;

/* renamed from: ඓ.ῲ.K.ᕣ.㿎.㴹  reason: contains not printable characters */
/* compiled from: DataRewinderRegistry */
public class C1143 {

    /* renamed from: ῲ  reason: contains not printable characters */
    public static final AbstractC1130.AbstractC1131<?> f4625 = new C1145();

    /* renamed from: K  reason: contains not printable characters */
    public final Map<Class<?>, AbstractC1130.AbstractC1131<?>> f4626 = new HashMap();

    /* renamed from: ඓ.ῲ.K.ᕣ.㿎.㴹$ῲ  reason: contains not printable characters */
    /* compiled from: DataRewinderRegistry */
    public static final class C1144 implements AbstractC1130<Object> {

        /* renamed from: K  reason: contains not printable characters */
        public final Object f4627;

        public C1144(Object obj) {
            this.f4627 = obj;
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1130
        /* renamed from: ῲ  reason: contains not printable characters */
        public void m3060() {
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1130
        /* renamed from: K  reason: contains not printable characters */
        public Object m3061() {
            return this.f4627;
        }
    }

    /* renamed from: ඓ.ῲ.K.ᕣ.㿎.㴹$K  reason: contains not printable characters */
    /* compiled from: DataRewinderRegistry */
    public class C1145 implements AbstractC1130.AbstractC1131<Object> {
        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1130.AbstractC1131
        /* renamed from: K  reason: contains not printable characters */
        public AbstractC1130<Object> m3063(Object obj) {
            return new C1144(obj);
        }

        @Override // ඓ.ῲ.K.ᕣ.㿎.AbstractC1130.AbstractC1131
        /* renamed from: K  reason: contains not printable characters */
        public Class<Object> m3062() {
            throw new UnsupportedOperationException("Not implemented");
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public synchronized <T> AbstractC1130<T> m3058(T t) {
        AbstractC1130.AbstractC1131<?> k;
        C1841.m4783((Object) t, "Argument must not be null");
        k = this.f4626.get(t.getClass());
        if (k == null) {
            Iterator<AbstractC1130.AbstractC1131<?>> it2 = this.f4626.values().iterator();
            while (true) {
                if (!it2.hasNext()) {
                    break;
                }
                AbstractC1130.AbstractC1131<?> next = it2.next();
                if (next.m3025().isAssignableFrom(t.getClass())) {
                    k = next;
                    break;
                }
            }
        }
        if (k == null) {
            k = f4625;
        }
        return (AbstractC1130<T>) k.m3026(t);
    }

    /* renamed from: K  reason: contains not printable characters */
    public synchronized void m3059(AbstractC1130.AbstractC1131<?> k) {
        this.f4626.put(k.m3025(), k);
    }
}
