package defpackage;

import kotlinx.coroutines.DispatchException;

/* JADX INFO: renamed from: ᵸᵲᵪ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC5016 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public static final C1735 f19012;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public static final C1735 f19013;

    static {
        int i = 6;
        f19013 = new C1735(i, "UNDEFINED");
        f19012 = new C1735(i, "REUSABLE_CLAIMED");
    }

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public static final void m10349(AbstractC2071 abstractC2071, InterfaceC3822 interfaceC3822, Runnable runnable) throws DispatchException {
        try {
            abstractC2071.mo2301(interfaceC3822, runnable);
        } catch (Throwable th) {
            throw new DispatchException(th, abstractC2071, interfaceC3822);
        }
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public static final boolean m10350(AbstractC2071 abstractC2071, InterfaceC3822 interfaceC3822) throws DispatchException {
        try {
            return abstractC2071.mo5521(interfaceC3822);
        } catch (Throwable th) {
            throw new DispatchException(th, abstractC2071, interfaceC3822);
        }
    }

    /* JADX WARN: Removed duplicated region for block: B:32:0x008b A[Catch: all -> 0x006a, DONT_GENERATE, TryCatch #2 {all -> 0x006a, blocks: (B:16:0x0049, B:18:0x0057, B:20:0x005d, B:33:0x008e, B:23:0x006c, B:25:0x007a, B:30:0x0085, B:32:0x008b, B:38:0x009b, B:41:0x00a4, B:40:0x00a1, B:28:0x0080), top: B:54:0x0049, inners: #0 }] */
    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public static final void m10351(InterfaceC2643 interfaceC2643, Object obj) throws DispatchException {
        InterfaceC4645 interfaceC4645;
        if (!(interfaceC2643 instanceof C4295)) {
            interfaceC2643.mo3530(obj);
            return;
        }
        C4295 c4295 = (C4295) interfaceC2643;
        AbstractC2071 abstractC2071 = c4295.f16368;
        AbstractC3500 abstractC3500 = c4295.f16369;
        Throwable thM5818 = AbstractC2231.m5818(obj);
        Object c5507 = thM5818 == null ? obj : new C5507(thM5818, false);
        if (m10350(abstractC2071, abstractC3500.mo1376())) {
            c4295.f16370 = c5507;
            c4295.f3575 = 1;
            m10349(abstractC2071, abstractC3500.mo1376(), c4295);
            return;
        }
        AbstractC4712 abstractC4712M6130 = AbstractC2412.m6130();
        if (abstractC4712M6130.f17952 >= 4294967296L) {
            c4295.f16370 = c5507;
            c4295.f3575 = 1;
            abstractC4712M6130.m9862(c4295);
            return;
        }
        abstractC4712M6130.m9861(true);
        try {
            interfaceC4645 = (InterfaceC4645) abstractC3500.mo1376().mo2664(C3664.f13909);
        } finally {
            try {
            } finally {
            }
        }
        if (interfaceC4645 == null || interfaceC4645.mo6080()) {
            Object obj2 = c4295.f16367;
            InterfaceC3822 interfaceC3822Mo1376 = abstractC3500.mo1376();
            Object objM2700 = AbstractC0751.m2700(interfaceC3822Mo1376, obj2);
            C1462 c1462M2506 = objM2700 != AbstractC0751.f3395 ? AbstractC0702.m2506(abstractC3500, interfaceC3822Mo1376, objM2700) : null;
            try {
                abstractC3500.mo3530(obj);
            } finally {
                if (c1462M2506 == null || c1462M2506.m4190()) {
                    AbstractC0751.m2701(interfaceC3822Mo1376, objM2700);
                }
            }
        }
        c4295.mo3530(new C2586(interfaceC4645.mo6083()));
        while (abstractC4712M6130.m9860()) {
        }
    }
}
