package M2;

import android.content.Context;
import androidx.compose.runtime.MutableState;
import m3.AbstractC2467b;
import p0.C2714u;
import w4.C3137A;

/* JADX INFO: renamed from: M2.b0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0496b0 extends C4.j implements J4.e {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public int f4636b;

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0496b0(String str, Context context, MutableState mutableState, A4.d dVar) {
        super(2, dVar);
        this.f4637c = str;
        this.f4638d = context;
        this.f4639e = mutableState;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C0496b0(this.f4637c, this.f4638d, this.f4639e, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        MutableState mutableState;
        long j4;
        MutableState mutableState2;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f4636b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            mutableState = this.f4639e;
            String str = this.f4637c;
            if (str == null) {
                j4 = b3.f.f13293a;
                float f6 = AbstractC0535o0.f4860g;
                mutableState.setValue(new C2714u(j4));
                return C3137A.f25453a;
            }
            this.f4635a = mutableState;
            this.f4636b = 1;
            Object objA = b3.f.a(this.f4638d, str, this, 124);
            if (objA == aVar) {
                return aVar;
            }
            mutableState2 = mutableState;
            obj = objA;
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            mutableState2 = this.f4635a;
            AbstractC2467b.l(obj);
        }
        j4 = ((C2714u) obj).f22947a;
        mutableState = mutableState2;
        float f62 = AbstractC0535o0.f4860g;
        mutableState.setValue(new C2714u(j4));
        return C3137A.f25453a;
    }
}
