discord-jadx/app/src/main/java/i0/d0/a/f.java

73 lines
2.0 KiB
Java
Raw Normal View History

2021-11-08 18:25:28 +00:00
package i0.d0.a;
2021-08-04 22:02:59 +00:00
2021-11-08 18:25:28 +00:00
import i0.d;
import i0.e;
import j0.c;
import j0.h;
import j0.l.a.e0;
import j0.o.l;
2021-08-04 22:02:59 +00:00
import java.lang.reflect.Type;
import rx.Observable;
import rx.Scheduler;
2022-03-02 20:59:20 +00:00
/* compiled from: RxJavaCallAdapter.java */
/* loaded from: classes3.dex */
2021-08-04 22:02:59 +00:00
public final class f<R> implements e<R, Object> {
public final Type a;
2021-12-21 23:37:30 +00:00
/* renamed from: b reason: collision with root package name */
2022-03-30 16:43:10 +00:00
public final boolean f3718b;
2021-12-21 23:37:30 +00:00
public final boolean c;
2021-08-04 22:02:59 +00:00
public final boolean d;
public final boolean e;
public f(Type type, Scheduler scheduler, boolean z2, boolean z3, boolean z4, boolean z5, boolean z6) {
this.a = type;
2022-03-30 16:43:10 +00:00
this.f3718b = z3;
2021-12-21 23:37:30 +00:00
this.c = z4;
2021-08-04 22:02:59 +00:00
this.d = z5;
this.e = z6;
}
2021-11-08 18:25:28 +00:00
@Override // i0.e
2021-08-04 22:02:59 +00:00
public Type a() {
return this.a;
}
2022-03-02 20:59:20 +00:00
/* JADX WARN: Removed duplicated region for block: B:11:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:13:0x0032 */
2021-11-08 18:25:28 +00:00
@Override // i0.e
2022-03-02 20:59:20 +00:00
/*
Code decompiled incorrectly, please refer to instructions dump.
*/
2021-08-04 22:02:59 +00:00
public Object b(d<R> dVar) {
Observable.a cVar = new c(dVar);
2022-03-30 16:43:10 +00:00
if (this.f3718b) {
2022-03-02 20:59:20 +00:00
cVar = new e(cVar);
2021-08-04 22:02:59 +00:00
} else {
2021-12-21 23:37:30 +00:00
if (this.c) {
2022-03-02 20:59:20 +00:00
cVar = new a(cVar);
2021-08-04 22:02:59 +00:00
}
Observable observable = new Observable(l.a(cVar));
if (!this.d) {
return new h(new e0(observable));
}
if (!this.e) {
return observable;
}
try {
2021-11-08 18:25:28 +00:00
return new j0.d(new c(observable));
2021-08-04 22:02:59 +00:00
} catch (NullPointerException e) {
throw e;
} catch (Throwable th) {
l.b(th);
NullPointerException nullPointerException = new NullPointerException("Actually not, but can't pass out an exception otherwise...");
nullPointerException.initCause(th);
throw nullPointerException;
}
}
2022-03-02 20:59:20 +00:00
Observable observable2 = new Observable(l.a(cVar));
2021-08-04 22:02:59 +00:00
if (!this.d) {
}
}
}