package defpackage;

import android.os.Process;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.Date;
import java.util.Locale;
import java.util.UUID;
import java.util.concurrent.atomic.AtomicLong;

/* renamed from: ᵩᵫˑ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3829 {

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

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public static final String f14228 = ᵕˏᵛ.ᵽʛ(UUID.randomUUID().toString() + System.currentTimeMillis());

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public static final AtomicLong f14227 = new AtomicLong(0);

    public C3829() {
        long time = new Date().getTime();
        ByteBuffer byteBufferAllocate = ByteBuffer.allocate(4);
        byteBufferAllocate.putInt((int) (time / 1000));
        byteBufferAllocate.order(ByteOrder.BIG_ENDIAN);
        byteBufferAllocate.position(0);
        byte[] bArrArray = byteBufferAllocate.array();
        byte b = bArrArray[0];
        byte b2 = bArrArray[1];
        byte b3 = bArrArray[2];
        byte b4 = bArrArray[3];
        byte[] bArrM8473 = m8473(time % 1000);
        byte b5 = bArrM8473[0];
        byte b6 = bArrM8473[1];
        byte[] bArrM84732 = m8473(f14227.incrementAndGet());
        byte b7 = bArrM84732[0];
        byte b8 = bArrM84732[1];
        byte[] bArrM84733 = m8473(Integer.valueOf(Process.myPid()).shortValue());
        String str = ᵕˏᵛ.ᵙᵢᵨᵳ(new byte[]{b, b2, b3, b4, b5, b6, b7, b8, bArrM84733[0], bArrM84733[1]});
        Locale locale = Locale.US;
        this.f14229 = String.format(locale, "%s%s%s%s", str.substring(0, 12), str.substring(12, 16), str.subSequence(16, 20), f14228.substring(0, 12)).toUpperCase(locale);
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public static byte[] m8473(long j) {
        ByteBuffer byteBufferAllocate = ByteBuffer.allocate(2);
        byteBufferAllocate.putShort((short) j);
        byteBufferAllocate.order(ByteOrder.BIG_ENDIAN);
        byteBufferAllocate.position(0);
        return byteBufferAllocate.array();
    }

    public final String toString() {
        return this.f14229;
    }
}
