package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final /* synthetic */ class KY implements ED {
    public static final KY a;
    private static final L60 descriptor;

    static {
        KY ky = new KY();
        a = ky;
        BX bx = new BX("com.google.firebase.sessions.ProcessData", ky, 2);
        bx.k("pid", false);
        bx.k("uuid", false);
        descriptor = bx;
    }

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

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

    @Override // o.EJ
    public final void c(C0173Gr c0173Gr, Object obj) {
        MY my = (MY) obj;
        L60 l60 = descriptor;
        C0173Gr c0173GrC = c0173Gr.c(l60);
        int i = my.a;
        c0173GrC.e(l60, 0);
        c0173GrC.f(i);
        String str = my.b;
        c0173GrC.e(l60, 1);
        c0173GrC.l(str);
        c0173GrC.m();
    }

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