package com.google.android.libraries.places.internal; /* loaded from: classes2.dex */ final class zzme implements zzmd { @Override // com.google.android.libraries.places.internal.zzmd public final StackTraceElement zza(Class cls, int i) { StackTraceElement[] stackTrace = new Throwable().getStackTrace(); String name = cls.getName(); int i2 = 3; boolean z = false; while (true) { if (i2 >= stackTrace.length) { i2 = -1; break; } if (!stackTrace[i2].getClassName().equals(name)) { if (z) { break; } z = false; } else { z = true; } i2++; } if (i2 != -1) { return stackTrace[i2]; } return null; } }