package o; import com.google.crypto.tink.shaded.protobuf.InvalidProtocolBufferException; /* loaded from: classes2.dex */ public class GAv { volatile vAr b; jra c; volatile jra e; public int hashCode() { return 1; } static { C1458aEp.c(); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof GAv)) { return false; } GAv gAv = (GAv) obj; vAr var = this.b; vAr var2 = gAv.b; if (var == null && var2 == null) { return b().equals(gAv.b()); } if (var != null && var2 != null) { return var.equals(var2); } if (var != null) { return var.equals(gAv.b(var.o())); } return b(var2.o()).equals(var2); } public final vAr b(vAr var) { c(var); return this.b; } public final int a() { if (this.e != null) { return this.e.d(); } if (this.b != null) { return this.b.n(); } return 0; } public final jra b() { if (this.e != null) { return this.e; } synchronized (this) { if (this.e != null) { return this.e; } if (this.b == null) { this.e = jra.d; } else { this.e = this.b.j(); } return this.e; } } private void c(vAr var) { if (this.b != null) { return; } synchronized (this) { if (this.b != null) { return; } try { this.b = var; this.e = jra.d; } catch (InvalidProtocolBufferException unused) { this.b = var; this.e = jra.d; } } } }