package o; import com.google.protobuf.InvalidProtocolBufferException; import java.io.IOException; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public abstract class Hjq { /* JADX INFO: Access modifiers changed from: package-private */ public abstract void a(Object obj); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void a(Object obj, B b); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void a(T t, InterfaceC16095lEl interfaceC16095lEl) throws IOException; /* JADX INFO: Access modifiers changed from: package-private */ public abstract int b(T t); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void b(Object obj, T t); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void b(T t, InterfaceC16095lEl interfaceC16095lEl) throws IOException; /* JADX INFO: Access modifiers changed from: package-private */ public abstract int c(T t); abstract void c(B b, int i, int i2); abstract void c(B b, int i, long j); /* JADX INFO: Access modifiers changed from: package-private */ public abstract T d(Object obj); /* JADX INFO: Access modifiers changed from: package-private */ public abstract T d(T t, T t2); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void d(B b, int i, long j); abstract void d(B b, int i, T t); /* JADX INFO: Access modifiers changed from: package-private */ public abstract void d(B b, int i, QwV qwV); /* JADX INFO: Access modifiers changed from: package-private */ public abstract B e(); /* JADX INFO: Access modifiers changed from: package-private */ public abstract B e(Object obj); abstract T g(B b); /* JADX INFO: Access modifiers changed from: package-private */ public final boolean a(B b, lfg lfgVar) throws IOException { int d = lfgVar.d(); int b2 = Nvr.b(d); int c = Nvr.c(d); if (c == 0) { d((Hjq) b, b2, lfgVar.o()); return true; } if (c == 1) { c((Hjq) b, b2, lfgVar.h()); return true; } if (c == 2) { d((Hjq) b, b2, lfgVar.b()); return true; } if (c != 3) { if (c == 4) { return false; } if (c == 5) { c((Hjq) b, b2, lfgVar.f()); return true; } throw InvalidProtocolBufferException.e(); } B e = e(); int c2 = Nvr.c(b2, 4); while (lfgVar.e() != Integer.MAX_VALUE && a((Hjq) e, lfgVar)) { } if (c2 != lfgVar.d()) { throw InvalidProtocolBufferException.c(); } d((Hjq) b, b2, (int) g(e)); return true; } }