package p138.p329.p362.p366;

import p421.p422.p423.p424.AbstractC6707;
import p421.p422.p423.p424.C6713;
import p421.p422.p423.p424.p425.InterfaceC6717;
import p421.p422.p423.p424.p427.C6724;
import p421.p422.p423.p424.p427.InterfaceC6722;
import p421.p422.p423.p431.C6756;
import p421.p422.p423.p431.C6757;
import p421.p422.p423.p432.C6765;
import p421.p422.p423.p432.C6769;
import p463.p481.C7162;
import p463.p481.InterfaceC7161;

/* JADX INFO: renamed from: ދ.ށ.މ.ޅ.ؠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public class C6365 {

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final InterfaceC7161 f17783 = C7162.m10575((Class<?>) C6365.class);

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public InterfaceC6717<Object> f17784 = new C6713(new C6366());

    /* JADX INFO: renamed from: ދ.ށ.މ.ޅ.ؠ$֏, reason: contains not printable characters */
    public class C6366 implements InterfaceC6722 {
        @Override // p421.p422.p423.p424.p427.InterfaceC6722
        /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
        public void mo9588(C6724 c6724) {
            if (c6724.f19494 != null) {
                C6365.f17783.mo10568(c6724.toString(), c6724.f19494);
            } else {
                C6365.f17783.mo10554(c6724.toString());
            }
        }
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public void m9587(Object obj) {
        C6769 c6769 = ((AbstractC6707) this.f17784).f19473;
        if (c6769 == null) {
            throw null;
        }
        try {
            Class<?> cls = obj.getClass();
            if (c6769.f19560.contains(cls)) {
                return;
            }
            C6765[] c6765ArrM9926 = c6769.m9926(obj);
            int i = 0;
            if (c6765ArrM9926 != null) {
                int length = c6765ArrM9926.length;
                while (i < length) {
                    c6765ArrM9926[i].m9922(obj);
                    i++;
                }
                return;
            }
            C6757 c6757M9920 = c6769.f19557.m9920(cls);
            C6756[] c6756Arr = (C6756[]) c6757M9920.f19539.toArray(new C6756[c6757M9920.f19539.size()]);
            int length2 = c6756Arr.length;
            if (length2 == 0) {
                c6769.f19560.add(cls);
                return;
            }
            C6765[] c6765Arr = new C6765[length2];
            while (i < length2) {
                c6765Arr[i] = c6769.f19561.m9924(c6769.f19563, c6756Arr[i]);
                i++;
            }
            c6769.m9925(obj, c6765Arr);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
