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

83 lines
2.7 KiB
Java

package o;
import java.io.IOException;
import java.util.Enumeration;
import o.gnV;
/* renamed from: o.goa, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15361goa extends AbstractC15321gnP {
public C15361goa(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().h().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().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 {
Enumeration elements;
gng.b(160, this.e);
gng.a(128);
boolean z = this.b;
if (!this.a) {
if (this.d instanceof gnD) {
if (this.d instanceof gnV) {
gnV gnv = (gnV) this.d;
if (gnv.e == null) {
elements = gnv.g().elements();
} else {
elements = new gnV.AnonymousClass1(gnv);
}
} else {
gnV gnv2 = new gnV(((gnD) this.d).b());
if (gnv2.e == null) {
elements = gnv2.g().elements();
} else {
elements = new gnV.AnonymousClass1(gnv2);
}
}
} else if (this.d instanceof AbstractC15317gnH) {
elements = ((AbstractC15317gnH) this.d).b();
} else {
if (!(this.d instanceof AbstractC15318gnI)) {
StringBuilder sb = new StringBuilder("not implemented: ");
sb.append(this.d.getClass().getName());
throw new RuntimeException(sb.toString());
}
elements = ((AbstractC15318gnI) this.d).d.elements();
}
while (elements.hasMoreElements()) {
gng.d((InterfaceC15342gnr) elements.nextElement());
}
} else {
gng.d(this.d);
}
gng.a(0);
gng.a(0);
}
}