.class public abstract Lt2/a;
.super Lc3/d;
.source ""


# instance fields
.field public v:Lw2/j;


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lc3/d;-><init>()V

    return-void
.end method

.method public static I(Ln2/e;Ljava/net/URL;)V
    .registers 5

    if-nez p0, :cond_3

    goto :goto_32

    .line 1
    :cond_3
    invoke-static {p0}, Lx2/a;->c(Ln2/e;)Lw2/c;

    move-result-object v0

    if-nez v0, :cond_17

    new-instance v0, Lw2/c;

    invoke-direct {v0}, Lw2/c;-><init>()V

    invoke-virtual {v0, p0}, Lc3/d;->k(Ln2/e;)V

    const-string v1, "CONFIGURATION_WATCH_LIST"

    invoke-interface {p0, v1, v0}, Ln2/e;->l(Ljava/lang/String;Ljava/lang/Object;)V

    goto :goto_24

    :cond_17
    const/4 v1, 0x0

    .line 2
    iput-object v1, v0, Lw2/c;->v:Ljava/net/URL;

    iget-object v1, v0, Lw2/c;->x:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    iget-object v1, v0, Lw2/c;->w:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->clear()V

    .line 3
    :goto_24
    sget-object v1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    const-string v2, "CONFIGURATION_WATCH_LIST_RESET"

    invoke-interface {p0, v2, v1}, Ln2/e;->l(Ljava/lang/String;Ljava/lang/Object;)V

    .line 4
    iput-object p1, v0, Lw2/c;->v:Ljava/net/URL;

    if-eqz p1, :cond_32

    invoke-virtual {v0, p1}, Lw2/c;->A(Ljava/net/URL;)V

    :cond_32
    :goto_32
    return-void
.end method


# virtual methods
.method public abstract A(Landroidx/lifecycle/s;)V
.end method

.method public abstract B(Lw2/j;)V
.end method

.method public abstract C(Lw2/n;)V
.end method

.method public D()V
    .registers 5

    new-instance v0, Lw2/o;

    iget-object v1, p0, Lc3/d;->t:Ln2/e;

    invoke-direct {v0, v1}, Lw2/o;-><init>(Ln2/e;)V

    invoke-virtual {p0, v0}, Lt2/a;->C(Lw2/n;)V

    new-instance v1, Lw2/j;

    iget-object v2, p0, Lc3/d;->t:Ln2/e;

    invoke-virtual {p0}, Lt2/a;->J()Lw2/e;

    move-result-object v3

    invoke-direct {v1, v2, v0, v3}, Lw2/j;-><init>(Ln2/e;Lw2/n;Lw2/e;)V

    iput-object v1, p0, Lt2/a;->v:Lw2/j;

    .line 1
    iget-object v0, v1, Lw2/j;->b:Lw2/i;

    .line 2
    iget-object v1, p0, Lc3/d;->t:Ln2/e;

    invoke-virtual {v0, v1}, Lc3/d;->k(Ln2/e;)V

    iget-object v1, p0, Lt2/a;->v:Lw2/j;

    invoke-virtual {p0, v1}, Lt2/a;->B(Lw2/j;)V

    .line 3
    iget-object v0, v0, Lw2/i;->A:Landroidx/lifecycle/s;

    .line 4
    invoke-virtual {p0, v0}, Lt2/a;->A(Landroidx/lifecycle/s;)V

    return-void
.end method

.method public final E(Ljava/io/InputStream;)V
    .registers 4

    const-string v0, "Could not close the stream"

    :try_start_2
    new-instance v1, Lorg/xml/sax/InputSource;

    invoke-direct {v1, p1}, Lorg/xml/sax/InputSource;-><init>(Ljava/io/InputStream;)V

    invoke-virtual {p0, v1}, Lt2/a;->H(Lorg/xml/sax/InputSource;)V
    :try_end_a
    .catchall {:try_start_2 .. :try_end_a} :catchall_18

    :try_start_a
    invoke-virtual {p1}, Ljava/io/InputStream;->close()V
    :try_end_d
    .catch Ljava/io/IOException; {:try_start_a .. :try_end_d} :catch_e

    return-void

    :catch_e
    move-exception p1

    invoke-virtual {p0, v0, p1}, Lc3/d;->g(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v1, Lw2/k;

    invoke-direct {v1, v0, p1}, Lw2/k;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw v1

    :catchall_18
    move-exception v1

    :try_start_19
    invoke-virtual {p1}, Ljava/io/InputStream;->close()V
    :try_end_1c
    .catch Ljava/io/IOException; {:try_start_19 .. :try_end_1c} :catch_1d

    throw v1

    :catch_1d
    move-exception p1

    invoke-virtual {p0, v0, p1}, Lc3/d;->g(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v1, Lw2/k;

    invoke-direct {v1, v0, p1}, Lw2/k;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw v1
.end method

.method public final F(Ljava/net/URL;)V
    .registers 5

    .line 1
    :try_start_0
    iget-object v0, p0, Lc3/d;->t:Ln2/e;

    .line 2
    invoke-static {v0, p1}, Lt2/a;->I(Ln2/e;Ljava/net/URL;)V

    invoke-virtual {p1}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/net/URLConnection;->setUseCaches(Z)V

    invoke-virtual {v0}, Ljava/net/URLConnection;->getInputStream()Ljava/io/InputStream;

    move-result-object v0

    invoke-virtual {p0, v0}, Lt2/a;->E(Ljava/io/InputStream;)V
    :try_end_14
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_14} :catch_15

    return-void

    :catch_15
    move-exception v0

    new-instance v1, Ljava/lang/StringBuilder;

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

    const-string v2, "Could not open URL ["

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    const-string p1, "]."

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1, v0}, Lc3/d;->g(Ljava/lang/String;Ljava/lang/Throwable;)V

    new-instance v1, Lw2/k;

    invoke-direct {v1, p1, v0}, Lw2/k;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V

    throw v1
.end method

.method public G(Ljava/util/List;)V
    .registers 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lv2/d;",
            ">;)V"
        }
    .end annotation

    invoke-virtual {p0}, Lt2/a;->D()V

    iget-object v0, p0, Lc3/d;->t:Ln2/e;

    invoke-interface {v0}, Ln2/e;->p()Ljava/lang/Object;

    move-result-object v0

    monitor-enter v0

    :try_start_a
    iget-object v1, p0, Lt2/a;->v:Lw2/j;

    .line 1
    iget-object v1, v1, Lw2/j;->g:Lw2/g;

    .line 2
    invoke-virtual {v1, p1}, Lw2/g;->a(Ljava/util/List;)V

    monitor-exit v0

    return-void

    :catchall_13
    move-exception p1

    monitor-exit v0
    :try_end_15
    .catchall {:try_start_a .. :try_end_15} :catchall_13

    throw p1
.end method

.method public final H(Lorg/xml/sax/InputSource;)V
    .registers 6

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

    move-result-wide v0

    iget-object v2, p0, Lc3/d;->t:Ln2/e;

    if-nez v2, :cond_9

    goto :goto_11

    :cond_9
    const-string v3, "CONFIGURATION_WATCH_LIST_RESET"

    .line 1
    invoke-interface {v2, v3}, Ln2/e;->f(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v2

    if-nez v2, :cond_13

    :goto_11
    const/4 v2, 0x0

    goto :goto_19

    :cond_13
    check-cast v2, Ljava/lang/Boolean;

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

    move-result v2

    :goto_19
    if-nez v2, :cond_21

    .line 2
    iget-object v2, p0, Lc3/d;->t:Ln2/e;

    const/4 v3, 0x0

    .line 3
    invoke-static {v2, v3}, Lt2/a;->I(Ln2/e;Ljava/net/URL;)V

    :cond_21
    new-instance v2, Lv2/e;

    iget-object v3, p0, Lc3/d;->t:Ln2/e;

    invoke-direct {v2, v3}, Lv2/e;-><init>(Ln2/e;)V

    invoke-virtual {v2, p1}, Lv2/e;->d(Lorg/xml/sax/InputSource;)Ljava/util/List;

    .line 4
    iget-object p1, v2, Lv2/e;->s:Ljava/util/List;

    .line 5
    invoke-virtual {p0, p1}, Lt2/a;->G(Ljava/util/List;)V

    new-instance p1, Lf/o;

    iget-object v2, p0, Lc3/d;->t:Ln2/e;

    invoke-direct {p1, v2}, Lf/o;-><init>(Ln2/e;)V

    .line 6
    invoke-virtual {p1, v0, v1}, Lf/o;->k(J)Z

    move-result p1

    xor-int/lit8 p1, p1, 0x1

    if-eqz p1, :cond_59

    const-string p1, "Registering current configuration as safe fallback point"

    .line 7
    invoke-virtual {p0, p1}, Lc3/d;->u(Ljava/lang/String;)V

    .line 8
    iget-object p1, p0, Lc3/d;->t:Ln2/e;

    iget-object v0, p0, Lt2/a;->v:Lw2/j;

    .line 9
    iget-object v0, v0, Lw2/j;->g:Lw2/g;

    .line 10
    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 11
    new-instance v1, Ljava/util/ArrayList;

    iget-object v0, v0, Lw2/g;->b:Ljava/util/List;

    invoke-direct {v1, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    const-string v0, "SAFE_JORAN_CONFIGURATION"

    .line 12
    invoke-interface {p1, v0, v1}, Ln2/e;->l(Ljava/lang/String;Ljava/lang/Object;)V

    :cond_59
    return-void
.end method

.method public J()Lw2/e;
    .registers 2

    new-instance v0, Lw2/e;

    invoke-direct {v0}, Lw2/e;-><init>()V

    return-object v0
.end method
