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

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public abstract class j1 {
    abstract void a(Object obj, int i10, int i11);

    abstract void b(Object obj, int i10, long j10);

    abstract void c(Object obj, int i10, Object obj2);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void d(Object obj, int i10, h hVar);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void e(Object obj, int i10, long j10);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract Object f(Object obj);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract Object g(Object obj);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract int h(Object obj);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract int i(Object obj);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void j(Object obj);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract Object k(Object obj, Object obj2);

    final void l(Object obj, c1 c1Var) {
        while (c1Var.w() != Integer.MAX_VALUE && m(obj, c1Var)) {
        }
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public final boolean m(Object obj, c1 c1Var) {
        int a10 = c1Var.a();
        int a11 = p1.a(a10);
        int b10 = p1.b(a10);
        if (b10 == 0) {
            e(obj, a11, c1Var.G());
            return true;
        }
        if (b10 == 1) {
            b(obj, a11, c1Var.d());
            return true;
        }
        if (b10 == 2) {
            d(obj, a11, c1Var.z());
            return true;
        }
        if (b10 != 3) {
            if (b10 == 4) {
                return false;
            }
            if (b10 != 5) {
                throw a0.d();
            }
            a(obj, a11, c1Var.h());
            return true;
        }
        Object n10 = n();
        int c10 = p1.c(a11, 4);
        l(n10, c1Var);
        if (c10 != c1Var.a()) {
            throw a0.a();
        }
        c(obj, a11, r(n10));
        return true;
    }

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract Object n();

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void o(Object obj, Object obj2);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void p(Object obj, Object obj2);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract boolean q(c1 c1Var);

    abstract Object r(Object obj);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void s(Object obj, q1 q1Var);

    /* JADX INFO: Access modifiers changed from: package-private */
    public abstract void t(Object obj, q1 q1Var);
}
