package l6; import java.util.Queue; /* loaded from: classes2.dex */ public class l { /* renamed from: a, reason: collision with root package name */ private final b7.g f11669a; class a extends b7.g { a(l lVar, long j10) { super(j10); } /* JADX INFO: Access modifiers changed from: protected */ @Override // b7.g /* renamed from: n, reason: merged with bridge method [inline-methods] */ public void i(b bVar, Object obj) { bVar.b(); } } static final class b { /* renamed from: d, reason: collision with root package name */ private static final Queue f11670d = b7.k.h(0); /* renamed from: a, reason: collision with root package name */ private int f11671a; /* renamed from: b, reason: collision with root package name */ private int f11672b; /* renamed from: c, reason: collision with root package name */ private Object f11673c; private b() { } static b a(Object obj, int i10, int i11) { b bVar; Queue queue = f11670d; synchronized (queue) { bVar = (b) queue.poll(); } if (bVar == null) { bVar = new b(); } bVar.c(obj, i10, i11); return bVar; } private void c(Object obj, int i10, int i11) { this.f11673c = obj; this.f11672b = i10; this.f11671a = i11; } public void b() { Queue queue = f11670d; synchronized (queue) { queue.offer(this); } } public boolean equals(Object obj) { if (!(obj instanceof b)) { return false; } b bVar = (b) obj; return this.f11672b == bVar.f11672b && this.f11671a == bVar.f11671a && this.f11673c.equals(bVar.f11673c); } public int hashCode() { return (((this.f11671a * 31) + this.f11672b) * 31) + this.f11673c.hashCode(); } } public l(long j10) { this.f11669a = new a(this, j10); } public Object a(Object obj, int i10, int i11) { b a10 = b.a(obj, i10, i11); Object j10 = this.f11669a.j(a10); a10.b(); return j10; } public void b(Object obj, int i10, int i11, Object obj2) { this.f11669a.l(b.a(obj, i10, i11), obj2); } }