package com.google.android.gms.internal.measurement;

import androidx.annotation.GuardedBy;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public abstract class q4 {

    @Nullable
    @GuardedBy("GservicesDelegateSupplier.class")
    private static p4 zza;

    public static synchronized p4 a() {
        try {
            if (zza == null) {
                r4 r4Var = new r4();
                synchronized (q4.class) {
                    if (zza != null) {
                        throw new IllegalStateException("init() already called");
                    }
                    zza = r4Var;
                }
            }
        } catch (Throwable th) {
            throw th;
        }
        return zza;
    }
}
