package com.applovin.impl; import android.text.TextUtils; /* loaded from: classes.dex */ public abstract class b1 { public static void a(boolean z) { if (!z) { throw new IllegalArgumentException(); } } public static void b(boolean z) { if (!z) { throw new IllegalStateException(); } } public static void a(boolean z, Object obj) { if (!z) { throw new IllegalArgumentException(String.valueOf(obj)); } } public static int a(int i, int i2, int i3) { if (i < i2 || i >= i3) { throw new IndexOutOfBoundsException(); } return i; } public static void b(boolean z, Object obj) { if (!z) { throw new IllegalStateException(String.valueOf(obj)); } } public static Object b(Object obj) { if (obj != null) { return obj; } throw new IllegalStateException(); } public static String a(String str) { if (TextUtils.isEmpty(str)) { throw new IllegalArgumentException(); } return str; } public static Object a(Object obj) { obj.getClass(); return obj; } public static Object a(Object obj, Object obj2) { if (obj != null) { return obj; } throw new IllegalStateException(String.valueOf(obj2)); } }