p$e.smali

.class Lf/b/b/b/n1/p$e;
.super Ljava/lang/Thread;
.source ""

# interfaces
.implements Lf/b/b/b/n1/u$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lf/b/b/b/n1/p;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "e"
.end annotation


# instance fields
.field private final e:Lf/b/b/b/n1/s;

.field private final f:Lf/b/b/b/n1/u;

.field private final g:Lf/b/b/b/n1/r;

.field private final h:Z

.field private final i:I

.field private volatile j:Lf/b/b/b/n1/p$c;

.field private volatile k:Z

.field private l:Ljava/lang/Throwable;

.field private m:J


# direct methods
.method private constructor <init>(Lf/b/b/b/n1/s;Lf/b/b/b/n1/u;Lf/b/b/b/n1/r;ZILf/b/b/b/n1/p$c;)V
    .registers 7

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

    iput-object p1, p0, Lf/b/b/b/n1/p$e;->e:Lf/b/b/b/n1/s;

    iput-object p2, p0, Lf/b/b/b/n1/p$e;->f:Lf/b/b/b/n1/u;

    iput-object p3, p0, Lf/b/b/b/n1/p$e;->g:Lf/b/b/b/n1/r;

    iput-boolean p4, p0, Lf/b/b/b/n1/p$e;->h:Z

    iput p5, p0, Lf/b/b/b/n1/p$e;->i:I

    iput-object p6, p0, Lf/b/b/b/n1/p$e;->j:Lf/b/b/b/n1/p$c;

    const-wide/16 p1, -0x1

    iput-wide p1, p0, Lf/b/b/b/n1/p$e;->m:J

    return-void
.end method

.method synthetic constructor <init>(Lf/b/b/b/n1/s;Lf/b/b/b/n1/u;Lf/b/b/b/n1/r;ZILf/b/b/b/n1/p$c;Lf/b/b/b/n1/p$a;)V
    .registers 8

    invoke-direct/range {p0 .. p6}, Lf/b/b/b/n1/p$e;-><init>(Lf/b/b/b/n1/s;Lf/b/b/b/n1/u;Lf/b/b/b/n1/r;ZILf/b/b/b/n1/p$c;)V

    return-void
.end method

.method static synthetic b(Lf/b/b/b/n1/p$e;)Z
    .registers 1

    iget-boolean p0, p0, Lf/b/b/b/n1/p$e;->h:Z

    return p0
.end method

.method static synthetic c(Lf/b/b/b/n1/p$e;)Lf/b/b/b/n1/s;
    .registers 1

    iget-object p0, p0, Lf/b/b/b/n1/p$e;->e:Lf/b/b/b/n1/s;

    return-object p0
.end method

.method static synthetic d(Lf/b/b/b/n1/p$e;)J
    .registers 3

    iget-wide v0, p0, Lf/b/b/b/n1/p$e;->m:J

    return-wide v0
.end method

.method static synthetic e(Lf/b/b/b/n1/p$e;)Z
    .registers 1

    iget-boolean p0, p0, Lf/b/b/b/n1/p$e;->k:Z

    return p0
.end method

.method static synthetic f(Lf/b/b/b/n1/p$e;)Ljava/lang/Throwable;
    .registers 1

    iget-object p0, p0, Lf/b/b/b/n1/p$e;->l:Ljava/lang/Throwable;

    return-object p0
.end method

.method private static h(I)I
    .registers 2

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

    mul-int/lit16 p0, p0, 0x3e8

    const/16 v0, 0x1388

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

    move-result p0

    return p0
.end method


# virtual methods
.method public a(JJF)V
    .registers 7

    iget-object v0, p0, Lf/b/b/b/n1/p$e;->g:Lf/b/b/b/n1/r;

    iput-wide p3, v0, Lf/b/b/b/n1/r;->a:J

    iput p5, v0, Lf/b/b/b/n1/r;->b:F

    iget-wide p3, p0, Lf/b/b/b/n1/p$e;->m:J

    cmp-long p5, p1, p3

    if-eqz p5, :cond_1b

    iput-wide p1, p0, Lf/b/b/b/n1/p$e;->m:J

    iget-object p1, p0, Lf/b/b/b/n1/p$e;->j:Lf/b/b/b/n1/p$c;

    if-eqz p1, :cond_1b

    const/16 p2, 0xa

    invoke-virtual {p1, p2, p0}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object p1

    invoke-virtual {p1}, Landroid/os/Message;->sendToTarget()V

    :cond_1b
    return-void
.end method

.method public g(Z)V
    .registers 2

    if-eqz p1, :cond_5

    const/4 p1, 0x0

    iput-object p1, p0, Lf/b/b/b/n1/p$e;->j:Lf/b/b/b/n1/p$c;

    :cond_5
    iget-boolean p1, p0, Lf/b/b/b/n1/p$e;->k:Z

    if-nez p1, :cond_14

    const/4 p1, 0x1

    iput-boolean p1, p0, Lf/b/b/b/n1/p$e;->k:Z

    iget-object p1, p0, Lf/b/b/b/n1/p$e;->f:Lf/b/b/b/n1/u;

    invoke-interface {p1}, Lf/b/b/b/n1/u;->cancel()V

    invoke-virtual {p0}, Ljava/lang/Thread;->interrupt()V

    :cond_14
    return-void
.end method

.method public run()V
    .registers 9

    :try_start_0
    iget-boolean v0, p0, Lf/b/b/b/n1/p$e;->h:Z

    if-eqz v0, :cond_a

    iget-object v0, p0, Lf/b/b/b/n1/p$e;->f:Lf/b/b/b/n1/u;

    invoke-interface {v0}, Lf/b/b/b/n1/u;->remove()V

    goto :goto_3a

    :cond_a
    const-wide/16 v0, -0x1

    const/4 v2, 0x0

    const/4 v3, 0x0

    :cond_e
    :goto_e
    iget-boolean v4, p0, Lf/b/b/b/n1/p$e;->k:Z
    :try_end_10
    .catchall {:try_start_0 .. :try_end_10} :catchall_37

    if-nez v4, :cond_3a

    :try_start_12
    iget-object v4, p0, Lf/b/b/b/n1/p$e;->f:Lf/b/b/b/n1/u;

    invoke-interface {v4, p0}, Lf/b/b/b/n1/u;->a(Lf/b/b/b/n1/u$a;)V
    :try_end_17
    .catch Ljava/io/IOException; {:try_start_12 .. :try_end_17} :catch_18
    .catchall {:try_start_12 .. :try_end_17} :catchall_37

    goto :goto_3a

    :catch_18
    move-exception v4

    :try_start_19
    iget-boolean v5, p0, Lf/b/b/b/n1/p$e;->k:Z

    if-nez v5, :cond_e

    iget-object v5, p0, Lf/b/b/b/n1/p$e;->g:Lf/b/b/b/n1/r;

    iget-wide v5, v5, Lf/b/b/b/n1/r;->a:J

    cmp-long v7, v5, v0

    if-eqz v7, :cond_27

    move-wide v0, v5

    const/4 v3, 0x0

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

    iget v5, p0, Lf/b/b/b/n1/p$e;->i:I

    if-gt v3, v5, :cond_36

    invoke-static {v3}, Lf/b/b/b/n1/p$e;->h(I)I

    move-result v4

    int-to-long v4, v4

    invoke-static {v4, v5}, Ljava/lang/Thread;->sleep(J)V

    goto :goto_e

    :cond_36
    throw v4
    :try_end_37
    .catchall {:try_start_19 .. :try_end_37} :catchall_37

    :catchall_37
    move-exception v0

    iput-object v0, p0, Lf/b/b/b/n1/p$e;->l:Ljava/lang/Throwable;

    :cond_3a
    :goto_3a
    iget-object v0, p0, Lf/b/b/b/n1/p$e;->j:Lf/b/b/b/n1/p$c;

    if-eqz v0, :cond_47

    const/16 v1, 0x9

    invoke-virtual {v0, v1, p0}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    :cond_47
    return-void
.end method