.class public final Lz5/gr1;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/lang/Comparable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/lang/Comparable<",
        "Lz5/gr1;",
        ">;"
    }
.end annotation


# instance fields
.field public final r:Z

.field public final s:Z

.field public final t:Z

.field public final u:Z

.field public final v:I

.field public final w:I

.field public final x:I

.field public final y:I


# direct methods
.method public constructor <init>(Lz5/x2;Lz5/dr1;ILjava/lang/String;)V
    .registers 9

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

    const/4 v0, 0x0

    invoke-static {p3, v0}, Lz5/ir1;->j(IZ)Z

    move-result p3

    iput-boolean p3, p0, Lz5/gr1;->s:Z

    iget p3, p1, Lz5/x2;->d:I

    and-int/lit8 v1, p3, 0x1

    const/4 v2, 0x1

    if-eq v2, v1, :cond_13

    move v1, v0

    goto :goto_14

    :cond_13
    move v1, v2

    :goto_14
    iput-boolean v1, p0, Lz5/gr1;->t:Z

    and-int/lit8 p3, p3, 0x2

    if-eqz p3, :cond_1c

    move p3, v2

    goto :goto_1d

    :cond_1c
    move p3, v0

    :goto_1d
    iput-boolean p3, p0, Lz5/gr1;->u:Z

    iget-object p3, p2, Lz5/qy1;->g:Lcom/google/android/gms/internal/ads/q6;

    invoke-virtual {p3}, Ljava/util/AbstractCollection;->isEmpty()Z

    move-result p3

    if-eqz p3, :cond_2e

    const-string p3, ""

    invoke-static {p3}, Lcom/google/android/gms/internal/ads/q6;->L(Ljava/lang/Object;)Lcom/google/android/gms/internal/ads/q6;

    move-result-object p3

    goto :goto_30

    :cond_2e
    iget-object p3, p2, Lz5/qy1;->g:Lcom/google/android/gms/internal/ads/q6;

    :goto_30
    move v1, v0

    :goto_31
    invoke-virtual {p3}, Ljava/util/AbstractCollection;->size()I

    move-result v3

    if-ge v1, v3, :cond_47

    invoke-interface {p3, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-static {p1, v3, v0}, Lz5/ir1;->l(Lz5/x2;Ljava/lang/String;Z)I

    move-result v3

    if-lez v3, :cond_44

    goto :goto_4b

    :cond_44
    add-int/lit8 v1, v1, 0x1

    goto :goto_31

    :cond_47
    const v1, 0x7fffffff

    move v3, v0

    :goto_4b
    iput v1, p0, Lz5/gr1;->v:I

    iput v3, p0, Lz5/gr1;->w:I

    invoke-static {v0}, Ljava/lang/Integer;->bitCount(I)I

    move-result p3

    iput p3, p0, Lz5/gr1;->x:I

    invoke-static {p4}, Lz5/ir1;->k(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_5d

    move v1, v2

    goto :goto_5e

    :cond_5d
    move v1, v0

    :goto_5e
    invoke-static {p1, p4, v1}, Lz5/ir1;->l(Lz5/x2;Ljava/lang/String;Z)I

    move-result p1

    iput p1, p0, Lz5/gr1;->y:I

    if-gtz v3, :cond_7a

    iget-object p2, p2, Lz5/qy1;->g:Lcom/google/android/gms/internal/ads/q6;

    invoke-virtual {p2}, Ljava/util/AbstractCollection;->isEmpty()Z

    move-result p2

    if-eqz p2, :cond_70

    if-gtz p3, :cond_7a

    :cond_70
    iget-boolean p2, p0, Lz5/gr1;->t:Z

    if-nez p2, :cond_7a

    iget-boolean p2, p0, Lz5/gr1;->u:Z

    if-eqz p2, :cond_7b

    if-lez p1, :cond_7b

    :cond_7a
    move v0, v2

    :cond_7b
    iput-boolean v0, p0, Lz5/gr1;->r:Z

    return-void
.end method


# virtual methods
.method public final a(Lz5/gr1;)I
    .registers 8

    sget-object v0, Lz5/ha1;->a:Lz5/ha1;

    iget-boolean v1, p0, Lz5/gr1;->s:Z

    iget-boolean v2, p1, Lz5/gr1;->s:Z

    invoke-virtual {v0, v1, v2}, Lz5/ha1;->d(ZZ)Lz5/ha1;

    move-result-object v0

    iget v1, p0, Lz5/gr1;->v:I

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    iget v2, p1, Lz5/gr1;->v:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    sget-object v3, Lz5/bb1;->r:Lz5/bb1;

    sget-object v4, Lz5/eb1;->r:Lz5/eb1;

    invoke-virtual {v0, v1, v2, v4}, Lz5/ha1;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)Lz5/ha1;

    move-result-object v0

    iget v1, p0, Lz5/gr1;->w:I

    iget v2, p1, Lz5/gr1;->w:I

    invoke-virtual {v0, v1, v2}, Lz5/ha1;->b(II)Lz5/ha1;

    move-result-object v0

    iget v1, p0, Lz5/gr1;->x:I

    iget v2, p1, Lz5/gr1;->x:I

    invoke-virtual {v0, v1, v2}, Lz5/ha1;->b(II)Lz5/ha1;

    move-result-object v0

    iget-boolean v1, p0, Lz5/gr1;->t:Z

    iget-boolean v2, p1, Lz5/gr1;->t:Z

    invoke-virtual {v0, v1, v2}, Lz5/ha1;->d(ZZ)Lz5/ha1;

    move-result-object v0

    iget-boolean v1, p0, Lz5/gr1;->u:Z

    invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    iget-boolean v2, p1, Lz5/gr1;->u:Z

    invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    iget v5, p0, Lz5/gr1;->w:I

    if-nez v5, :cond_47

    goto :goto_48

    :cond_47
    move-object v3, v4

    :goto_48
    invoke-virtual {v0, v1, v2, v3}, Lz5/ha1;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/util/Comparator;)Lz5/ha1;

    move-result-object v0

    iget v1, p0, Lz5/gr1;->y:I

    iget p1, p1, Lz5/gr1;->y:I

    invoke-virtual {v0, v1, p1}, Lz5/ha1;->b(II)Lz5/ha1;

    move-result-object p1

    iget v0, p0, Lz5/gr1;->x:I

    if-nez v0, :cond_5d

    const/4 v0, 0x0

    invoke-virtual {p1, v0, v0}, Lz5/ha1;->c(ZZ)Lz5/ha1;

    move-result-object p1

    :cond_5d
    invoke-virtual {p1}, Lz5/ha1;->e()I

    move-result p1

    return p1
.end method

.method public final bridge synthetic compareTo(Ljava/lang/Object;)I
    .registers 2

    check-cast p1, Lz5/gr1;

    invoke-virtual {p0, p1}, Lz5/gr1;->a(Lz5/gr1;)I

    move-result p1

    return p1
.end method
