package o; import java.util.Collections; import java.util.Map; /* renamed from: o.gaN, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public class C14855gaN extends gaO { public static final int a(int i) { if (i < 0) { return i; } if (i < 3) { return i + 1; } if (i < 1073741824) { return (int) ((i / 0.75f) + 1.0f); } return Integer.MAX_VALUE; } public static final Map a(Map map) { C14957gcv.e(map, ""); Map.Entry next = map.entrySet().iterator().next(); Map singletonMap = Collections.singletonMap(next.getKey(), next.getValue()); C14957gcv.c(singletonMap, ""); return singletonMap; } }