package com.google.android.gms.location; import com.google.android.gms.common.internal.Preconditions; /* JADX INFO: compiled from: com.google.android.gms:play-services-location@@21.2.0 */ /* JADX INFO: loaded from: classes2.dex */ public final class zzar { public static int zza(int i) { boolean z = true; if (i != 0 && i != 1) { if (i == 2) { i = 2; } else { z = false; } } Preconditions.checkArgument(z, "throttle behavior %d must be a ThrottleBehavior.THROTTLE_* constant", Integer.valueOf(i)); return i; } public static String zzb(int i) { if (i == 0) { return "THROTTLE_BACKGROUND"; } if (i == 1) { return "THROTTLE_ALWAYS"; } if (i == 2) { return "THROTTLE_NEVER"; } throw new IllegalArgumentException(); } }