d.smali

.class public final Lorg/greenrobot/eventbus/d;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field public static final b:Ljava/util/concurrent/ExecutorService;


# instance fields
.field public a:Ljava/util/concurrent/ExecutorService;


# direct methods
.method public static constructor <clinit>()V
    .registers 2

    .line 1
    sget-object v0, Lcom/shopee/app/asm/fix/threadpool/config/a;->a:Lcom/shopee/app/asm/fix/threadpool/config/a;

    invoke-virtual {v0}, Lcom/shopee/app/asm/fix/threadpool/config/a;->b()Z

    move-result v0

    if-eqz v0, :cond_f

    .line 2
    sget-object v0, Lcom/shopee/app/asm/fix/threadpool/pool/d;->a:Lcom/shopee/app/asm/fix/threadpool/pool/d;

    invoke-virtual {v0}, Lcom/shopee/app/asm/fix/threadpool/pool/d;->a()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    goto :goto_25

    .line 3
    :cond_f
    invoke-static {}, Lcom/garena/android/appkit/logging/a;->C()Z

    move-result v0

    if-eqz v0, :cond_21

    const/4 v0, 0x0

    const-string v1, "org/greenrobot/eventbus/EventBusBuilder"

    .line 4
    invoke-static {v0, v1}, Lcom/garena/android/appkit/logging/a;->t0(Ljava/util/concurrent/ThreadFactory;Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;

    move-result-object v0

    invoke-static {v0}, Ljava/util/concurrent/Executors;->newCachedThreadPool(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    goto :goto_25

    .line 5
    :cond_21
    invoke-static {}, Ljava/util/concurrent/Executors;->newCachedThreadPool()Ljava/util/concurrent/ExecutorService;

    move-result-object v0

    .line 6
    :goto_25
    sput-object v0, Lorg/greenrobot/eventbus/d;->b:Ljava/util/concurrent/ExecutorService;

    return-void
.end method

.method public constructor <init>()V
    .registers 2

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

    .line 2
    sget-object v0, Lorg/greenrobot/eventbus/d;->b:Ljava/util/concurrent/ExecutorService;

    iput-object v0, p0, Lorg/greenrobot/eventbus/d;->a:Ljava/util/concurrent/ExecutorService;

    return-void
.end method