granularity level: instruction

		.class public final Lcom/google/android/gms/common/util/CollectionUtils;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"




.method private constructor <init>()V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public static isEmpty(Ljava/util/Collection;)Z
	.locals 0
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"(",
	"Ljava/util/Collection<",
	"*>;)Z"
	}
	.end annotation

	if-nez p0, :cond_0
	const/4 p0, 0x1
	return p0
	:cond_0
	invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
	move-result p0
	return p0
.end method

.method public static listOf()Ljava/util/List;
	.locals 1
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Ljava/lang/Object;",
	">()",
	"Ljava/util/List<",
	"TT;>;"
	}
	.end annotation

	invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
	move-result-object v0
	return-object v0
.end method

.method public static listOf(Ljava/lang/Object;)Ljava/util/List;
	.locals 0
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Ljava/lang/Object;",
	">(TT;)",
	"Ljava/util/List<",
	"TT;>;"
	}
	.end annotation

	invoke-static {p0}, Ljava/util/Collections;->singletonList(Ljava/lang/Object;)Ljava/util/List;
	move-result-object p0
	return-object p0
.end method

.method public static varargs listOf([Ljava/lang/Object;)Ljava/util/List;
	.locals 2
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Ljava/lang/Object;",
	">([TT;)",
	"Ljava/util/List<",
	"TT;>;"
	}
	.end annotation

	array-length v0, p0
	if-eqz v0, :cond_1
	const/4 v1, 0x1
	if-eq v0, v1, :cond_0
	invoke-static {p0}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
	move-result-object p0
	invoke-static {p0}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
	move-result-object p0
	return-object p0
	:cond_0
	const/4 v0, 0x0
	aget-object p0, p0, v0
	invoke-static {p0}, Lcom/google/android/gms/common/util/CollectionUtils;->listOf(Ljava/lang/Object;)Ljava/util/List;
	move-result-object p0
	return-object p0
	:cond_1
	invoke-static {}, Lcom/google/android/gms/common/util/CollectionUtils;->listOf()Ljava/util/List;
	move-result-object p0
	return-object p0
.end method

.method public static mapOf(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
	.locals 2
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<K:",
	"Ljava/lang/Object;",
	"V:",
	"Ljava/lang/Object;",
	">(TK;TV;TK;TV;TK;TV;)",
	"Ljava/util/Map<",
	"TK;TV;>;"
	}
	.end annotation

	const/4 v0, 0x3
	const/4 v1, 0x0
	invoke-static {v0, v1}, Lcom/google/android/gms/common/util/CollectionUtils;->zza(IZ)Ljava/util/Map;
	move-result-object v0
	invoke-interface {v0, p0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p2, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p4, p5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
	move-result-object p0
	return-object p0
.end method

.method public static mapOf(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
	.locals 2
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<K:",
	"Ljava/lang/Object;",
	"V:",
	"Ljava/lang/Object;",
	">(TK;TV;TK;TV;TK;TV;TK;TV;TK;TV;TK;TV;)",
	"Ljava/util/Map<",
	"TK;TV;>;"
	}
	.end annotation

	const/4 v0, 0x6
	const/4 v1, 0x0
	invoke-static {v0, v1}, Lcom/google/android/gms/common/util/CollectionUtils;->zza(IZ)Ljava/util/Map;
	move-result-object v0
	invoke-interface {v0, p0, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p2, p3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p4, p5}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p6, p7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p8, p9}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-interface {v0, p10, p11}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
	move-result-object p0
	return-object p0
.end method

.method public static mapOfKeyValueArrays([Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/Map;
	.locals 4
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<K:",
	"Ljava/lang/Object;",
	"V:",
	"Ljava/lang/Object;",
	">([TK;[TV;)",
	"Ljava/util/Map<",
	"TK;TV;>;"
	}
	.end annotation

	array-length v0, p0
	array-length v1, p1
	if-ne v0, v1, :cond_3
	if-eqz v0, :cond_2
	const/4 v1, 0x1
	const/4 v2, 0x0
	if-eq v0, v1, :cond_1
	invoke-static {v0, v2}, Lcom/google/android/gms/common/util/CollectionUtils;->zza(IZ)Ljava/util/Map;
	move-result-object v0
	:goto_0
	array-length v1, p0
	if-ge v2, v1, :cond_0
	aget-object v1, p0, v2
	aget-object v3, p1, v2
	invoke-interface {v0, v1, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	add-int/lit8 v2, v2, 0x1
	goto :goto_0
	:cond_0
	invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
	move-result-object p0
	return-object p0
	:cond_1
	aget-object p0, p0, v2
	aget-object p1, p1, v2
	invoke-static {p0, p1}, Ljava/util/Collections;->singletonMap(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
	move-result-object p0
	return-object p0
	:cond_2
	invoke-static {}, Ljava/util/Collections;->emptyMap()Ljava/util/Map;
	move-result-object p0
	return-object p0
	:cond_3
	new-instance p0, Ljava/lang/IllegalArgumentException;
	new-instance p1, Ljava/lang/StringBuilder;
	invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v2, "Key and values array lengths not equal: "
	invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	const-string v0, " != "
	invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
	throw p0
.end method

.method public static mutableSetOfWithSize(I)Ljava/util/Set;
	.locals 1
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Ljava/lang/Object;",
	">(I)",
	"Ljava/util/Set<",
	"TT;>;"
	}
	.end annotation

	if-nez p0, :cond_0
	new-instance p0, Landroidx/collection/ArraySet;
	invoke-direct {p0}, Landroidx/collection/ArraySet;-><init>()V
	goto :goto_0
	:cond_0
	const/4 v0, 0x1
	invoke-static {p0, v0}, Lcom/google/android/gms/common/util/CollectionUtils;->zzb(IZ)Ljava/util/Set;
	move-result-object p0
	:goto_0
	return-object p0
.end method

.method public static setOf(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
	.locals 2
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Ljava/lang/Object;",
	">(TT;TT;TT;)",
	"Ljava/util/Set<",
	"TT;>;"
	}
	.end annotation

	const/4 v0, 0x3
	const/4 v1, 0x0
	invoke-static {v0, v1}, Lcom/google/android/gms/common/util/CollectionUtils;->zzb(IZ)Ljava/util/Set;
	move-result-object v0
	invoke-interface {v0, p0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-interface {v0, p2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
	move-result-object p0
	return-object p0
.end method

.method public static varargs setOf([Ljava/lang/Object;)Ljava/util/Set;
	.locals 6
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Ljava/lang/Object;",
	">([TT;)",
	"Ljava/util/Set<",
	"TT;>;"
	}
	.end annotation

	array-length v0, p0
	if-eqz v0, :cond_4
	const/4 v1, 0x1
	const/4 v2, 0x0
	if-eq v0, v1, :cond_3
	const/4 v3, 0x2
	if-eq v0, v3, :cond_2
	const/4 v4, 0x3
	if-eq v0, v4, :cond_1
	const/4 v5, 0x4
	if-eq v0, v5, :cond_0
	invoke-static {v0, v2}, Lcom/google/android/gms/common/util/CollectionUtils;->zzb(IZ)Ljava/util/Set;
	move-result-object v0
	invoke-static {v0, p0}, Ljava/util/Collections;->addAll(Ljava/util/Collection;[Ljava/lang/Object;)Z
	invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
	move-result-object p0
	return-object p0
	:cond_0
	aget-object v0, p0, v2
	aget-object v1, p0, v1
	aget-object v3, p0, v3
	aget-object p0, p0, v4
	invoke-static {v5, v2}, Lcom/google/android/gms/common/util/CollectionUtils;->zzb(IZ)Ljava/util/Set;
	move-result-object v2
	invoke-interface {v2, v0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-interface {v2, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-interface {v2, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-interface {v2, p0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-static {v2}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
	move-result-object p0
	return-object p0
	:cond_1
	aget-object v0, p0, v2
	aget-object v1, p0, v1
	aget-object p0, p0, v3
	invoke-static {v0, v1, p0}, Lcom/google/android/gms/common/util/CollectionUtils;->setOf(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
	move-result-object p0
	return-object p0
	:cond_2
	aget-object v0, p0, v2
	aget-object p0, p0, v1
	invoke-static {v3, v2}, Lcom/google/android/gms/common/util/CollectionUtils;->zzb(IZ)Ljava/util/Set;
	move-result-object v1
	invoke-interface {v1, v0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-interface {v1, p0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	invoke-static {v1}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
	move-result-object p0
	return-object p0
	:cond_3
	aget-object p0, p0, v2
	invoke-static {p0}, Ljava/util/Collections;->singleton(Ljava/lang/Object;)Ljava/util/Set;
	move-result-object p0
	return-object p0
	:cond_4
	invoke-static {}, Ljava/util/Collections;->emptySet()Ljava/util/Set;
	move-result-object p0
	return-object p0
.end method

.method private static zza(IZ)Ljava/util/Map;
	.locals 1

	const/16 p1, 0x100
	if-gt p0, p1, :cond_0
	new-instance p1, Landroidx/collection/ArrayMap;
	invoke-direct {p1, p0}, Landroidx/collection/ArrayMap;-><init>(I)V
	goto :goto_0
	:cond_0
	new-instance p1, Ljava/util/HashMap;
	const/high16 v0, 0x3f800000    # 1.0f
	invoke-direct {p1, p0, v0}, Ljava/util/HashMap;-><init>(IF)V
	:goto_0
	return-object p1
.end method

.method private static zzb(IZ)Ljava/util/Set;
	.locals 2

	const/4 v0, 0x1
	if-eq v0, p1, :cond_0
	const/high16 v1, 0x3f800000    # 1.0f
	goto :goto_0
	:cond_0
	const/high16 v1, 0x3f400000    # 0.75f
	:goto_0
	if-eq v0, p1, :cond_1
	const/16 p1, 0x100
	goto :goto_1
	:cond_1
	const/16 p1, 0x80
	:goto_1
	if-gt p0, p1, :cond_2
	new-instance p1, Landroidx/collection/ArraySet;
	invoke-direct {p1, p0}, Landroidx/collection/ArraySet;-><init>(I)V
	goto :goto_2
	:cond_2
	new-instance p1, Ljava/util/HashSet;
	invoke-direct {p1, p0, v1}, Ljava/util/HashSet;-><init>(IF)V
	:goto_2
	return-object p1
.end method