package d3;

import androidx.compose.runtime.MutableFloatState;
import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.State;
import j$.time.format.DateTimeFormatter;
import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: loaded from: classes.dex */
public final class R1 extends C4.j implements J4.e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ MutableState f15308a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ MutableState f15310c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ State f15311d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ MutableFloatState f15312e;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public R1(MutableState mutableState, MutableState mutableState2, MutableState mutableState3, State state, MutableFloatState mutableFloatState, A4.d dVar) {
        super(2, dVar);
        this.f15308a = mutableState;
        this.f15309b = mutableState2;
        this.f15310c = mutableState3;
        this.f15311d = state;
        this.f15312e = mutableFloatState;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new R1(this.f15308a, this.f15309b, this.f15310c, this.f15311d, this.f15312e, dVar);
    }

    @Override // J4.e
    public final Object invoke(Object obj, Object obj2) {
        R1 r12 = (R1) create((V4.C) obj, (A4.d) obj2);
        C3137A c3137a = C3137A.f25453a;
        r12.invokeSuspend(c3137a);
        return c3137a;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        AbstractC2467b.l(obj);
        MutableState mutableState = this.f15308a;
        DateTimeFormatter dateTimeFormatter = v2.f16084a;
        long jLongValue = ((Number) mutableState.getValue()).longValue();
        C3137A c3137a = C3137A.f25453a;
        MutableState mutableState2 = this.f15309b;
        if (jLongValue <= 0) {
            mutableState2.setValue(Boolean.FALSE);
            return c3137a;
        }
        if (((Boolean) mutableState2.getValue()).booleanValue() || ((Long) this.f15310c.getValue()) != null) {
            return c3137a;
        }
        this.f15312e.setFloatValue(((Number) this.f15311d.getValue()).floatValue());
        mutableState2.setValue(Boolean.TRUE);
        return c3137a;
    }
}
