package p491.p492.p493;

import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.Collections;
import java.util.LinkedHashSet;
import java.util.Set;
import p138.p395.p396.AbstractC6487;
import p138.p395.p396.C6484;
import p138.p395.p396.C6485;
import p138.p395.p396.C6486;
import p138.p395.p396.C6509;
import p138.p395.p396.InterfaceC6490;
import p447.AbstractC6930;
import p447.AbstractC6936;
import p491.C7367;
import p491.InterfaceC7320;

/* JADX INFO: renamed from: ޓ.ޟ.֏.֏, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C7377 extends InterfaceC7320.AbstractC7321 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final C6509 f21380;

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public final boolean f21381;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public final boolean f21382;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public final boolean f21383;

    public C7377(C6509 c6509, boolean z, boolean z2, boolean z3) {
        this.f21380 = c6509;
        this.f21381 = z;
        this.f21382 = z2;
        this.f21383 = z3;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static Set<? extends Annotation> m11003(Annotation[] annotationArr) {
        LinkedHashSet linkedHashSet = null;
        for (Annotation annotation : annotationArr) {
            if (annotation.annotationType().isAnnotationPresent(InterfaceC6490.class)) {
                if (linkedHashSet == null) {
                    linkedHashSet = new LinkedHashSet();
                }
                linkedHashSet.add(annotation);
            }
        }
        return linkedHashSet != null ? Collections.unmodifiableSet(linkedHashSet) : Collections.emptySet();
    }

    @Override // p491.InterfaceC7320.AbstractC7321
    /* JADX INFO: renamed from: ֏ */
    public InterfaceC7320<AbstractC6936, ?> mo10947(Type type, Annotation[] annotationArr, C7367 c7367) {
        AbstractC6487 abstractC6487M9748 = this.f21380.m9748(type, m11003(annotationArr), null);
        if (this.f21381) {
            if (abstractC6487M9748 == null) {
                throw null;
            }
            abstractC6487M9748 = new C6485(abstractC6487M9748, abstractC6487M9748);
        }
        if (this.f21382) {
            if (abstractC6487M9748 == null) {
                throw null;
            }
            abstractC6487M9748 = new C6486(abstractC6487M9748, abstractC6487M9748);
        }
        if (this.f21383) {
            if (abstractC6487M9748 == null) {
                throw null;
            }
            abstractC6487M9748 = new C6484(abstractC6487M9748, abstractC6487M9748);
        }
        return new C7379(abstractC6487M9748);
    }

    @Override // p491.InterfaceC7320.AbstractC7321
    /* JADX INFO: renamed from: ֏ */
    public InterfaceC7320<?, AbstractC6930> mo10948(Type type, Annotation[] annotationArr, Annotation[] annotationArr2, C7367 c7367) {
        AbstractC6487 abstractC6487M9748 = this.f21380.m9748(type, m11003(annotationArr), null);
        if (this.f21381) {
            if (abstractC6487M9748 == null) {
                throw null;
            }
            abstractC6487M9748 = new C6485(abstractC6487M9748, abstractC6487M9748);
        }
        if (this.f21382) {
            if (abstractC6487M9748 == null) {
                throw null;
            }
            abstractC6487M9748 = new C6486(abstractC6487M9748, abstractC6487M9748);
        }
        if (this.f21383) {
            if (abstractC6487M9748 == null) {
                throw null;
            }
            abstractC6487M9748 = new C6484(abstractC6487M9748, abstractC6487M9748);
        }
        return new C7378(abstractC6487M9748);
    }
}
