package p421.p422.p423.p424;

import java.util.Collection;
import java.util.Iterator;
import java.util.TreeSet;
import p421.p422.p423.p424.C6710;
import p421.p422.p423.p424.p425.C6714;
import p421.p422.p423.p424.p425.InterfaceC6717;
import p421.p422.p423.p424.p426.C6719;
import p421.p422.p423.p424.p426.InterfaceC6720;
import p421.p422.p423.p424.p427.C6724;
import p421.p422.p423.p424.p427.InterfaceC6722;
import p421.p422.p423.p431.C6758;
import p421.p422.p423.p432.C6765;
import p421.p422.p423.p432.C6768;
import p421.p422.p423.p432.C6770;

/* JADX WARN: Unexpected interfaces in signature: [ޏ.֏.֏.֏.ރ.ހ<T, java.lang.Object>] */
/* JADX INFO: renamed from: ޏ.֏.֏.֏.ނ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C6713<T> extends AbstractC6707<T> implements InterfaceC6717<T>, Object {
    public C6713(InterfaceC6722 interfaceC6722) {
        C6719 c6719 = new C6719();
        InterfaceC6720.C6721 c6721 = new InterfaceC6720.C6721();
        c6721.f19490 = new C6758();
        c6721.f19489 = new C6710.C6711();
        c6721.f19491 = new C6768();
        c6721.f19492 = new C6770();
        c6719.f19487.put(InterfaceC6720.C6721.class, c6721);
        c6719.f19488.add(interfaceC6722);
        super(c6719);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public InterfaceC6709 m9911(T t) {
        C6710 c6710;
        Collection<C6765> collectionM9908 = m9908((Class) t.getClass());
        if (!((TreeSet) collectionM9908).isEmpty() || t.getClass().equals(C6714.class)) {
            C6710.C6711 c6711 = this.f19472;
            C6708 c6708 = this.f19474;
            if (c6711 == null) {
                throw null;
            }
            c6710 = new C6710(c6708, collectionM9908, t, C6710.EnumC6712.Initial);
        } else {
            Collection<C6765> collectionM99082 = m9908(C6714.class);
            C6710.C6711 c67112 = this.f19472;
            C6708 c67082 = this.f19474;
            C6714 c6714 = new C6714(t);
            if (c67112 == null) {
                throw null;
            }
            c6710 = new C6710(c67082, collectionM99082, c6714, C6710.EnumC6712.Initial);
        }
        try {
            c6710.m9910();
            return c6710;
        } catch (Throwable th) {
            try {
                C6724 c6724 = new C6724();
                c6724.f19495 = "Error during publication of message";
                c6724.f19494 = th;
                Iterator<InterfaceC6722> it = this.f19471.iterator();
                while (it.hasNext()) {
                    try {
                        it.next().mo9588(c6724);
                    } catch (Throwable th2) {
                        th2.printStackTrace();
                    }
                }
            } catch (Throwable unused) {
                return c6710;
            }
            return c6710;
        }
    }
}
