o$c$a.smali

.class public final Lio/reactivex/internal/schedulers/o$c$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lio/reactivex/internal/schedulers/o$c;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "a"
.end annotation


# instance fields
.field public final a:Lio/reactivex/internal/schedulers/o$b;

.field public final synthetic b:Lio/reactivex/internal/schedulers/o$c;


# direct methods
.method public constructor <init>(Lio/reactivex/internal/schedulers/o$c;Lio/reactivex/internal/schedulers/o$b;)V
    .registers 3

    .line 1
    iput-object p1, p0, Lio/reactivex/internal/schedulers/o$c$a;->b:Lio/reactivex/internal/schedulers/o$c;

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

    .line 2
    iput-object p2, p0, Lio/reactivex/internal/schedulers/o$c$a;->a:Lio/reactivex/internal/schedulers/o$b;

    return-void
.end method


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

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v1

    const/4 v2, 0x1

    if-ne v0, v1, :cond_d

    const/4 v0, 0x1

    goto :goto_e

    :cond_d
    const/4 v0, 0x0

    :goto_e
    const-string v1, "runnable"

    const-string v3, "io/reactivex/internal/schedulers/TrampolineScheduler$TrampolineWorker$AppendToQueueTask"

    const-string v4, "run"

    if-eqz v0, :cond_19

    invoke-static {v4, v3, v1}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 1
    :cond_19
    iget-object v5, p0, Lio/reactivex/internal/schedulers/o$c$a;->a:Lio/reactivex/internal/schedulers/o$b;

    iput-boolean v2, v5, Lio/reactivex/internal/schedulers/o$b;->d:Z

    .line 2
    iget-object v2, p0, Lio/reactivex/internal/schedulers/o$c$a;->b:Lio/reactivex/internal/schedulers/o$c;

    iget-object v2, v2, Lio/reactivex/internal/schedulers/o$c;->a:Ljava/util/concurrent/PriorityBlockingQueue;

    iget-object v5, p0, Lio/reactivex/internal/schedulers/o$c$a;->a:Lio/reactivex/internal/schedulers/o$b;

    invoke-virtual {v2, v5}, Ljava/util/concurrent/PriorityBlockingQueue;->remove(Ljava/lang/Object;)Z

    if-eqz v0, :cond_2b

    .line 3
    invoke-static {v4, v3, v1}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_2b
    return-void
.end method