.class public final Lcom/google/android/gms/internal/ads/i;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/util/Comparator;
.implements Landroid/os/Parcelable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Comparator<",
        "Lz5/t9;",
        ">;",
        "Landroid/os/Parcelable;"
    }
.end annotation


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator<",
            "Lcom/google/android/gms/internal/ads/i;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public final r:[Lz5/t9;

.field public s:I

.field public final t:I


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    new-instance v0, Lz5/r9;

    invoke-direct {v0}, Lz5/r9;-><init>()V

    sput-object v0, Lcom/google/android/gms/internal/ads/i;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method public constructor <init>(Landroid/os/Parcel;)V
    .registers 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    sget-object v0, Lz5/t9;->CREATOR:Landroid/os/Parcelable$Creator;

    invoke-virtual {p1, v0}, Landroid/os/Parcel;->createTypedArray(Landroid/os/Parcelable$Creator;)[Ljava/lang/Object;

    move-result-object p1

    check-cast p1, [Lz5/t9;

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/i;->r:[Lz5/t9;

    array-length p1, p1

    iput p1, p0, Lcom/google/android/gms/internal/ads/i;->t:I

    return-void
.end method

.method public varargs constructor <init>(Z[Lz5/t9;)V
    .registers 5

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    if-eqz p1, :cond_c

    invoke-virtual {p2}, [Lz5/t9;->clone()Ljava/lang/Object;

    move-result-object p1

    move-object p2, p1

    check-cast p2, [Lz5/t9;

    :cond_c
    invoke-static {p2, p0}, Ljava/util/Arrays;->sort([Ljava/lang/Object;Ljava/util/Comparator;)V

    const/4 p1, 0x1

    :goto_10
    array-length v0, p2

    if-ge p1, v0, :cond_3a

    add-int/lit8 v0, p1, -0x1

    aget-object v0, p2, v0

    .line 1
    iget-object v0, v0, Lz5/t9;->s:Ljava/util/UUID;

    .line 2
    aget-object v1, p2, p1

    .line 3
    iget-object v1, v1, Lz5/t9;->s:Ljava/util/UUID;

    .line 4
    invoke-virtual {v0, v1}, Ljava/util/UUID;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_26

    add-int/lit8 p1, p1, 0x1

    goto :goto_10

    :cond_26
    new-instance v0, Ljava/lang/IllegalArgumentException;

    aget-object p1, p2, p1

    .line 5
    iget-object p1, p1, Lz5/t9;->s:Ljava/util/UUID;

    .line 6
    invoke-static {p1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    const-string p2, "Duplicate data for uuid: "

    invoke-virtual {p2, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_3a
    iput-object p2, p0, Lcom/google/android/gms/internal/ads/i;->r:[Lz5/t9;

    iput v0, p0, Lcom/google/android/gms/internal/ads/i;->t:I

    return-void
.end method


# virtual methods
.method public final synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .registers 5

    check-cast p1, Lz5/t9;

    check-cast p2, Lz5/t9;

    sget-object v0, Lz5/x7;->b:Ljava/util/UUID;

    .line 1
    iget-object v1, p1, Lz5/t9;->s:Ljava/util/UUID;

    .line 2
    invoke-virtual {v0, v1}, Ljava/util/UUID;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1a

    .line 3
    iget-object p1, p2, Lz5/t9;->s:Ljava/util/UUID;

    .line 4
    invoke-virtual {v0, p1}, Ljava/util/UUID;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-nez p1, :cond_18

    const/4 p1, 0x1

    goto :goto_22

    :cond_18
    const/4 p1, 0x0

    return p1

    .line 5
    :cond_1a
    iget-object p1, p1, Lz5/t9;->s:Ljava/util/UUID;

    iget-object p2, p2, Lz5/t9;->s:Ljava/util/UUID;

    .line 6
    invoke-virtual {p1, p2}, Ljava/util/UUID;->compareTo(Ljava/util/UUID;)I

    move-result p1

    :goto_22
    return p1
.end method

.method public final describeContents()I
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public final equals(Ljava/lang/Object;)Z
    .registers 4

    if-ne p0, p1, :cond_4

    const/4 p1, 0x1

    return p1

    :cond_4
    if-eqz p1, :cond_1a

    const-class v0, Lcom/google/android/gms/internal/ads/i;

    invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    if-eq v0, v1, :cond_f

    goto :goto_1a

    :cond_f
    iget-object v0, p0, Lcom/google/android/gms/internal/ads/i;->r:[Lz5/t9;

    check-cast p1, Lcom/google/android/gms/internal/ads/i;

    iget-object p1, p1, Lcom/google/android/gms/internal/ads/i;->r:[Lz5/t9;

    invoke-static {v0, p1}, Ljava/util/Arrays;->equals([Ljava/lang/Object;[Ljava/lang/Object;)Z

    move-result p1

    return p1

    :cond_1a
    :goto_1a
    const/4 p1, 0x0

    return p1
.end method

.method public final hashCode()I
    .registers 2

    iget v0, p0, Lcom/google/android/gms/internal/ads/i;->s:I

    if-nez v0, :cond_c

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/i;->r:[Lz5/t9;

    invoke-static {v0}, Ljava/util/Arrays;->hashCode([Ljava/lang/Object;)I

    move-result v0

    iput v0, p0, Lcom/google/android/gms/internal/ads/i;->s:I

    :cond_c
    return v0
.end method

.method public final writeToParcel(Landroid/os/Parcel;I)V
    .registers 4

    iget-object p2, p0, Lcom/google/android/gms/internal/ads/i;->r:[Lz5/t9;

    const/4 v0, 0x0

    invoke-virtual {p1, p2, v0}, Landroid/os/Parcel;->writeTypedArray([Landroid/os/Parcelable;I)V

    return-void
.end method
