119 lines
4.9 KiB
Java
119 lines
4.9 KiB
Java
package o;
|
|
|
|
import o.C14930gcM;
|
|
import o.InterfaceC14912gbn;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class geQ {
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public static final class IeS extends AbstractC14961gcz implements InterfaceC14937gcb<Boolean, InterfaceC14912gbn.Sts, Boolean> {
|
|
public static final IeS e = new IeS();
|
|
|
|
@Override // o.InterfaceC14937gcb
|
|
public final /* synthetic */ Boolean invoke(Boolean bool, InterfaceC14912gbn.Sts sts) {
|
|
return Boolean.valueOf(bool.booleanValue() || (sts instanceof geM));
|
|
}
|
|
|
|
IeS() {
|
|
super(2);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14937gcb<InterfaceC14912gbn, InterfaceC14912gbn.Sts, InterfaceC14912gbn> {
|
|
private C14930gcM.RVV<InterfaceC14912gbn> a;
|
|
private boolean c;
|
|
|
|
/* JADX WARN: Type inference failed for: r1v3, types: [T, o.gbn] */
|
|
@Override // o.InterfaceC14937gcb
|
|
public final /* synthetic */ InterfaceC14912gbn invoke(InterfaceC14912gbn interfaceC14912gbn, InterfaceC14912gbn.Sts sts) {
|
|
InterfaceC14912gbn interfaceC14912gbn2 = interfaceC14912gbn;
|
|
InterfaceC14912gbn.Sts sts2 = sts;
|
|
if (!(sts2 instanceof geM)) {
|
|
return interfaceC14912gbn2.plus(sts2);
|
|
}
|
|
if (this.a.d.get(sts2.getKey()) == null) {
|
|
geM gem = (geM) sts2;
|
|
if (this.c) {
|
|
gem = gem.b();
|
|
}
|
|
return interfaceC14912gbn2.plus(gem);
|
|
}
|
|
C14930gcM.RVV<InterfaceC14912gbn> rvv = this.a;
|
|
rvv.d = rvv.d.minusKey(sts2.getKey());
|
|
return interfaceC14912gbn2.plus(((geM) sts2).d());
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
Sts(C14930gcM.RVV<InterfaceC14912gbn> rvv, boolean z) {
|
|
super(2);
|
|
this.a = rvv;
|
|
this.c = z;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes.dex */
|
|
public static final class RVV extends AbstractC14961gcz implements InterfaceC14937gcb<InterfaceC14912gbn, InterfaceC14912gbn.Sts, InterfaceC14912gbn> {
|
|
public static final RVV d = new RVV();
|
|
|
|
@Override // o.InterfaceC14937gcb
|
|
public final /* synthetic */ InterfaceC14912gbn invoke(InterfaceC14912gbn interfaceC14912gbn, InterfaceC14912gbn.Sts sts) {
|
|
InterfaceC14912gbn interfaceC14912gbn2 = interfaceC14912gbn;
|
|
InterfaceC14912gbn.Sts sts2 = sts;
|
|
if (sts2 instanceof geM) {
|
|
return interfaceC14912gbn2.plus(((geM) sts2).b());
|
|
}
|
|
return interfaceC14912gbn2.plus(sts2);
|
|
}
|
|
|
|
RVV() {
|
|
super(2);
|
|
}
|
|
}
|
|
|
|
public static final gfV<?> e(InterfaceC14907gbi<?> interfaceC14907gbi, InterfaceC14912gbn interfaceC14912gbn, Object obj) {
|
|
gfV<?> gfv = null;
|
|
if (!(interfaceC14907gbi instanceof InterfaceC14922gbx)) {
|
|
return null;
|
|
}
|
|
if (interfaceC14912gbn.get(gfS.a) != null) {
|
|
InterfaceC14922gbx interfaceC14922gbx = (InterfaceC14922gbx) interfaceC14907gbi;
|
|
while (true) {
|
|
if ((interfaceC14922gbx instanceof C15048gfh) || (interfaceC14922gbx = interfaceC14922gbx.getCallerFrame()) == null) {
|
|
break;
|
|
}
|
|
if (interfaceC14922gbx instanceof gfV) {
|
|
gfv = (gfV) interfaceC14922gbx;
|
|
break;
|
|
}
|
|
}
|
|
if (gfv != null) {
|
|
gfv.b.set(new C13396fZU<>(interfaceC14912gbn, obj));
|
|
}
|
|
}
|
|
return gfv;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Type inference failed for: r4v6, types: [T, java.lang.Object] */
|
|
public static final InterfaceC14912gbn b(InterfaceC14912gbn interfaceC14912gbn, InterfaceC14912gbn interfaceC14912gbn2, boolean z) {
|
|
boolean booleanValue = ((Boolean) interfaceC14912gbn.fold(Boolean.FALSE, IeS.e)).booleanValue();
|
|
boolean booleanValue2 = ((Boolean) interfaceC14912gbn2.fold(Boolean.FALSE, IeS.e)).booleanValue();
|
|
if (!booleanValue && !booleanValue2) {
|
|
return interfaceC14912gbn.plus(interfaceC14912gbn2);
|
|
}
|
|
C14930gcM.RVV rvv = new C14930gcM.RVV();
|
|
rvv.d = interfaceC14912gbn2;
|
|
InterfaceC14912gbn interfaceC14912gbn3 = (InterfaceC14912gbn) interfaceC14912gbn.fold(C14908gbj.e, new Sts(rvv, z));
|
|
if (booleanValue2) {
|
|
rvv.d = ((InterfaceC14912gbn) rvv.d).fold(C14908gbj.e, RVV.d);
|
|
}
|
|
return interfaceC14912gbn3.plus((InterfaceC14912gbn) rvv.d);
|
|
}
|
|
}
|