package androidx.datastore.preferences.protobuf;

import java.nio.ByteBuffer;
import java.nio.charset.Charset;

/* JADX INFO: renamed from: androidx.datastore.preferences.protobuf.w, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public abstract class AbstractC0444w {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public static final Charset f8140a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final byte[] f8141b;

    static {
        Charset.forName("US-ASCII");
        f8140a = Charset.forName("UTF-8");
        Charset.forName("ISO-8859-1");
        byte[] bArr = new byte[0];
        f8141b = bArr;
        ByteBuffer.wrap(bArr);
        try {
            new C0430h(bArr, 0, 0, false).l(0);
        } catch (C0446y e8) {
            throw new IllegalArgumentException(e8);
        }
    }

    public static void a(Object obj, String str) {
        if (obj == null) {
            throw new NullPointerException(str);
        }
    }

    public static int b(long j8) {
        return (int) (j8 ^ (j8 >>> 32));
    }
}
