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

56 lines
1.5 KiB
Java

package o;
import java.io.IOException;
import o.gnG;
/* loaded from: classes6.dex */
public final class goQ extends AbstractC15321gnP {
public goQ(boolean z, int i, InterfaceC15342gnr interfaceC15342gnr) {
super(z, i, interfaceC15342gnr);
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15315gnE
public final boolean d() {
boolean z = this.b;
if (this.a) {
return true;
}
return this.d.i().f().d();
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15315gnE
public final int c() throws IOException {
int a;
boolean z = this.b;
int c = this.d.i().f().c();
if (this.a) {
a = goV.a(this.e) + goV.d(c);
} else {
c--;
a = goV.a(this.e);
}
return a + c;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // o.AbstractC15321gnP, o.AbstractC15315gnE
public final void c(gnG gng) throws IOException {
boolean z = this.b;
AbstractC15315gnE f = this.d.i().f();
if (this.a) {
gng.b(160, this.e);
gng.d(f.c());
gng.d(f);
} else {
gng.b(f.d() ? 160 : 128, this.e);
if (f != null) {
f.c(new gnG.LWm(gng, gng.a));
return;
}
throw new IOException("null object detected");
}
}
}