package y0;

import android.os.Looper;
import android.util.Log;

/* loaded from: classes.dex */
public abstract class b {

    /* renamed from: a, reason: collision with root package name */
    private static final rm.o f51485a = rm.p.a(a.f51487p);

    /* renamed from: b, reason: collision with root package name */
    private static final long f51486b;

    /* loaded from: classes.dex */
    static final class a extends kotlin.jvm.internal.v implements dn.a {

        /* renamed from: p, reason: collision with root package name */
        public static final a f51487p = new a();

        a() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final g1 invoke() {
            return Looper.getMainLooper() != null ? g0.f51536p : y2.f51870p;
        }
    }

    static {
        long j10;
        try {
            j10 = Looper.getMainLooper().getThread().getId();
        } catch (Exception unused) {
            j10 = -1;
        }
        f51486b = j10;
    }

    public static final m1 a(float f10) {
        return new u1(f10);
    }

    public static final n1 b(int i10) {
        return new v1(i10);
    }

    public static final o1 c(long j10) {
        return new w1(j10);
    }

    public static final j1.q d(Object obj, m3 m3Var) {
        return new x1(obj, m3Var);
    }

    public static final long e() {
        return f51486b;
    }

    public static final void f(String str, Throwable th2) {
        Log.e("ComposeInternal", str, th2);
    }
}
