j.smali

.class final Lrx/c/c/j;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lrx/b/a;


# instance fields
.field private final a:Lrx/b/a;

.field private final b:Lrx/f$a;

.field private final c:J


# direct methods
.method public constructor <init>(Lrx/b/a;Lrx/f$a;J)V
    .registers 5

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

    .line 28
    iput-object p1, p0, Lrx/c/c/j;->a:Lrx/b/a;

    .line 29
    iput-object p2, p0, Lrx/c/c/j;->b:Lrx/f$a;

    .line 30
    iput-wide p3, p0, Lrx/c/c/j;->c:J

    return-void
.end method


# virtual methods
.method public final call()V
    .registers 6

    .line 35
    iget-object v0, p0, Lrx/c/c/j;->b:Lrx/f$a;

    invoke-virtual {v0}, Lrx/f$a;->isUnsubscribed()Z

    move-result v0

    if-eqz v0, :cond_9

    return-void

    .line 39
    :cond_9
    iget-wide v0, p0, Lrx/c/c/j;->c:J

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

    move-result-wide v2

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-lez v4, :cond_25

    .line 42
    :try_start_16
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_19
    .catch Ljava/lang/InterruptedException; {:try_start_16 .. :try_end_19} :catch_1a

    goto :goto_25

    :catch_1a
    move-exception v0

    .line 44
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v1

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

    .line 45
    invoke-static {v0}, Lrx/exceptions/a;->a(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;

    .line 50
    :cond_25
    :goto_25
    iget-object v0, p0, Lrx/c/c/j;->b:Lrx/f$a;

    invoke-virtual {v0}, Lrx/f$a;->isUnsubscribed()Z

    move-result v0

    if-eqz v0, :cond_2e

    return-void

    .line 53
    :cond_2e
    iget-object v0, p0, Lrx/c/c/j;->a:Lrx/b/a;

    invoke-interface {v0}, Lrx/b/a;->call()V

    return-void
.end method