package p015e1;

import p012d1.InterfaceC0629d;
import p018f1.AbstractC0715c;
import p039m1.C1470g;

/* renamed from: e1.b */
/* loaded from: classes.dex */
public class C0665b {
    /* JADX WARN: Multi-variable type inference failed */
    /* renamed from: a */
    public static final <T> InterfaceC0629d<T> m3182a(InterfaceC0629d<? super T> interfaceC0629d) {
        InterfaceC0629d<T> interfaceC0629d2;
        C1470g.m1292e(interfaceC0629d, "<this>");
        AbstractC0715c abstractC0715c = interfaceC0629d instanceof AbstractC0715c ? (AbstractC0715c) interfaceC0629d : null;
        return (abstractC0715c == null || (interfaceC0629d2 = (InterfaceC0629d<T>) abstractC0715c.m3067e()) == null) ? interfaceC0629d : interfaceC0629d2;
    }
}