package com.google.android.gms.internal.firebase_ml; /* loaded from: classes2.dex */ final class zzld { /* JADX INFO: Access modifiers changed from: package-private */ public static void zzc(Object obj, Object obj2) { if (obj == null) { String valueOf = String.valueOf(obj2); StringBuilder sb = new StringBuilder(String.valueOf(valueOf).length() + 24); sb.append("null key in entry: null="); sb.append(valueOf); throw new NullPointerException(sb.toString()); } if (obj2 != null) { return; } String valueOf2 = String.valueOf(obj); StringBuilder sb2 = new StringBuilder(String.valueOf(valueOf2).length() + 26); sb2.append("null value in entry: "); sb2.append(valueOf2); sb2.append("=null"); throw new NullPointerException(sb2.toString()); } }