package kotlinx.coroutines;

/* JADX INFO: loaded from: classes.dex */
public final class r {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Object f29529a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final sd.l f29530b;

    public r(Object obj, sd.l lVar) {
        this.f29529a = obj;
        this.f29530b = lVar;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof r)) {
            return false;
        }
        r rVar = (r) obj;
        return nb.g.c(this.f29529a, rVar.f29529a) && nb.g.c(this.f29530b, rVar.f29530b);
    }

    public final int hashCode() {
        Object obj = this.f29529a;
        return this.f29530b.hashCode() + ((obj == null ? 0 : obj.hashCode()) * 31);
    }

    public final String toString() {
        return "CompletedWithCancellation(result=" + this.f29529a + ", onCancellation=" + this.f29530b + ')';
    }
}
