what-the-bank/sources/o/Bxv.java

42 lines
1.3 KiB
Java

package o;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
/* loaded from: classes.dex */
public final class Bxv {
public static final Set<String> e = new HashSet(Arrays.asList("ftyp", "meta"));
public AbstractC16191mAf<?> c(Eaa eaa, long j, AbstractC16191mAf<?> abstractC16191mAf) {
while (true) {
if (j != -1) {
try {
if (eaa.c() >= j) {
break;
}
} catch (IOException unused) {
}
}
abstractC16191mAf = e(eaa, new C6804ccN(eaa), abstractC16191mAf);
}
return abstractC16191mAf;
}
public AbstractC16191mAf<?> e(Eaa eaa, C6804ccN c6804ccN, AbstractC16191mAf<?> abstractC16191mAf) throws IOException {
if (abstractC16191mAf.a(c6804ccN)) {
abstractC16191mAf.b(c6804ccN, eaa);
return c(eaa, (c6804ccN.b + eaa.c()) - 8, abstractC16191mAf);
}
if (abstractC16191mAf.b(c6804ccN)) {
return abstractC16191mAf.b(c6804ccN, eaa.a(((int) c6804ccN.b) - 8));
}
if (c6804ccN.b <= 1) {
return abstractC16191mAf;
}
eaa.b(c6804ccN.b - 8);
return abstractC16191mAf;
}
}