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

71 lines
2.0 KiB
Java

package i0.e0.a;
import i0.d;
import i0.e;
import j0.c;
import j0.h;
import j0.l.a.e0;
import j0.o.l;
import java.lang.reflect.Type;
import rx.Observable;
import rx.Scheduler;
/* compiled from: RxJavaCallAdapter */
public final class f<R> implements e<R, Object> {
public final Type a;
public final boolean b;
/* renamed from: c reason: collision with root package name */
public final boolean f2823c;
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;
this.b = z3;
this.f2823c = z4;
this.d = z5;
this.e = z6;
}
@Override // i0.e
public Type a() {
return this.a;
}
/* JADX WARNING: Removed duplicated region for block: B:11:0x0032 */
/* JADX WARNING: Removed duplicated region for block: B:9:0x0027 */
@Override // i0.e
public Object b(d<R> dVar) {
Observable.a aVar;
Observable.a cVar = new c(dVar);
if (this.b) {
aVar = new e(cVar);
} else {
if (this.f2823c) {
aVar = new a(cVar);
}
Observable observable = new Observable(l.a(cVar));
if (!this.d) {
return new h(new e0(observable));
}
if (!this.e) {
return observable;
}
try {
return new j0.d(new c(observable));
} 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;
}
}
cVar = aVar;
Observable observable = new Observable(l.a(cVar));
if (!this.d) {
}
}
}