package o; import android.content.Context; /* loaded from: classes.dex */ public final class gRX { private static sap d; public static sap e(Context context) { sap sapVar; synchronized (gRX.class) { if (d == null) { GAk gAk = new GAk((byte) 0); Context applicationContext = context.getApplicationContext(); if (applicationContext != null) { context = applicationContext; } gAk.c = new zWU(context); zWU zwu = gAk.c; if (zwu != null) { d = new JUT(zwu); } else { throw new IllegalStateException(String.valueOf(zWU.class.getCanonicalName()).concat(" must be set")); } } sapVar = d; } return sapVar; } }