package kotlinx.coroutines;

/* JADX INFO: compiled from: CancellableContinuationImpl.kt */
/* JADX INFO: loaded from: classes.dex */
final class p1 extends l {
    private final h.x.c.l<Throwable, h.r> b;

    /* JADX WARN: Multi-variable type inference failed */
    public p1(h.x.c.l<? super Throwable, h.r> lVar) {
        this.b = lVar;
    }

    @Override // kotlinx.coroutines.m
    public void b(Throwable th) {
        this.b.invoke(th);
    }

    @Override // h.x.c.l
    public /* bridge */ /* synthetic */ h.r invoke(Throwable th) {
        b(th);
        return h.r.a;
    }

    public String toString() {
        return "InvokeOnCancel[" + s0.a(this.b) + '@' + s0.b(this) + ']';
    }
}
