package o; import o.C13395fZS; /* renamed from: o.gfa, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C15041gfa { public static final String b(Object obj) { return Integer.toHexString(System.identityHashCode(obj)); } public static final String c(InterfaceC14907gbi interfaceC14907gbi) { Object a; if (interfaceC14907gbi instanceof ggM) { return interfaceC14907gbi.toString(); } try { C13395fZS.IeS ieS = C13395fZS.b; StringBuilder sb = new StringBuilder(); sb.append(interfaceC14907gbi); sb.append('@'); sb.append(Integer.toHexString(System.identityHashCode(interfaceC14907gbi))); a = C13395fZS.a(sb.toString()); } catch (Throwable th) { C13395fZS.IeS ieS2 = C13395fZS.b; C14957gcv.e(th, ""); a = C13395fZS.a(new C13395fZS.LWm(th)); } if (C13395fZS.d(a) != null) { StringBuilder sb2 = new StringBuilder(); sb2.append(interfaceC14907gbi.getClass().getName()); sb2.append('@'); sb2.append(Integer.toHexString(System.identityHashCode(interfaceC14907gbi))); a = sb2.toString(); } return (String) a; } public static final String a(Object obj) { return obj.getClass().getSimpleName(); } }