.class public final Lk8/c0;
.super Ljava/lang/Object;
.source ""


# static fields
.field public static d:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Lk8/c0;",
            ">;"
        }
    .end annotation
.end field


# instance fields
.field public final a:Landroid/content/SharedPreferences;

.field public b:Lk8/a0;

.field public final c:Ljava/util/concurrent/Executor;


# direct methods
.method public constructor <init>(Landroid/content/SharedPreferences;Ljava/util/concurrent/Executor;)V
    .registers 3

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

    iput-object p2, p0, Lk8/c0;->c:Ljava/util/concurrent/Executor;

    iput-object p1, p0, Lk8/c0;->a:Landroid/content/SharedPreferences;

    return-void
.end method


# virtual methods
.method public declared-synchronized a()Lk8/b0;
    .registers 5

    monitor-enter p0

    :try_start_1
    iget-object v0, p0, Lk8/c0;->b:Lk8/a0;

    .line 1
    iget-object v1, v0, Lk8/a0;->d:Ljava/util/ArrayDeque;

    monitor-enter v1
    :try_end_6
    .catchall {:try_start_1 .. :try_end_6} :catchall_35

    :try_start_6
    iget-object v0, v0, Lk8/a0;->d:Ljava/util/ArrayDeque;

    invoke-virtual {v0}, Ljava/util/ArrayDeque;->peek()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    monitor-exit v1
    :try_end_f
    .catchall {:try_start_6 .. :try_end_f} :catchall_32

    .line 2
    :try_start_f
    sget-object v1, Lk8/b0;->d:Ljava/util/regex/Pattern;

    .line 3
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_19

    goto :goto_30

    :cond_19
    const/4 v1, -0x1

    const-string v3, "!"

    invoke-virtual {v0, v3, v1}, Ljava/lang/String;->split(Ljava/lang/String;I)[Ljava/lang/String;

    move-result-object v0

    array-length v1, v0

    const/4 v3, 0x2

    if-eq v1, v3, :cond_25

    goto :goto_30

    :cond_25
    new-instance v2, Lk8/b0;

    const/4 v1, 0x0

    aget-object v1, v0, v1

    const/4 v3, 0x1

    aget-object v0, v0, v3

    invoke-direct {v2, v1, v0}, Lk8/b0;-><init>(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_30
    .catchall {:try_start_f .. :try_end_30} :catchall_35

    .line 4
    :goto_30
    monitor-exit p0

    return-object v2

    :catchall_32
    move-exception v0

    .line 5
    :try_start_33
    monitor-exit v1
    :try_end_34
    .catchall {:try_start_33 .. :try_end_34} :catchall_32

    :try_start_34
    throw v0
    :try_end_35
    .catchall {:try_start_34 .. :try_end_35} :catchall_35

    :catchall_35
    move-exception v0

    monitor-exit p0

    throw v0
.end method
