package n;

import m3.AbstractC2467b;
import w4.C3137A;

/* JADX INFO: renamed from: n.q, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C2590q extends C4.i implements J4.e {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public Object[] f21463a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public long[] f21464b;

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

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

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

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

    /* JADX INFO: renamed from: j, reason: collision with root package name */
    public long f21469j;

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public int f21470k;
    public /* synthetic */ Object l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ C2582i f21471m;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C2590q(C2582i c2582i, A4.d dVar) {
        super(2, dVar);
        this.f21471m = c2582i;
    }

    @Override // C4.a
    public final A4.d create(Object obj, A4.d dVar) {
        C2590q c2590q = new C2590q(this.f21471m, dVar);
        c2590q.l = obj;
        return c2590q;
    }

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

    /* JADX WARN: Removed duplicated region for block: B:13:0x0051  */
    /* JADX WARN: Removed duplicated region for block: B:15:0x0064  */
    /* JADX WARN: Removed duplicated region for block: B:20:0x008d  */
    /* JADX WARN: Removed duplicated region for block: B:23:0x0095  */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:12:0x004f -> B:22:0x0093). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:13:0x0051 -> B:14:0x0062). Please report as a decompilation issue!!! */
    /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:16:0x006b -> B:19:0x008a). Please report as a decompilation issue!!! */
    @Override // C4.a
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object invokeSuspend(Object obj) {
        R4.m mVar;
        Object[] objArr;
        long[] jArr;
        int length;
        int i6;
        long j4;
        B4.a aVar = B4.a.f492a;
        int i7 = this.f21470k;
        if (i7 == 0) {
            AbstractC2467b.l(obj);
            mVar = (R4.m) this.l;
            X x6 = this.f21471m.f21450b;
            objArr = x6.f21382b;
            jArr = x6.f21381a;
            length = jArr.length - 2;
            if (length >= 0) {
                i6 = 0;
                j4 = jArr[i6];
                if ((((~j4) << 7) & j4 & (-9187201950435737472L)) != -9187201950435737472L) {
                }
                if (i6 != length) {
                }
            }
            return C3137A.f25453a;
        }
        if (i7 != 1) {
            throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
        }
        int i8 = this.f21468f;
        int i9 = this.f21467e;
        long j6 = this.f21469j;
        i6 = this.f21466d;
        int i10 = this.f21465c;
        long[] jArr2 = this.f21464b;
        Object[] objArr2 = this.f21463a;
        R4.m mVar2 = (R4.m) this.l;
        AbstractC2467b.l(obj);
        j6 >>= 8;
        i8++;
        if (i8 < i9) {
            if (i9 == 8) {
                length = i10;
                jArr = jArr2;
                objArr = objArr2;
                mVar = mVar2;
                if (i6 != length) {
                    i6++;
                    j4 = jArr[i6];
                    if ((((~j4) << 7) & j4 & (-9187201950435737472L)) != -9187201950435737472L) {
                        mVar2 = mVar;
                        i8 = 0;
                        jArr2 = jArr;
                        i10 = length;
                        i9 = 8 - ((~(i6 - length)) >>> 31);
                        objArr2 = objArr;
                        j6 = j4;
                        if (i8 < i9) {
                            if ((255 & j6) < 128) {
                                Object obj2 = objArr2[(i6 << 3) + i8];
                                this.l = mVar2;
                                this.f21463a = objArr2;
                                this.f21464b = jArr2;
                                this.f21465c = i10;
                                this.f21466d = i6;
                                this.f21469j = j6;
                                this.f21467e = i9;
                                this.f21468f = i8;
                                this.f21470k = 1;
                                mVar2.a(this, obj2);
                                B4.a aVar2 = B4.a.f492a;
                                return aVar;
                            }
                            j6 >>= 8;
                            i8++;
                            if (i8 < i9) {
                            }
                        }
                    }
                    if (i6 != length) {
                    }
                }
            }
            return C3137A.f25453a;
        }
    }
}
