package defpackage;

import java.nio.ByteBuffer;
import java.nio.ByteOrder;

/* renamed from: ˊﾞˈᵯ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1428 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final ByteBuffer f5818 = ByteBuffer.allocate(23).order(ByteOrder.LITTLE_ENDIAN);

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final int f5819 = 16;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final int f5817 = 16;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public long f5820 = 0;

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public long f5815 = 0;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public int f5816 = 0;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final C1428 m4330(byte[] bArr) {
        ByteBuffer byteBufferOrder = ByteBuffer.wrap(bArr, 0, bArr.length).order(ByteOrder.LITTLE_ENDIAN);
        int iRemaining = byteBufferOrder.remaining();
        ByteBuffer byteBuffer = this.f5818;
        if (iRemaining <= byteBuffer.remaining()) {
            byteBuffer.put(byteBufferOrder);
            if (byteBuffer.remaining() < 8) {
                m4331();
            }
            return this;
        }
        int iPosition = this.f5819 - byteBuffer.position();
        for (int i = 0; i < iPosition; i++) {
            byteBuffer.put(byteBufferOrder.get());
        }
        m4331();
        while (byteBufferOrder.remaining() >= this.f5817) {
            m4332(byteBufferOrder);
        }
        byteBuffer.put(byteBufferOrder);
        return this;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m4331() {
        ByteBuffer byteBuffer = this.f5818;
        byteBuffer.flip();
        while (byteBuffer.remaining() >= this.f5817) {
            m4332(byteBuffer);
        }
        byteBuffer.compact();
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final void m4332(ByteBuffer byteBuffer) {
        long j = byteBuffer.getLong();
        long j2 = byteBuffer.getLong();
        long jRotateLeft = (Long.rotateLeft(j * (-8663945395140668459L), 31) * 5545529020109919103L) ^ this.f5820;
        this.f5820 = jRotateLeft;
        long jRotateLeft2 = Long.rotateLeft(jRotateLeft, 27);
        long j3 = this.f5815;
        this.f5820 = ((jRotateLeft2 + j3) * 5) + 1390208809;
        long jRotateLeft3 = (Long.rotateLeft(j2 * 5545529020109919103L, 33) * (-8663945395140668459L)) ^ j3;
        this.f5815 = jRotateLeft3;
        this.f5815 = ((Long.rotateLeft(jRotateLeft3, 31) + this.f5820) * 5) + 944331445;
        this.f5816 += 16;
    }
}
