package defpackage;

import java.util.ArrayDeque;

/* renamed from: ⁱᵔ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C5549 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final ArrayDeque f20829;

    public C5549(int i) {
        switch (i) {
            case 1:
                this.f20829 = new ArrayDeque();
                break;
            default:
                this.f20829 = new ArrayDeque(0);
                break;
        }
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public synchronized void m11157(C2624 c2624) {
        c2624.f10146 = null;
        c2624.f10144 = null;
        this.f20829.offer(c2624);
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public C3617 m11158() {
        C3617 c3617;
        synchronized (this.f20829) {
            c3617 = (C3617) this.f20829.poll();
        }
        return c3617 == null ? new C3617() : c3617;
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public void m11159(C3617 c3617) {
        synchronized (this.f20829) {
            try {
                if (this.f20829.size() < 10) {
                    this.f20829.offer(c3617);
                }
            } catch (Throwable th) {
                throw th;
            }
        }
    }
}
