b.smali

.class public final Lsg/bigo/live/support64/g/d/b;
.super Ljava/lang/Object;
.source "SourceFile"


# instance fields
.field public a:J

.field public b:J

.field private c:Lcom/polly/mobile/mediasdk/c;

.field private d:[I

.field private e:[I


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

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

    const/4 v0, 0x2

    new-array v1, v0, [I

    .line 24
    iput-object v1, p0, Lsg/bigo/live/support64/g/d/b;->d:[I

    new-array v0, v0, [I

    .line 25
    iput-object v0, p0, Lsg/bigo/live/support64/g/d/b;->e:[I

    const-wide/16 v0, 0x0

    .line 28
    iput-wide v0, p0, Lsg/bigo/live/support64/g/d/b;->a:J

    .line 29
    iput-wide v0, p0, Lsg/bigo/live/support64/g/d/b;->b:J

    return-void
.end method


# virtual methods
.method public final declared-synchronized a(I)I
    .registers 3

    monitor-enter p0

    .line 102
    :try_start_1
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_10

    if-nez v0, :cond_8

    const/4 p1, 0x0

    .line 104
    monitor-exit p0

    return p1

    .line 106
    :cond_8
    :try_start_8
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    invoke-virtual {v0, p1}, Lcom/polly/mobile/mediasdk/c;->c(I)I

    move-result p1
    :try_end_e
    .catchall {:try_start_8 .. :try_end_e} :catchall_10

    monitor-exit p0

    return p1

    :catchall_10
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized a(Z)I
    .registers 3

    monitor-enter p0

    if-eqz p1, :cond_a

    .line 92
    :try_start_3
    iget-object p1, p0, Lsg/bigo/live/support64/g/d/b;->d:[I

    const/4 v0, 0x1

    aget p1, p1, v0
    :try_end_8
    .catchall {:try_start_3 .. :try_end_8} :catchall_11

    monitor-exit p0

    return p1

    :cond_a
    :try_start_a
    iget-object p1, p0, Lsg/bigo/live/support64/g/d/b;->d:[I

    const/4 v0, 0x0

    aget p1, p1, v0
    :try_end_f
    .catchall {:try_start_a .. :try_end_f} :catchall_11

    monitor-exit p0

    return p1

    :catchall_11
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized a()V
    .registers 5

    monitor-enter p0

    .line 38
    :try_start_1
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->d:[I

    const/4 v1, 0x0

    const/4 v2, -0x1

    aput v2, v0, v1

    .line 39
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->d:[I

    const/4 v3, 0x1

    aput v2, v0, v3

    .line 40
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->e:[I

    aput v2, v0, v1

    .line 41
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->e:[I

    aput v2, v0, v3

    .line 42
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    if-eqz v0, :cond_26

    .line 43
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    iget-object v1, p0, Lsg/bigo/live/support64/g/d/b;->d:[I

    invoke-virtual {v0, v1}, Lcom/polly/mobile/mediasdk/c;->a([I)V

    .line 44
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    iget-object v1, p0, Lsg/bigo/live/support64/g/d/b;->e:[I

    invoke-virtual {v0, v1}, Lcom/polly/mobile/mediasdk/c;->b([I)V
    :try_end_26
    .catchall {:try_start_1 .. :try_end_26} :catchall_28

    .line 46
    :cond_26
    monitor-exit p0

    return-void

    :catchall_28
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized a(Lcom/polly/mobile/mediasdk/c;)V
    .registers 2

    monitor-enter p0

    .line 33
    :try_start_1
    iput-object p1, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_5

    .line 34
    monitor-exit p0

    return-void

    :catchall_5
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized b()I
    .registers 3

    monitor-enter p0

    .line 55
    :try_start_1
    iget-wide v0, p0, Lsg/bigo/live/support64/g/d/b;->a:J
    :try_end_3
    .catchall {:try_start_1 .. :try_end_3} :catchall_6

    long-to-int v1, v0

    monitor-exit p0

    return v1

    :catchall_6
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized b(Z)I
    .registers 3

    monitor-enter p0

    if-eqz p1, :cond_a

    .line 97
    :try_start_3
    iget-object p1, p0, Lsg/bigo/live/support64/g/d/b;->e:[I

    const/4 v0, 0x1

    aget p1, p1, v0
    :try_end_8
    .catchall {:try_start_3 .. :try_end_8} :catchall_11

    monitor-exit p0

    return p1

    :cond_a
    :try_start_a
    iget-object p1, p0, Lsg/bigo/live/support64/g/d/b;->e:[I

    const/4 v0, 0x0

    aget p1, p1, v0
    :try_end_f
    .catchall {:try_start_a .. :try_end_f} :catchall_11

    monitor-exit p0

    return p1

    :catchall_11
    move-exception p1

    monitor-exit p0

    throw p1
.end method

.method public final declared-synchronized c()B
    .registers 3

    monitor-enter p0

    .line 111
    :try_start_1
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    if-eqz v0, :cond_1a

    .line 112
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    .line 2497
    invoke-virtual {v0}, Lcom/polly/mobile/mediasdk/c;->c()Z

    move-result v1

    if-eqz v1, :cond_16

    .line 2498
    iget-object v0, v0, Lcom/polly/mobile/mediasdk/c;->e:Lcom/polly/mobile/mediasdk/d;

    .line 2881
    iget-object v0, v0, Lcom/polly/mobile/mediasdk/d;->d:Lcom/polly/mobile/mediasdk/YYMediaJniProxy;

    invoke-virtual {v0}, Lcom/polly/mobile/mediasdk/YYMediaJniProxy;->yymedia_get_first_connection_type()I

    move-result v0
    :try_end_15
    .catchall {:try_start_1 .. :try_end_15} :catchall_1d

    goto :goto_17

    :cond_16
    const/4 v0, 0x0

    :goto_17
    int-to-byte v0, v0

    .line 112
    monitor-exit p0

    return v0

    :cond_1a
    const/4 v0, -0x1

    .line 114
    monitor-exit p0

    return v0

    :catchall_1d
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized d()I
    .registers 2

    monitor-enter p0

    .line 127
    :try_start_1
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    if-eqz v0, :cond_b

    .line 128
    invoke-static {}, Lcom/polly/mobile/mediasdk/c;->a()I

    move-result v0
    :try_end_9
    .catchall {:try_start_1 .. :try_end_9} :catchall_e

    monitor-exit p0

    return v0

    :cond_b
    const/4 v0, 0x0

    .line 130
    monitor-exit p0

    return v0

    :catchall_e
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized e()V
    .registers 2

    monitor-enter p0

    .line 135
    :try_start_1
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    if-eqz v0, :cond_a

    .line 136
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    invoke-virtual {v0}, Lcom/polly/mobile/mediasdk/c;->s()V
    :try_end_a
    .catchall {:try_start_1 .. :try_end_a} :catchall_c

    .line 138
    :cond_a
    monitor-exit p0

    return-void

    :catchall_c
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final declared-synchronized f()I
    .registers 2

    monitor-enter p0

    .line 142
    :try_start_1
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    if-eqz v0, :cond_d

    .line 143
    iget-object v0, p0, Lsg/bigo/live/support64/g/d/b;->c:Lcom/polly/mobile/mediasdk/c;

    invoke-virtual {v0}, Lcom/polly/mobile/mediasdk/c;->m()I

    move-result v0
    :try_end_b
    .catchall {:try_start_1 .. :try_end_b} :catchall_10

    monitor-exit p0

    return v0

    :cond_d
    const/4 v0, 0x0

    .line 145
    monitor-exit p0

    return v0

    :catchall_10
    move-exception v0

    monitor-exit p0

    throw v0
.end method