NetMirror.apk
Download file
package b3;
import s2.AbstractC0711h;
/* JADX INFO: loaded from: classes.dex */
public final class C extends l {
/* JADX INFO: renamed from: g, reason: collision with root package name */
private final transient byte[][] f5602g;
/* JADX INFO: renamed from: h, reason: collision with root package name */
private final transient int[] f5603h;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C(byte[][] bArr, int[] iArr) {
super(l.f5638e.g());
D2.h.f(bArr, "segments");
D2.h.f(iArr, "directory");
this.f5602g = bArr;
this.f5603h = iArr;
}
private final l D() {
return new l(y());
}
@Override // b3.l
public void A(i iVar, int i3, int i4) {
D2.h.f(iVar, "buffer");
int i5 = i3 + i4;
int iB = c3.e.b(this, i3);
while (i3 < i5) {
int i6 = iB == 0 ? 0 : B()[iB - 1];
int i7 = B()[iB] - i6;
int i8 = B()[C().length + iB];
int iMin = Math.min(i5, i7 + i6) - i3;
int i9 = i8 + (i3 - i6);
A a4 = new A(C()[iB], i9, i9 + iMin, true, false);
A a5 = iVar.f5627b;
if (a5 == null) {
a4.f5596g = a4;
a4.f5595f = a4;
iVar.f5627b = a4;
} else {
D2.h.c(a5);
A a6 = a5.f5596g;
D2.h.c(a6);
a6.c(a4);
}
i3 += iMin;
iB++;
}
iVar.E0(iVar.F0() + ((long) i4));
}
public final int[] B() {
return this.f5603h;
}
public final byte[][] C() {
return this.f5602g;
}
@Override // b3.l
public String a() {
return D().a();
}
@Override // b3.l
public l d(String str) {
D2.h.f(str, "algorithm");
return c3.b.e(this, str);
}
@Override // b3.l
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (obj instanceof l) {
l lVar = (l) obj;
if (lVar.v() == v() && p(0, lVar, 0, v())) {
return true;
}
}
return false;
}
@Override // b3.l
public int hashCode() {
int iH = h();
if (iH != 0) {
return iH;
}
int length = C().length;
int i3 = 0;
int i4 = 1;
int i5 = 0;
while (i3 < length) {
int i6 = B()[length + i3];
int i7 = B()[i3];
byte[] bArr = C()[i3];
int i8 = (i7 - i5) + i6;
while (i6 < i8) {
i4 = (i4 * 31) + bArr[i6];
i6++;
}
i3++;
i5 = i7;
}
r(i4);
return i4;
}
@Override // b3.l
public int i() {
return B()[C().length - 1];
}
@Override // b3.l
public String k() {
return D().k();
}
@Override // b3.l
public byte[] l() {
return y();
}
@Override // b3.l
public byte m(int i3) {
AbstractC0323f.b(B()[C().length - 1], i3, 1L);
int iB = c3.e.b(this, i3);
return C()[iB][(i3 - (iB == 0 ? 0 : B()[iB - 1])) + B()[C().length + iB]];
}
@Override // b3.l
public boolean p(int i3, l lVar, int i4, int i5) {
D2.h.f(lVar, "other");
if (i3 < 0 || i3 > v() - i5) {
return false;
}
int i6 = i5 + i3;
int iB = c3.e.b(this, i3);
while (i3 < i6) {
int i7 = iB == 0 ? 0 : B()[iB - 1];
int i8 = B()[iB] - i7;
int i9 = B()[C().length + iB];
int iMin = Math.min(i6, i8 + i7) - i3;
if (!lVar.q(i4, C()[iB], i9 + (i3 - i7), iMin)) {
return false;
}
i4 += iMin;
i3 += iMin;
iB++;
}
return true;
}
@Override // b3.l
public boolean q(int i3, byte[] bArr, int i4, int i5) {
D2.h.f(bArr, "other");
if (i3 < 0 || i3 > v() - i5 || i4 < 0 || i4 > bArr.length - i5) {
return false;
}
int i6 = i5 + i3;
int iB = c3.e.b(this, i3);
while (i3 < i6) {
int i7 = iB == 0 ? 0 : B()[iB - 1];
int i8 = B()[iB] - i7;
int i9 = B()[C().length + iB];
int iMin = Math.min(i6, i8 + i7) - i3;
if (!AbstractC0323f.a(C()[iB], i9 + (i3 - i7), bArr, i4, iMin)) {
return false;
}
i4 += iMin;
i3 += iMin;
iB++;
}
return true;
}
@Override // b3.l
public String toString() {
return D().toString();
}
@Override // b3.l
public l x() {
return D().x();
}
@Override // b3.l
public byte[] y() {
byte[] bArr = new byte[v()];
int length = C().length;
int i3 = 0;
int i4 = 0;
int i5 = 0;
while (i3 < length) {
int i6 = B()[length + i3];
int i7 = B()[i3];
int i8 = i7 - i4;
AbstractC0711h.e(C()[i3], bArr, i5, i6, i6 + i8);
i5 += i8;
i3++;
i4 = i7;
}
return bArr;
}
}
⚠️ This content was hidden by an advertisement filtering extension in your browser. Please disable it and reload the page to access the decompiled content.
We only display one small text ad to keep this service free. Here's what it looks like:
Read the Docs for Business: You write the docs. We do the rest.
Try it today!Ad by EthicalAds
Download file