package o; /* renamed from: o.gdQ, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public class C14966gdQ extends gdM { public static final boolean a(char c, char c2, boolean z) { if (c == c2) { return true; } if (!z) { return false; } char upperCase = Character.toUpperCase(c); char upperCase2 = Character.toUpperCase(c2); return upperCase == upperCase2 || Character.toLowerCase(upperCase) == Character.toLowerCase(upperCase2); } }