package l8; import com.vungle.warren.model.p; import g8.j; import java.util.concurrent.atomic.AtomicBoolean; /* loaded from: classes2.dex */ public class b { /* renamed from: a, reason: collision with root package name */ private final p f11726a; /* renamed from: b, reason: collision with root package name */ private final j f11727b; /* renamed from: c, reason: collision with root package name */ private final j.c0 f11728c; /* renamed from: d, reason: collision with root package name */ private AtomicBoolean f11729d = new AtomicBoolean(true); /* renamed from: e, reason: collision with root package name */ private long f11730e; public b(p pVar, j jVar, j.c0 c0Var) { this.f11726a = pVar; this.f11727b = jVar; this.f11728c = c0Var; } private void a() { this.f11726a.i(System.currentTimeMillis() - this.f11730e); this.f11727b.i0(this.f11726a, this.f11728c); } public void b() { if (this.f11729d.getAndSet(false)) { this.f11730e = System.currentTimeMillis() - this.f11726a.a(); } } public void c() { if (this.f11729d.getAndSet(true)) { return; } a(); } public void d() { if (this.f11729d.get()) { return; } a(); } }