package 㳳.ῲ.K;

/* renamed from: 㳳.ῲ.K.㳳  reason: contains not printable characters */
/* compiled from: PendingPostQueue */
public final class C2416 {

    /* renamed from: ῲ  reason: contains not printable characters */
    public C2408 f8349;

    /* renamed from: K  reason: contains not printable characters */
    public C2408 f8350;

    /* renamed from: K  reason: contains not printable characters */
    public synchronized void m6472(C2408 r2) {
        if (r2 != null) {
            if (this.f8349 != null) {
                this.f8349.f8328 = r2;
                this.f8349 = r2;
            } else if (this.f8350 == null) {
                this.f8349 = r2;
                this.f8350 = r2;
            } else {
                throw new IllegalStateException("Head present, but no tail");
            }
            notifyAll();
        } else {
            throw new NullPointerException("null cannot be enqueued");
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public synchronized C2408 m6470() {
        C2408 r0;
        r0 = this.f8350;
        if (this.f8350 != null) {
            this.f8350 = this.f8350.f8328;
            if (this.f8350 == null) {
                this.f8349 = null;
            }
        }
        return r0;
    }

    /* renamed from: K  reason: contains not printable characters */
    public synchronized C2408 m6471(int i) throws InterruptedException {
        if (this.f8350 == null) {
            wait((long) i);
        }
        return m6470();
    }
}
