.class public Lcom/badlogic/gdx/utils/ObjectMap;
.super Ljava/lang/Object;
.source "ObjectMap.java"

# interfaces
.implements Ljava/lang/Iterable;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/badlogic/gdx/utils/ObjectMap$Keys;,
        Lcom/badlogic/gdx/utils/ObjectMap$Values;,
        Lcom/badlogic/gdx/utils/ObjectMap$Entries;,
        Lcom/badlogic/gdx/utils/ObjectMap$MapIterator;,
        Lcom/badlogic/gdx/utils/ObjectMap$Entry;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<K:",
        "Ljava/lang/Object;",
        "V:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Ljava/lang/Iterable<",
        "Lcom/badlogic/gdx/utils/ObjectMap$Entry<",
        "TK;TV;>;>;"
    }
.end annotation


# instance fields
.field public a:I

.field b:[Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "[TK;"
        }
    .end annotation
.end field

.field c:[Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "[TV;"
        }
    .end annotation
.end field

.field d:I

.field e:I

.field private f:F

.field private g:I

.field private h:I

.field private i:I

.field private j:I

.field private k:I

.field private l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

.field private m:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

.field private n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

.field private o:Lcom/badlogic/gdx/utils/ObjectMap$Values;

.field private p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

.field private q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/16 v0, 0x33

    const v1, 0x3f4ccccd    # 0.8f

    .line 53
    invoke-direct {p0, v0, v1}, Lcom/badlogic/gdx/utils/ObjectMap;-><init>(IF)V

    return-void
.end method

.method public constructor <init>(I)V
    .locals 1

    const v0, 0x3f4ccccd    # 0.8f

    .line 59
    invoke-direct {p0, p1, v0}, Lcom/badlogic/gdx/utils/ObjectMap;-><init>(IF)V

    return-void
.end method

.method public constructor <init>(IF)V
    .locals 2

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

    if-ltz p1, :cond_2

    int-to-float p1, p1

    div-float/2addr p1, p2

    float-to-double v0, p1

    .line 67
    invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v0

    double-to-int p1, v0

    invoke-static {p1}, Lcom/badlogic/gdx/math/MathUtils;->b(I)I

    move-result p1

    const/high16 v0, 0x40000000    # 2.0f

    if-gt p1, v0, :cond_1

    .line 69
    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    const/4 p1, 0x0

    cmpg-float p1, p2, p1

    if-lez p1, :cond_0

    .line 72
    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->f:F

    .line 74
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    int-to-float p1, p1

    mul-float p1, p1, p2

    float-to-int p1, p1

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    .line 75
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

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

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    .line 76
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    invoke-static {p1}, Ljava/lang/Integer;->numberOfTrailingZeros(I)I

    move-result p1

    rsub-int/lit8 p1, p1, 0x1f

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->g:I

    const/4 p1, 0x3

    .line 77
    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    int-to-double v0, p2

    invoke-static {v0, v1}, Ljava/lang/Math;->log(D)D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v0

    double-to-int p2, v0

    mul-int/lit8 p2, p2, 0x2

    invoke-static {p1, p2}, Ljava/lang/Math;->max(II)I

    move-result p1

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->j:I

    .line 78
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    const/16 p2, 0x8

    invoke-static {p1, p2}, Ljava/lang/Math;->min(II)I

    move-result p1

    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    int-to-double v0, v0

    invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v0

    double-to-int v0, v0

    div-int/2addr v0, p2

    invoke-static {p1, v0}, Ljava/lang/Math;->max(II)I

    move-result p1

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->k:I

    .line 80
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->j:I

    add-int/2addr p1, p2

    new-array p1, p1, [Ljava/lang/Object;

    check-cast p1, [Ljava/lang/Object;

    iput-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 81
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    array-length p1, p1

    new-array p1, p1, [Ljava/lang/Object;

    check-cast p1, [Ljava/lang/Object;

    iput-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    return-void

    .line 71
    :cond_0
    new-instance p1, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "loadFactor must be > 0: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

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

    throw p1

    .line 68
    :cond_1
    new-instance p2, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "initialCapacity is too large: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

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

    throw p2

    .line 66
    :cond_2
    new-instance p2, Ljava/lang/IllegalArgumentException;

    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v1, "initialCapacity must be >= 0: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

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

    throw p2
.end method

.method private a(Ljava/lang/String;Z)Ljava/lang/String;
    .locals 6

    .line 574
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    if-nez v0, :cond_1

    if-eqz p2, :cond_0

    const-string p1, "{}"

    goto :goto_0

    :cond_0
    const-string p1, ""

    :goto_0
    return-object p1

    .line 575
    :cond_1
    new-instance v0, Lcom/badlogic/gdx/utils/StringBuilder;

    const/16 v1, 0x20

    invoke-direct {v0, v1}, Lcom/badlogic/gdx/utils/StringBuilder;-><init>(I)V

    if-eqz p2, :cond_2

    const/16 v1, 0x7b

    .line 576
    invoke-virtual {v0, v1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 577
    :cond_2
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 578
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 579
    array-length v3, v1

    :goto_1
    add-int/lit8 v4, v3, -0x1

    const/16 v5, 0x3d

    if-lez v3, :cond_4

    .line 581
    aget-object v3, v1, v4

    if-nez v3, :cond_3

    move v3, v4

    goto :goto_1

    .line 583
    :cond_3
    invoke-virtual {v0, v3}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 584
    invoke-virtual {v0, v5}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 585
    aget-object v3, v2, v4

    invoke-virtual {v0, v3}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;

    :cond_4
    :goto_2
    add-int/lit8 v3, v4, -0x1

    if-lez v4, :cond_6

    .line 589
    aget-object v4, v1, v3

    if-nez v4, :cond_5

    goto :goto_3

    .line 591
    :cond_5
    invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(Ljava/lang/String;)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 592
    invoke-virtual {v0, v4}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 593
    invoke-virtual {v0, v5}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 594
    aget-object v4, v2, v3

    invoke-virtual {v0, v4}, Lcom/badlogic/gdx/utils/StringBuilder;->a(Ljava/lang/Object;)Lcom/badlogic/gdx/utils/StringBuilder;

    :goto_3
    move v4, v3

    goto :goto_2

    :cond_6
    if-eqz p2, :cond_7

    const/16 p1, 0x7d

    .line 596
    invoke-virtual {v0, p1}, Lcom/badlogic/gdx/utils/StringBuilder;->b(C)Lcom/badlogic/gdx/utils/StringBuilder;

    .line 597
    :cond_7
    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method private a(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;ILjava/lang/Object;ILjava/lang/Object;)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;TV;ITK;ITK;ITK;)V"
        }
    .end annotation

    .line 204
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 205
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 206
    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    .line 211
    iget v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->k:I

    const/4 v4, 0x0

    :goto_0
    const/4 v5, 0x2

    .line 214
    invoke-static {v5}, Lcom/badlogic/gdx/math/MathUtils;->a(I)I

    move-result v5

    packed-switch v5, :pswitch_data_0

    .line 229
    aget-object p3, v1, p7

    .line 230
    aput-object p1, v0, p7

    .line 231
    aput-object p2, v1, p7

    move-object p2, p3

    move-object p1, p8

    goto :goto_1

    .line 223
    :pswitch_0
    aget-object p3, v1, p5

    .line 224
    aput-object p1, v0, p5

    .line 225
    aput-object p2, v1, p5

    move-object p2, p3

    move-object p1, p6

    goto :goto_1

    .line 217
    :pswitch_1
    aget-object p5, v1, p3

    .line 218
    aput-object p1, v0, p3

    .line 219
    aput-object p2, v1, p3

    move-object p1, p4

    move-object p2, p5

    .line 236
    :goto_1
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result p3

    and-int p4, p3, v2

    .line 238
    aget-object p5, v0, p4

    if-nez p5, :cond_1

    .line 240
    aput-object p1, v0, p4

    .line 241
    aput-object p2, v1, p4

    .line 242
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_0

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_0
    return-void

    .line 246
    :cond_1
    invoke-direct {p0, p3}, Lcom/badlogic/gdx/utils/ObjectMap;->c(I)I

    move-result p6

    .line 247
    aget-object p7, v0, p6

    if-nez p7, :cond_3

    .line 249
    aput-object p1, v0, p6

    .line 250
    aput-object p2, v1, p6

    .line 251
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_2

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_2
    return-void

    .line 255
    :cond_3
    invoke-direct {p0, p3}, Lcom/badlogic/gdx/utils/ObjectMap;->d(I)I

    move-result p3

    .line 256
    aget-object p8, v0, p3

    if-nez p8, :cond_5

    .line 258
    aput-object p1, v0, p3

    .line 259
    aput-object p2, v1, p3

    .line 260
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_4

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_4
    return-void

    :cond_5
    add-int/lit8 v4, v4, 0x1

    if-ne v4, v3, :cond_6

    .line 270
    invoke-direct {p0, p1, p2}, Lcom/badlogic/gdx/utils/ObjectMap;->d(Ljava/lang/Object;Ljava/lang/Object;)V

    return-void

    :cond_6
    move-object v6, p7

    move p7, p3

    move p3, p4

    move-object p4, p5

    move p5, p6

    move-object p6, v6

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method private b(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;TV;)TV;"
        }
    .end annotation

    .line 100
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 103
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v1

    .line 104
    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int v6, v1, v2

    .line 105
    aget-object v7, v0, v6

    .line 106
    invoke-virtual {p1, v7}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 107
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v6

    .line 108
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, v0, v6

    return-object p1

    .line 112
    :cond_0
    invoke-direct {p0, v1}, Lcom/badlogic/gdx/utils/ObjectMap;->c(I)I

    move-result v8

    .line 113
    aget-object v9, v0, v8

    .line 114
    invoke-virtual {p1, v9}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 115
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v8

    .line 116
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, v0, v8

    return-object p1

    .line 120
    :cond_1
    invoke-direct {p0, v1}, Lcom/badlogic/gdx/utils/ObjectMap;->d(I)I

    move-result v10

    .line 121
    aget-object v11, v0, v10

    .line 122
    invoke-virtual {p1, v11}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 123
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v10

    .line 124
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, v0, v10

    return-object p1

    .line 129
    :cond_2
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v2, v1

    :goto_0
    if-ge v1, v2, :cond_4

    .line 130
    aget-object v3, v0, v1

    invoke-virtual {p1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 131
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v1

    .line 132
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, v0, v1

    return-object p1

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

    goto :goto_0

    :cond_4
    const/4 v1, 0x0

    if-nez v7, :cond_6

    .line 139
    aput-object p1, v0, v6

    .line 140
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v6

    .line 141
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_5

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_5
    return-object v1

    :cond_6
    if-nez v9, :cond_8

    .line 146
    aput-object p1, v0, v8

    .line 147
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v8

    .line 148
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_7

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_7
    return-object v1

    :cond_8
    if-nez v11, :cond_a

    .line 153
    aput-object p1, v0, v10

    .line 154
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v10

    .line 155
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_9

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_9
    return-object v1

    :cond_a
    move-object v3, p0

    move-object v4, p1

    move-object v5, p2

    .line 159
    invoke-direct/range {v3 .. v11}, Lcom/badlogic/gdx/utils/ObjectMap;->a(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;ILjava/lang/Object;ILjava/lang/Object;)V

    return-object v1
.end method

.method private b(I)V
    .locals 5

    .line 486
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v0, v1

    .line 488
    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    int-to-float v1, p1

    .line 489
    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->f:F

    mul-float v1, v1, v2

    float-to-int v1, v1

    iput v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

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

    .line 490
    iput v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    .line 491
    invoke-static {p1}, Ljava/lang/Integer;->numberOfTrailingZeros(I)I

    move-result v1

    rsub-int/lit8 v1, v1, 0x1f

    iput v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->g:I

    int-to-double v1, p1

    .line 492
    invoke-static {v1, v2}, Ljava/lang/Math;->log(D)D

    move-result-wide v3

    invoke-static {v3, v4}, Ljava/lang/Math;->ceil(D)D

    move-result-wide v3

    double-to-int v3, v3

    mul-int/lit8 v3, v3, 0x2

    const/4 v4, 0x3

    invoke-static {v4, v3}, Ljava/lang/Math;->max(II)I

    move-result v3

    iput v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->j:I

    const/16 v3, 0x8

    .line 493
    invoke-static {p1, v3}, Ljava/lang/Math;->min(II)I

    move-result v4

    invoke-static {v1, v2}, Ljava/lang/Math;->sqrt(D)D

    move-result-wide v1

    double-to-int v1, v1

    div-int/2addr v1, v3

    invoke-static {v4, v1}, Ljava/lang/Math;->max(II)I

    move-result v1

    iput v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->k:I

    .line 495
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 496
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 498
    iget v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->j:I

    add-int/2addr v3, p1

    new-array v3, v3, [Ljava/lang/Object;

    check-cast v3, [Ljava/lang/Object;

    iput-object v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 499
    iget v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->j:I

    add-int/2addr p1, v3

    new-array p1, p1, [Ljava/lang/Object;

    check-cast p1, [Ljava/lang/Object;

    iput-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 501
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    const/4 v3, 0x0

    .line 502
    iput v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    .line 503
    iput v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    if-lez p1, :cond_1

    :goto_0
    if-ge v3, v0, :cond_1

    .line 506
    aget-object p1, v1, v3

    if-eqz p1, :cond_0

    .line 507
    aget-object v4, v2, v3

    invoke-direct {p0, p1, v4}, Lcom/badlogic/gdx/utils/ObjectMap;->c(Ljava/lang/Object;Ljava/lang/Object;)V

    :cond_0
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method

.method private c(I)I
    .locals 1

    const v0, -0x4b47d1c7

    mul-int p1, p1, v0

    .line 514
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->g:I

    ushr-int v0, p1, v0

    xor-int/2addr p1, v0

    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int/2addr p1, v0

    return p1
.end method

.method private c(Ljava/lang/Object;Ljava/lang/Object;)V
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;TV;)V"
        }
    .end annotation

    .line 172
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v0

    .line 173
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int v5, v0, v1

    .line 174
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v6, v1, v5

    if-nez v6, :cond_1

    .line 176
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object p1, v0, v5

    .line 177
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v5

    .line 178
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_0

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_0
    return-void

    .line 182
    :cond_1
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->c(I)I

    move-result v7

    .line 183
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v8, v1, v7

    if-nez v8, :cond_3

    .line 185
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object p1, v0, v7

    .line 186
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v7

    .line 187
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_2

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_2
    return-void

    .line 191
    :cond_3
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->d(I)I

    move-result v9

    .line 192
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v10, v0, v9

    if-nez v10, :cond_5

    .line 194
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object p1, v0, v9

    .line 195
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v9

    .line 196
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p2, p1, 0x1

    iput p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget p2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->i:I

    if-lt p1, p2, :cond_4

    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 p1, p1, 0x1

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    :cond_4
    return-void

    :cond_5
    move-object v2, p0

    move-object v3, p1

    move-object v4, p2

    .line 200
    invoke-direct/range {v2 .. v10}, Lcom/badlogic/gdx/utils/ObjectMap;->a(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;ILjava/lang/Object;ILjava/lang/Object;)V

    return-void
.end method

.method private d(I)I
    .locals 1

    const v0, -0x312e3dbf

    mul-int p1, p1, v0

    .line 519
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->g:I

    ushr-int v0, p1, v0

    xor-int/2addr p1, v0

    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int/2addr p1, v0

    return p1
.end method

.method private d(Ljava/lang/Object;Ljava/lang/Object;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;TV;)V"
        }
    .end annotation

    .line 274
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->j:I

    if-ne v0, v1, :cond_0

    .line 276
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    shl-int/lit8 v0, v0, 0x1

    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->b(I)V

    .line 277
    invoke-direct {p0, p1, p2}, Lcom/badlogic/gdx/utils/ObjectMap;->b(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void

    .line 281
    :cond_0
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v0, v1

    .line 282
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object p1, v1, v0

    .line 283
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object p2, p1, v0

    .line 284
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    .line 285
    iget p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    return-void
.end method

.method private e(Ljava/lang/Object;)Ljava/lang/Object;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)TV;"
        }
    .end annotation

    .line 302
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 303
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v2, v1

    :goto_0
    if-ge v1, v2, :cond_1

    .line 304
    aget-object v3, v0, v1

    invoke-virtual {p1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v1

    return-object p1

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

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method private f(Ljava/lang/Object;)Z
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)Z"
        }
    .end annotation

    .line 452
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 453
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v2, v1

    :goto_0
    if-ge v1, v2, :cond_1

    .line 454
    aget-object v3, v0, v1

    invoke-virtual {p1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    const/4 p1, 0x1

    return p1

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

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    return p1
.end method


# virtual methods
.method public a(Ljava/lang/Object;)Ljava/lang/Object;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)TV;"
        }
    .end annotation

    .line 289
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v0

    .line 290
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int/2addr v1, v0

    .line 291
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v2, v2, v1

    invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 292
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->c(I)I

    move-result v1

    .line 293
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v2, v2, v1

    invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 294
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->d(I)I

    move-result v1

    .line 295
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v0, v0, v1

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->e(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    .line 298
    :cond_0
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v1

    return-object p1
.end method

.method public a(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;TV;)TV;"
        }
    .end annotation

    if-eqz p1, :cond_0

    .line 96
    invoke-direct {p0, p1, p2}, Lcom/badlogic/gdx/utils/ObjectMap;->b(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    .line 95
    :cond_0
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "key cannot be null."

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

    throw p1
.end method

.method public a()V
    .locals 4

    .line 407
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    if-nez v0, :cond_0

    return-void

    .line 408
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 409
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 410
    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v2, v3

    :goto_0
    add-int/lit8 v3, v2, -0x1

    if-lez v2, :cond_1

    const/4 v2, 0x0

    .line 411
    aput-object v2, v0, v3

    .line 412
    aput-object v2, v1, v3

    move v2, v3

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 414
    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    .line 415
    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    return-void
.end method

.method a(I)V
    .locals 4

    .line 376
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

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

    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    .line 377
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v0, v1

    const/4 v1, 0x0

    if-ge p1, v0, :cond_0

    .line 379
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    iget-object v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v3, v3, v0

    aput-object v3, v2, p1

    .line 380
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    iget-object v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object v3, v3, v0

    aput-object v3, v2, p1

    .line 381
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object v1, p1, v0

    goto :goto_0

    .line 383
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object v1, v0, p1

    :goto_0
    return-void
.end method

.method public b()Lcom/badlogic/gdx/utils/ObjectMap$Entries;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Entries<",
            "TK;TV;>;"
        }
    .end annotation

    .line 601
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectMap;->c()Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    move-result-object v0

    return-object v0
.end method

.method public b(Ljava/lang/Object;)Ljava/lang/Object;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)TV;"
        }
    .end annotation

    .line 330
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v0

    .line 331
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int/2addr v1, v0

    .line 332
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v2, v2, v1

    invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    const/4 v3, 0x0

    if-eqz v2, :cond_0

    .line 333
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object v3, p1, v1

    .line 334
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v1

    .line 335
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object v3, v0, v1

    .line 336
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

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

    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    return-object p1

    .line 340
    :cond_0
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->c(I)I

    move-result v1

    .line 341
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v2, v2, v1

    invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 342
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object v3, p1, v1

    .line 343
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v1

    .line 344
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object v3, v0, v1

    .line 345
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

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

    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    return-object p1

    .line 349
    :cond_1
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->d(I)I

    move-result v0

    .line 350
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v1, v1, v0

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 351
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aput-object v3, p1, v0

    .line 352
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v0

    .line 353
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aput-object v3, v1, v0

    .line 354
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

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

    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    return-object p1

    .line 358
    :cond_2
    invoke-virtual {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->c(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public c()Lcom/badlogic/gdx/utils/ObjectMap$Entries;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Entries<",
            "TK;TV;>;"
        }
    .end annotation

    .line 607
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    if-nez v0, :cond_0

    .line 608
    new-instance v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/ObjectMap$Entries;-><init>(Lcom/badlogic/gdx/utils/ObjectMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    .line 609
    new-instance v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/ObjectMap$Entries;-><init>(Lcom/badlogic/gdx/utils/ObjectMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->m:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    .line 611
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iget-boolean v0, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_1

    .line 612
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->c()V

    .line 613
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 614
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->m:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 615
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    return-object v0

    .line 617
    :cond_1
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->m:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->c()V

    .line 618
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->m:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 619
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->l:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Entries;->f:Z

    .line 620
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->m:Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    return-object v0
.end method

.method c(Ljava/lang/Object;)Ljava/lang/Object;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)TV;"
        }
    .end annotation

    .line 362
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 363
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v2, v1

    :goto_0
    if-ge v1, v2, :cond_1

    .line 364
    aget-object v3, v0, v1

    invoke-virtual {p1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 365
    iget-object p1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    aget-object p1, p1, v1

    .line 366
    invoke-virtual {p0, v1}, Lcom/badlogic/gdx/utils/ObjectMap;->a(I)V

    .line 367
    iget v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

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

    iput v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    return-object p1

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

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public d()Lcom/badlogic/gdx/utils/ObjectMap$Values;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Values<",
            "TV;>;"
        }
    .end annotation

    .line 626
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    if-nez v0, :cond_0

    .line 627
    new-instance v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/ObjectMap$Values;-><init>(Lcom/badlogic/gdx/utils/ObjectMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    .line 628
    new-instance v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/ObjectMap$Values;-><init>(Lcom/badlogic/gdx/utils/ObjectMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->o:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    .line 630
    :cond_0
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iget-boolean v0, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_1

    .line 631
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Values;->c()V

    .line 632
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 633
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->o:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 634
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    return-object v0

    .line 636
    :cond_1
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->o:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Values;->c()V

    .line 637
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->o:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 638
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->n:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Values;->f:Z

    .line 639
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->o:Lcom/badlogic/gdx/utils/ObjectMap$Values;

    return-object v0
.end method

.method public d(Ljava/lang/Object;)Z
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TK;)Z"
        }
    .end annotation

    .line 439
    invoke-virtual {p1}, Ljava/lang/Object;->hashCode()I

    move-result v0

    .line 440
    iget v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->h:I

    and-int/2addr v1, v0

    .line 441
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v1, v2, v1

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 442
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->c(I)I

    move-result v1

    .line 443
    iget-object v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v1, v2, v1

    invoke-virtual {p1, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 444
    invoke-direct {p0, v0}, Lcom/badlogic/gdx/utils/ObjectMap;->d(I)I

    move-result v0

    .line 445
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    aget-object v0, v1, v0

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-direct {p0, p1}, Lcom/badlogic/gdx/utils/ObjectMap;->f(Ljava/lang/Object;)Z

    move-result p1

    return p1

    :cond_0
    const/4 p1, 0x1

    return p1
.end method

.method public e()Lcom/badlogic/gdx/utils/ObjectMap$Keys;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Lcom/badlogic/gdx/utils/ObjectMap$Keys<",
            "TK;>;"
        }
    .end annotation

    .line 645
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    if-nez v0, :cond_1

    .line 646
    :cond_0
    new-instance v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/ObjectMap$Keys;-><init>(Lcom/badlogic/gdx/utils/ObjectMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    .line 647
    new-instance v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    invoke-direct {v0, p0}, Lcom/badlogic/gdx/utils/ObjectMap$Keys;-><init>(Lcom/badlogic/gdx/utils/ObjectMap;)V

    iput-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    .line 649
    :cond_1
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iget-boolean v0, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_2

    .line 650
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->c()V

    .line 651
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 652
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 653
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    return-object v0

    .line 655
    :cond_2
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    invoke-virtual {v0}, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->c()V

    .line 656
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v2, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 657
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->p:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    iput-boolean v1, v0, Lcom/badlogic/gdx/utils/ObjectMap$Keys;->f:Z

    .line 658
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->q:Lcom/badlogic/gdx/utils/ObjectMap$Keys;

    return-object v0
.end method

.method public equals(Ljava/lang/Object;)Z
    .locals 8

    const/4 v0, 0x1

    if-ne p1, p0, :cond_0

    return v0

    .line 542
    :cond_0
    instance-of v1, p1, Lcom/badlogic/gdx/utils/ObjectMap;

    const/4 v2, 0x0

    if-nez v1, :cond_1

    return v2

    .line 543
    :cond_1
    check-cast p1, Lcom/badlogic/gdx/utils/ObjectMap;

    .line 544
    iget v1, p1, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    iget v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->a:I

    if-eq v1, v3, :cond_2

    return v2

    .line 545
    :cond_2
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 546
    iget-object v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 547
    iget v4, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v5, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v4, v5

    const/4 v5, 0x0

    :goto_0
    if-ge v5, v4, :cond_6

    .line 548
    aget-object v6, v1, v5

    if-eqz v6, :cond_5

    .line 550
    aget-object v7, v3, v5

    if-nez v7, :cond_4

    .line 552
    invoke-virtual {p1, v6}, Lcom/badlogic/gdx/utils/ObjectMap;->d(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_3

    invoke-virtual {p1, v6}, Lcom/badlogic/gdx/utils/ObjectMap;->a(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    if-eqz v6, :cond_5

    :cond_3
    return v2

    .line 556
    :cond_4
    invoke-virtual {p1, v6}, Lcom/badlogic/gdx/utils/ObjectMap;->a(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    invoke-virtual {v7, v6}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_5

    return v2

    :cond_5
    add-int/lit8 v5, v5, 0x1

    goto :goto_0

    :cond_6
    return v0
.end method

.method public hashCode()I
    .locals 6

    .line 524
    iget-object v0, p0, Lcom/badlogic/gdx/utils/ObjectMap;->b:[Ljava/lang/Object;

    .line 525
    iget-object v1, p0, Lcom/badlogic/gdx/utils/ObjectMap;->c:[Ljava/lang/Object;

    .line 526
    iget v2, p0, Lcom/badlogic/gdx/utils/ObjectMap;->d:I

    iget v3, p0, Lcom/badlogic/gdx/utils/ObjectMap;->e:I

    add-int/2addr v2, v3

    const/4 v3, 0x0

    const/4 v4, 0x0

    :goto_0
    if-ge v3, v2, :cond_1

    .line 527
    aget-object v5, v0, v3

    if-eqz v5, :cond_0

    .line 529
    invoke-virtual {v5}, Ljava/lang/Object;->hashCode()I

    move-result v5

    mul-int/lit8 v5, v5, 0x1f

    add-int/2addr v4, v5

    .line 531
    aget-object v5, v1, v3

    if-eqz v5, :cond_0

    .line 533
    invoke-virtual {v5}, Ljava/lang/Object;->hashCode()I

    move-result v5

    add-int/2addr v4, v5

    :cond_0
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_1
    return v4
.end method

.method public synthetic iterator()Ljava/util/Iterator;
    .locals 1

    .line 31
    invoke-virtual {p0}, Lcom/badlogic/gdx/utils/ObjectMap;->b()Lcom/badlogic/gdx/utils/ObjectMap$Entries;

    move-result-object v0

    return-object v0
.end method

.method public toString()Ljava/lang/String;
    .locals 2

    const-string v0, ", "

    const/4 v1, 0x1

    .line 570
    invoke-direct {p0, v0, v1}, Lcom/badlogic/gdx/utils/ObjectMap;->a(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
