package o; /* renamed from: o.hFm, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C15622hFm { int a; int d; byte[] e; public C15622hFm(byte[] bArr, int i, int i2) { this.e = bArr; this.d = i; this.a = i2; } public static byte[] b(byte[] bArr, int i, int i2) { byte[] bArr2 = new byte[i * i2]; int i3 = 0; for (int i4 = 0; i4 < i; i4++) { for (int i5 = i2 - 1; i5 >= 0; i5--) { bArr2[i3] = bArr[(i5 * i) + i4]; i3++; } } return bArr2; } public static byte[] d(byte[] bArr, int i, int i2) { int i3 = i * i2; byte[] bArr2 = new byte[i3]; int i4 = i3 - 1; for (int i5 = 0; i5 < i3; i5++) { bArr2[i4] = bArr[i5]; i4--; } return bArr2; } public static byte[] e(byte[] bArr, int i, int i2) { int i3 = i * i2; byte[] bArr2 = new byte[i3]; int i4 = i3 - 1; for (int i5 = 0; i5 < i; i5++) { for (int i6 = i2 - 1; i6 >= 0; i6--) { bArr2[i4] = bArr[(i6 * i) + i5]; i4--; } } return bArr2; } }