a.smali

.class public Lcom/cleanmaster/giftbox/b/a;
.super Ljava/lang/Object;
.source "GiftboxPluginDelegate.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cleanmaster/giftbox/b/a$a;
    }
.end annotation


# static fields
.field private static a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;


# direct methods
.method public static declared-synchronized a()Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;
    .registers 2

    .prologue
    .line 18
    const-class v1, Lcom/cleanmaster/giftbox/b/a;

    monitor-enter v1

    :try_start_3
    sget-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    if-eqz v0, :cond_b

    .line 19
    sget-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;
    :try_end_9
    .catchall {:try_start_3 .. :try_end_9} :catchall_14

    .line 28
    :goto_9
    monitor-exit v1

    return-object v0

    .line 23
    :cond_b
    :try_start_b
    invoke-static {}, Lcom/cleanmaster/giftbox/b/a;->b()Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    move-result-object v0

    sput-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    .line 26
    sget-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;
    :try_end_13
    .catchall {:try_start_b .. :try_end_13} :catchall_14

    goto :goto_9

    .line 18
    :catchall_14
    move-exception v0

    monitor-exit v1

    throw v0
.end method

.method public static declared-synchronized b()Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;
    .registers 3

    .prologue
    .line 34
    const-class v1, Lcom/cleanmaster/giftbox/b/a;

    monitor-enter v1

    :try_start_3
    sget-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    if-nez v0, :cond_16

    .line 35
    const-class v2, Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    monitor-enter v2
    :try_end_a
    .catchall {:try_start_3 .. :try_end_a} :catchall_1d

    .line 36
    :try_start_a
    sget-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    if-nez v0, :cond_15

    .line 37
    new-instance v0, Lcom/cleanmaster/giftbox/b/a$a;

    invoke-direct {v0}, Lcom/cleanmaster/giftbox/b/a$a;-><init>()V

    sput-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;

    .line 39
    :cond_15
    monitor-exit v2
    :try_end_16
    .catchall {:try_start_a .. :try_end_16} :catchall_1a

    .line 41
    :cond_16
    :try_start_16
    sget-object v0, Lcom/cleanmaster/giftbox/b/a;->a:Lcom/cm/plugincluster/giftbox/interfaces/IGiftboxPluginModule;
    :try_end_18
    .catchall {:try_start_16 .. :try_end_18} :catchall_1d

    monitor-exit v1

    return-object v0

    .line 39
    :catchall_1a
    move-exception v0

    :try_start_1b
    monitor-exit v2
    :try_end_1c
    .catchall {:try_start_1b .. :try_end_1c} :catchall_1a

    :try_start_1c
    throw v0
    :try_end_1d
    .catchall {:try_start_1c .. :try_end_1d} :catchall_1d

    .line 34
    :catchall_1d
    move-exception v0

    monitor-exit v1

    throw v0
.end method