package d3;

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

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

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ X2.f f16169b;

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

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

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

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

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C1938x1(X2.f fVar, int i6, int i7, boolean z6, String str, State state, A4.d dVar) {
        super(2, dVar);
        this.f16169b = fVar;
        this.f16170c = i6;
        this.f16171d = i7;
        this.f16172e = z6;
        this.f16173f = str;
        this.f16174j = state;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new C1938x1(this.f16169b, this.f16170c, this.f16171d, this.f16172e, this.f16173f, this.f16174j, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        String string;
        B4.a aVar = B4.a.f492a;
        int i6 = this.f16168a;
        if (i6 != 0) {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
            return obj;
        }
        AbstractC2467b.l(obj);
        String str = this.f16173f;
        String str2 = (str == null || (string = S4.p.o1(str).toString()) == null || string.length() <= 0) ? null : string;
        DateTimeFormatter dateTimeFormatter = v2.f16084a;
        String str3 = ((n3) this.f16174j.getValue()).f7971a.f7887b;
        if (S4.p.Q0(str3)) {
            str3 = "en";
        }
        this.f16168a = 1;
        Object objF = this.f16169b.f(this.f16170c, this.f16171d, this.f16172e, str2, str3, this);
        return objF == aVar ? aVar : objF;
    }
}
