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

223 lines
8.6 KiB
Java

package o;
import java.util.Objects;
import o.AbstractC15351go;
import o.AbstractC15351go.HBt;
/* renamed from: o.gf, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public class C15032gf<R, P extends AbstractC15351go.HBt> extends AbstractC15351go {
private final InterfaceC14894gbR<P, AbstractC13175fSw<R>> c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public C15032gf(yRw yrw, yRw yrw2, InterfaceC14894gbR<? super P, ? extends AbstractC13175fSw<R>> interfaceC14894gbR) {
super(yrw, yrw2, (byte) 0);
C14957gcv.e(yrw, "");
C14957gcv.e(yrw2, "");
C14957gcv.e(interfaceC14894gbR, "");
this.c = interfaceC14894gbR;
}
public final void b(InterfaceC13176fSx<R> interfaceC13176fSx, P p, fSC fsc) {
C14957gcv.e(interfaceC13176fSx, "");
C14957gcv.e(p, "");
C14957gcv.e(fsc, "");
AbstractC13175fSw<R> invoke = this.c.invoke(p);
AbstractC13173fSu abstractC13173fSu = e().d;
Objects.requireNonNull(abstractC13173fSu, "scheduler is null");
C13376fYo c13376fYo = new C13376fYo(invoke, abstractC13173fSu);
AbstractC13173fSu abstractC13173fSu2 = a().d;
Objects.requireNonNull(abstractC13173fSu2, "scheduler is null");
C13371fYj c13371fYj = new C13371fYj(c13376fYo, abstractC13173fSu2);
final RVV rvv = new RVV(fsc);
new C13324fXW(c13371fYj, new fSQ(rvv) { // from class: o.gc
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
}
{
this.b = rvv;
}
}).c(interfaceC13176fSx);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.gf$RVV */
/* loaded from: classes.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<fSJ, C14866gag> {
private fSC e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(fSJ fsj) {
this.e.e(fsj);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(fSC fsc) {
super(1);
this.e = fsc;
}
}
public final <D> void d(InterfaceC13176fSx<D> interfaceC13176fSx, P p, final InterfaceC14894gbR<? super R, ? extends D> interfaceC14894gbR, fSC fsc) {
C14957gcv.e(interfaceC13176fSx, "");
C14957gcv.e(p, "");
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(fsc, "");
AbstractC13175fSw<R> invoke = this.c.invoke(p);
AbstractC13173fSu abstractC13173fSu = e().d;
Objects.requireNonNull(abstractC13173fSu, "scheduler is null");
C13372fYk c13372fYk = new C13372fYk(new C13376fYo(invoke, abstractC13173fSu), new fSS(interfaceC14894gbR) { // from class: o.gg
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR2 = this.e;
C14957gcv.e(interfaceC14894gbR2, "");
return interfaceC14894gbR2.invoke(obj);
}
{
this.e = interfaceC14894gbR;
}
});
AbstractC13173fSu abstractC13173fSu2 = a().d;
Objects.requireNonNull(abstractC13173fSu2, "scheduler is null");
C13371fYj c13371fYj = new C13371fYj(c13372fYk, abstractC13173fSu2);
final HBt hBt = new HBt(fsc);
new C13324fXW(c13371fYj, new fSQ(hBt) { // from class: o.gi
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR2 = this.e;
C14957gcv.e(interfaceC14894gbR2, "");
interfaceC14894gbR2.invoke(obj);
}
{
this.e = hBt;
}
}).c(interfaceC13176fSx);
}
/* renamed from: o.gf$HBt */
/* loaded from: classes.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<fSJ, C14866gag> {
private fSC d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(fSJ fsj) {
this.d.e(fsj);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(fSC fsc) {
super(1);
this.d = fsc;
}
}
public final void e(final InterfaceC14894gbR<? super R, C14866gag> interfaceC14894gbR, final InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2, P p, fSC fsc) {
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
C14957gcv.e(p, "");
C14957gcv.e(fsc, "");
AbstractC13175fSw<R> invoke = this.c.invoke(p);
AbstractC13173fSu abstractC13173fSu = e().d;
Objects.requireNonNull(abstractC13173fSu, "scheduler is null");
C13376fYo c13376fYo = new C13376fYo(invoke, abstractC13173fSu);
AbstractC13173fSu abstractC13173fSu2 = a().d;
Objects.requireNonNull(abstractC13173fSu2, "scheduler is null");
fsc.e(new C13371fYj(c13376fYo, abstractC13173fSu2).b(new fSQ(interfaceC14894gbR) { // from class: o.gd
private InterfaceC14894gbR c;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR3 = this.c;
C14957gcv.e(interfaceC14894gbR3, "");
interfaceC14894gbR3.invoke(obj);
}
{
this.c = interfaceC14894gbR;
}
}, new fSQ(interfaceC14894gbR2) { // from class: o.gh
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR3 = this.b;
C14957gcv.e(interfaceC14894gbR3, "");
interfaceC14894gbR3.invoke(obj);
}
{
this.b = interfaceC14894gbR2;
}
}));
}
public final <D> void e(final InterfaceC14894gbR<? super D, C14866gag> interfaceC14894gbR, final InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2, P p, final InterfaceC14894gbR<? super R, ? extends D> interfaceC14894gbR3, fSC fsc) {
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
C14957gcv.e(p, "");
C14957gcv.e(interfaceC14894gbR3, "");
C14957gcv.e(fsc, "");
AbstractC13175fSw<R> invoke = this.c.invoke(p);
AbstractC13173fSu abstractC13173fSu = e().d;
Objects.requireNonNull(abstractC13173fSu, "scheduler is null");
C13372fYk c13372fYk = new C13372fYk(new C13376fYo(invoke, abstractC13173fSu), new fSS(interfaceC14894gbR3) { // from class: o.gj
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR4 = this.e;
C14957gcv.e(interfaceC14894gbR4, "");
return interfaceC14894gbR4.invoke(obj);
}
{
this.e = interfaceC14894gbR3;
}
});
AbstractC13173fSu abstractC13173fSu2 = a().d;
Objects.requireNonNull(abstractC13173fSu2, "scheduler is null");
fsc.e(new C13371fYj(c13372fYk, abstractC13173fSu2).b(new fSQ(interfaceC14894gbR) { // from class: o.gk
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR4 = this.d;
C14957gcv.e(interfaceC14894gbR4, "");
interfaceC14894gbR4.invoke(obj);
}
{
this.d = interfaceC14894gbR;
}
}, new fSQ(interfaceC14894gbR2) { // from class: o.gn
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
InterfaceC14894gbR interfaceC14894gbR4 = this.e;
C14957gcv.e(interfaceC14894gbR4, "");
interfaceC14894gbR4.invoke(obj);
}
{
this.e = interfaceC14894gbR2;
}
}));
}
}