package androidx.datastore.preferences.protobuf;

import defpackage.AbstractC2638;

/* JADX INFO: renamed from: androidx.datastore.preferences.protobuf.ᵱᵽʡᵚ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC0006 {
    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final boolean m163(int i, C0010 c0010, Object obj) throws InvalidProtocolBufferException {
        int i2 = c0010.f369;
        AbstractC2638 abstractC2638 = c0010.f371;
        int i3 = i2 >>> 3;
        int i4 = i2 & 7;
        if (i4 == 0) {
            c0010.m208(0);
            ((C0009) obj).m195(i3 << 3, Long.valueOf(abstractC2638.mo109()));
            return true;
        }
        if (i4 == 1) {
            c0010.m208(1);
            ((C0009) obj).m195((i3 << 3) | 1, Long.valueOf(abstractC2638.mo104()));
            return true;
        }
        if (i4 == 2) {
            ((C0009) obj).m195((i3 << 3) | 2, c0010.m211());
            return true;
        }
        if (i4 != 3) {
            if (i4 == 4) {
                return false;
            }
            if (i4 != 5) {
                throw InvalidProtocolBufferException.m94();
            }
            c0010.m208(5);
            ((C0009) obj).m195(5 | (i3 << 3), Integer.valueOf(abstractC2638.mo105()));
            return true;
        }
        C0009 c0009 = new C0009(0, new int[8], new Object[8], true);
        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 (c0010.m216() != Integer.MAX_VALUE && m163(i7, c0010, c0009)) {
        }
        if (i6 != c0010.f369) {
            throw new InvalidProtocolBufferException("Protocol message end-group tag did not match expected tag.");
        }
        if (c0009.f366) {
            c0009.f366 = false;
        }
        ((C0009) obj).m195(i5 | 3, c0009);
        return true;
    }

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