package G;

import m3.AbstractC2467b;
import w4.C3137A;
import x.G0;

/* JADX INFO: loaded from: classes.dex */
public final class K extends C4.j implements J4.e {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ C0227b f1676b;

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

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public K(C0227b c0227b, int i6, A4.d dVar) {
        super(2, dVar);
        this.f1676b = c0227b;
        this.f1677c = i6;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        return new K(this.f1676b, this.f1677c, dVar);
    }

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

    @Override // C4.a
    public final Object invokeSuspend(Object obj) {
        B4.a aVar = B4.a.f492a;
        int i6 = this.f1675a;
        C0227b c0227b = this.f1676b;
        if (i6 == 0) {
            AbstractC2467b.l(obj);
            this.f1675a = 1;
            if (c0227b.i(this) == aVar) {
                return aVar;
            }
        } else {
            if (i6 != 1) {
                throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
            }
            AbstractC2467b.l(obj);
        }
        double d6 = 0.0f;
        if (-0.5d > d6 || d6 > 0.5d) {
            A.b.a("pageOffsetFraction 0.0 is not within the range -0.5 to 0.5");
        }
        c0227b.v(0.0f, c0227b.k(this.f1677c), true);
        return C3137A.f25453a;
    }
}
