package p009c1; import java.util.Collections; import java.util.Map; import p006b1.C0475e; import p039m1.C1470g; /* renamed from: c1.v */ /* loaded from: classes.dex */ public class C0517v extends C0516u { /* renamed from: a */ public static final int m3581a(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; } /* renamed from: b */ public static final Map m3580b(C0475e c0475e) { C1470g.m1292e(c0475e, "pair"); Map singletonMap = Collections.singletonMap(c0475e.m3628c(), c0475e.m3627d()); C1470g.m1293d(singletonMap, "singletonMap(pair.first, pair.second)"); return singletonMap; } /* renamed from: c */ public static final Map m3579c(Map map) { C1470g.m1292e(map, ""); Map.Entry next = map.entrySet().iterator().next(); Map singletonMap = Collections.singletonMap(next.getKey(), next.getValue()); C1470g.m1293d(singletonMap, "with(entries.iterator().\u2026ingletonMap(key, value) }"); return singletonMap; } }