package o5;

import c5.C0583b;
import com.google.android.gms.internal.measurement.AbstractC0707u1;
import com.google.android.gms.internal.measurement.C1;
import com.martsnew.domain.model.Movie;
import f5.C0926C;
import f5.C0941b;
import h5.AbstractC1033b;
import java.io.Serializable;
import java.util.Date;

/* JADX INFO: renamed from: o5.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1363b {

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

    public C1363b(C0926C c0926c) {
        P6.g.e(c0926c, "movieRepository");
        this.f15749a = c0926c;
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0019  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Serializable a(Movie movie, G6.c cVar) {
        C1362a c1362a;
        if (cVar instanceof C1362a) {
            c1362a = (C1362a) cVar;
            int i = c1362a.f15748v;
            if ((i & Integer.MIN_VALUE) != 0) {
                c1362a.f15748v = i - Integer.MIN_VALUE;
            } else {
                c1362a = new C1362a(this, cVar);
            }
        }
        Object objA = c1362a.f15746t;
        F6.a aVar = F6.a.f2580q;
        int i5 = c1362a.f15748v;
        if (i5 == 0) {
            C1.N(objA);
            long j8 = movie.f11069q;
            String str = movie.f11076x.f11108q;
            String strA = movie.a();
            String strD = movie.d();
            String strN = AbstractC0707u1.n(new Date());
            C0583b c0583b = new C0583b(j8, movie.f11072t, str, movie.f11071s, movie.f11070r, movie.f11074v, strA, strD, strN, movie.f11073u);
            c1362a.f15748v = 1;
            C0926C c0926c = this.f15749a;
            c0926c.getClass();
            o6.x xVar = AbstractC1033b.f13423a;
            objA = AbstractC1033b.a(new C0941b(c0926c, c0583b, null), c1362a);
            if (objA == aVar) {
                return aVar;
            }
        } else {
            if (i5 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            C1.N(objA);
        }
        return C1.y((X4.c) objA);
    }
}
