i$1.smali

.class public final Lcom/masala/share/stat/c/i$1;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/masala/share/stat/c/i;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = null
.end annotation


# instance fields
.field final synthetic a:I

.field final synthetic b:I

.field final synthetic c:Lcom/masala/share/stat/c/i;


# direct methods
.method public constructor <init>(Lcom/masala/share/stat/c/i;II)V
    .registers 4

    .line 407
    iput-object p1, p0, Lcom/masala/share/stat/c/i$1;->c:Lcom/masala/share/stat/c/i;

    iput p2, p0, Lcom/masala/share/stat/c/i$1;->a:I

    iput p3, p0, Lcom/masala/share/stat/c/i$1;->b:I

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

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 11

    .line 410
    iget-object v0, p0, Lcom/masala/share/stat/c/i$1;->c:Lcom/masala/share/stat/c/i;

    iget v1, p0, Lcom/masala/share/stat/c/i$1;->a:I

    invoke-virtual {v0, v1}, Lcom/masala/share/stat/c/i;->a(I)Lcom/masala/share/stat/c/h;

    move-result-object v0

    const-string v1, "SDKVideoPlayerStat"

    if-nez v0, :cond_12

    const-string v0, "markMediaStop when mCurPlayStat is null"

    .line 412
    invoke-static {v1, v0}, Lsg/bigo/log/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 416
    :cond_12
    iget-wide v2, v0, Lcom/masala/share/stat/c/h;->bo:J

    const-wide/16 v4, 0x0

    cmp-long v6, v2, v4

    if-lez v6, :cond_3c

    .line 417
    iget v2, v0, Lcom/masala/share/stat/c/h;->am:I

    if-ltz v2, :cond_32

    .line 420
    iget-wide v2, v0, Lcom/masala/share/stat/c/h;->bO:J

    cmp-long v6, v2, v4

    if-lez v6, :cond_32

    .line 421
    iget v2, v0, Lcom/masala/share/stat/c/h;->am:I

    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v6

    iget-wide v8, v0, Lcom/masala/share/stat/c/h;->bO:J

    sub-long/2addr v6, v8

    long-to-int v3, v6

    add-int/2addr v2, v3

    iput v2, v0, Lcom/masala/share/stat/c/h;->am:I

    goto :goto_3c

    .line 423
    :cond_32
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v2

    iget-wide v6, v0, Lcom/masala/share/stat/c/h;->bo:J

    sub-long/2addr v2, v6

    long-to-int v3, v2

    iput v3, v0, Lcom/masala/share/stat/c/h;->am:I

    .line 428
    :cond_3c
    :goto_3c
    iget-wide v2, v0, Lcom/masala/share/stat/c/h;->bn:J

    cmp-long v6, v2, v4

    if-lez v6, :cond_4c

    .line 429
    invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J

    move-result-wide v2

    iget-wide v4, v0, Lcom/masala/share/stat/c/h;->bn:J

    sub-long/2addr v2, v4

    long-to-int v3, v2

    iput v3, v0, Lcom/masala/share/stat/c/h;->an:I

    :cond_4c
    const/4 v2, 0x0

    .line 433
    iget v3, p0, Lcom/masala/share/stat/c/i$1;->b:I

    packed-switch v3, :pswitch_data_84

    goto :goto_66

    :pswitch_53
    const/4 v2, 0x2

    goto :goto_66

    .line 447
    :pswitch_55
    iget-object v2, v0, Lcom/masala/share/stat/c/h;->ca:Lcom/masala/share/stat/c/g;

    if-eqz v2, :cond_61

    iget-object v2, v0, Lcom/masala/share/stat/c/h;->ca:Lcom/masala/share/stat/c/g;

    iget v2, v2, Lcom/masala/share/stat/c/g;->e:I

    if-lez v2, :cond_61

    const/4 v2, 0x4

    goto :goto_66

    :cond_61
    const/4 v2, 0x3

    goto :goto_66

    :pswitch_63
    const/4 v2, 0x1

    goto :goto_66

    :pswitch_65
    const/4 v2, 0x5

    .line 455
    :goto_66
    iput v2, v0, Lcom/masala/share/stat/c/h;->az:I

    .line 456
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v3, "markMediaStop, "

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

    iget v3, p0, Lcom/masala/share/stat/c/i$1;->a:I

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

    const-string v3, ", exitStat is "

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

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

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

    move-result-object v0

    invoke-static {v1, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    :pswitch_data_84
    .packed-switch 0x1
        :pswitch_65
        :pswitch_63
        :pswitch_55
        :pswitch_53
        :pswitch_55
        :pswitch_63
        :pswitch_63
    .end packed-switch
.end method