package o; import com.google.crypto.tink.shaded.protobuf.CodedOutputStream; import java.io.IOException; import o.MLB; /* loaded from: classes2.dex */ final class ArY extends YlB { /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ int a(pTc ptc) { pTc ptc2 = ptc; int i = ptc2.e; if (i != -1) { return i; } int i2 = 0; for (int i3 = 0; i3 < ptc2.c; i3++) { i2 += CodedOutputStream.b(C15775iXO.d(ptc2.d[i3]), (jra) ptc2.b[i3]); } ptc2.e = i2; return i2; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ pTc a(pTc ptc, pTc ptc2) { pTc ptc3 = ptc; pTc ptc4 = ptc2; return !ptc4.equals(pTc.e()) ? pTc.a(ptc3, ptc4) : ptc3; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ void a(pTc ptc, int i, long j) { ptc.c(C15775iXO.b(i, 0), Long.valueOf(j)); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ void a(pTc ptc, int i, jra jraVar) { ptc.c(C15775iXO.b(i, 2), jraVar); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* bridge */ /* synthetic */ void c(Object obj, pTc ptc) { ((AbstractC16345ndh) obj).unknownFields = ptc; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ void c(pTc ptc, MLB mlb) throws IOException { ptc.a(mlb); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ int d(pTc ptc) { return ptc.c(); } @Override // o.YlB final /* synthetic */ void d(pTc ptc, int i, long j) { ptc.c(C15775iXO.b(i, 1), Long.valueOf(j)); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* bridge */ /* synthetic */ void d(Object obj, pTc ptc) { ((AbstractC16345ndh) obj).unknownFields = ptc; } @Override // o.YlB final /* synthetic */ void e(pTc ptc, int i, int i2) { ptc.c(C15775iXO.b(i, 5), Integer.valueOf(i2)); } @Override // o.YlB final /* synthetic */ void e(pTc ptc, int i, pTc ptc2) { ptc.c(C15775iXO.b(i, 3), ptc2); } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ void e(pTc ptc, MLB mlb) throws IOException { pTc ptc2 = ptc; if (mlb.d() == MLB.Sts.DESCENDING) { for (int i = ptc2.c - 1; i >= 0; i--) { mlb.e(C15775iXO.d(ptc2.d[i]), ptc2.b[i]); } return; } for (int i2 = 0; i2 < ptc2.c; i2++) { mlb.e(C15775iXO.d(ptc2.d[i2]), ptc2.b[i2]); } } @Override // o.YlB final /* bridge */ /* synthetic */ pTc i(pTc ptc) { pTc ptc2 = ptc; ptc2.a = false; return ptc2; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ pTc e(Object obj) { AbstractC16345ndh abstractC16345ndh = (AbstractC16345ndh) obj; pTc ptc = abstractC16345ndh.unknownFields; if (ptc != pTc.e()) { return ptc; } pTc b = pTc.b(); abstractC16345ndh.unknownFields = b; return b; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* bridge */ /* synthetic */ pTc b(Object obj) { return ((AbstractC16345ndh) obj).unknownFields; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final void c(Object obj) { ((AbstractC16345ndh) obj).unknownFields.a = false; } /* JADX INFO: Access modifiers changed from: package-private */ @Override // o.YlB public final /* synthetic */ pTc d() { return pTc.b(); } }