47 lines
1.2 KiB
Java
47 lines
1.2 KiB
Java
package o;
|
|
|
|
/* renamed from: o.gje, reason: case insensitive filesystem */
|
|
/* loaded from: classes6.dex */
|
|
final class C15184gje {
|
|
private static long c;
|
|
private static C15186gjg d;
|
|
|
|
private C15184gje() {
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static C15186gjg a() {
|
|
synchronized (C15184gje.class) {
|
|
C15186gjg c15186gjg = d;
|
|
if (c15186gjg != null) {
|
|
d = c15186gjg.b;
|
|
c15186gjg.b = null;
|
|
c -= 2048;
|
|
return c15186gjg;
|
|
}
|
|
return new C15186gjg();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public static void c(C15186gjg c15186gjg) {
|
|
if (c15186gjg.b != null || c15186gjg.e != null) {
|
|
throw new IllegalArgumentException();
|
|
}
|
|
if (c15186gjg.h) {
|
|
return;
|
|
}
|
|
synchronized (C15184gje.class) {
|
|
long j = c + 2048;
|
|
if (j > 65536) {
|
|
return;
|
|
}
|
|
c = j;
|
|
c15186gjg.b = d;
|
|
c15186gjg.c = 0;
|
|
c15186gjg.g = 0;
|
|
d = c15186gjg;
|
|
}
|
|
}
|
|
}
|