package h.a;

/* JADX INFO: compiled from: CompletionState.kt */
/* JADX INFO: loaded from: classes.dex */
@g.i
public final class m {
    public final Object a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final g.h0.b.l<Throwable, g.a0> f4317b;

    /* JADX WARN: Multi-variable type inference failed */
    public m(Object obj, g.h0.b.l<? super Throwable, g.a0> lVar) {
        this.a = obj;
        this.f4317b = lVar;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof m)) {
            return false;
        }
        m mVar = (m) obj;
        return g.h0.c.l.a(this.a, mVar.a) && g.h0.c.l.a(this.f4317b, mVar.f4317b);
    }

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

    public String toString() {
        StringBuilder sbB = d.b.a.a.a.B("CompletedWithCancellation(result=");
        sbB.append(this.a);
        sbB.append(", onCancellation=");
        sbB.append(this.f4317b);
        sbB.append(')');
        return sbB.toString();
    }
}
