.class public final Lhw/e$b;
.super Ljava/lang/Object;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lhw/e;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = "b"
.end annotation


# direct methods
.method private constructor <init>()V
    .locals 0

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

    return-void
.end method

.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lhw/e$b;-><init>()V

    return-void
.end method

.method private final f(Lhw/e;Liw/b;)Z
    .locals 0

    invoke-interface {p2}, Liw/b;->getValue()Ljava/lang/String;

    move-result-object p2

    invoke-direct {p0, p1, p2}, Lhw/e$b;->g(Lhw/e;Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method private final g(Lhw/e;Ljava/lang/String;)Z
    .locals 4

    invoke-static {}, Lhw/c;->e()Lhw/b;

    move-result-object v0

    const/4 v1, 0x2

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-static {v0, p1, v3, v1, v2}, Lhw/b;->d(Lhw/b;Lhw/e;ZILjava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {p2, v0, v1}, Lzh0/n;->x(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result p2

    invoke-direct {p0, p1, p2}, Lhw/e$b;->l(Lhw/e;Z)V

    return p2
.end method

.method private final h()Lorg/json/JSONObject;
    .locals 3

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    const-string v1, "pref_features_exposed"

    const-string v2, "{}"

    invoke-static {v1, v2}, Lcom/tumblr/Remember;->h(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-static {}, Lhw/e;->i()Ljava/lang/String;

    move-result-object v1

    const-string v2, "access$getTAG$cp(...)"

    invoke-static {v1, v2}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v2, "Error decoding JSON obj from Remember pref_features_exposed"

    invoke-static {v1, v2, v0}, Ltz/a;->f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :goto_0
    return-object v0
.end method

.method private final i()Lorg/json/JSONObject;
    .locals 3

    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    const-string v1, "pref_features_read"

    const-string v2, "{}"

    invoke-static {v1, v2}, Lcom/tumblr/Remember;->h(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-static {}, Lhw/e;->i()Ljava/lang/String;

    move-result-object v1

    const-string v2, "access$getTAG$cp(...)"

    invoke-static {v1, v2}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v2, "Error decoding JSON obj from Remember pref_features_read"

    invoke-static {v1, v2, v0}, Ltz/a;->f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :goto_0
    return-object v0
.end method

.method private final l(Lhw/e;Z)V
    .locals 8

    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-direct {p0}, Lhw/e$b;->i()Lorg/json/JSONObject;

    move-result-object v0

    invoke-static {v0}, Lhw/e;->k(Lorg/json/JSONObject;)V

    :cond_0
    :try_start_0
    invoke-virtual {p1}, Lhw/e;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_1

    const-string v0, "analyticsFeatureReadStateMap"

    invoke-static {v0}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v0, v1

    goto :goto_0

    :catch_0
    move-exception p1

    goto/16 :goto_6

    :cond_1
    :goto_0
    monitor-enter v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v2

    if-nez v2, :cond_2

    const-string v2, "analyticsFeatureReadStateMap"

    invoke-static {v2}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v2, v1

    goto :goto_1

    :catchall_0
    move-exception p1

    goto/16 :goto_5

    :cond_2
    :goto_1
    invoke-virtual {v2, p1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-eqz v2, :cond_3

    :try_start_2
    monitor-exit v0
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    return-void

    :cond_3
    :try_start_3
    sget-object v2, Ldh0/f0;->a:Ldh0/f0;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    :try_start_4
    monitor-exit v0

    const-string v0, "last_server_configuration_received_long"

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

    move-result-wide v2

    invoke-static {v0, v2, v3}, Lcom/tumblr/Remember;->f(Ljava/lang/String;J)J

    move-result-wide v2

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

    move-result-wide v4

    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v0

    if-nez v0, :cond_4

    const-string v0, "analyticsFeatureReadStateMap"

    invoke-static {v0}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v0, v1

    :cond_4
    monitor-enter v0
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0

    :try_start_5
    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v6

    if-nez v6, :cond_5

    const-string v6, "analyticsFeatureReadStateMap"

    invoke-static {v6}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v6, v1

    goto :goto_2

    :catchall_1
    move-exception p1

    goto :goto_4

    :cond_5
    :goto_2
    invoke-virtual {v6, p1, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;J)Lorg/json/JSONObject;

    const-string v6, "pref_features_read"

    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v7

    if-nez v7, :cond_6

    const-string v7, "analyticsFeatureReadStateMap"

    invoke-static {v7}, Lqh0/s;->y(Ljava/lang/String;)V

    goto :goto_3

    :cond_6
    move-object v1, v7

    :goto_3
    invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v6, v1}, Lcom/tumblr/Remember;->o(Ljava/lang/String;Ljava/lang/String;)Lcom/tumblr/Remember;
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_1

    :try_start_6
    monitor-exit v0

    new-instance v0, Lcom/google/common/collect/ImmutableMap$Builder;

    invoke-direct {v0}, Lcom/google/common/collect/ImmutableMap$Builder;-><init>()V

    sget-object v1, Lzo/d;->FEATURE_KEY:Lzo/d;

    invoke-virtual {v0, v1, p1}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;

    move-result-object p1

    sget-object v0, Lzo/d;->FEATURE_VALUE:Lzo/d;

    invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object p2

    invoke-virtual {p1, v0, p2}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;

    move-result-object p1

    sget-object p2, Lzo/d;->DELTA_MS:Lzo/d;

    sub-long/2addr v4, v2

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {p1, p2, v0}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;

    move-result-object p1

    invoke-virtual {p1}, Lcom/google/common/collect/ImmutableMap$Builder;->build()Lcom/google/common/collect/ImmutableMap;

    move-result-object p1

    const-string p2, "build(...)"

    invoke-static {p1, p2}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object p2, Lzo/e;->FEATURE_READ:Lzo/e;

    sget-object v0, Lcom/tumblr/analytics/ScreenType;->UNKNOWN:Lcom/tumblr/analytics/ScreenType;

    invoke-static {p2, v0, p1}, Lzo/n;->g(Lzo/e;Lcom/tumblr/analytics/ScreenType;Ljava/util/Map;)Lzo/m;

    move-result-object p1

    invoke-static {p1}, Lzo/r0;->h0(Lzo/m;)V

    goto :goto_7

    :goto_4
    monitor-exit v0

    throw p1

    :goto_5
    monitor-exit v0

    throw p1
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_0

    :goto_6
    invoke-static {}, Lhw/e;->i()Ljava/lang/String;

    move-result-object p2

    const-string v0, "access$getTAG$cp(...)"

    invoke-static {p2, v0}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v0, "Something wrong when logging feature accessed."

    invoke-static {p2, v0, p1}, Ltz/a;->f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_7
    return-void
.end method


# virtual methods
.method public final varargs a([Lhw/e;)Z
    .locals 2

    const-string v0, "features"

    invoke-static {p1, v0}, Lqh0/s;->h(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {p1}, Leh0/l;->d([Ljava/lang/Object;)Ljava/util/List;

    move-result-object p1

    check-cast p1, Ljava/lang/Iterable;

    instance-of v0, p1, Ljava/util/Collection;

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    move-object v0, p1

    check-cast v0, Ljava/util/Collection;

    invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :cond_1
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lhw/e;

    invoke-virtual {v0}, Lhw/e;->t()Z

    move-result v0

    if-nez v0, :cond_1

    const/4 v1, 0x0

    :cond_2
    :goto_0
    return v1
.end method

.method public final b()V
    .locals 1

    const-string v0, "pref_features_exposed"

    invoke-static {v0}, Lcom/tumblr/Remember;->q(Ljava/lang/String;)Z

    const-string v0, "pref_features_read"

    invoke-static {v0}, Lcom/tumblr/Remember;->q(Ljava/lang/String;)Z

    const-string v0, "last_server_configuration_received_long"

    invoke-static {v0}, Lcom/tumblr/Remember;->q(Ljava/lang/String;)Z

    invoke-direct {p0}, Lhw/e$b;->i()Lorg/json/JSONObject;

    move-result-object v0

    invoke-static {v0}, Lhw/e;->k(Lorg/json/JSONObject;)V

    invoke-direct {p0}, Lhw/e$b;->h()Lorg/json/JSONObject;

    move-result-object v0

    invoke-static {v0}, Lhw/e;->j(Lorg/json/JSONObject;)V

    return-void
.end method

.method public final c(Ljava/lang/String;)Lhw/e;
    .locals 2

    const-string v0, "value"

    invoke-static {p1, v0}, Lqh0/s;->h(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v0, Lcom/google/common/base/CaseFormat;->LOWER_CAMEL:Lcom/google/common/base/CaseFormat;

    sget-object v1, Lcom/google/common/base/CaseFormat;->UPPER_UNDERSCORE:Lcom/google/common/base/CaseFormat;

    invoke-virtual {v0, v1, p1}, Lcom/google/common/base/CaseFormat;->to(Lcom/google/common/base/CaseFormat;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-class v0, Lhw/e;

    invoke-static {v0, p1}, Lcom/google/common/base/Enums;->getIfPresent(Ljava/lang/Class;Ljava/lang/String;)Lcom/google/common/base/Optional;

    move-result-object p1

    sget-object v0, Lhw/e;->UNKNOWN:Lhw/e;

    invoke-virtual {p1, v0}, Lcom/google/common/base/Optional;->or(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    const-string v0, "or(...)"

    invoke-static {p1, v0}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    check-cast p1, Lhw/e;

    return-object p1
.end method

.method public final d(Lhw/e;)Z
    .locals 3

    const-string v0, "feature"

    invoke-static {p1, v0}, Lqh0/s;->h(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p0, p1}, Lhw/e$b;->e(Lhw/e;)Z

    move-result v0

    invoke-static {}, Lhw/e;->h()Ljava/util/concurrent/ConcurrentHashMap;

    move-result-object v1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v2

    invoke-virtual {v1, p1, v2}, Ljava/util/concurrent/ConcurrentHashMap;->putIfAbsent(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Boolean;

    if-nez v1, :cond_0

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v1

    :cond_0
    invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    invoke-direct {p0, p1, v0}, Lhw/e$b;->l(Lhw/e;Z)V

    return v0
.end method

# isEnabled
.method public final e(Lhw/e;)Z
    .locals 5

    ## YKit-FeatureOverride

    invoke-static {p1}, Ldev/maelstrom/ykit/FeatureOverride;->getFeatureOverride(Lhw/e;)I
    move-result v4
    if-ltz v4, :ykit_featureOverrideSkip

    if-eqz v4, :ykit_false
    const p1, 0x1
    return p1

    :ykit_false
    const p1, 0x0
    return p1

    :ykit_featureOverrideSkip

    ## /YKit-FeatureOverride

    const-string v0, "feature"

    invoke-static {p1, v0}, Lqh0/s;->h(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p1}, Lhw/e;->q()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {}, Lhw/e;->i()Ljava/lang/String;

    move-result-object v0

    const-string v1, "access$getTAG$cp(...)"

    invoke-static {v0, v1}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v1, "You\'re checking for Feature.isEnabled() with a non-boolean bucket!"

    const/4 v2, 0x4

    const/4 v3, 0x0

    invoke-static {v0, v1, v3, v2, v3}, Ltz/a;->v(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;ILjava/lang/Object;)V

    :cond_0
    sget-object v0, Liw/a;->TRUE:Liw/a;

    invoke-direct {p0, p1, v0}, Lhw/e$b;->f(Lhw/e;Liw/b;)Z

    move-result p1

    return p1
.end method

.method public final j()V
    .locals 1

    invoke-static {}, Lhw/e;->h()Ljava/util/concurrent/ConcurrentHashMap;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->clear()V

    return-void
.end method

.method public final k(Lhw/e;)V
    .locals 8

    const-string v0, "feature"

    invoke-static {p1, v0}, Lqh0/s;->h(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-static {}, Lhw/e;->f()Lorg/json/JSONObject;

    move-result-object v0

    if-nez v0, :cond_0

    invoke-direct {p0}, Lhw/e$b;->h()Lorg/json/JSONObject;

    move-result-object v0

    invoke-static {v0}, Lhw/e;->j(Lorg/json/JSONObject;)V

    :cond_0
    :try_start_0
    sget-object v0, Lhw/e;->SEND_FEATURE_EXPOSED_ANALYTICS:Lhw/e;

    if-eq p1, v0, :cond_a

    sget-object v1, Liw/a;->TRUE:Liw/a;

    invoke-virtual {v1}, Liw/a;->getValue()Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lhw/c;->e()Lhw/b;

    move-result-object v2

    const/4 v3, 0x0

    const/4 v4, 0x2

    const/4 v5, 0x0

    invoke-static {v2, v0, v3, v4, v5}, Lhw/b;->d(Lhw/b;Lhw/e;ZILjava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    const/4 v2, 0x1

    invoke-static {v1, v0, v2}, Lzh0/n;->x(Ljava/lang/String;Ljava/lang/String;Z)Z

    move-result v0

    if-nez v0, :cond_1

    goto/16 :goto_8

    :cond_1
    invoke-virtual {p1}, Lhw/e;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {}, Lhw/e;->f()Lorg/json/JSONObject;

    move-result-object v0

    if-nez v0, :cond_2

    const-string v0, "analyticsFeatureExposedStateMap"

    invoke-static {v0}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v0, v5

    goto :goto_0

    :catch_0
    move-exception p1

    goto/16 :goto_9

    :cond_2
    :goto_0
    monitor-enter v0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :try_start_1
    invoke-static {}, Lhw/e;->f()Lorg/json/JSONObject;

    move-result-object v1

    if-nez v1, :cond_3

    const-string v1, "analyticsFeatureExposedStateMap"

    invoke-static {v1}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v1, v5

    goto :goto_1

    :catchall_0
    move-exception p1

    goto/16 :goto_7

    :cond_3
    :goto_1
    invoke-virtual {v1, p1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-eqz v1, :cond_4

    :try_start_2
    monitor-exit v0
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    return-void

    :cond_4
    :try_start_3
    sget-object v1, Ldh0/f0;->a:Ldh0/f0;
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    :try_start_4
    monitor-exit v0

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

    move-result-wide v0

    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v3

    if-nez v3, :cond_5

    const-string v3, "analyticsFeatureReadStateMap"

    invoke-static {v3}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v3, v5

    :cond_5
    monitor-enter v3
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0

    :try_start_5
    invoke-static {}, Lhw/e;->g()Lorg/json/JSONObject;

    move-result-object v4

    if-nez v4, :cond_6

    const-string v4, "analyticsFeatureReadStateMap"

    invoke-static {v4}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v4, v5

    goto :goto_2

    :catchall_1
    move-exception p1

    goto :goto_6

    :cond_6
    :goto_2
    invoke-virtual {v4, p1, v0, v1}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;J)J

    move-result-wide v6
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_1

    sub-long/2addr v0, v6

    :try_start_6
    monitor-exit v3

    invoke-static {}, Lhw/e;->f()Lorg/json/JSONObject;

    move-result-object v3

    if-nez v3, :cond_7

    const-string v3, "analyticsFeatureExposedStateMap"

    invoke-static {v3}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v3, v5

    :cond_7
    monitor-enter v3
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_0

    :try_start_7
    invoke-static {}, Lhw/e;->f()Lorg/json/JSONObject;

    move-result-object v4

    if-nez v4, :cond_8

    const-string v4, "analyticsFeatureExposedStateMap"

    invoke-static {v4}, Lqh0/s;->y(Ljava/lang/String;)V

    move-object v4, v5

    goto :goto_3

    :catchall_2
    move-exception p1

    goto :goto_5

    :cond_8
    :goto_3
    invoke-virtual {v4, p1, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;

    const-string v2, "pref_features_exposed"

    invoke-static {}, Lhw/e;->f()Lorg/json/JSONObject;

    move-result-object v4

    if-nez v4, :cond_9

    const-string v4, "analyticsFeatureExposedStateMap"

    invoke-static {v4}, Lqh0/s;->y(Ljava/lang/String;)V

    goto :goto_4

    :cond_9
    move-object v5, v4

    :goto_4
    invoke-virtual {v5}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v2, v4}, Lcom/tumblr/Remember;->o(Ljava/lang/String;Ljava/lang/String;)Lcom/tumblr/Remember;
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_2

    :try_start_8
    monitor-exit v3

    new-instance v2, Lcom/google/common/collect/ImmutableMap$Builder;

    invoke-direct {v2}, Lcom/google/common/collect/ImmutableMap$Builder;-><init>()V

    sget-object v3, Lzo/d;->FEATURE_KEY:Lzo/d;

    invoke-virtual {v2, v3, p1}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;

    move-result-object p1

    sget-object v2, Lzo/d;->DELTA_MS:Lzo/d;

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {p1, v2, v0}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;

    move-result-object p1

    invoke-virtual {p1}, Lcom/google/common/collect/ImmutableMap$Builder;->build()Lcom/google/common/collect/ImmutableMap;

    move-result-object p1

    const-string v0, "build(...)"

    invoke-static {p1, v0}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v0, Lzo/e;->FEATURE_EXPOSED:Lzo/e;

    sget-object v1, Lcom/tumblr/analytics/ScreenType;->UNKNOWN:Lcom/tumblr/analytics/ScreenType;

    invoke-static {v0, v1, p1}, Lzo/n;->g(Lzo/e;Lcom/tumblr/analytics/ScreenType;Ljava/util/Map;)Lzo/m;

    move-result-object p1

    invoke-static {p1}, Lzo/r0;->h0(Lzo/m;)V

    goto :goto_a

    :goto_5
    monitor-exit v3

    throw p1

    :goto_6
    monitor-exit v3

    throw p1

    :goto_7
    monitor-exit v0

    throw p1
    :try_end_8
    .catch Ljava/lang/Exception; {:try_start_8 .. :try_end_8} :catch_0

    :cond_a
    :goto_8
    return-void

    :goto_9
    invoke-static {}, Lhw/e;->i()Ljava/lang/String;

    move-result-object v0

    const-string v1, "access$getTAG$cp(...)"

    invoke-static {v0, v1}, Lqh0/s;->g(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v1, "Something wrong when logging feature exposed."

    invoke-static {v0, v1, p1}, Ltz/a;->f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_a
    return-void
.end method
