package o; /* loaded from: classes.dex */ public final class gfI extends ggR implements InterfaceC15064gfx { @Override // o.InterfaceC15064gfx public final gfI a() { return this; } @Override // o.InterfaceC15064gfx public final boolean bv_() { return true; } public final String c(String str) { Object obj; Object obj2; StringBuilder sb = new StringBuilder("List{"); sb.append(str); sb.append("}["); gfI gfi = this; while (true) { obj = gfi._next; if (!(obj instanceof AbstractC15115ghd)) { break; } ((AbstractC15115ghd) obj).a(gfi); } ggU ggu = (ggU) obj; boolean z = true; while (!C14957gcv.b(ggu, gfi)) { if (ggu instanceof gfF) { gfF gff = (gfF) ggu; if (z) { z = false; } else { sb.append(", "); } sb.append(gff); } while (true) { obj2 = ggu._next; if (!(obj2 instanceof AbstractC15115ghd)) { break; } ((AbstractC15115ghd) obj2).a(ggu); } ggu = ggT.d(obj2); } sb.append("]"); String obj3 = sb.toString(); C14957gcv.c((Object) obj3, ""); return obj3; } @Override // o.ggU public final String toString() { return C15045gfe.d() ? c("Active") : super.toString(); } }