package com.google.android.gms.internal.measurement; import com.google.android.gms.internal.measurement.zzjt; import com.google.android.gms.internal.measurement.zzjx; import java.io.IOException; /* loaded from: classes.dex */ public class zzjt, BuilderType extends zzjt> extends zzig { protected MessageType zza; protected boolean zzb = false; private final MessageType zzc; /* JADX INFO: Access modifiers changed from: protected */ public zzjt(MessageType messagetype) { this.zzc = messagetype; this.zza = (MessageType) messagetype.zzl(4, null, null); } private static final void zza(MessageType messagetype, MessageType messagetype2) { zzlk.zza().zzb(messagetype.getClass()).zzg(messagetype, messagetype2); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0036, code lost: if (r4 != false) goto L13; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final MessageType zzaA() { /* r6 = this; com.google.android.gms.internal.measurement.zzjx r0 = r6.zzaC() java.lang.Boolean r1 = java.lang.Boolean.TRUE boolean r1 = r1.booleanValue() r2 = 1 r3 = 0 java.lang.Object r4 = r0.zzl(r2, r3, r3) java.lang.Byte r4 = (java.lang.Byte) r4 byte r4 = r4.byteValue() if (r4 != r2) goto L19 goto L38 L19: if (r4 == 0) goto L39 com.google.android.gms.internal.measurement.zzlk r4 = com.google.android.gms.internal.measurement.zzlk.zza() java.lang.Class r5 = r0.getClass() com.google.android.gms.internal.measurement.zzln r4 = r4.zzb(r5) boolean r4 = r4.zzj(r0) if (r1 == 0) goto L36 if (r2 == r4) goto L31 r1 = r3 goto L32 L31: r1 = r0 L32: r2 = 2 r0.zzl(r2, r1, r3) L36: if (r4 == 0) goto L39 L38: return r0 L39: com.google.android.gms.internal.measurement.zzma r1 = new com.google.android.gms.internal.measurement.zzma r1.(r0) throw r1 */ throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.measurement.zzjt.zzaA():com.google.android.gms.internal.measurement.zzjx"); } @Override // com.google.android.gms.internal.measurement.zzlb /* renamed from: zzaB, reason: merged with bridge method [inline-methods] */ public MessageType zzaC() { if (this.zzb) { return this.zza; } MessageType messagetype = this.zza; zzlk.zza().zzb(messagetype.getClass()).zzf(messagetype); this.zzb = true; return this.zza; } /* JADX INFO: Access modifiers changed from: protected */ public void zzaE() { MessageType messagetype = (MessageType) this.zza.zzl(4, null, null); zza(messagetype, this.zza); this.zza = messagetype; } /* JADX WARN: Multi-variable type inference failed */ @Override // com.google.android.gms.internal.measurement.zzig protected final /* synthetic */ zzig zzar(zzih zzihVar) { zzay((zzjx) zzihVar); return this; } @Override // com.google.android.gms.internal.measurement.zzig public final /* synthetic */ zzig zzas(byte[] bArr, int i, int i2) throws zzkh { zzaz(bArr, 0, i2, zzjj.zza()); return this; } @Override // com.google.android.gms.internal.measurement.zzig public final /* synthetic */ zzig zzat(byte[] bArr, int i, int i2, zzjj zzjjVar) throws zzkh { zzaz(bArr, 0, i2, zzjjVar); return this; } @Override // com.google.android.gms.internal.measurement.zzig /* renamed from: zzax, reason: merged with bridge method [inline-methods] and merged with bridge method [inline-methods] */ public final BuilderType zzaq() { BuilderType buildertype = (BuilderType) this.zzc.zzl(5, null, null); buildertype.zzay(zzaC()); return buildertype; } public final BuilderType zzay(MessageType messagetype) { if (this.zzb) { zzaE(); this.zzb = false; } zza(this.zza, messagetype); return this; } public final BuilderType zzaz(byte[] bArr, int i, int i2, zzjj zzjjVar) throws zzkh { if (this.zzb) { zzaE(); this.zzb = false; } try { zzlk.zza().zzb(this.zza.getClass()).zzh(this.zza, bArr, 0, i2, new zzik(zzjjVar)); return this; } catch (zzkh e) { throw e; } catch (IOException e2) { throw new RuntimeException("Reading from byte array should not throw IOException.", e2); } catch (IndexOutOfBoundsException unused) { throw zzkh.zzf(); } } @Override // com.google.android.gms.internal.measurement.zzld public final /* synthetic */ zzlc zzbL() { return this.zzc; } }