package p463.p473.p474.p475;

import p138.p139.p143.p144.C2803;
import p463.p473.p480.InterfaceC7159;

/* JADX INFO: renamed from: ޒ.ؠ.֏.ބ.ހ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C7151 extends AbstractC7149 {

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public int f20710;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public int f20711;

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public int f20712;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public int f20713;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public int[] f20714;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public int f20715;

    public C7151() {
        this.f20714 = new int[16];
        mo10497();
    }

    public C7151(C7151 c7151) {
        super(c7151);
        this.f20714 = new int[16];
        m10523(c7151);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final int m10520(int i, int i2) {
        return (i >>> (32 - i2)) | (i << i2);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final int m10521(int i, int i2, int i3) {
        return ((~i) & i3) | (i2 & i);
    }

    @Override // p463.p473.p474.InterfaceC7146
    /* JADX INFO: renamed from: ֏ */
    public int mo10496(byte[] bArr, int i) {
        m10511();
        m10522(this.f20710, bArr, i);
        m10522(this.f20711, bArr, i + 4);
        m10522(this.f20712, bArr, i + 8);
        m10522(this.f20713, bArr, i + 12);
        mo10497();
        return 16;
    }

    @Override // p463.p473.p474.p475.AbstractC7149, p463.p473.p474.InterfaceC7146
    /* JADX INFO: renamed from: ֏ */
    public void mo10497() {
        super.mo10497();
        this.f20710 = 1732584193;
        this.f20711 = -271733879;
        this.f20712 = -1732584194;
        this.f20713 = 271733878;
        this.f20715 = 0;
        int i = 0;
        while (true) {
            int[] iArr = this.f20714;
            if (i == iArr.length) {
                return;
            }
            iArr[i] = 0;
            i++;
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10522(int i, byte[] bArr, int i2) {
        bArr[i2] = (byte) i;
        bArr[i2 + 1] = (byte) (i >>> 8);
        bArr[i2 + 2] = (byte) (i >>> 16);
        bArr[i2 + 3] = (byte) (i >>> 24);
    }

    @Override // p463.p473.p474.p475.AbstractC7149
    /* JADX INFO: renamed from: ֏ */
    public void mo10508(long j) {
        if (this.f20715 > 14) {
            mo10512();
        }
        int[] iArr = this.f20714;
        iArr[14] = (int) ((-1) & j);
        iArr[15] = (int) (j >>> 32);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10523(C7151 c7151) {
        super.m10509((AbstractC7149) c7151);
        this.f20710 = c7151.f20710;
        this.f20711 = c7151.f20711;
        this.f20712 = c7151.f20712;
        this.f20713 = c7151.f20713;
        int[] iArr = c7151.f20714;
        System.arraycopy(iArr, 0, this.f20714, 0, iArr.length);
        this.f20715 = c7151.f20715;
    }

    @Override // p463.p473.p480.InterfaceC7159
    /* JADX INFO: renamed from: ֏ */
    public void mo10517(InterfaceC7159 interfaceC7159) {
        m10523((C7151) interfaceC7159);
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final int m10524(int i, int i2, int i3) {
        return (i & i3) | (i2 & (~i3));
    }

    @Override // p463.p473.p480.InterfaceC7159
    /* JADX INFO: renamed from: ؠ */
    public InterfaceC7159 mo10519() {
        return new C7151(this);
    }

    @Override // p463.p473.p474.p475.AbstractC7149
    /* JADX INFO: renamed from: ؠ */
    public void mo10510(byte[] bArr, int i) {
        int[] iArr = this.f20714;
        int i2 = this.f20715;
        int i3 = i2 + 1;
        this.f20715 = i3;
        iArr[i2] = ((bArr[i + 3] & 255) << 24) | (bArr[i] & 255) | ((bArr[i + 1] & 255) << 8) | ((bArr[i + 2] & 255) << 16);
        if (i3 == 16) {
            mo10512();
        }
    }

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public final int m10525(int i, int i2, int i3) {
        return (i | (~i3)) ^ i2;
    }

    @Override // p463.p473.p474.InterfaceC7146
    /* JADX INFO: renamed from: ހ */
    public String mo10500() {
        return "MD5";
    }

    @Override // p463.p473.p474.InterfaceC7146
    /* JADX INFO: renamed from: ށ */
    public int mo10501() {
        return 16;
    }

    @Override // p463.p473.p474.p475.AbstractC7149
    /* JADX INFO: renamed from: ބ */
    public void mo10512() {
        int i = this.f20710;
        int i2 = this.f20711;
        int i3 = this.f20712;
        int i4 = this.f20713;
        int iM4863 = C2803.m4863(i + m10521(i2, i3, i4), this.f20714[0], -680876936, this, 7, i2);
        int iM48632 = C2803.m4863(m10521(iM4863, i2, i3) + i4, this.f20714[1], -389564586, this, 12, iM4863);
        int iM48633 = C2803.m4863(m10521(iM48632, iM4863, i2) + i3, this.f20714[2], 606105819, this, 17, iM48632);
        int iM48634 = C2803.m4863(m10521(iM48633, iM48632, iM4863) + i2, this.f20714[3], -1044525330, this, 22, iM48633);
        int iM48635 = C2803.m4863(m10521(iM48634, iM48633, iM48632) + iM4863, this.f20714[4], -176418897, this, 7, iM48634);
        int iM48636 = C2803.m4863(m10521(iM48635, iM48634, iM48633) + iM48632, this.f20714[5], 1200080426, this, 12, iM48635);
        int iM48637 = C2803.m4863(m10521(iM48636, iM48635, iM48634) + iM48633, this.f20714[6], -1473231341, this, 17, iM48636);
        int iM48638 = C2803.m4863(m10521(iM48637, iM48636, iM48635) + iM48634, this.f20714[7], -45705983, this, 22, iM48637);
        int iM48639 = C2803.m4863(m10521(iM48638, iM48637, iM48636) + iM48635, this.f20714[8], 1770035416, this, 7, iM48638);
        int iM486310 = C2803.m4863(m10521(iM48639, iM48638, iM48637) + iM48636, this.f20714[9], -1958414417, this, 12, iM48639);
        int iM486311 = C2803.m4863(m10521(iM486310, iM48639, iM48638) + iM48637, this.f20714[10], -42063, this, 17, iM486310);
        int iM486312 = C2803.m4863(m10521(iM486311, iM486310, iM48639) + iM48638, this.f20714[11], -1990404162, this, 22, iM486311);
        int iM486313 = C2803.m4863(m10521(iM486312, iM486311, iM486310) + iM48639, this.f20714[12], 1804603682, this, 7, iM486312);
        int iM486314 = C2803.m4863(m10521(iM486313, iM486312, iM486311) + iM486310, this.f20714[13], -40341101, this, 12, iM486313);
        int iM486315 = C2803.m4863(m10521(iM486314, iM486313, iM486312) + iM486311, this.f20714[14], -1502002290, this, 17, iM486314);
        int iM486316 = C2803.m4863(m10521(iM486315, iM486314, iM486313) + iM486312, this.f20714[15], 1236535329, this, 22, iM486315);
        int iM486317 = C2803.m4863(m10524(iM486316, iM486315, iM486314) + iM486313, this.f20714[1], -165796510, this, 5, iM486316);
        int iM486318 = C2803.m4863(m10524(iM486317, iM486316, iM486315) + iM486314, this.f20714[6], -1069501632, this, 9, iM486317);
        int iM486319 = C2803.m4863(m10524(iM486318, iM486317, iM486316) + iM486315, this.f20714[11], 643717713, this, 14, iM486318);
        int iM486320 = C2803.m4863(m10524(iM486319, iM486318, iM486317) + iM486316, this.f20714[0], -373897302, this, 20, iM486319);
        int iM486321 = C2803.m4863(m10524(iM486320, iM486319, iM486318) + iM486317, this.f20714[5], -701558691, this, 5, iM486320);
        int iM486322 = C2803.m4863(m10524(iM486321, iM486320, iM486319) + iM486318, this.f20714[10], 38016083, this, 9, iM486321);
        int iM486323 = C2803.m4863(m10524(iM486322, iM486321, iM486320) + iM486319, this.f20714[15], -660478335, this, 14, iM486322);
        int iM486324 = C2803.m4863(m10524(iM486323, iM486322, iM486321) + iM486320, this.f20714[4], -405537848, this, 20, iM486323);
        int iM486325 = C2803.m4863(m10524(iM486324, iM486323, iM486322) + iM486321, this.f20714[9], 568446438, this, 5, iM486324);
        int iM486326 = C2803.m4863(m10524(iM486325, iM486324, iM486323) + iM486322, this.f20714[14], -1019803690, this, 9, iM486325);
        int iM486327 = C2803.m4863(m10524(iM486326, iM486325, iM486324) + iM486323, this.f20714[3], -187363961, this, 14, iM486326);
        int iM486328 = C2803.m4863(m10524(iM486327, iM486326, iM486325) + iM486324, this.f20714[8], 1163531501, this, 20, iM486327);
        int iM486329 = C2803.m4863(m10524(iM486328, iM486327, iM486326) + iM486325, this.f20714[13], -1444681467, this, 5, iM486328);
        int iM486330 = C2803.m4863(m10524(iM486329, iM486328, iM486327) + iM486326, this.f20714[2], -51403784, this, 9, iM486329);
        int iM486331 = C2803.m4863(m10524(iM486330, iM486329, iM486328) + iM486327, this.f20714[7], 1735328473, this, 14, iM486330);
        int iM486332 = C2803.m4863(m10524(iM486331, iM486330, iM486329) + iM486328, this.f20714[12], -1926607734, this, 20, iM486331);
        int iM486333 = C2803.m4863(((iM486332 ^ iM486331) ^ iM486330) + iM486329, this.f20714[5], -378558, this, 4, iM486332);
        int iM486334 = C2803.m4863(((iM486333 ^ iM486332) ^ iM486331) + iM486330, this.f20714[8], -2022574463, this, 11, iM486333);
        int iM486335 = C2803.m4863(((iM486334 ^ iM486333) ^ iM486332) + iM486331, this.f20714[11], 1839030562, this, 16, iM486334);
        int iM486336 = C2803.m4863(((iM486335 ^ iM486334) ^ iM486333) + iM486332, this.f20714[14], -35309556, this, 23, iM486335);
        int iM486337 = C2803.m4863(((iM486336 ^ iM486335) ^ iM486334) + iM486333, this.f20714[1], -1530992060, this, 4, iM486336);
        int iM486338 = C2803.m4863(((iM486337 ^ iM486336) ^ iM486335) + iM486334, this.f20714[4], 1272893353, this, 11, iM486337);
        int iM486339 = C2803.m4863(((iM486338 ^ iM486337) ^ iM486336) + iM486335, this.f20714[7], -155497632, this, 16, iM486338);
        int iM486340 = C2803.m4863(iM486336 + ((iM486339 ^ iM486338) ^ iM486337), this.f20714[10], -1094730640, this, 23, iM486339);
        int iM486341 = C2803.m4863(((iM486340 ^ iM486339) ^ iM486338) + iM486337, this.f20714[13], 681279174, this, 4, iM486340);
        int iM486342 = C2803.m4863(((iM486341 ^ iM486340) ^ iM486339) + iM486338, this.f20714[0], -358537222, this, 11, iM486341);
        int iM486343 = C2803.m4863(((iM486342 ^ iM486341) ^ iM486340) + iM486339, this.f20714[3], -722521979, this, 16, iM486342);
        int iM486344 = C2803.m4863(((iM486343 ^ iM486342) ^ iM486341) + iM486340, this.f20714[6], 76029189, this, 23, iM486343);
        int iM486345 = C2803.m4863(((iM486344 ^ iM486343) ^ iM486342) + iM486341, this.f20714[9], -640364487, this, 4, iM486344);
        int iM486346 = C2803.m4863(((iM486345 ^ iM486344) ^ iM486343) + iM486342, this.f20714[12], -421815835, this, 11, iM486345);
        int iM486347 = C2803.m4863(((iM486346 ^ iM486345) ^ iM486344) + iM486343, this.f20714[15], 530742520, this, 16, iM486346);
        int iM486348 = C2803.m4863(((iM486347 ^ iM486346) ^ iM486345) + iM486344, this.f20714[2], -995338651, this, 23, iM486347);
        int iM486349 = C2803.m4863(m10525(iM486348, iM486347, iM486346) + iM486345, this.f20714[0], -198630844, this, 6, iM486348);
        int iM486350 = C2803.m4863(m10525(iM486349, iM486348, iM486347) + iM486346, this.f20714[7], 1126891415, this, 10, iM486349);
        int iM486351 = C2803.m4863(m10525(iM486350, iM486349, iM486348) + iM486347, this.f20714[14], -1416354905, this, 15, iM486350);
        int iM486352 = C2803.m4863(m10525(iM486351, iM486350, iM486349) + iM486348, this.f20714[5], -57434055, this, 21, iM486351);
        int iM486353 = C2803.m4863(m10525(iM486352, iM486351, iM486350) + iM486349, this.f20714[12], 1700485571, this, 6, iM486352);
        int iM486354 = C2803.m4863(m10525(iM486353, iM486352, iM486351) + iM486350, this.f20714[3], -1894986606, this, 10, iM486353);
        int iM486355 = C2803.m4863(m10525(iM486354, iM486353, iM486352) + iM486351, this.f20714[10], -1051523, this, 15, iM486354);
        int iM486356 = C2803.m4863(m10525(iM486355, iM486354, iM486353) + iM486352, this.f20714[1], -2054922799, this, 21, iM486355);
        int iM486357 = C2803.m4863(m10525(iM486356, iM486355, iM486354) + iM486353, this.f20714[8], 1873313359, this, 6, iM486356);
        int iM486358 = C2803.m4863(m10525(iM486357, iM486356, iM486355) + iM486354, this.f20714[15], -30611744, this, 10, iM486357);
        int iM486359 = C2803.m4863(m10525(iM486358, iM486357, iM486356) + iM486355, this.f20714[6], -1560198380, this, 15, iM486358);
        int iM486360 = C2803.m4863(m10525(iM486359, iM486358, iM486357) + iM486356, this.f20714[13], 1309151649, this, 21, iM486359);
        int iM486361 = C2803.m4863(m10525(iM486360, iM486359, iM486358) + iM486357, this.f20714[4], -145523070, this, 6, iM486360);
        int iM486362 = C2803.m4863(m10525(iM486361, iM486360, iM486359) + iM486358, this.f20714[11], -1120210379, this, 10, iM486361);
        int iM486363 = C2803.m4863(m10525(iM486362, iM486361, iM486360) + iM486359, this.f20714[2], 718787259, this, 15, iM486362);
        int iM486364 = C2803.m4863(m10525(iM486363, iM486362, iM486361) + iM486360, this.f20714[9], -343485551, this, 21, iM486363);
        this.f20710 += iM486361;
        this.f20711 += iM486364;
        this.f20712 += iM486363;
        this.f20713 += iM486362;
        this.f20715 = 0;
        int i5 = 0;
        while (true) {
            int[] iArr = this.f20714;
            if (i5 == iArr.length) {
                return;
            }
            iArr[i5] = 0;
            i5++;
        }
    }
}
