package o; import java.util.ArrayList; import java.util.List; /* loaded from: classes.dex */ public final class lxi implements hWR { private final JYM d; @InterfaceC13391fZD public lxi(JYM jym) { C14957gcv.e(jym, ""); this.d = jym; } @Override // o.hWR public final List e() { List list = this.d.d; return list == null ? C14851gaI.c : list; } @Override // o.hWR public final void e(Alf alf) { ArrayList arrayList; C14957gcv.e(alf, ""); if (this.d.d == null) { this.d.d = new ArrayList(); } List list = this.d.d; if (list != null) { List list2 = list; C14957gcv.e(list2, ""); arrayList = new ArrayList(list2); } else { arrayList = null; } if (arrayList != null) { arrayList.add(alf); } this.d.d = arrayList; } @Override // o.hWR public final void b(List list) { this.d.d = list; } }