package com.google.android.gms.internal.ads;

import java.util.concurrent.atomic.AtomicReference;

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

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final AtomicReference f16273a = new AtomicReference(new e12(new com.bumptech.glide.load.engine.b0(2)));

    public final synchronized void a(b12 b12Var) {
        AtomicReference atomicReference = this.f16273a;
        com.bumptech.glide.load.engine.b0 b0Var = new com.bumptech.glide.load.engine.b0((e12) atomicReference.get());
        b0Var.d(b12Var);
        atomicReference.set(new e12(b0Var));
    }

    public final synchronized void b(g12 g12Var) {
        AtomicReference atomicReference = this.f16273a;
        com.bumptech.glide.load.engine.b0 b0Var = new com.bumptech.glide.load.engine.b0((e12) atomicReference.get());
        b0Var.h(g12Var);
        atomicReference.set(new e12(b0Var));
    }
}
