package p138.p176.p291.p296.p297.p299;

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

/* JADX INFO: renamed from: ދ.ހ.ށ.ބ.ށ.އ.ރ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C5626 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final AtomicLong f16107 = new AtomicLong(0);

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static String f16108;

    public C5626(C5685 c5685) {
        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[] bArrM8988 = m8988(time % 1000);
        byte[] bArrM89882 = m8988(f16107.incrementAndGet());
        byte[] bArrM89883 = m8988(Integer.valueOf(Process.myPid()).shortValue());
        byte[] bArr = {bArrArray[0], bArrArray[1], bArrArray[2], bArrArray[3], bArrM8988[0], bArrM8988[1], bArrM89882[0], bArrM89882[1], bArrM89883[0], bArrM89883[1]};
        String strM9006 = C5627.m9006(c5685.m9056());
        String strM8996 = C5627.m8996(bArr);
        f16108 = String.format(Locale.US, "%s-%s-%s-%s", strM8996.substring(0, 12), strM8996.substring(12, 16), strM8996.subSequence(16, 20), strM9006.substring(0, 12)).toUpperCase(Locale.US);
    }

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

    public String toString() {
        return f16108;
    }
}
