package defpackage;

import android.os.StrictMode;
import java.security.SecureRandom;
import java.util.UUID;
import java.util.concurrent.atomic.AtomicLong;

/* renamed from: ˎᵻ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1791 {

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public static final C1791 f7197;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final UUID f7198;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final AtomicLong f7199;

    static {
        StrictMode.ThreadPolicy threadPolicyAllowThreadDiskReads = StrictMode.allowThreadDiskReads();
        try {
            f7197 = new C1791(UUID.randomUUID(), new SecureRandom().nextLong());
        } finally {
            StrictMode.setThreadPolicy(threadPolicyAllowThreadDiskReads);
        }
    }

    public C1791(UUID uuid, long j) {
        this.f7198 = uuid;
        this.f7199 = new AtomicLong((j ^ 25214903917L) & 281474976710655L);
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final long m5103() {
        AtomicLong atomicLong;
        long j;
        do {
            atomicLong = this.f7199;
            j = atomicLong.get();
        } while (!atomicLong.compareAndSet(j, ((25214903917L * (((j * 25214903917L) + 11) & 281474976710655L)) + 11) & 281474976710655L));
        return (((int) (r5 >>> 16)) << 32) + ((int) (r3 >>> 16));
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final UUID m5104() {
        long jM5103 = m5103() & (-61441);
        long jM51032 = m5103() >>> 2;
        UUID uuid = this.f7198;
        return new UUID(jM5103 ^ uuid.getMostSignificantBits(), jM51032 ^ uuid.getLeastSignificantBits());
    }
}
