package x;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import s1.g0;
import y.f1;
import y.q1;
import y0.y3;

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

    /* renamed from: a, reason: collision with root package name */
    private static final f1 f49801a = y.j.h(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED, null, 7, null);

    public static final y3 a(long j10, y.i iVar, String str, dn.l lVar, y0.m mVar, int i10, int i11) {
        y.i iVar2 = (i11 & 2) != 0 ? f49801a : iVar;
        String str2 = (i11 & 4) != 0 ? "ColorAnimation" : str;
        dn.l lVar2 = (i11 & 8) != 0 ? null : lVar;
        if (y0.p.H()) {
            y0.p.Q(-451899108, i10, -1, "androidx.compose.animation.animateColorAsState (SingleValueAnimation.kt:61)");
        }
        boolean R = mVar.R(g0.q(j10));
        Object f10 = mVar.f();
        if (R || f10 == y0.m.f51621a.a()) {
            f10 = (q1) h.a(g0.f35254b).invoke(g0.q(j10));
            mVar.I(f10);
        }
        int i12 = i10 << 6;
        y3 e10 = y.c.e(g0.h(j10), (q1) f10, iVar2, null, str2, lVar2, mVar, (i10 & 14) | ((i10 << 3) & 896) | (57344 & i12) | (i12 & 458752), 8);
        if (y0.p.H()) {
            y0.p.P();
        }
        return e10;
    }
}
