package a.c.b;

import java.util.Locale;

public class m {

    /* renamed from: a  reason: collision with root package name */
    public static final int f78a = 3;
    public static final int b = 2;

    public static int a(int i) {
        return c(i)[3];
    }

    public static int b(int i) {
        return c(i)[2];
    }

    public static byte[] c(int i) {
        return new byte[]{(byte) ((i >>> 24) & 255), (byte) ((i >>> 16) & 255), (byte) ((i >>> 8) & 255), (byte) (i & 255)};
    }

    public static String d(int i) {
        byte[] bArr = {(byte) ((i >>> 24) & 255), (byte) ((i >>> 16) & 255), (byte) ((i >>> 8) & 255), (byte) (i & 255)};
        Locale locale = Locale.ENGLISH;
        return String.format("%s.%s", String.format(locale, "%d", Integer.valueOf(Byte.toUnsignedInt(bArr[3]))), String.format(locale, "%d", Integer.valueOf(Byte.toUnsignedInt(bArr[2]))));
    }
}
