TikTok.apk(点击下载) / C782636h.java


package X;

import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.ecommercebase.network.BaseResponse;
import com.ss.android.ugc.aweme.ecommercelive.business.audience.api.EcMessageApi;
import com.ss.android.ugc.aweme.ecommercelive.business.audience.api.RefreshShortTouchResponse;
import com.ss.android.ugc.aweme.ecommercelive.business.audience.api.ShortTouch;
import java.util.List;
import kotlin.d.b.a.a;

/* renamed from: X.36h  reason: invalid class name and case insensitive filesystem */
public final class C782636h extends AbstractC34211Ww implements AnonymousClass1IX<AbstractC23950xE, AbstractC23200w1<? super C23860x5>, Object> {
    public int LIZ;
    public final /* synthetic */ long LIZIZ;
    public final /* synthetic */ String LIZJ;
    public final /* synthetic */ String LIZLLL;
    public final /* synthetic */ AnonymousClass1IM LJ;

    static {
        Covode.recordClassIndex(64183);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public C782636h(long j, String str, String str2, AnonymousClass1IM r6, AbstractC23200w1 r7) {
        super(2, r7);
        this.LIZIZ = j;
        this.LIZJ = str;
        this.LIZLLL = str2;
        this.LJ = r6;
    }

    @Override // kotlin.d.b.a.a
    public final AbstractC23200w1<C23860x5> create(Object obj, AbstractC23200w1<?> r9) {
        C21090sc.LIZ(r9);
        return new C782636h(this.LIZIZ, this.LIZJ, this.LIZLLL, this.LJ, r9);
    }

    /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
    @Override // X.AnonymousClass1IX
    public final Object invoke(AbstractC23950xE r3, AbstractC23200w1<? super C23860x5> r4) {
        return ((a) create(r3, r4)).invokeSuspend(C23860x5.LIZ);
    }

    /* JADX WARNING: Removed duplicated region for block: B:19:0x0059  */
    /* JADX WARNING: Removed duplicated region for block: B:21:0x006d  */
    /* JADX WARNING: Removed duplicated region for block: B:23:0x0071 A[RETURN] */
    @Override // kotlin.d.b.a.a
    public final Object invokeSuspend(Object obj) {
        AbstractC782936k LIZ2;
        C782536g r0;
        EnumC23120vt r4 = EnumC23120vt.COROUTINE_SUSPENDED;
        int i2 = this.LIZ;
        if (i2 == 0) {
            C23800wz.LIZ(obj);
            long j = this.LIZIZ;
            this.LIZ = 1;
            if (C183867Kl.LIZ(j, this) == r4) {
                return r4;
            }
        } else if (i2 == 1) {
            C23800wz.LIZ(obj);
        } else if (i2 == 2) {
            C23800wz.LIZ(obj);
            RefreshShortTouchResponse refreshShortTouchResponse = (RefreshShortTouchResponse) ((BaseResponse) obj).getData();
            List<ShortTouch> list = refreshShortTouchResponse == null ? refreshShortTouchResponse.LIZ : null;
            LIZ2 = AnonymousClass2RI.LIZ.LIZ();
            r0 = new C782536g(this, list, null);
            this.LIZ = 3;
            if (C24240xh.LIZ(LIZ2, r0, this) == r4) {
                return r4;
            }
            return C23860x5.LIZ;
        } else if (i2 == 3) {
            try {
                C23800wz.LIZ(obj);
            } catch (Exception unused) {
            }
            return C23860x5.LIZ;
        } else {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        AnonymousClass215 r2 = new AnonymousClass215(this.LIZJ, this.LIZLLL);
        this.LIZ = 2;
        obj = ((EcMessageApi) C782836j.LIZ.LIZ(EcMessageApi.class, "https://oec-api.tiktokv.com")).refreshShortTouch(r2, this);
        if (obj == r4) {
            return r4;
        }
        RefreshShortTouchResponse refreshShortTouchResponse2 = (RefreshShortTouchResponse) ((BaseResponse) obj).getData();
        if (refreshShortTouchResponse2 == null) {
        }
        LIZ2 = AnonymousClass2RI.LIZ.LIZ();
        r0 = new C782536g(this, list, null);
        this.LIZ = 3;
        if (C24240xh.LIZ(LIZ2, r0, this) == r4) {
        }
        return C23860x5.LIZ;
    }
}