package d;

import d.q;

/* JADX INFO: compiled from: Result.kt */
/* JADX INFO: loaded from: classes.dex */
@n
public final class r {
    public static final Object a(Throwable th) {
        d.n0.c.s.e(th, "exception");
        return new q.b(th);
    }

    public static final void b(Object obj) throws Throwable {
        if (obj instanceof q.b) {
            throw ((q.b) obj).f2688c;
        }
    }
}
