package o;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.fs, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1236fs extends AbstractC1628jy {
    public final AbstractC1628jy b;

    public C1236fs(AbstractC1628jy abstractC1628jy) {
        this.b = abstractC1628jy;
    }

    @Override // o.AbstractC1628jy
    public final R80 a(SV sv) {
        return this.b.a(sv);
    }

    @Override // o.AbstractC1628jy
    public final void b(SV sv, SV sv2) {
        this.b.b(sv, sv2);
    }

    @Override // o.AbstractC1628jy
    public final void c(SV sv) {
        this.b.c(sv);
    }

    @Override // o.AbstractC1628jy
    public final void d(SV sv) {
        this.b.d(sv);
    }

    @Override // o.AbstractC1628jy
    public final List f(SV sv) {
        List listF = this.b.f(sv);
        ArrayList arrayList = new ArrayList();
        Iterator it = listF.iterator();
        while (it.hasNext()) {
            arrayList.add((SV) it.next());
        }
        if (arrayList.size() > 1) {
            Collections.sort(arrayList);
        }
        return arrayList;
    }

    @Override // o.AbstractC1628jy
    public final C3135zr h(SV sv) {
        C3135zr c3135zrH = this.b.h(sv);
        if (c3135zrH == null) {
            return null;
        }
        SV sv2 = (SV) c3135zrH.d;
        return sv2 == null ? c3135zrH : new C3135zr(c3135zrH.b, c3135zrH.c, sv2, (Long) c3135zrH.e, (Long) c3135zrH.f, (Long) c3135zrH.g, (Long) c3135zrH.h, (Map) c3135zrH.i);
    }

    @Override // o.AbstractC1628jy
    public final C2609uJ i(SV sv) {
        return this.b.i(sv);
    }

    @Override // o.AbstractC1628jy
    public final R80 j(SV sv) {
        SV svB = sv.b();
        if (svB != null) {
            C1172f9 c1172f9 = new C1172f9();
            while (svB != null && !e(svB)) {
                c1172f9.addFirst(svB);
                svB = svB.b();
            }
            Iterator<E> it = c1172f9.iterator();
            while (it.hasNext()) {
                c((SV) it.next());
            }
        }
        return this.b.j(sv);
    }

    @Override // o.AbstractC1628jy
    public final T90 k(SV sv) {
        return this.b.k(sv);
    }

    public final String toString() {
        return C10.a(C1236fs.class).b() + '(' + this.b + ')';
    }
}
