package com.applovin.impl; /* loaded from: classes.dex */ abstract class ka { public static int a(int i, double d) { int max = Math.max(i, 2); int highestOneBit = Integer.highestOneBit(max); if (max <= ((int) (d * highestOneBit))) { return highestOneBit; } int i2 = highestOneBit << 1; if (i2 > 0) { return i2; } return 1073741824; } public static int a(int i) { return (int) (Integer.rotateLeft((int) (i * (-862048943)), 15) * 461845907); } public static int a(Object obj) { return a(obj == null ? 0 : obj.hashCode()); } }