package kotlinx.coroutines; import kotlin.coroutines.Continuation; import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsKt; /* loaded from: classes5.dex */ public final class CompletableDeferredImpl extends JobSupport implements CompletableDeferred { @Override // kotlinx.coroutines.JobSupport public boolean getOnCancelComplete$kotlinx_coroutines_core() { return true; } public CompletableDeferredImpl(Job job) { super(true); initParentJob(job); } @Override // kotlinx.coroutines.Deferred public Object getCompleted() { return getCompletedInternal$kotlinx_coroutines_core(); } @Override // kotlinx.coroutines.Deferred public Object await(Continuation continuation) { Object awaitInternal = awaitInternal(continuation); IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED(); return awaitInternal; } @Override // kotlinx.coroutines.CompletableDeferred public boolean complete(Object obj) { return makeCompleting$kotlinx_coroutines_core(obj); } @Override // kotlinx.coroutines.CompletableDeferred public boolean completeExceptionally(Throwable th) { return makeCompleting$kotlinx_coroutines_core(new CompletedExceptionally(th, false, 2, null)); } }