package com.appsflyer.internal;

import com.google.android.material.progressindicator.BaseProgressIndicator;

public final class ap {
    /* renamed from: ˊ  reason: contains not printable characters */
    public static void m1203(int[] iArr) {
        for (int i = 0; i < iArr.length / 2; i++) {
            int i2 = iArr[i];
            iArr[i] = iArr[(iArr.length - i) - 1];
            iArr[(iArr.length - i) - 1] = i2;
        }
    }

    /* renamed from: ॱ  reason: contains not printable characters */
    public static void m1205(int i, int i2, boolean z, int i3, int[] iArr, int[][] iArr2, int[] iArr3) {
        if (!z) {
            m1203(iArr);
        }
        int i4 = i2;
        int i5 = i;
        int i6 = 0;
        while (i6 < i3) {
            int i7 = i5 ^ iArr[i6];
            int r1 = i4 ^ m1204(i7, iArr2);
            i6++;
            i4 = i7;
            i5 = r1;
        }
        int i8 = iArr[iArr.length - 2] ^ i5;
        int i9 = iArr[iArr.length - 1] ^ i4;
        if (!z) {
            m1203(iArr);
        }
        iArr3[0] = i9;
        iArr3[1] = i8;
    }

    /* renamed from: ॱ  reason: contains not printable characters */
    public static int m1204(int i, int[][] iArr) {
        return ((iArr[0][i >>> 24] + iArr[1][(i >>> 16) & BaseProgressIndicator.MAX_ALPHA]) ^ iArr[2][(i >>> 8) & BaseProgressIndicator.MAX_ALPHA]) + iArr[3][i & BaseProgressIndicator.MAX_ALPHA];
    }
}
