package com.google.android.gms.internal.firebase_ml; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; /* loaded from: classes2.dex */ final class zzma extends WeakReference { private final int zzadu; public zzma(Throwable th, ReferenceQueue referenceQueue) { super(th, referenceQueue); if (th == null) { throw new NullPointerException("The referent cannot be null"); } this.zzadu = System.identityHashCode(th); } public final boolean equals(Object obj) { if (obj == null || obj.getClass() != getClass()) { return false; } if (this == obj) { return true; } zzma zzmaVar = (zzma) obj; return this.zzadu == zzmaVar.zzadu && get() == zzmaVar.get(); } public final int hashCode() { return this.zzadu; } }