.class public Lc8/c;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lc8/e;


# static fields
.field public static final synthetic b:I


# instance fields
.field public a:Le8/a;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Le8/a<",
            "Lc8/f;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/Set;)V
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/Set<",
            "Lc8/d;",
            ">;)V"
        }
    .end annotation

    new-instance p2, Lv7/s;

    new-instance v0, Lv7/e;

    invoke-direct {v0, p1}, Lv7/e;-><init>(Landroid/content/Context;)V

    invoke-direct {p2, v0}, Lv7/s;-><init>(Le8/a;)V

    new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;

    sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;

    new-instance v7, Ljava/util/concurrent/LinkedBlockingQueue;

    invoke-direct {v7}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V

    sget-object v8, Lc8/a;->a:Lc8/a;

    const/4 v2, 0x0

    const/4 v3, 0x1

    const-wide/16 v4, 0x1e

    invoke-direct/range {v1 .. v8}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V

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

    iput-object p2, p0, Lc8/c;->a:Le8/a;

    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;)I
    .registers 6

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

    move-result-wide v0

    iget-object v2, p0, Lc8/c;->a:Le8/a;

    invoke-interface {v2}, Le8/a;->get()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lc8/f;

    invoke-virtual {v2, p1, v0, v1}, Lc8/f;->a(Ljava/lang/String;J)Z

    move-result p1

    iget-object v2, p0, Lc8/c;->a:Le8/a;

    invoke-interface {v2}, Le8/a;->get()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lc8/f;

    .line 1
    monitor-enter v2

    :try_start_19
    const-string v3, "fire-global"

    invoke-virtual {v2, v3, v0, v1}, Lc8/f;->a(Ljava/lang/String;J)Z

    move-result v0
    :try_end_1f
    .catchall {:try_start_19 .. :try_end_1f} :catchall_30

    monitor-exit v2

    if-eqz p1, :cond_26

    if-eqz v0, :cond_26

    const/4 p1, 0x4

    return p1

    :cond_26
    if-eqz v0, :cond_2a

    const/4 p1, 0x3

    return p1

    :cond_2a
    if-eqz p1, :cond_2e

    const/4 p1, 0x2

    return p1

    :cond_2e
    const/4 p1, 0x1

    return p1

    :catchall_30
    move-exception p1

    monitor-exit v2

    throw p1
.end method
