package com.google.ads.interactivemedia.v3.internal;

import com.google.android.gms.measurement.internal.u1;

/* JADX INFO: loaded from: classes2.dex */
final class zzqt {
    public static int zza(int i10, String str) {
        if (i10 >= 0) {
            return i10;
        }
        throw new IllegalArgumentException(str + " cannot be negative but was: " + i10);
    }

    public static void zzb(Object obj, Object obj2) {
        if (obj == null) {
            throw new NullPointerException("null key in entry: null=".concat(String.valueOf(obj2)));
        }
        if (obj2 == null) {
            throw new NullPointerException(u1.k("null value in entry: ", obj.toString(), "=null"));
        }
    }
}
