package com.google.android.libraries.places.internal; /* loaded from: classes2.dex */ final class zzaef extends zzaeh { private final byte[] zzb; private int zzc; private int zzd; private int zze; /* JADX INFO: Access modifiers changed from: package-private */ public /* synthetic */ zzaef(byte[] bArr, int i, int i2, boolean z, zzaee zzaeeVar) { super(null); this.zze = Integer.MAX_VALUE; this.zzb = bArr; this.zzc = 0; } public final int zza(int i) throws zzafj { int i2 = this.zze; this.zze = 0; int i3 = this.zzc + this.zzd; this.zzc = i3; if (i3 > 0) { this.zzd = i3; this.zzc = 0; } else { this.zzd = 0; } return i2; } }