package p009c1;

import java.util.Set;
import p039m1.C1470g;

/* renamed from: c1.y */
/* loaded from: classes.dex */
public class C0520y extends C0519x {
    /* renamed from: b */
    public static final <T> Set<T> m3570b() {
        return C0514s.f1934d;
    }

    /* JADX WARN: Multi-variable type inference failed */
    /* renamed from: c */
    public static final <T> Set<T> m3569c(Set<? extends T> set) {
        C1470g.m1292e(set, "<this>");
        int size = set.size();
        return size != 0 ? size != 1 ? set : C0519x.m3571a(set.iterator().next()) : m3570b();
    }
}