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