package com.strmr.ps.ui.base;

import defpackage.ak1;
import defpackage.ck1;
import defpackage.e6a;
import defpackage.gf1;
import defpackage.gr3;
import defpackage.h32;
import defpackage.s38;
import kotlin.Metadata;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;

/* JADX INFO: loaded from: classes3.dex */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001*\u00020\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"Lak1;", "Le6a;", "<anonymous>", "(Lak1;)V"}, k = 3, mv = {2, 0, 0})
@DebugMetadata(c = "com.strmr.ps.ui.base.BaseContentViewModel$loadAllRows$5$1", f = "BaseContentViewModel.kt", i = {}, l = {314, 315}, m = "invokeSuspend", n = {}, s = {})
final class m extends SuspendLambda implements gr3<ak1, Continuation<? super e6a>, Object> {
    public int a;
    public final /* synthetic */ int b;
    public final /* synthetic */ BaseContentViewModel c;
    public final /* synthetic */ gf1 d;
    public final /* synthetic */ boolean e;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public m(int i, BaseContentViewModel baseContentViewModel, gf1 gf1Var, boolean z, Continuation continuation) {
        super(2, continuation);
        this.b = i;
        this.c = baseContentViewModel;
        this.d = gf1Var;
        this.e = z;
    }

    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    public final Continuation create(Object obj, Continuation continuation) {
        return new m(this.b, this.c, this.d, this.e, continuation);
    }

    @Override // defpackage.gr3
    public final Object invoke(Object obj, Object obj2) {
        return ((m) create((ak1) obj, (Continuation) obj2)).invokeSuspend(e6a.a);
    }

    /* JADX WARN: Code restructure failed: missing block: B:14:0x003e, code lost:
    
        if (com.strmr.ps.ui.base.BaseContentViewModel.j(r9.c, r2 + 1, r9.d, r9.e, r9) == r0) goto L15;
     */
    @Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        ck1 ck1Var = ck1.a;
        int i = this.a;
        int i2 = this.b;
        if (i == 0) {
            s38.b(obj);
            this.a = 1;
            if (h32.a((((long) i2) * 50) + 200, this) != ck1Var) {
            }
            return ck1Var;
        }
        if (i != 1) {
            if (i != 2) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            s38.b(obj);
            return e6a.a;
        }
        s38.b(obj);
        this.a = 2;
    }
}
