c.smali

.class public abstract Lrx/c/e/b/c;
.super Lrx/c/e/b/a;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<E:",
        "Ljava/lang/Object;",
        ">",
        "Lrx/c/e/b/a<",
        "TE;>;"
    }
.end annotation


# static fields
.field private static final e:J

.field private static final f:I


# instance fields
.field protected final d:[J


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

    .line 28
    const-class v0, [J

    sget-object v1, Lrx/c/e/b/y;->a:Lsun/misc/Unsafe;

    invoke-virtual {v1, v0}, Lsun/misc/Unsafe;->arrayIndexScale(Ljava/lang/Class;)I

    move-result v1

    const/16 v2, 0x8

    if-ne v2, v1, :cond_25

    .line 30
    sget v1, Lrx/c/e/b/c;->a:I

    add-int/lit8 v1, v1, 0x3

    sput v1, Lrx/c/e/b/c;->f:I

    .line 35
    sget-object v1, Lrx/c/e/b/y;->a:Lsun/misc/Unsafe;

    invoke-virtual {v1, v0}, Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I

    move-result v0

    const/16 v1, 0x20

    sget v2, Lrx/c/e/b/c;->f:I

    sget v3, Lrx/c/e/b/c;->a:I

    sub-int/2addr v2, v3

    shl-int/2addr v1, v2

    add-int/2addr v0, v1

    int-to-long v0, v0

    sput-wide v0, Lrx/c/e/b/c;->e:J

    return-void

    .line 32
    :cond_25
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Unexpected long[] element size"

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

    throw v0
.end method

.method public constructor <init>(I)V
    .registers 9

    .line 40
    invoke-direct {p0, p1}, Lrx/c/e/b/a;-><init>(I)V

    .line 41
    iget-wide v0, p0, Lrx/c/e/b/c;->b:J

    const-wide/16 v2, 0x1

    add-long/2addr v0, v2

    long-to-int p1, v0

    .line 43
    sget v0, Lrx/c/e/b/c;->a:I

    shl-int v0, p1, v0

    add-int/lit8 v0, v0, 0x40

    new-array v0, v0, [J

    iput-object v0, p0, Lrx/c/e/b/c;->d:[J

    const-wide/16 v0, 0x0

    :goto_15
    int-to-long v4, p1

    cmp-long v6, v0, v4

    if-gez v6, :cond_25

    .line 45
    iget-object v4, p0, Lrx/c/e/b/c;->d:[J

    invoke-virtual {p0, v0, v1}, Lrx/c/e/b/c;->d(J)J

    move-result-wide v5

    invoke-static {v4, v5, v6, v0, v1}, Lrx/c/e/b/c;->a([JJJ)V

    add-long/2addr v0, v2

    goto :goto_15

    :cond_25
    return-void
.end method

.method protected static a([JJ)J
    .registers 4

    .line 58
    sget-object v0, Lrx/c/e/b/y;->a:Lsun/misc/Unsafe;

    invoke-virtual {v0, p0, p1, p2}, Lsun/misc/Unsafe;->getLongVolatile(Ljava/lang/Object;J)J

    move-result-wide p0

    return-wide p0
.end method

.method protected static a([JJJ)V
    .registers 11

    .line 54
    sget-object v0, Lrx/c/e/b/y;->a:Lsun/misc/Unsafe;

    move-object v1, p0

    move-wide v2, p1

    move-wide v4, p3

    invoke-virtual/range {v0 .. v5}, Lsun/misc/Unsafe;->putOrderedLong(Ljava/lang/Object;JJ)V

    return-void
.end method


# virtual methods
.method protected final d(J)J
    .registers 7

    .line 50
    sget-wide v0, Lrx/c/e/b/c;->e:J

    iget-wide v2, p0, Lrx/c/e/b/c;->b:J

    and-long/2addr p1, v2

    sget v2, Lrx/c/e/b/c;->f:I

    shl-long/2addr p1, v2

    add-long/2addr v0, p1

    return-wide v0
.end method