package defpackage;

import android.os.OutcomeReceiver;
import java.util.concurrent.atomic.AtomicBoolean;
import kotlinx.coroutines.DispatchException;

/* JADX INFO: renamed from: ᵣʾᵽ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C3336 extends AtomicBoolean implements OutcomeReceiver {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final C3453 f12801;

    public C3336(C3453 c3453) {
        super(false);
        this.f12801 = c3453;
    }

    public final void onError(Throwable th) throws DispatchException {
        if (compareAndSet(false, true)) {
            this.f12801.mo3530(new C2586(th));
        }
    }

    public final void onResult(Object obj) throws DispatchException {
        if (compareAndSet(false, true)) {
            this.f12801.mo3530(obj);
        }
    }

    @Override // java.util.concurrent.atomic.AtomicBoolean
    public final String toString() {
        return AbstractC3589.m8112("ContinuationOutcomeReceiver(outcomeReceived = ", ")", get());
    }
}
