package p025.p026;

import kotlin.TypeCastException;
import p025.p026.InterfaceC1363;

/* JADX INFO: renamed from: އ.֏.ഺ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public abstract class AbstractC1367<J extends InterfaceC1363> extends AbstractC1321 implements InterfaceC1341, InterfaceC1358 {

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final J f4517;

    public AbstractC1367(J j) {
        this.f4517 = j;
    }

    @Override // p025.p026.InterfaceC1358
    /* JADX INFO: renamed from: ؠ */
    public C1377 mo2667() {
        return null;
    }

    @Override // p025.p026.InterfaceC1358
    /* JADX INFO: renamed from: ހ */
    public boolean mo2668() {
        return true;
    }

    @Override // p025.p026.InterfaceC1341
    /* JADX INFO: renamed from: ރ */
    public void mo2666() {
        Object objM2717;
        J j = this.f4517;
        if (j == null) {
            throw new TypeCastException("null cannot be cast to non-null type kotlinx.coroutines.JobSupport");
        }
        C1368 c1368 = (C1368) j;
        do {
            objM2717 = c1368.m2717();
            if (!(objM2717 instanceof AbstractC1367)) {
                if (!(objM2717 instanceof InterfaceC1358) || ((InterfaceC1358) objM2717).mo2667() == null) {
                    return;
                }
                mo2569();
                return;
            }
            if (objM2717 != this) {
                return;
            }
        } while (!C1368.f4518.compareAndSet(c1368, objM2717, C1373.f4533));
    }
}
