package q;

import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.SnapshotStateKt__SnapshotStateKt;
import androidx.compose.runtime.State;

/* JADX INFO: renamed from: q.n, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2789n implements State {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final G0 f23389a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final MutableState f23390b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public AbstractC2798s f23391c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public long f23392d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public long f23393e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public boolean f23394f;

    public /* synthetic */ C2789n(G0 g0, Object obj, AbstractC2798s abstractC2798s, int i6) {
        this(g0, obj, (i6 & 4) != 0 ? null : abstractC2798s, Long.MIN_VALUE, Long.MIN_VALUE, false);
    }

    public final Object b() {
        return this.f23389a.f23172b.invoke(this.f23391c);
    }

    @Override // androidx.compose.runtime.State
    public final Object getValue() {
        return this.f23390b.getValue();
    }

    public final String toString() {
        return "AnimationState(value=" + this.f23390b.getValue() + ", velocity=" + b() + ", isRunning=" + this.f23394f + ", lastFrameTimeNanos=" + this.f23392d + ", finishedTimeNanos=" + this.f23393e + ')';
    }

    public C2789n(G0 g0, Object obj, AbstractC2798s abstractC2798s, long j4, long j6, boolean z6) {
        AbstractC2798s abstractC2798sI;
        this.f23389a = g0;
        this.f23390b = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(obj, null, 2, null);
        if (abstractC2798s != null) {
            abstractC2798sI = AbstractC2771e.i(abstractC2798s);
        } else {
            abstractC2798sI = (AbstractC2798s) g0.f23171a.invoke(obj);
            abstractC2798sI.d();
        }
        this.f23391c = abstractC2798sI;
        this.f23392d = j4;
        this.f23393e = j6;
        this.f23394f = z6;
    }
}
