package com.apiguard3.internal;

import com.bytedance.covode.number.Covode;

public final class rf extends rm {
    public static int getHeaders;
    public static int getMethod = 1;

    static {
        Covode.recordClassIndex(2467);
    }

    public final void getUrl(int[] iArr) {
        int i = getMethod;
        int i2 = i + 49;
        getHeaders = i2 % 128;
        if (i2 % 2 == 0) {
            iArr[7] = iArr[7] + 82;
        } else {
            iArr[2] = iArr[2] / 109;
        }
        int i3 = i + 53;
        getHeaders = i3 % 128;
        if (i3 % 2 != 0) {
            throw new NullPointerException("hashCode");
        }
    }

    public final int[] getBody(byte[] bArr) {
        char c;
        int i = getHeaders + 109;
        getMethod = i % 128;
        int i2 = i % 2;
        int[] iArr = {1028213265, 885417151, getBody(bArr, 12), -96508859, getBody(bArr, 8), getBody(bArr, 20), getBody(bArr, 0), getBody(bArr, 4), 1913507172, getBody(bArr, 28), getBody(bArr, 16), 220856283, getBody(bArr, 24), 260493787, -1057634678, 397208795};
        int i3 = getHeaders + 113;
        getMethod = i3 % 128;
        if (i3 % 2 != 0) {
            c = '_';
        } else {
            c = 3;
        }
        if (c != 3) {
            return iArr;
        }
        throw new NullPointerException("hashCode");
    }

    public final int AGRequest(int i, int i2) {
        int i3 = getHeaders + 29;
        int i4 = i3 % 128;
        getMethod = i4;
        int i5 = i3 % 2;
        int i6 = (i >>> (32 - i2)) | (i << i2);
        int i7 = i4 + 75;
        getHeaders = i7 % 128;
        int i8 = i7 % 2;
        return i6;
    }

    public final void getBody(int[] iArr, int[] iArr2) {
        int i = getMethod + 49;
        getHeaders = i % 128;
        int i2 = i % 2;
        int i3 = 16;
        int[] iArr3 = new int[16];
        int i4 = 16;
        while (true) {
            int i5 = i4 - 1;
            if (i4 <= 0) {
                break;
            }
            iArr3[i5] = iArr[i5];
            i4 = i5;
        }
        int i6 = 16;
        do {
            getBody(iArr3, 2, 0, 1, 3);
            getBody(iArr3, 5, 4, 7, 6);
            getBody(iArr3, 10, 9, 8, 11);
            getBody(iArr3, 12, 13, 15, 14);
            getBody(iArr3, 2, 5, 10, 12);
            getBody(iArr3, 0, 4, 9, 13);
            getBody(iArr3, 1, 7, 8, 15);
            getBody(iArr3, 3, 6, 11, 14);
            i6 -= 2;
        } while (i6 > 0);
        int i7 = 16;
        while (true) {
            int i8 = i7 - 1;
            if (i7 <= 0) {
                break;
            }
            iArr3[i8] = iArr3[i8] + iArr[i8];
            i7 = i8;
        }
        int i9 = getMethod + 9;
        getHeaders = i9 % 128;
        int i10 = i9 % 2;
        while (true) {
            int i11 = i3 - 1;
            if (i3 > 0) {
                int i12 = getMethod + 59;
                getHeaders = i12 % 128;
                int i13 = i12 % 2;
                getUrl(iArr2, i11 * 4, iArr3[i11]);
                i3 = i11;
            } else {
                return;
            }
        }
    }

    public final void getBody(int[] iArr, int i, int i2, int i3, int i4) {
        int i5 = getMethod;
        int i6 = i5 + 117;
        getHeaders = i6 % 128;
        int i7 = i6 % 2;
        iArr[i] = iArr[i] + iArr[i2];
        int i8 = iArr[i4] ^ iArr[i];
        iArr[i4] = (i8 >>> 17) | (i8 << 15);
        iArr[i3] = iArr[i3] + iArr[i4];
        int i9 = iArr[i2] ^ iArr[i3];
        iArr[i2] = (i9 >>> 22) | (i9 << 10);
        iArr[i] = iArr[i] + iArr[i2];
        int i10 = iArr[i] ^ iArr[i4];
        iArr[i4] = (i10 >>> 26) | (i10 << 6);
        iArr[i3] = iArr[i3] + iArr[i4];
        int i11 = iArr[i2] ^ iArr[i3];
        iArr[i2] = (i11 >>> 23) | (i11 << 9);
        int i12 = i5 + 65;
        getHeaders = i12 % 128;
        int i13 = i12 % 2;
    }
}
