package o; import android.util.Log; import java.util.ArrayList; import java.util.List; import o.RDy; /* renamed from: o.UnO, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C1050UnO { private static final LWm c = new LWm() { // from class: o.UnO.1 @Override // o.C1050UnO.LWm public final void d(Object obj) { } }; /* renamed from: o.UnO$LWm */ /* loaded from: classes.dex */ public interface LWm { void d(T t); } /* renamed from: o.UnO$RVV */ /* loaded from: classes.dex */ public interface RVV { T e(); } /* renamed from: o.UnO$Sts */ /* loaded from: classes.dex */ public interface Sts { ykj c(); } public static RDy.Sts c(int i, RVV rvv) { return new IeS(new RDy.LWm(i), rvv, c); } /* renamed from: o.UnO$IeS */ /* loaded from: classes.dex */ static final class IeS implements RDy.Sts { private final RVV b; private final LWm d; private final RDy.Sts e; IeS(RDy.Sts sts, RVV rvv, LWm lWm) { this.e = sts; this.b = rvv; this.d = lWm; } @Override // o.RDy.Sts public final T d() { T d = this.e.d(); if (d == null) { d = this.b.e(); Log.isLoggable("FactoryPools", 2); } if (d instanceof Sts) { d.c().a(false); } return (T) d; } @Override // o.RDy.Sts public final boolean d(T t) { if (t instanceof Sts) { ((Sts) t).c().a(true); } this.d.d(t); return this.e.d(t); } } public static RDy.Sts> a() { return new IeS(new RDy.LWm(20), new RVV>() { // from class: o.UnO.4 @Override // o.C1050UnO.RVV public final /* synthetic */ Object e() { return new ArrayList(); } }, new LWm>() { // from class: o.UnO.2 @Override // o.C1050UnO.LWm public final /* synthetic */ void d(Object obj) { ((List) obj).clear(); } }); } }