LINE.apk(点击下载) / e0.java


package q3;

import dm3.p;
import java.util.Objects;
import kotlin.NoWhenBranchMatchedException;
import kotlin.ResultKt;
import kotlin.Unit;
import q3.z1;
import ul3.d;
import um3.g;
import um3.h0;
import wl3.e;
import wl3.i;

public final class e0<Key, Value> extends z1<Key, Value> {

    /* renamed from: b  reason: collision with root package name */
    public int f130290b;

    @e(c = "androidx.paging.LegacyPagingSource$load$2", f = "LegacyPagingSource.kt", l = {111}, m = "invokeSuspend")
    public static final class a extends i implements p<h0, d<? super z1.b.C2419b<Key, Value>>, Object> {

        /* renamed from: b  reason: collision with root package name */
        public int f130291b;

        /* renamed from: c  reason: collision with root package name */
        public final /* synthetic */ e0<Key, Value> f130292c;

        /* renamed from: d  reason: collision with root package name */
        public final /* synthetic */ q<Key> f130293d;

        /* renamed from: e  reason: collision with root package name */
        public final /* synthetic */ z1.a<Key> f130294e;

        /* JADX INFO: super call moved to the top of the method (can break code semantics) */
        public a(e0<Key, Value> e0Var, q<Key> qVar, z1.a<Key> aVar, d<? super a> dVar) {
            super(2, dVar);
            this.f130292c = e0Var;
            this.f130293d = qVar;
            this.f130294e = aVar;
        }

        @Override // wl3.a
        public final d<Unit> create(Object obj, d<?> dVar) {
            return new a(this.f130292c, this.f130293d, this.f130294e, dVar);
        }

        /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object, java.lang.Object] */
        @Override // dm3.p
        public Object invoke(h0 h0Var, Object obj) {
            new a(this.f130292c, this.f130293d, this.f130294e, (d) obj).invokeSuspend(Unit.INSTANCE);
            throw null;
        }

        @Override // wl3.a
        public final Object invokeSuspend(Object obj) {
            int i14 = this.f130291b;
            if (i14 == 0) {
                ResultKt.throwOnFailure(obj);
                Objects.requireNonNull(this.f130292c);
                this.f130291b = 1;
                throw null;
            } else if (i14 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            } else {
                ResultKt.throwOnFailure(obj);
                Objects.requireNonNull((p) obj);
                throw null;
            }
        }
    }

    @Override // q3.z1
    public boolean a() {
        throw null;
    }

    @Override // q3.z1
    public Key b(b2<Key, Value> b2Var) {
        throw null;
    }

    @Override // q3.z1
    public Object c(z1.a<Key> aVar, d<? super z1.b<Key, Value>> dVar) {
        j0 j0Var;
        int i14;
        boolean z14 = aVar instanceof z1.a.c;
        if (z14) {
            j0Var = j0.REFRESH;
        } else if (aVar instanceof z1.a.C2418a) {
            j0Var = j0.APPEND;
        } else if (aVar instanceof z1.a.b) {
            j0Var = j0.PREPEND;
        } else {
            throw new NoWhenBranchMatchedException();
        }
        if (this.f130290b == Integer.MIN_VALUE) {
            System.out.println((Object) "WARNING: pageSize on the LegacyPagingSource is not set.\nWhen using legacy DataSource / DataSourceFactory with Paging3, page size\nshould've been set by the paging library but it is not set yet.\n\nIf you are seeing this message in tests where you are testing DataSource\nin isolation (without a Pager), it is expected and page size will be estimated\nbased on parameters.\n\nIf you are seeing this message despite using a Pager, please file a bug:\nhttps://issuetracker.google.com/issues/new?component=413106");
            if (z14) {
                int i15 = aVar.f130751a;
                if (i15 % 3 == 0) {
                    i14 = i15 / 3;
                    this.f130290b = i14;
                }
            }
            i14 = aVar.f130751a;
            this.f130290b = i14;
        }
        return g.g(null, new a(this, new q(j0Var, aVar.a(), aVar.f130751a, aVar.f130752b, this.f130290b), aVar, null), dVar);
    }
}