package p463.p473.p474.p475;

import p463.p473.p474.p479.C7158;
import p463.p473.p480.InterfaceC7159;

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

    /* JADX INFO: renamed from: ދ, reason: contains not printable characters */
    public static final int[] f20716 = {1116352408, 1899447441, -1245643825, -373957723, 961987163, 1508970993, -1841331548, -1424204075, -670586216, 310598401, 607225278, 1426881987, 1925078388, -2132889090, -1680079193, -1046744716, -459576895, -272742522, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, -1740746414, -1473132947, -1341970488, -1084653625, -958395405, -710438585, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, -2117940946, -1838011259, -1564481375, -1474664885, -1035236496, -949202525, -778901479, -694614492, -200395387, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, -2067236844, -1933114872, -1866530822, -1538233109, -1090935817, -965641998};

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

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

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

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

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

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

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

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

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

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

    public C7152() {
        this.f20725 = new int[64];
        mo10497();
    }

    public C7152(C7152 c7152) {
        super(c7152);
        this.f20725 = new int[64];
        m10528(c7152);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final int m10526(int i) {
        return ((i << 10) | (i >>> 22)) ^ (((i >>> 2) | (i << 30)) ^ ((i >>> 13) | (i << 19)));
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final int m10527(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();
        C7158.m10542(this.f20717, bArr, i);
        C7158.m10542(this.f20718, bArr, i + 4);
        C7158.m10542(this.f20719, bArr, i + 8);
        C7158.m10542(this.f20720, bArr, i + 12);
        C7158.m10542(this.f20721, bArr, i + 16);
        C7158.m10542(this.f20722, bArr, i + 20);
        C7158.m10542(this.f20723, bArr, i + 24);
        C7158.m10542(this.f20724, bArr, i + 28);
        mo10497();
        return 32;
    }

    @Override // p463.p473.p474.p475.AbstractC7149, p463.p473.p474.InterfaceC7146
    /* JADX INFO: renamed from: ֏ */
    public void mo10497() {
        super.mo10497();
        this.f20717 = 1779033703;
        this.f20718 = -1150833019;
        this.f20719 = 1013904242;
        this.f20720 = -1521486534;
        this.f20721 = 1359893119;
        this.f20722 = -1694144372;
        this.f20723 = 528734635;
        this.f20724 = 1541459225;
        this.f20726 = 0;
        int i = 0;
        while (true) {
            int[] iArr = this.f20725;
            if (i == iArr.length) {
                return;
            }
            iArr[i] = 0;
            i++;
        }
    }

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

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final void m10528(C7152 c7152) {
        super.m10509((AbstractC7149) c7152);
        this.f20717 = c7152.f20717;
        this.f20718 = c7152.f20718;
        this.f20719 = c7152.f20719;
        this.f20720 = c7152.f20720;
        this.f20721 = c7152.f20721;
        this.f20722 = c7152.f20722;
        this.f20723 = c7152.f20723;
        this.f20724 = c7152.f20724;
        int[] iArr = c7152.f20725;
        System.arraycopy(iArr, 0, this.f20725, 0, iArr.length);
        this.f20726 = c7152.f20726;
    }

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

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final int m10529(int i) {
        return ((i << 7) | (i >>> 25)) ^ (((i >>> 6) | (i << 26)) ^ ((i >>> 11) | (i << 21)));
    }

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

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

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

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

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

    @Override // p463.p473.p474.p475.AbstractC7149
    /* JADX INFO: renamed from: ބ */
    public void mo10512() {
        for (int i = 16; i <= 63; i++) {
            int[] iArr = this.f20725;
            int i2 = iArr[i - 2];
            int i3 = ((i2 >>> 10) ^ (((i2 >>> 17) | (i2 << 15)) ^ ((i2 >>> 19) | (i2 << 13)))) + iArr[i - 7];
            int i4 = iArr[i - 15];
            iArr[i] = i3 + ((i4 >>> 3) ^ (((i4 >>> 7) | (i4 << 25)) ^ ((i4 >>> 18) | (i4 << 14)))) + iArr[i - 16];
        }
        int i5 = this.f20717;
        int i6 = this.f20718;
        int i7 = this.f20719;
        int i8 = this.f20720;
        int i9 = this.f20721;
        int i10 = this.f20722;
        int i11 = this.f20723;
        int i12 = this.f20724;
        int i13 = 0;
        int i14 = 0;
        while (i13 < 8) {
            int iM10527 = m10527(i9, i10, i11) + m10529(i9) + f20716[i14] + this.f20725[i14] + i12;
            int i15 = i8 + iM10527;
            int iM10530 = m10530(i5, i6, i7) + m10526(i5) + iM10527;
            int i16 = i14 + 1;
            int iM105272 = m10527(i15, i9, i10) + m10529(i15) + f20716[i16] + this.f20725[i16] + i11;
            int i17 = i7 + iM105272;
            int iM105302 = m10530(iM10530, i5, i6) + m10526(iM10530) + iM105272;
            int i18 = i16 + 1;
            int iM105273 = m10527(i17, i15, i9) + m10529(i17) + f20716[i18] + this.f20725[i18] + i10;
            int i19 = i6 + iM105273;
            int iM105303 = m10530(iM105302, iM10530, i5) + m10526(iM105302) + iM105273;
            int i20 = i18 + 1;
            int iM105274 = m10527(i19, i17, i15) + m10529(i19) + f20716[i20] + this.f20725[i20] + i9;
            int i21 = i5 + iM105274;
            int iM105304 = m10530(iM105303, iM105302, iM10530) + m10526(iM105303) + iM105274;
            int i22 = i20 + 1;
            int iM105275 = m10527(i21, i19, i17) + m10529(i21) + f20716[i22] + this.f20725[i22] + i15;
            int i23 = iM10530 + iM105275;
            int iM105305 = m10530(iM105304, iM105303, iM105302) + m10526(iM105304) + iM105275;
            int i24 = i22 + 1;
            int iM105276 = m10527(i23, i21, i19) + m10529(i23) + f20716[i24] + this.f20725[i24] + i17;
            int i25 = iM105302 + iM105276;
            int iM105306 = m10530(iM105305, iM105304, iM105303) + m10526(iM105305) + iM105276;
            int i26 = i24 + 1;
            int iM105277 = m10527(i25, i23, i21) + m10529(i25) + f20716[i26] + this.f20725[i26] + i19;
            int i27 = iM105303 + iM105277;
            int iM105307 = m10530(iM105306, iM105305, iM105304) + m10526(iM105306) + iM105277;
            int i28 = i26 + 1;
            int iM105278 = m10527(i27, i25, i23) + m10529(i27) + f20716[i28] + this.f20725[i28] + i21;
            int i29 = iM105304 + iM105278;
            int iM105308 = m10530(iM105307, iM105306, iM105305) + m10526(iM105307) + iM105278;
            i14 = i28 + 1;
            i13++;
            i9 = i29;
            i5 = iM105308;
            i10 = i27;
            i6 = iM105307;
            i11 = i25;
            i7 = iM105306;
            i12 = i23;
            i8 = iM105305;
        }
        this.f20717 += i5;
        this.f20718 += i6;
        this.f20719 += i7;
        this.f20720 += i8;
        this.f20721 += i9;
        this.f20722 += i10;
        this.f20723 += i11;
        this.f20724 += i12;
        this.f20726 = 0;
        for (int i30 = 0; i30 < 16; i30++) {
            this.f20725[i30] = 0;
        }
    }
}
