package o;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.a60, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0689a60 {
    public static final Comparator[] a;
    public static final V50 b;

    static {
        Comparator[] comparatorArr = new Comparator[2];
        int i = 0;
        while (i < 2) {
            comparatorArr[i] = new ON(2, new ON(i == 0 ? C1746lA.e : C1746lA.c));
            i++;
        }
        a = comparatorArr;
        b = V50.x;
    }

    public static final void a(R50 r50, ArrayList arrayList, C2769w c2769w, C2769w c2769w2, IQ iq) {
        N50 n50 = r50.d;
        Object objG = n50.l.g(W50.m);
        if (objG == null) {
            objG = Boolean.FALSE;
        }
        boolean zBooleanValue = ((Boolean) objG).booleanValue();
        if ((zBooleanValue || ((Boolean) c2769w2.g(r50)).booleanValue()) && ((Boolean) c2769w.g(r50)).booleanValue()) {
            arrayList.add(r50);
        }
        if (zBooleanValue) {
            iq.h(r50.g, b(r50, c2769w, c2769w2, R50.j(7, r50)));
            return;
        }
        List listJ = R50.j(7, r50);
        int size = listJ.size();
        for (int i = 0; i < size; i++) {
            a((R50) listJ.get(i), arrayList, c2769w, c2769w2, iq);
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:32:0x00d0  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public static final java.util.ArrayList b(o.R50 r17, o.C2769w r18, o.C2769w r19, java.util.List r20) {
        /*
            Method dump skipped, instructions count: 354
            To view this dump add '--comments-level debug' option
        */
        throw new UnsupportedOperationException("Method not decompiled: o.AbstractC0689a60.b(o.R50, o.w, o.w, java.util.List):java.util.ArrayList");
    }
}
