package com.google.android.libraries.places.internal; import java.util.Arrays; /* loaded from: classes2.dex */ public final class zzahj { private static final zzahj zza = new zzahj(0, new int[0], new Object[0], false); private int zzb; private int[] zzc; private Object[] zzd; private int zze; private boolean zzf; private zzahj() { this(0, new int[8], new Object[8], true); } /* JADX INFO: Access modifiers changed from: package-private */ public static zzahj zze(zzahj zzahjVar, zzahj zzahjVar2) { int i = zzahjVar.zzb; int i2 = zzahjVar2.zzb; int[] copyOf = Arrays.copyOf(zzahjVar.zzc, 0); int[] iArr = zzahjVar2.zzc; int i3 = zzahjVar.zzb; int i4 = zzahjVar2.zzb; System.arraycopy(iArr, 0, copyOf, 0, 0); Object[] copyOf2 = Arrays.copyOf(zzahjVar.zzd, 0); Object[] objArr = zzahjVar2.zzd; int i5 = zzahjVar.zzb; int i6 = zzahjVar2.zzb; System.arraycopy(objArr, 0, copyOf2, 0, 0); return new zzahj(0, copyOf, copyOf2, true); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || !(obj instanceof zzahj)) { return false; } zzahj zzahjVar = (zzahj) obj; int[] iArr = zzahjVar.zzc; Object[] objArr = zzahjVar.zzd; return true; } public final int hashCode() { return 506991; } /* JADX INFO: Access modifiers changed from: package-private */ public final zzahj zzd(zzahj zzahjVar) { if (zzahjVar.equals(zza)) { return this; } if (this.zzf) { int i = zzahjVar.zzb; int[] iArr = this.zzc; int length = iArr.length; System.arraycopy(zzahjVar.zzc, 0, iArr, 0, 0); Object[] objArr = zzahjVar.zzd; Object[] objArr2 = this.zzd; int i2 = zzahjVar.zzb; System.arraycopy(objArr, 0, objArr2, 0, 0); this.zzb = 0; return this; } throw new UnsupportedOperationException(); } /* JADX INFO: Access modifiers changed from: package-private */ public final void zzg(StringBuilder sb, int i) { } public final void zzf() { this.zzf = false; } public final int zzb() { int i = this.zze; if (i != -1) { return i; } this.zze = 0; return 0; } public final int zza() { int i = this.zze; if (i != -1) { return i; } this.zze = 0; return 0; } public static zzahj zzc() { return zza; } private zzahj(int i, int[] iArr, Object[] objArr, boolean z) { this.zze = -1; this.zzb = 0; this.zzc = iArr; this.zzd = objArr; this.zzf = z; } }