package kotlin;

import kotlin.Result;
import nb.g;
import od.c;

/* JADX INFO: loaded from: classes.dex */
public abstract class a {
    public static void a(Throwable th, Throwable th2) {
        g.i(th, "<this>");
        g.i(th2, "exception");
        if (th != th2) {
            c.f31481a.a(th, th2);
        }
    }

    public static final Result.Failure b(Throwable th) {
        g.i(th, "exception");
        return new Result.Failure(th);
    }

    public static kd.c c(sd.a aVar) {
        g.i(aVar, "initializer");
        return new SynchronizedLazyImpl(aVar);
    }

    public static final void d(Object obj) {
        if (obj instanceof Result.Failure) {
            throw ((Result.Failure) obj).exception;
        }
    }
}
