package p138.p176.p177.p242.p258.p263;

import java.lang.ref.Reference;
import java.util.List;
import java.util.Vector;

/* JADX INFO: renamed from: ދ.ހ.֏.ހ.ރ.ނ.ჿ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C4745 extends AbstractC4738 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final C4744 f14276 = new C4744();

    @Override // p138.p176.p177.p242.p258.p263.AbstractC4738
    /* JADX INFO: renamed from: ֏ */
    public final void mo7789(Throwable th, Throwable th2) {
        List<Throwable> listPutIfAbsent;
        if (th2 == th) {
            throw new IllegalArgumentException("Self suppression is not allowed.", th2);
        }
        if (th2 == null) {
            throw new NullPointerException("The suppressed exception cannot be null.");
        }
        C4744 c4744 = this.f14276;
        for (Reference<? extends Throwable> referencePoll = c4744.f14275.poll(); referencePoll != null; referencePoll = c4744.f14275.poll()) {
            c4744.f14274.remove(referencePoll);
        }
        List<Throwable> vector = c4744.f14274.get(new C4743(th, null));
        if (vector == null && (listPutIfAbsent = c4744.f14274.putIfAbsent(new C4743(th, c4744.f14275), (vector = new Vector<>(2)))) != null) {
            vector = listPutIfAbsent;
        }
        vector.add(th2);
    }
}
