package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class K extends AbstractC2539te {
    @Override // o.AbstractC2539te
    public final void N(L l, L l2) {
        l.b = l2;
    }

    @Override // o.AbstractC2539te
    public final void O(L l, Thread thread) {
        l.a = thread;
    }

    @Override // o.AbstractC2539te
    public final boolean o(M m, H h, H h2) {
        synchronized (m) {
            try {
                if (m.m != h) {
                    return false;
                }
                m.m = h2;
                return true;
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    @Override // o.AbstractC2539te
    public final boolean p(M m, Object obj, Object obj2) {
        synchronized (m) {
            try {
                if (m.l != obj) {
                    return false;
                }
                m.l = obj2;
                return true;
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    @Override // o.AbstractC2539te
    public final boolean q(M m, L l, L l2) {
        synchronized (m) {
            try {
                if (m.n != l) {
                    return false;
                }
                m.n = l2;
                return true;
            } catch (Throwable th) {
                throw th;
            }
        }
    }
}
