package ᨨ;

import com.google.android.material.progressindicator.BaseProgressIndicator;
import java.nio.charset.Charset;

/* renamed from: ᨨ.㴪  reason: contains not printable characters */
/* compiled from: Util */
public final class C1491 {

    /* renamed from: K  reason: contains not printable characters */
    public static final Charset f5527 = Charset.forName("UTF-8");

    /* renamed from: K  reason: contains not printable characters */
    public static int m3762(int i) {
        return ((i & BaseProgressIndicator.MAX_ALPHA) << 24) | ((-16777216 & i) >>> 24) | ((16711680 & i) >>> 8) | ((65280 & i) << 8);
    }

    /* renamed from: K  reason: contains not printable characters */
    public static short m3763(short s) {
        int i = s & 65535;
        return (short) (((i & BaseProgressIndicator.MAX_ALPHA) << 8) | ((65280 & i) >>> 8));
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m3764(long j, long j2, long j3) {
        if ((j2 | j3) < 0 || j2 > j || j - j2 < j3) {
            throw new ArrayIndexOutOfBoundsException(String.format("size=%s offset=%s byteCount=%s", Long.valueOf(j), Long.valueOf(j2), Long.valueOf(j3)));
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m3765(Throwable th) {
        throw th;
    }

    /* renamed from: K  reason: contains not printable characters */
    public static boolean m3766(byte[] bArr, int i, byte[] bArr2, int i2, int i3) {
        for (int i4 = 0; i4 < i3; i4++) {
            if (bArr[i4 + i] != bArr2[i4 + i2]) {
                return false;
            }
        }
        return true;
    }
}
