package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.jF, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1561jF {
    public int a;
    public float b;
    public final Object c;

    public C1561jF(int i, C2931xk c2931xk) {
        this.a = i;
        this.c = c2931xk;
    }

    /* JADX WARN: Removed duplicated region for block: B:8:0x001d  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public float a(int r6, boolean r7, boolean r8, boolean r9) {
        /*
            r5 = this;
            java.lang.Object r0 = r5.c
            o.Le0 r0 = (o.Le0) r0
            r1 = 1
            r2 = 0
            if (r7 == 0) goto L1d
            android.text.Layout r3 = r0.f
            int r3 = o.AbstractC2461sm0.x(r3, r6, r7)
            android.text.Layout r4 = r0.f
            int r4 = r4.getLineStart(r3)
            int r3 = r0.f(r3)
            if (r6 == r4) goto L1f
            if (r6 != r3) goto L1d
            goto L1f
        L1d:
            r3 = r2
            goto L20
        L1f:
            r3 = r1
        L20:
            int r4 = r6 * 4
            if (r9 == 0) goto L28
            if (r3 == 0) goto L2d
            r1 = r2
            goto L2d
        L28:
            if (r3 == 0) goto L2c
            r1 = 2
            goto L2d
        L2c:
            r1 = 3
        L2d:
            int r4 = r4 + r1
            int r1 = r5.a
            if (r1 != r4) goto L35
            float r6 = r5.b
            return r6
        L35:
            if (r9 == 0) goto L3c
            float r6 = r0.h(r6, r7)
            goto L40
        L3c:
            float r6 = r0.i(r6, r7)
        L40:
            if (r8 == 0) goto L46
            r5.a = r4
            r5.b = r6
        L46:
            return r6
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C1561jF.a(int, boolean, boolean, boolean):float");
    }

    /* JADX WARN: Removed duplicated region for block: B:7:0x0013  */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct add '--show-bad-code' argument
    */
    public java.lang.Object b(float r5, o.AbstractC0298Lm r6) {
        /*
            r4 = this;
            boolean r0 = r6 instanceof o.P10
            if (r0 == 0) goto L13
            r0 = r6
            o.P10 r0 = (o.P10) r0
            int r1 = r0.q
            r2 = -2147483648(0xffffffff80000000, float:-0.0)
            r3 = r1 & r2
            if (r3 == 0) goto L13
            int r1 = r1 - r2
            r0.q = r1
            goto L18
        L13:
            o.P10 r0 = new o.P10
            r0.<init>(r4, r6)
        L18:
            java.lang.Object r6 = r0.f279o
            int r1 = r0.q
            r2 = 1
            if (r1 == 0) goto L2d
            if (r1 != r2) goto L25
            o.IJ.H(r6)
            goto L44
        L25:
            java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
            java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
            r5.<init>(r6)
            throw r5
        L2d:
            o.IJ.H(r6)
            java.lang.Object r6 = r4.c
            o.xk r6 = (o.C2931xk) r6
            java.lang.Float r1 = new java.lang.Float
            r1.<init>(r5)
            r0.q = r2
            java.lang.Object r6 = r6.f(r1, r0)
            o.Dn r5 = o.EnumC0091Dn.l
            if (r6 != r5) goto L44
            return r5
        L44:
            java.lang.Number r6 = (java.lang.Number) r6
            float r5 = r6.floatValue()
            float r6 = r4.b
            float r6 = r6 + r5
            r4.b = r6
            o.Oh0 r5 = o.Oh0.a
            return r5
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C1561jF.b(float, o.Lm):java.lang.Object");
    }

    public C1561jF(Le0 le0) {
        this.c = le0;
        this.a = -1;
    }
}
