r.smali

.class final Ld/r;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field static a:Ld/q;

.field static b:J


# direct methods
.method private constructor <init>()V
    .registers 1

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

    return-void
.end method

.method static a()Ld/q;
    .registers 6

    .line 39
    const-class v0, Ld/r;

    monitor-enter v0

    .line 40
    :try_start_3
    sget-object v1, Ld/r;->a:Ld/q;

    if-eqz v1, :cond_19

    .line 41
    sget-object v1, Ld/r;->a:Ld/q;

    .line 42
    iget-object v2, v1, Ld/q;->f:Ld/q;

    sput-object v2, Ld/r;->a:Ld/q;

    const/4 v2, 0x0

    .line 43
    iput-object v2, v1, Ld/q;->f:Ld/q;

    .line 44
    sget-wide v2, Ld/r;->b:J

    const-wide/16 v4, 0x2000

    sub-long/2addr v2, v4

    sput-wide v2, Ld/r;->b:J

    .line 45
    monitor-exit v0

    return-object v1

    .line 47
    :cond_19
    monitor-exit v0
    :try_end_1a
    .catchall {:try_start_3 .. :try_end_1a} :catchall_20

    .line 48
    new-instance v0, Ld/q;

    invoke-direct {v0}, Ld/q;-><init>()V

    return-object v0

    :catchall_20
    move-exception v1

    .line 47
    :try_start_21
    monitor-exit v0
    :try_end_22
    .catchall {:try_start_21 .. :try_end_22} :catchall_20

    throw v1
.end method

.method static a(Ld/q;)V
    .registers 9

    .line 52
    iget-object v0, p0, Ld/q;->f:Ld/q;

    if-nez v0, :cond_33

    iget-object v0, p0, Ld/q;->g:Ld/q;

    if-nez v0, :cond_33

    .line 53
    iget-boolean v0, p0, Ld/q;->d:Z

    if-eqz v0, :cond_d

    return-void

    .line 54
    :cond_d
    const-class v0, Ld/r;

    monitor-enter v0

    .line 55
    :try_start_10
    sget-wide v1, Ld/r;->b:J

    const-wide/16 v3, 0x2000

    add-long/2addr v1, v3

    const-wide/32 v5, 0x10000

    cmp-long v7, v1, v5

    if-lez v7, :cond_1e

    monitor-exit v0

    return-void

    .line 56
    :cond_1e
    sget-wide v1, Ld/r;->b:J

    add-long/2addr v1, v3

    sput-wide v1, Ld/r;->b:J

    .line 57
    sget-object v1, Ld/r;->a:Ld/q;

    iput-object v1, p0, Ld/q;->f:Ld/q;

    const/4 v1, 0x0

    .line 58
    iput v1, p0, Ld/q;->c:I

    iput v1, p0, Ld/q;->b:I

    .line 59
    sput-object p0, Ld/r;->a:Ld/q;

    .line 60
    monitor-exit v0

    return-void

    :catchall_30
    move-exception p0

    monitor-exit v0
    :try_end_32
    .catchall {:try_start_10 .. :try_end_32} :catchall_30

    throw p0

    .line 52
    :cond_33
    new-instance p0, Ljava/lang/IllegalArgumentException;

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

    throw p0
.end method