package o; import com.google.crypto.tink.shaded.protobuf.CodedOutputStream; import java.util.Iterator; import java.util.Map; import o.C15775iXO; import o.xLv; /* loaded from: classes2.dex */ final class zTs implements YVe { @Override // o.YVe public final Map e(Object obj) { return (EXy) obj; } @Override // o.YVe public final xLv.IeS a(Object obj) { return ((xLv) obj).c; } @Override // o.YVe public final Map b(Object obj) { return (EXy) obj; } @Override // o.YVe public final boolean c(Object obj) { return !((EXy) obj).b; } @Override // o.YVe public final Object d(Object obj) { ((EXy) obj).b = false; return obj; } @Override // o.YVe public final Object d() { EXy a = EXy.a(); return a.isEmpty() ? new EXy() : new EXy(a); } @Override // o.YVe public final int b(int i, Object obj, Object obj2) { EXy eXy = (EXy) obj; xLv xlv = (xLv) obj2; if (eXy.isEmpty()) { return 0; } Iterator it = eXy.entrySet().iterator(); if (!it.hasNext()) { return 0; } Map.Entry entry = (Map.Entry) it.next(); entry.getKey(); entry.getValue(); CodedOutputStream.m(i); Object obj3 = xlv.c; xLv.IeS ieS = null; C15775iXO.RVV rvv = ieS.d; throw null; } @Override // o.YVe public final Object e(Object obj, Object obj2) { EXy eXy = (EXy) obj; EXy eXy2 = (EXy) obj2; if (!eXy2.isEmpty()) { if (!eXy.b) { eXy = eXy.isEmpty() ? new EXy() : new EXy(eXy); } if (eXy.b) { if (!eXy2.isEmpty()) { eXy.putAll(eXy2); } } else { throw new UnsupportedOperationException(); } } return eXy; } }