package com.google.firebase.sessions;

import android.content.Context;
import com.google.firebase.components.ComponentRegistrar;
import java.util.List;
import o.AbstractC0008Ai;
import o.AbstractC1155f00;
import o.AbstractC2539te;
import o.AbstractC2842wn;
import o.BZ;
import o.C0018As;
import o.C0076Cy;
import o.C0230Iw;
import o.C0387Oy;
import o.C0450Rj;
import o.C0481So;
import o.C0489Sw;
import o.C0491Sy;
import o.C0621Xy;
import o.C1390hY;
import o.C2454sj;
import o.C2549tj;
import o.C2660ur;
import o.C3031ym0;
import o.C3040yr;
import o.C3126zm0;
import o.C70;
import o.C80;
import o.DZ;
import o.G0;
import o.Gm0;
import o.InterfaceC0080Dc;
import o.InterfaceC0217Ij;
import o.InterfaceC0258Jy;
import o.InterfaceC0517Ty;
import o.InterfaceC0522Ud;
import o.InterfaceC2747vn;
import o.JZ;
import o.Q1;
import o.S60;
import o.Sg0;
import o.WT;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class FirebaseSessionsRegistrar implements ComponentRegistrar {

    @Deprecated
    public static final String LIBRARY_NAME = "fire-sessions";
    private static final C0621Xy Companion = new C0621Xy();
    private static final JZ appContext = JZ.a(Context.class);
    private static final JZ firebaseApp = JZ.a(C0076Cy.class);
    private static final JZ firebaseInstallationsApi = JZ.a(InterfaceC0258Jy.class);
    private static final JZ backgroundDispatcher = new JZ(InterfaceC0080Dc.class, AbstractC2842wn.class);
    private static final JZ blockingDispatcher = new JZ(InterfaceC0522Ud.class, AbstractC2842wn.class);
    private static final JZ transportFactory = JZ.a(Sg0.class);
    private static final JZ firebaseSessionsComponent = JZ.a(InterfaceC0517Ty.class);

    /* JADX INFO: Access modifiers changed from: private */
    public static final C0491Sy getComponents$lambda$0(InterfaceC0217Ij interfaceC0217Ij) {
        return (C0491Sy) ((C0481So) ((InterfaceC0517Ty) interfaceC0217Ij.e(firebaseSessionsComponent))).p.get();
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* JADX WARN: Multi-variable type inference failed */
    public static final InterfaceC0517Ty getComponents$lambda$1(InterfaceC0217Ij interfaceC0217Ij) {
        Context context = (Context) interfaceC0217Ij.e(appContext);
        InterfaceC2747vn interfaceC2747vn = (InterfaceC2747vn) interfaceC0217Ij.e(backgroundDispatcher);
        InterfaceC2747vn interfaceC2747vn2 = (InterfaceC2747vn) interfaceC0217Ij.e(blockingDispatcher);
        C0076Cy c0076Cy = (C0076Cy) interfaceC0217Ij.e(firebaseApp);
        InterfaceC0258Jy interfaceC0258Jy = (InterfaceC0258Jy) interfaceC0217Ij.e(firebaseInstallationsApi);
        DZ dzD = interfaceC0217Ij.d(transportFactory);
        C0481So c0481So = new C0481So();
        c0481So.a = G0.a(c0076Cy);
        G0 g0A = G0.a(context);
        c0481So.b = g0A;
        c0481So.c = C0018As.a(new C0230Iw(g0A, 2));
        c0481So.d = C0018As.a(AbstractC1155f00.e);
        c0481So.e = G0.a(interfaceC0258Jy);
        c0481So.f = C0018As.a(new C0230Iw(c0481So.a, 1));
        G0 g0A2 = G0.a(interfaceC2747vn2);
        c0481So.g = g0A2;
        c0481So.h = C0018As.a(new C1390hY(10, c0481So.f, g0A2));
        c0481So.i = G0.a(interfaceC2747vn);
        BZ bzA = C0018As.a(new Q1(c0481So.d, c0481So.e, c0481So.f, c0481So.h, C0018As.a(new C70(c0481So.i, c0481So.d, C0018As.a(new C3040yr(6, c0481So.b, c0481So.g)), 0)), 5));
        c0481So.j = C0018As.a(new Gm0(11, c0481So.c, bzA, 0 == true ? 1 : 0));
        BZ bzA2 = C0018As.a(C80.d);
        c0481So.k = bzA2;
        c0481So.l = C0018As.a(new C3031ym0(9, c0481So.d, bzA2));
        c0481So.m = C0018As.a(new Q1(c0481So.a, c0481So.e, c0481So.j, C0018As.a(new C0230Iw(G0.a(dzD), 0)), c0481So.i, 8));
        c0481So.n = C0018As.a(new C3126zm0(c0481So.b, c0481So.g, C0018As.a(new C0489Sw(c0481So.l, 2)), 16));
        BZ bzA3 = C0018As.a(new C0450Rj(c0481So.j, c0481So.l, c0481So.m, c0481So.d, c0481So.n, C0018As.a(new Gm0(9, c0481So.b, c0481So.k, false)), c0481So.i));
        c0481So.f331o = bzA3;
        c0481So.p = C0018As.a(new S60(c0481So.a, c0481So.j, c0481So.i, C0018As.a(new WT(12, bzA3)), 4));
        return c0481So;
    }

    @Override // com.google.firebase.components.ComponentRegistrar
    public List<C2549tj> getComponents() {
        C2454sj c2454sjA = C2549tj.a(C0491Sy.class);
        c2454sjA.a = LIBRARY_NAME;
        c2454sjA.a(C2660ur.b(firebaseSessionsComponent));
        c2454sjA.f = new C0387Oy(2);
        c2454sjA.c(2);
        C2549tj c2549tjB = c2454sjA.b();
        C2454sj c2454sjA2 = C2549tj.a(InterfaceC0517Ty.class);
        c2454sjA2.a = "fire-sessions-component";
        c2454sjA2.a(C2660ur.b(appContext));
        c2454sjA2.a(C2660ur.b(backgroundDispatcher));
        c2454sjA2.a(C2660ur.b(blockingDispatcher));
        c2454sjA2.a(C2660ur.b(firebaseApp));
        c2454sjA2.a(C2660ur.b(firebaseInstallationsApi));
        c2454sjA2.a(new C2660ur(transportFactory, 1, 1));
        c2454sjA2.f = new C0387Oy(3);
        return AbstractC0008Ai.S(c2549tjB, c2454sjA2.b(), AbstractC2539te.t(LIBRARY_NAME, "3.0.3"));
    }
}
