package com.ss.android.ugc.aweme.legoImpl;

import X.C22438Ze;
import X.Lnj;
import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;
import com.ss.android.legoapi.IAccountInitializerTaskApi;
import com.ss.android.ugc.aweme.legoImpl.task.AccountRegisterTask;
import com.ss.android.ugc.aweme.legoImpl.task.ApiGuardInitTask;
import com.ss.android.ugc.aweme.legoImpl.task.LoginProxyTask;
import com.ss.android.ugc.aweme.legoImpl.task.RegisterSessionReceiver;
import com.ss.android.ugc.aweme.legoImpl.task.TokenSdkTask;

public final class AccountInitializerTaskImpl implements IAccountInitializerTaskApi {
    static {
        Covode.recordClassIndex(90817);
    }

    public final /* synthetic */ C22438Ze LIZ() {
        return new RegisterSessionReceiver();
    }

    public final /* synthetic */ C22438Ze LIZIZ() {
        return new ApiGuardInitTask();
    }

    public final /* synthetic */ C22438Ze LIZJ() {
        return new TokenSdkTask();
    }

    public final /* synthetic */ C22438Ze LIZLLL() {
        return new LoginProxyTask();
    }

    public final /* synthetic */ C22438Ze LJ() {
        return new AccountRegisterTask();
    }

    public static IAccountInitializerTaskApi LJFF() {
        MethodCollector.i(2116);
        IAccountInitializerTaskApi iAccountInitializerTaskApi = (IAccountInitializerTaskApi) Lnj.LIZ(IAccountInitializerTaskApi.class, false);
        if (iAccountInitializerTaskApi != null) {
            MethodCollector.o(2116);
            return iAccountInitializerTaskApi;
        }
        Object LIZIZ = Lnj.LIZIZ(IAccountInitializerTaskApi.class, false);
        if (LIZIZ != null) {
            IAccountInitializerTaskApi iAccountInitializerTaskApi2 = (IAccountInitializerTaskApi) LIZIZ;
            MethodCollector.o(2116);
            return iAccountInitializerTaskApi2;
        }
        if (Lnj.LLZLI == null) {
            synchronized (IAccountInitializerTaskApi.class) {
                try {
                    if (Lnj.LLZLI == null) {
                        Lnj.LLZLI = new AccountInitializerTaskImpl();
                    }
                } catch (Throwable th) {
                    MethodCollector.o(2116);
                    throw th;
                }
            }
        }
        AccountInitializerTaskImpl accountInitializerTaskImpl = (AccountInitializerTaskImpl) Lnj.LLZLI;
        MethodCollector.o(2116);
        return accountInitializerTaskImpl;
    }
}
