package a.i.b.a.c.b.c;

import a.i.b.a.c.b.ah;
import a.i.b.a.c.b.al;
import a.i.b.a.c.b.b;
import a.i.b.a.c.b.l;
import a.i.b.a.c.c.a.a;
import a.i.b.a.c.f.f;
import a.i.b.a.c.i.e.d;
import a.i.b.a.c.i.e.h;
import a.i.b.a.c.i.e.i;
import a.i.b.a.c.i.j;
import a.i.b.a.c.k.c;
import a.i.b.a.c.l.w;
import com.tencent.matrix.trace.core.AppMethodBeat;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;

class n$a extends i {
    static final /* synthetic */ boolean $assertionsDisabled = (!n.class.desiredAssertionStatus());
    private final c<f, Collection<al>> BhE;
    private final c<f, Collection<ah>> BhF;
    private final a.i.b.a.c.k.f<Collection<l>> BhG;
    final /* synthetic */ n BhH;

    static {
        AppMethodBeat.i(119450);
        AppMethodBeat.o(119450);
    }

    public n$a(n nVar, a.i.b.a.c.k.i iVar) {
        this.BhH = nVar;
        AppMethodBeat.i(119439);
        this.BhE = iVar.f(new 1(this, nVar));
        this.BhF = iVar.f(new 2(this, nVar));
        this.BhG = iVar.i(new 3(this, nVar));
        AppMethodBeat.o(119439);
    }

    public final Collection a(f fVar, a aVar) {
        AppMethodBeat.i(119440);
        Collection collection = (Collection) this.BhF.am(fVar);
        AppMethodBeat.o(119440);
        return collection;
    }

    public final Collection b(f fVar, a aVar) {
        AppMethodBeat.i(119441);
        Collection collection = (Collection) this.BhE.am(fVar);
        AppMethodBeat.o(119441);
        return collection;
    }

    private h eat() {
        AppMethodBeat.i(119442);
        Collection eap = this.BhH.Bhx.eap();
        if ($assertionsDisabled || eap.size() == 1) {
            h dXR = ((w) eap.iterator().next()).dXR();
            AppMethodBeat.o(119442);
            return dXR;
        }
        AssertionError assertionError = new AssertionError("Enum entry and its companion object both should have exactly one supertype: ".concat(String.valueOf(eap)));
        AppMethodBeat.o(119442);
        throw assertionError;
    }

    private <D extends b> Collection<D> l(Collection<D> collection) {
        AppMethodBeat.i(119443);
        LinkedHashSet linkedHashSet = new LinkedHashSet();
        j.a(collection, Collections.emptySet(), this.BhH, new 4(this, linkedHashSet));
        AppMethodBeat.o(119443);
        return linkedHashSet;
    }

    public final Collection<l> a(d dVar, a.f.a.b<? super f, Boolean> bVar) {
        AppMethodBeat.i(119444);
        Collection collection = (Collection) this.BhG.invoke();
        AppMethodBeat.o(119444);
        return collection;
    }

    public final Set<f> eau() {
        AppMethodBeat.i(119445);
        Set set = (Set) n.a(this.BhH).invoke();
        AppMethodBeat.o(119445);
        return set;
    }

    public final Set<f> eav() {
        AppMethodBeat.i(119446);
        Set set = (Set) n.a(this.BhH).invoke();
        AppMethodBeat.o(119446);
        return set;
    }

    static /* synthetic */ Collection a(n$a n_a) {
        AppMethodBeat.i(119449);
        HashSet hashSet = new HashSet();
        for (f fVar : (Set) n.a(n_a.BhH).invoke()) {
            hashSet.addAll(n_a.b(fVar, a.i.b.a.c.c.a.c.BjU));
            hashSet.addAll(n_a.a(fVar, a.i.b.a.c.c.a.c.BjU));
        }
        AppMethodBeat.o(119449);
        return hashSet;
    }
}
