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

import defpackage.AbstractC2638;

/* JADX INFO: renamed from: com.google.crypto.tink.shaded.protobuf.ᵱᵽʡᵚ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC0023 {
    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final boolean m894(int i, C0027 c0027, Object obj) throws InvalidProtocolBufferException {
        int i2 = c0027.f1110;
        AbstractC2638 abstractC2638 = c0027.f1112;
        int i3 = i2 >>> 3;
        int i4 = i2 & 7;
        if (i4 == 0) {
            c0027.m947(0);
            ((C0026) obj).m938(i3 << 3, Long.valueOf(abstractC2638.mo109()));
            return true;
        }
        if (i4 == 1) {
            c0027.m947(1);
            ((C0026) obj).m938((i3 << 3) | 1, Long.valueOf(abstractC2638.mo104()));
            return true;
        }
        if (i4 == 2) {
            ((C0026) obj).m938((i3 << 3) | 2, c0027.m952());
            return true;
        }
        if (i4 != 3) {
            if (i4 == 4) {
                if (i != 0) {
                    return false;
                }
                throw new InvalidProtocolBufferException("Protocol message end-group tag did not match expected tag.");
            }
            if (i4 != 5) {
                throw InvalidProtocolBufferException.m836();
            }
            c0027.m947(5);
            ((C0026) obj).m938(5 | (i3 << 3), Integer.valueOf(abstractC2638.mo105()));
            return true;
        }
        C0026 c0026M934 = C0026.m934();
        int i5 = i3 << 3;
        int i6 = i5 | 4;
        int i7 = i + 1;
        if (i7 >= 100) {
            throw new InvalidProtocolBufferException("Protocol message had too many levels of nesting.  May be malicious.  Use setRecursionLimit() to increase the recursion depth limit.");
        }
        while (c0027.m957() != Integer.MAX_VALUE && m894(i7, c0027, c0026M934)) {
        }
        if (i6 != c0027.f1110) {
            throw new InvalidProtocolBufferException("Protocol message end-group tag did not match expected tag.");
        }
        if (c0026M934.f1107) {
            c0026M934.f1107 = false;
        }
        ((C0026) obj).m938(i5 | 3, c0026M934);
        return true;
    }

    /* JADX INFO: renamed from: ᵲᵶᵳˈ */
    public abstract C0026 mo893(Object obj);
}
