package x9; /* loaded from: classes2.dex */ abstract class s { /* renamed from: a, reason: collision with root package name */ static r f15515a; /* renamed from: b, reason: collision with root package name */ static long f15516b; static void a(r rVar) { if (rVar.f15513f != null || rVar.f15514g != null) { throw new IllegalArgumentException(); } if (rVar.f15511d) { return; } synchronized (s.class) { long j10 = f15516b; if (j10 + 8192 > 65536) { return; } f15516b = j10 + 8192; rVar.f15513f = f15515a; rVar.f15510c = 0; rVar.f15509b = 0; f15515a = rVar; } } static r b() { synchronized (s.class) { r rVar = f15515a; if (rVar == null) { return new r(); } f15515a = rVar.f15513f; rVar.f15513f = null; f15516b -= 8192; return rVar; } } }