package t8; import com.google.android.gms.common.api.Api; import java.util.Collections; import java.util.Map; /* loaded from: classes2.dex */ abstract class c0 extends b0 { public static int a(int i10) { return i10 < 0 ? i10 : i10 < 3 ? i10 + 1 : i10 < 1073741824 ? (int) ((i10 / 0.75f) + 1.0f) : Api.BaseClientBuilder.API_PRIORITY_OTHER; } public static final Map b(s8.m mVar) { d9.j.e(mVar, "pair"); Map singletonMap = Collections.singletonMap(mVar.c(), mVar.d()); d9.j.d(singletonMap, "singletonMap(pair.first, pair.second)"); return singletonMap; } public static final Map c(Map map) { d9.j.e(map, ""); Map.Entry entry = (Map.Entry) map.entrySet().iterator().next(); Map singletonMap = Collections.singletonMap(entry.getKey(), entry.getValue()); d9.j.d(singletonMap, "with(entries.iterator().…ingletonMap(key, value) }"); return singletonMap; } }