.class public abstract Lqa/a;
.super Lka/a;
.source ""


# static fields
.field public static final A:Ljava/lang/Object;


# instance fields
.field public y:Ljava/net/InetAddress;

.field public z:Lqa/c;


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

    new-instance v0, Ljava/lang/Object;

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

    sput-object v0, Lqa/a;->A:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>()V
    .registers 2

    invoke-direct {p0}, Lka/a;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lqa/a;->y:Ljava/net/InetAddress;

    iput-object v0, p0, Lqa/a;->z:Lqa/c;

    return-void
.end method


# virtual methods
.method public q()Ljava/net/InetAddress;
    .registers 4

    iget-object v0, p0, Lqa/a;->z:Lqa/c;

    invoke-interface {v0}, Lqa/c;->C()Z

    move-result v0

    if-eqz v0, :cond_2f

    iget-object v0, p0, Lqa/a;->y:Ljava/net/InetAddress;

    if-nez v0, :cond_2c

    sget-object v0, Lqa/a;->A:Ljava/lang/Object;

    monitor-enter v0

    :try_start_f
    iget-object v1, p0, Lqa/a;->y:Ljava/net/InetAddress;

    if-nez v1, :cond_27

    iget-object v1, p0, Lka/a;->s:Lka/c;

    invoke-interface {v1}, Lja/b;->s()Ljava/lang/String;

    move-result-object v1
    :try_end_19
    .catchall {:try_start_f .. :try_end_19} :catchall_29

    .line 1
    :try_start_19
    invoke-static {v1}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;

    move-result-object v1
    :try_end_1d
    .catch Ljava/net/UnknownHostException; {:try_start_19 .. :try_end_1d} :catch_20
    .catchall {:try_start_19 .. :try_end_1d} :catchall_29

    .line 2
    :try_start_1d
    iput-object v1, p0, Lqa/a;->y:Ljava/net/InetAddress;

    goto :goto_27

    :catch_20
    move-exception v1

    .line 3
    new-instance v2, Lja/f;

    invoke-direct {v2, v1}, Lja/f;-><init>(Ljava/lang/Throwable;)V

    throw v2

    .line 4
    :cond_27
    :goto_27
    monitor-exit v0

    goto :goto_2c

    :catchall_29
    move-exception v1

    monitor-exit v0
    :try_end_2b
    .catchall {:try_start_1d .. :try_end_2b} :catchall_29

    throw v1

    :cond_2c
    :goto_2c
    iget-object v0, p0, Lqa/a;->y:Ljava/net/InetAddress;

    goto :goto_39

    :cond_2f
    iget-object v0, p0, Lka/a;->s:Lka/c;

    invoke-interface {v0}, Lja/b;->s()Ljava/lang/String;

    move-result-object v0

    .line 5
    :try_start_35
    invoke-static {v0}, Ljava/net/InetAddress;->getByName(Ljava/lang/String;)Ljava/net/InetAddress;

    move-result-object v0
    :try_end_39
    .catch Ljava/net/UnknownHostException; {:try_start_35 .. :try_end_39} :catch_3a

    :goto_39
    return-object v0

    :catch_3a
    move-exception v0

    new-instance v1, Lja/f;

    invoke-direct {v1, v0}, Lja/f;-><init>(Ljava/lang/Throwable;)V

    throw v1
.end method
