package ma;

import java.util.HashMap;
import java.util.concurrent.atomic.AtomicReference;

/* JADX INFO: loaded from: classes2.dex */
public final class s {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final s f30553b = new s();

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final AtomicReference f30554a = new AtomicReference(new f0(new n5.s(9)));

    public final synchronized void a(c0 c0Var) {
        f0 f0Var = (f0) this.f30554a.get();
        n5.s sVar = new n5.s();
        sVar.f30879a = false;
        sVar.f30880b = new HashMap(f0Var.f30514a);
        sVar.f30881c = new HashMap(f0Var.f30515b);
        sVar.d(c0Var);
        this.f30554a.set(new f0(sVar));
    }

    public final synchronized void b(g0 g0Var) {
        f0 f0Var = (f0) this.f30554a.get();
        n5.s sVar = new n5.s();
        sVar.f30879a = false;
        sVar.f30880b = new HashMap(f0Var.f30514a);
        sVar.f30881c = new HashMap(f0Var.f30515b);
        sVar.e(g0Var);
        this.f30554a.set(new f0(sVar));
    }
}
