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

115 lines
3.1 KiB
Java

package o;
import java.util.concurrent.TimeUnit;
/* loaded from: classes3.dex */
public final class XXh extends wRi {
public final InterfaceC3521azC a;
public final BnY c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public XXh(yRw yrw, yRw yrw2, InterfaceC3521azC interfaceC3521azC, BnY bnY) {
super(yrw, yrw2);
C14957gcv.e(yrw, "");
C14957gcv.e(yrw2, "");
C14957gcv.e(interfaceC3521azC, "");
C14957gcv.e(bnY, "");
this.a = interfaceC3521azC;
this.c = bnY;
}
/* loaded from: classes3.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public final int c() {
Integer num;
hoG d = this.c.d();
if (d == null || (num = d.e) == null) {
return 0;
}
return num.intValue();
}
public final long b() {
Long l;
hoG d = this.c.d();
if (d == null || (l = d.d) == null) {
return 0L;
}
return l.longValue();
}
public final AbstractC13163fSk<?> a() {
AbstractC13163fSk<?> e = e(AbstractC13163fSk.timer(e(), TimeUnit.SECONDS));
C14957gcv.c(e, "");
return e;
}
public final int e() {
Integer num;
Integer num2;
Integer num3;
hoG d = this.c.d();
if (d == null || !C14957gcv.b(d.c, Boolean.TRUE)) {
return 0;
}
hoG d2 = this.c.d();
int pow = (int) Math.pow(2.0d, ((d2 == null || (num3 = d2.e) == null) ? 0 : num3.intValue()) - 1);
C8064dAG a = this.a.a();
BgM bgM = a != null ? a.u : null;
int intValue = (bgM == null || (num2 = bgM.c) == null) ? 0 : num2.intValue();
if (intValue <= 0 || intValue >= pow) {
return pow;
}
C8064dAG a2 = this.a.a();
BgM bgM2 = a2 != null ? a2.u : null;
if (bgM2 == null || (num = bgM2.c) == null) {
return 0;
}
return num.intValue();
}
public final void d() {
Boolean bool;
int intValue;
Integer num;
C8064dAG a = this.a.a();
BgM bgM = a != null ? a.u : null;
if (bgM == null || (bool = bgM.a) == null || !bool.booleanValue()) {
return;
}
hoG d = this.c.d();
int i = 0;
if (d == null) {
d = new hoG(Boolean.TRUE, 0, 4);
} else {
d.c = Boolean.TRUE;
Integer num2 = d.e;
if (num2 != null && (intValue = num2.intValue()) < 32) {
int pow = (int) Math.pow(2.0d, intValue - 1);
C8064dAG a2 = this.a.a();
BgM bgM2 = a2 != null ? a2.u : null;
if (bgM2 != null && (num = bgM2.c) != null) {
i = num.intValue();
}
if (pow < i) {
d.e = Integer.valueOf(intValue + 1);
}
}
}
this.c.b(d);
}
static {
new HBt((byte) 0);
}
}