package y4;

import java.util.HashSet;
import java.util.Set;
import kotlin.jvm.internal.k;
import kotlin.jvm.internal.t;
import v4.p;

/* loaded from: classes.dex */
public final class d {

    /* renamed from: a, reason: collision with root package name */
    private final Set f51980a;

    /* renamed from: b, reason: collision with root package name */
    private final b f51981b;

    /* loaded from: classes.dex */
    public interface b {
        boolean a();
    }

    public /* synthetic */ d(Set set, a4.c cVar, b bVar, k kVar) {
        this(set, cVar, bVar);
    }

    public final b a() {
        return this.f51981b;
    }

    public final a4.c b() {
        return null;
    }

    public final Set c() {
        return this.f51980a;
    }

    private d(Set set, a4.c cVar, b bVar) {
        this.f51980a = set;
        this.f51981b = bVar;
    }

    /* loaded from: classes.dex */
    public static final class a {

        /* renamed from: a, reason: collision with root package name */
        private final Set f51982a;

        /* renamed from: b, reason: collision with root package name */
        private b f51983b;

        public a(p navGraph) {
            t.g(navGraph, "navGraph");
            HashSet hashSet = new HashSet();
            this.f51982a = hashSet;
            hashSet.add(Integer.valueOf(p.E.a(navGraph).D()));
        }

        /* JADX WARN: Multi-variable type inference failed */
        public final d a() {
            return new d(this.f51982a, null, this.f51983b, 0 == true ? 1 : 0);
        }

        public final a b(b bVar) {
            this.f51983b = bVar;
            return this;
        }

        public final a c(a4.c cVar) {
            return this;
        }

        public a(Set topLevelDestinationIds) {
            t.g(topLevelDestinationIds, "topLevelDestinationIds");
            HashSet hashSet = new HashSet();
            this.f51982a = hashSet;
            hashSet.addAll(topLevelDestinationIds);
        }
    }
}
