bu$1.smali

.class Lcom/tendcloud/tenddata/bu$1;
.super Ljava/lang/Object;
.source "td"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tendcloud/tenddata/bu;->onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.end annotation

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


# instance fields
.field final synthetic this$0:Lcom/tendcloud/tenddata/bu;


# direct methods
.method constructor <init>(Lcom/tendcloud/tenddata/bu;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

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

    return-void
.end method


# virtual methods
.method public run()V
    .registers 6

    .line 1
    :try_start_0
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iput-wide v1, v0, Lcom/tendcloud/tenddata/bu;->f:J

    .line 2
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-wide v0, v0, Lcom/tendcloud/tenddata/bu;->f:J

    iget-object v2, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-wide v2, v2, Lcom/tendcloud/tenddata/bu;->g:J

    sub-long/2addr v0, v2

    iget-object v2, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {v2}, Lcom/tendcloud/tenddata/bu;->a(Lcom/tendcloud/tenddata/bu;)J

    move-result-wide v2

    cmp-long v4, v0, v2

    if-lez v4, :cond_7d

    .line 3
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v1, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-wide v1, v1, Lcom/tendcloud/tenddata/bu;->f:J

    iput-wide v1, v0, Lcom/tendcloud/tenddata/bu;->g:J

    .line 4
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v1, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {v1}, Lcom/tendcloud/tenddata/bu;->b(Lcom/tendcloud/tenddata/bu;)Lcom/tendcloud/tenddata/bc;

    move-result-object v1

    iput-object v1, v0, Lcom/tendcloud/tenddata/bu;->d:Lcom/tendcloud/tenddata/bc;

    .line 5
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v0, v0, Lcom/tendcloud/tenddata/bu;->d:Lcom/tendcloud/tenddata/bc;

    if-nez v0, :cond_42

    .line 6
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {v0}, Lcom/tendcloud/tenddata/bu;->c(Lcom/tendcloud/tenddata/bu;)V

    .line 7
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v1, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {v1}, Lcom/tendcloud/tenddata/bu;->d(Lcom/tendcloud/tenddata/bu;)Lcom/tendcloud/tenddata/bc;

    move-result-object v1

    iput-object v1, v0, Lcom/tendcloud/tenddata/bu;->d:Lcom/tendcloud/tenddata/bc;

    .line 8
    :cond_42
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v1, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {v1}, Lcom/tendcloud/tenddata/bu;->d(Lcom/tendcloud/tenddata/bu;)Lcom/tendcloud/tenddata/bc;

    move-result-object v1

    iput-object v1, v0, Lcom/tendcloud/tenddata/bu;->e:Lcom/tendcloud/tenddata/bc;

    .line 9
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v0, v0, Lcom/tendcloud/tenddata/bu;->d:Lcom/tendcloud/tenddata/bc;

    if-eqz v0, :cond_78

    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v0, v0, Lcom/tendcloud/tenddata/bu;->e:Lcom/tendcloud/tenddata/bc;

    if-nez v0, :cond_59

    goto :goto_78

    .line 10
    :cond_59
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v0, v0, Lcom/tendcloud/tenddata/bu;->a:Lcom/tendcloud/tenddata/bd;

    iget-object v1, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v1, v1, Lcom/tendcloud/tenddata/bu;->d:Lcom/tendcloud/tenddata/bc;

    iget-object v2, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    iget-object v2, v2, Lcom/tendcloud/tenddata/bu;->e:Lcom/tendcloud/tenddata/bc;

    invoke-virtual {v0, v1, v2}, Lcom/tendcloud/tenddata/bd;->a(Lcom/tendcloud/tenddata/bc;Lcom/tendcloud/tenddata/bc;)D

    move-result-wide v0

    const-wide v2, 0x3fe999999999999aL    # 0.8

    cmpg-double v4, v0, v2

    if-gez v4, :cond_7d

    .line 11
    iget-object v0, p0, Lcom/tendcloud/tenddata/bu$1;->this$0:Lcom/tendcloud/tenddata/bu;

    invoke-static {v0}, Lcom/tendcloud/tenddata/bu;->c(Lcom/tendcloud/tenddata/bu;)V
    :try_end_77
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_77} :catch_79

    goto :goto_7d

    :cond_78
    :goto_78
    return-void

    :catch_79
    move-exception v0

    .line 12
    invoke-static {v0}, Lcom/tendcloud/tenddata/bq;->postSDKError(Ljava/lang/Throwable;)V

    :cond_7d
    :goto_7d
    return-void
.end method