what-the-bank/sources/com/facetec/sdk/nf.java

46 lines
1.0 KiB
Java

package com.facetec.sdk;
/* loaded from: classes.dex */
final class nf {
private static long c;
private static nc e;
private nf() {
}
/* JADX INFO: Access modifiers changed from: package-private */
public static nc d() {
synchronized (nf.class) {
nc ncVar = e;
if (ncVar != null) {
e = ncVar.i;
ncVar.i = null;
c -= 8192;
return ncVar;
}
return new nc();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static void a(nc ncVar) {
if (ncVar.i != null || ncVar.f != null) {
throw new IllegalArgumentException();
}
if (ncVar.c) {
return;
}
synchronized (nf.class) {
long j = c + 8192;
if (j > 65536) {
return;
}
c = j;
ncVar.i = e;
ncVar.a = 0;
ncVar.e = 0;
e = ncVar;
}
}
}