package ඓ.ῲ.K.Ԕ;

import java.util.ArrayList;
import java.util.List;
import ඓ.ῲ.K.ᕣ.AbstractC1031;

/* renamed from: ඓ.ῲ.K.Ԕ.K  reason: contains not printable characters */
/* compiled from: EncoderRegistry */
public class C0816 {

    /* renamed from: K  reason: contains not printable characters */
    public final List<C0817<?>> f4037 = new ArrayList();

    /* renamed from: ඓ.ῲ.K.Ԕ.K$K  reason: contains not printable characters */
    /* compiled from: EncoderRegistry */
    public static final class C0817<T> {

        /* renamed from: ῲ  reason: contains not printable characters */
        public final AbstractC1031<T> f4038;

        /* renamed from: K  reason: contains not printable characters */
        public final Class<T> f4039;

        public C0817(Class<T> cls, AbstractC1031<T> k) {
            this.f4039 = cls;
            this.f4038 = k;
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public synchronized <T> AbstractC1031<T> m2411(Class<T> cls) {
        for (C0817<?> k : this.f4037) {
            if (k.f4039.isAssignableFrom(cls)) {
                return k.f4038;
            }
        }
        return null;
    }

    /* renamed from: K  reason: contains not printable characters */
    public synchronized <T> void m2412(Class<T> cls, AbstractC1031<T> k) {
        this.f4037.add(new C0817<>(cls, k));
    }
}
