package o; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import o.RDy; /* loaded from: classes.dex */ public final class QMg { public final Vzp c; public final IeS e; public QMg(RDy.Sts> sts) { this(new Vzp(sts)); } private QMg(Vzp vzp) { this.e = new IeS(); this.c = vzp; } public final List> c(Class cls) { List> d; synchronized (this) { d = this.c.d(cls); } return d; } public final List> b(Class cls) { List> list; synchronized (this) { IeS.C0092IeS c0092IeS = this.e.a.get(cls); list = c0092IeS == null ? (List>) null : c0092IeS.a; if (list == null) { list = (List>) Collections.unmodifiableList(this.c.c(cls)); if (this.e.a.put(cls, new IeS.C0092IeS<>(list)) != null) { throw new IllegalStateException("Already cached loaders for model: ".concat(String.valueOf(cls))); } } } return (List>) list; } /* loaded from: classes.dex */ public static class IeS { public final Map, C0092IeS> a = new HashMap(); IeS() { } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.QMg$IeS$IeS, reason: collision with other inner class name */ /* loaded from: classes.dex */ public static class C0092IeS { final List> a; public C0092IeS(List> list) { this.a = list; } } } }