package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.a70, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C0691a70 implements ED {
    public static final C0691a70 a;
    private static final L60 descriptor;

    static {
        C0691a70 c0691a70 = new C0691a70();
        a = c0691a70;
        BX bx = new BX("com.google.firebase.sessions.SessionDetails", c0691a70, 4);
        bx.k("sessionId", false);
        bx.k("firstSessionId", false);
        bx.k("sessionIndex", false);
        bx.k("sessionStartTimestampUs", false);
        descriptor = bx;
    }

    @Override // o.EJ
    public final Object a(Ua0 ua0) {
        L60 l60 = descriptor;
        Ua0 ua0B = ua0.b(l60);
        int i = 0;
        int iL = 0;
        String strT = null;
        String strT2 = null;
        long jN = 0;
        boolean z = true;
        while (z) {
            int iJ = ua0B.j(l60);
            if (iJ == -1) {
                z = false;
            } else if (iJ == 0) {
                strT = ua0B.t(l60, 0);
                i |= 1;
            } else if (iJ == 1) {
                strT2 = ua0B.t(l60, 1);
                i |= 2;
            } else if (iJ == 2) {
                iL = ua0B.l(l60, 2);
                i |= 4;
            } else {
                if (iJ != 3) {
                    throw new C2324rJ(iJ);
                }
                jN = ua0B.n(l60, 3);
                i |= 8;
            }
        }
        ua0B.u(l60);
        return new C0882c70(i, strT, strT2, iL, jN);
    }

    @Override // o.ED
    public final EJ[] b() {
        Xa0 xa0 = Xa0.a;
        return new EJ[]{xa0, xa0, C1278gI.a, SM.a};
    }

    @Override // o.EJ
    public final void c(C0173Gr c0173Gr, Object obj) {
        C0882c70 c0882c70 = (C0882c70) obj;
        L60 l60 = descriptor;
        C0173Gr c0173GrC = c0173Gr.c(l60);
        String str = c0882c70.a;
        c0173GrC.e(l60, 0);
        c0173GrC.l(str);
        String str2 = c0882c70.b;
        c0173GrC.e(l60, 1);
        c0173GrC.l(str2);
        int i = c0882c70.c;
        c0173GrC.e(l60, 2);
        c0173GrC.f(i);
        long j = c0882c70.d;
        c0173GrC.e(l60, 3);
        c0173GrC.g(j);
        c0173GrC.m();
    }

    @Override // o.EJ
    public final L60 d() {
        return descriptor;
    }
}
