package defpackage;

import java.util.Collections;
import java.util.HashSet;

/* renamed from: ˉˀʨ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C1152 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public int f4917;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public final HashSet f4918;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public InterfaceC3044 f4919;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final HashSet f4920;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public String f4921 = null;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final HashSet f4922;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public int f4923;

    public C1152(Class cls, Class[] clsArr) {
        HashSet hashSet = new HashSet();
        this.f4922 = hashSet;
        this.f4920 = new HashSet();
        this.f4923 = 0;
        this.f4917 = 0;
        this.f4918 = new HashSet();
        hashSet.add(C0964.m3296(cls));
        for (Class cls2 : clsArr) {
            ˋˌ.ˎˏʜʾ(cls2, "Null interface");
            this.f4922.add(C0964.m3296(cls2));
        }
    }

    public C1152(C0964 c0964, C0964[] c0964Arr) {
        HashSet hashSet = new HashSet();
        this.f4922 = hashSet;
        this.f4920 = new HashSet();
        this.f4923 = 0;
        this.f4917 = 0;
        this.f4918 = new HashSet();
        hashSet.add(c0964);
        for (C0964 c09642 : c0964Arr) {
            ˋˌ.ˎˏʜʾ(c09642, "Null interface");
        }
        Collections.addAll(this.f4922, c0964Arr);
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final void m3649() {
        if (this.f4923 == 0) {
            this.f4923 = 2;
        } else {
            ᵹˉᵞ.ᵳٴᵶ("Instantiation type has already been set.");
        }
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final void m3650(C0094 c0094) {
        if (this.f4922.contains(c0094.f1352)) {
            ᵹˉᵞ.ˌᵜᵹᵩ("Components are not allowed to depend on interfaces they themselves provide.");
        } else {
            this.f4920.add(c0094);
        }
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final C1703 m3651() {
        if (this.f4919 != null) {
            return new C1703(this.f4921, new HashSet(this.f4922), new HashSet(this.f4920), this.f4923, this.f4917, this.f4919, this.f4918);
        }
        ᵹˉᵞ.ᵳٴᵶ("Missing required property: factory.");
        return null;
    }
}
