package o;

import android.content.Context;
import java.util.Set;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.l80, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1743l80 {
    public final P8 a;
    public final C1838m80 b;
    public final Context c;
    public final String d;
    public final C1014dc0 e;
    public final Set f;

    public C1743l80(Context context, String str, Set set, P8 p8, C1838m80 c1838m80) {
        C1352h3 c1352h3 = new C1352h3(11, context, str);
        this.a = p8;
        this.b = c1838m80;
        this.c = context;
        this.d = str;
        this.e = new C1014dc0(c1352h3);
        this.f = set == AbstractC2028o80.a ? null : AbstractC3117zi.v0(set);
    }

    /* JADX WARN: Removed duplicated region for block: B:27:0x0065  */
    /* 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 a(java.lang.Object r5, o.AbstractC0298Lm r6) throws java.lang.Throwable {
        /*
            r4 = this;
            boolean r0 = r6 instanceof o.C1648k80
            if (r0 == 0) goto L13
            r0 = r6
            o.k80 r0 = (o.C1648k80) 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.k80 r0 = new o.k80
            r0.<init>(r4, r6)
        L18:
            java.lang.Object r6 = r0.p
            int r1 = r0.r
            r2 = 1
            if (r1 == 0) goto L2f
            if (r1 != r2) goto L27
            o.l80 r5 = r0.f606o
            o.IJ.H(r6)
            goto L42
        L27:
            java.lang.IllegalStateException r5 = new java.lang.IllegalStateException
            java.lang.String r6 = "call to 'resume' before 'invoke' with coroutine"
            r5.<init>(r6)
            throw r5
        L2f:
            o.IJ.H(r6)
            r0.f606o = r4
            r0.r = r2
            o.P8 r6 = r4.a
            java.lang.Object r6 = r6.f(r5, r0)
            o.Dn r5 = o.EnumC0091Dn.l
            if (r6 != r5) goto L41
            return r5
        L41:
            r5 = r4
        L42:
            java.lang.Boolean r6 = (java.lang.Boolean) r6
            boolean r6 = r6.booleanValue()
            if (r6 != 0) goto L4d
            java.lang.Boolean r5 = java.lang.Boolean.FALSE
            return r5
        L4d:
            java.util.Set r6 = r5.f
            o.dc0 r5 = r5.e
            r0 = 0
            if (r6 != 0) goto L67
            java.lang.Object r5 = r5.getValue()
            android.content.SharedPreferences r5 = (android.content.SharedPreferences) r5
            java.util.Map r5 = r5.getAll()
            boolean r5 = r5.isEmpty()
            if (r5 != 0) goto L65
            goto L93
        L65:
            r2 = r0
            goto L93
        L67:
            java.lang.Iterable r6 = (java.lang.Iterable) r6
            java.lang.Object r5 = r5.getValue()
            android.content.SharedPreferences r5 = (android.content.SharedPreferences) r5
            boolean r1 = r6 instanceof java.util.Collection
            if (r1 == 0) goto L7d
            r1 = r6
            java.util.Collection r1 = (java.util.Collection) r1
            boolean r1 = r1.isEmpty()
            if (r1 == 0) goto L7d
            goto L65
        L7d:
            java.util.Iterator r6 = r6.iterator()
        L81:
            boolean r1 = r6.hasNext()
            if (r1 == 0) goto L65
            java.lang.Object r1 = r6.next()
            java.lang.String r1 = (java.lang.String) r1
            boolean r1 = r5.contains(r1)
            if (r1 == 0) goto L81
        L93:
            java.lang.Boolean r5 = java.lang.Boolean.valueOf(r2)
            return r5
        */
        throw new UnsupportedOperationException("Method not decompiled: o.C1743l80.a(java.lang.Object, o.Lm):java.lang.Object");
    }
}
