package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.h70, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1361h70 implements InterfaceC1169f70 {
    public static final double f = Math.random();
    public static final /* synthetic */ int g = 0;
    public final C0076Cy a;
    public final InterfaceC0258Jy b;
    public final C2121p70 c;
    public final C0204Hw d;
    public final InterfaceC2747vn e;

    public C1361h70(C0076Cy c0076Cy, InterfaceC0258Jy interfaceC0258Jy, C2121p70 c2121p70, C0204Hw c0204Hw, InterfaceC2747vn interfaceC2747vn) {
        this.a = c0076Cy;
        this.b = interfaceC0258Jy;
        this.c = c2121p70;
        this.d = c0204Hw;
        this.e = interfaceC2747vn;
    }

    /* JADX WARN: Code restructure failed: missing block: B:30:0x0082, code lost:
    
        if (r6.b(r0) == r4) goto L31;
     */
    /* 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 static final java.lang.Object a(o.C1361h70 r5, o.AbstractC0298Lm r6) {
        /*
            boolean r0 = r6 instanceof o.C1265g70
            if (r0 == 0) goto L13
            r0 = r6
            o.g70 r0 = (o.C1265g70) 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.g70 r0 = new o.g70
            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 L3a
            if (r1 == r3) goto L34
            if (r1 != r2) goto L2c
            o.h70 r5 = r0.f537o
            o.IJ.H(r6)
            goto L85
        L2c:
            java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
            java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
            r5.<init>(r6)
            throw r5
        L34:
            o.h70 r5 = r0.f537o
            o.IJ.H(r6)
            goto L4a
        L3a:
            o.IJ.H(r6)
            o.Wy r6 = o.C0595Wy.a
            r0.f537o = r5
            r0.r = r3
            java.lang.Object r6 = r6.b(r0)
            if (r6 != r4) goto L4a
            goto L84
        L4a:
            java.util.Map r6 = (java.util.Map) r6
            java.util.Collection r6 = r6.values()
            java.lang.Iterable r6 = (java.lang.Iterable) r6
            boolean r1 = r6 instanceof java.util.Collection
            if (r1 == 0) goto L60
            r1 = r6
            java.util.Collection r1 = (java.util.Collection) r1
            boolean r1 = r1.isEmpty()
            if (r1 == 0) goto L60
            goto Lb7
        L60:
            java.util.Iterator r6 = r6.iterator()
        L64:
            boolean r1 = r6.hasNext()
            if (r1 == 0) goto Lb7
            java.lang.Object r1 = r6.next()
            o.In r1 = (o.C0221In) r1
            o.Yo r1 = r1.a
            boolean r1 = r1.a()
            if (r1 == 0) goto L64
            o.p70 r6 = r5.c
            r0.f537o = r5
            r0.r = r2
            java.lang.Object r6 = r6.b(r0)
            if (r6 != r4) goto L85
        L84:
            return r4
        L85:
            o.p70 r6 = r5.c
            o.E70 r0 = r6.a
            java.lang.Boolean r0 = r0.a()
            if (r0 == 0) goto L94
            boolean r3 = r0.booleanValue()
            goto La0
        L94:
            o.E70 r6 = r6.b
            java.lang.Boolean r6 = r6.a()
            if (r6 == 0) goto La0
            boolean r3 = r6.booleanValue()
        La0:
            if (r3 != 0) goto La5
            java.lang.Boolean r5 = java.lang.Boolean.FALSE
            return r5
        La5:
            o.p70 r5 = r5.c
            double r5 = r5.a()
            double r0 = o.C1361h70.f
            int r5 = (r0 > r5 ? 1 : (r0 == r5 ? 0 : -1))
            if (r5 > 0) goto Lb4
            java.lang.Boolean r5 = java.lang.Boolean.TRUE
            return r5
        Lb4:
            java.lang.Boolean r5 = java.lang.Boolean.FALSE
            return r5
        Lb7:
            java.lang.Boolean r5 = java.lang.Boolean.FALSE
            return r5
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C1361h70.a(o.h70, o.Lm):java.lang.Object");
    }
}
