package o; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; /* renamed from: o.zRk, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C17745zRk extends ApF { private final Comparator c; private final Iterator d; private Iterator h; public C17745zRk(Iterator it, Comparator comparator) { this.d = it; this.c = comparator; } @Override // o.ApF public final void b() { if (!this.e) { List c = MYy.c(this.d); Collections.sort(c, this.c); this.h = c.iterator(); } this.a = this.h.hasNext(); if (this.a) { this.b = this.h.next(); } } }