package o; import java.util.ArrayList; import java.util.HashSet; import o.RDy; /* renamed from: o.bNM, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C4002bNM { public final RDy.Sts> c = new RDy.RVV(10); public final DFj> a = new DFj<>(); public final ArrayList d = new ArrayList<>(); public final HashSet e = new HashSet<>(); public final void b(T t, ArrayList arrayList, HashSet hashSet) { if (arrayList.contains(t)) { return; } if (hashSet.contains(t)) { throw new RuntimeException("This graph contains cyclic dependencies"); } hashSet.add(t); ArrayList arrayList2 = this.a.get(t); if (arrayList2 != null) { int size = arrayList2.size(); for (int i = 0; i < size; i++) { b(arrayList2.get(i), arrayList, hashSet); } } hashSet.remove(t); arrayList.add(t); } }