package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.p70, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2121p70 {
    public final E70 a;
    public final E70 b;

    public C2121p70(E70 e70, E70 e702) {
        this.a = e70;
        this.b = e702;
    }

    public final double a() {
        Double dB = this.a.b();
        if (dB != null) {
            double dDoubleValue = dB.doubleValue();
            if (0.0d <= dDoubleValue && dDoubleValue <= 1.0d) {
                return dDoubleValue;
            }
        }
        Double dB2 = this.b.b();
        if (dB2 != null) {
            double dDoubleValue2 = dB2.doubleValue();
            if (0.0d <= dDoubleValue2 && dDoubleValue2 <= 1.0d) {
                return dDoubleValue2;
            }
        }
        return 1.0d;
    }

    /* JADX WARN: Code restructure failed: missing block: B:21:0x0054, code lost:
    
        if (r6.d(r0) == r4) goto L22;
     */
    /* 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 final java.lang.Object b(o.AbstractC0298Lm r6) {
        /*
            r5 = this;
            boolean r0 = r6 instanceof o.C2026o70
            if (r0 == 0) goto L13
            r0 = r6
            o.o70 r0 = (o.C2026o70) r0
            int r1 = r0.r
            r2 = -2147483648(0xffffffff80000000, float:-0.0)
            r3 = r1 & r2
            if (r3 == 0) goto L13
            int r1 = r1 - r2
            r0.r = r1
            goto L18
        L13:
            o.o70 r0 = new o.o70
            r0.<init>(r5, r6)
        L18:
            java.lang.Object r6 = r0.p
            int r1 = r0.r
            r2 = 2
            r3 = 1
            o.Dn r4 = o.EnumC0091Dn.l
            if (r1 == 0) goto L38
            if (r1 == r3) goto L32
            if (r1 != r2) goto L2a
            o.IJ.H(r6)
            goto L57
        L2a:
            java.lang.IllegalStateException r6 = new java.lang.IllegalStateException
            java.lang.String r0 = "call to 'resume' before 'invoke' with coroutine"
            r6.<init>(r0)
            throw r6
        L32:
            o.p70 r1 = r0.f658o
            o.IJ.H(r6)
            goto L49
        L38:
            o.IJ.H(r6)
            r0.f658o = r5
            r0.r = r3
            o.E70 r6 = r5.a
            java.lang.Object r6 = r6.d(r0)
            if (r6 != r4) goto L48
            goto L56
        L48:
            r1 = r5
        L49:
            o.E70 r6 = r1.b
            r1 = 0
            r0.f658o = r1
            r0.r = r2
            java.lang.Object r6 = r6.d(r0)
            if (r6 != r4) goto L57
        L56:
            return r4
        L57:
            o.Oh0 r6 = o.Oh0.a
            return r6
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C2121p70.b(o.Lm):java.lang.Object");
    }
}
