50 lines
1.7 KiB
Java
50 lines
1.7 KiB
Java
package o;
|
|
|
|
import o.C13395fZS;
|
|
|
|
/* renamed from: o.gfi, reason: case insensitive filesystem */
|
|
/* loaded from: classes.dex */
|
|
public final class C15049gfi {
|
|
public static final <T> void a(AbstractC15050gfj<? super T> abstractC15050gfj, InterfaceC14907gbi<? super T> interfaceC14907gbi, boolean z) {
|
|
Object d;
|
|
C13396fZU<InterfaceC14912gbn, Object> c13396fZU;
|
|
Object d2 = abstractC15050gfj.d();
|
|
Throwable b = abstractC15050gfj.b(d2);
|
|
if (b != null) {
|
|
C13395fZS.IeS ieS = C13395fZS.b;
|
|
C14957gcv.e(b, "");
|
|
d = new C13395fZS.LWm(b);
|
|
} else {
|
|
C13395fZS.IeS ieS2 = C13395fZS.b;
|
|
d = abstractC15050gfj.d(d2);
|
|
}
|
|
Object a = C13395fZS.a(d);
|
|
if (z) {
|
|
ggM ggm = (ggM) interfaceC14907gbi;
|
|
InterfaceC14907gbi<T> interfaceC14907gbi2 = ggm.e;
|
|
Object obj = ggm.b;
|
|
InterfaceC14912gbn context = interfaceC14907gbi2.getContext();
|
|
Object e = C15126gho.e(context, obj);
|
|
gfV<?> e2 = e != C15126gho.e ? geQ.e(interfaceC14907gbi2, context, e) : null;
|
|
try {
|
|
ggm.e.resumeWith(a);
|
|
C14866gag c14866gag = C14866gag.c;
|
|
if (e2 != null) {
|
|
if (c13396fZU == null) {
|
|
return;
|
|
}
|
|
}
|
|
return;
|
|
} finally {
|
|
if (e2 != null) {
|
|
if (e2.b.get() != null) {
|
|
e2.b.set(null);
|
|
}
|
|
}
|
|
C15126gho.c(context, e);
|
|
}
|
|
}
|
|
interfaceC14907gbi.resumeWith(a);
|
|
}
|
|
}
|