package kotlinx.coroutines.rx3;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.Metadata(d1 = {"\u0000\u001c\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0004\n\u0002\u0010\u0003\n\u0002\b\u0004\b\n\u0018\u00002\u00020\u0001J\u0017\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0003\u001a\u00020\u0002H\u0016¢\u0006\u0004\b\u0005\u0010\u0006J\u000f\u0010\u0007\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\u0007\u0010\bJ\u0017\u0010\u000b\u001a\u00020\u00042\u0006\u0010\n\u001a\u00020\tH\u0016¢\u0006\u0004\b\u000b\u0010\f¨\u0006\r"}, d2 = {"kotlinx/coroutines/rx3/RxAwaitKt$await$2$1", "Lio/reactivex/rxjava3/core/CompletableObserver;", "Lio/reactivex/rxjava3/disposables/Disposable;", "d", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "onSubscribe", "(Lio/reactivex/rxjava3/disposables/Disposable;)V", "onComplete", "()V", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "e", "onError", "(Ljava/lang/Throwable;)V", "kotlinx-coroutines-rx3"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class RxAwaitKt$await$2$1 implements io.reactivex.rxjava3.core.CompletableObserver {
    final /* synthetic */ kotlinx.coroutines.CancellableContinuation a;

    public void onComplete() {
        kotlinx.coroutines.CancellableContinuation cancellableContinuation = this.a;
        kotlin.Result.Companion companion = kotlin.Result.b;
        cancellableContinuation.resumeWith(kotlin.Result.b(kotlin.Unit.a));
    }

    public void onError(java.lang.Throwable e) {
        kotlinx.coroutines.CancellableContinuation cancellableContinuation = this.a;
        kotlin.Result.Companion companion = kotlin.Result.b;
        cancellableContinuation.resumeWith(kotlin.Result.b(kotlin.ResultKt.a(e)));
    }

    public void onSubscribe(io.reactivex.rxjava3.disposables.Disposable d) {
        kotlinx.coroutines.rx3.RxAwaitKt.i(this.a, d);
    }
}
