package com.google.crypto.tink.shaded.protobuf;

import java.nio.charset.Charset;

/* JADX INFO: loaded from: classes3.dex */
public final class L {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public static final C1271t f13732b = new C1271t(1);

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Object f13733a;

    public L(C1264l c1264l) {
        A.a(c1264l, "output");
        this.f13733a = c1264l;
        c1264l.f13809h = this;
    }

    public void a(int i6, AbstractC1261i abstractC1261i) throws H4.c {
        C1264l c1264l = (C1264l) this.f13733a;
        c1264l.Z(i6, 2);
        c1264l.a0(abstractC1261i.size());
        C1260h c1260h = (C1260h) abstractC1261i;
        c1264l.T(c1260h.f13788d, c1260h.l(), c1260h.size());
    }

    public void b(int i6, Object obj, c0 c0Var) throws H4.c {
        C1264l c1264l = (C1264l) this.f13733a;
        c1264l.Z(i6, 3);
        c0Var.j((AbstractC1253a) obj, c1264l.f13809h);
        c1264l.Z(i6, 4);
    }

    public void c(int i6, Object obj, c0 c0Var) throws H4.c {
        AbstractC1253a abstractC1253a = (AbstractC1253a) obj;
        C1264l c1264l = (C1264l) this.f13733a;
        c1264l.Z(i6, 2);
        c1264l.a0(abstractC1253a.a(c0Var));
        c0Var.j(abstractC1253a, c1264l.f13809h);
    }

    public L() {
        P p6;
        try {
            p6 = (P) Class.forName("com.google.crypto.tink.shaded.protobuf.DescriptorMessageInfoFactory").getDeclaredMethod("getInstance", new Class[0]).invoke(null, new Object[0]);
        } catch (Exception unused) {
            p6 = f13732b;
        }
        P[] pArr = {C1271t.f13835b, p6};
        K k6 = new K();
        k6.f13731a = pArr;
        Charset charset = A.f13714a;
        this.f13733a = k6;
    }
}
