am$c.smali

.class final Lcom/google/obf/am$c;
.super Ljava/lang/Object;
.source "IMASDK"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/google/obf/am;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1a
    name = "c"
.end annotation


# instance fields
.field private final a:[Lcom/google/obf/aj;

.field private final b:Lcom/google/obf/al;

.field private c:Lcom/google/obf/aj;


# direct methods
.method public constructor <init>([Lcom/google/obf/aj;Lcom/google/obf/al;)V
    .registers 3

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

    .line 2
    iput-object p1, p0, Lcom/google/obf/am$c;->a:[Lcom/google/obf/aj;

    .line 3
    iput-object p2, p0, Lcom/google/obf/am$c;->b:Lcom/google/obf/al;

    return-void
.end method


# virtual methods
.method public a(Lcom/google/obf/ak;)Lcom/google/obf/aj;
    .registers 7
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/google/obf/am$e;,
            Ljava/io/IOException;,
            Ljava/lang/InterruptedException;
        }
    .end annotation

    .line 5
    iget-object v0, p0, Lcom/google/obf/am$c;->c:Lcom/google/obf/aj;

    if-eqz v0, :cond_5

    return-object v0

    .line 7
    :cond_5
    iget-object v0, p0, Lcom/google/obf/am$c;->a:[Lcom/google/obf/aj;

    array-length v1, v0

    const/4 v2, 0x0

    :goto_9
    if-ge v2, v1, :cond_28

    aget-object v3, v0, v2

    .line 8
    :try_start_d
    invoke-interface {v3, p1}, Lcom/google/obf/aj;->a(Lcom/google/obf/ak;)Z

    move-result v4

    if-eqz v4, :cond_19

    .line 9
    iput-object v3, p0, Lcom/google/obf/am$c;->c:Lcom/google/obf/aj;
    :try_end_15
    .catch Ljava/io/EOFException; {:try_start_d .. :try_end_15} :catch_22
    .catchall {:try_start_d .. :try_end_15} :catchall_1d

    .line 10
    invoke-interface {p1}, Lcom/google/obf/ak;->a()V

    goto :goto_28

    :cond_19
    invoke-interface {p1}, Lcom/google/obf/ak;->a()V

    goto :goto_25

    :catchall_1d
    move-exception v0

    .line 15
    invoke-interface {p1}, Lcom/google/obf/ak;->a()V

    throw v0

    .line 13
    :catch_22
    invoke-interface {p1}, Lcom/google/obf/ak;->a()V

    :goto_25
    add-int/lit8 v2, v2, 0x1

    goto :goto_9

    .line 17
    :cond_28
    :goto_28
    iget-object p1, p0, Lcom/google/obf/am$c;->c:Lcom/google/obf/aj;

    if-eqz p1, :cond_34

    .line 19
    iget-object v0, p0, Lcom/google/obf/am$c;->b:Lcom/google/obf/al;

    invoke-interface {p1, v0}, Lcom/google/obf/aj;->a(Lcom/google/obf/al;)V

    .line 20
    iget-object p1, p0, Lcom/google/obf/am$c;->c:Lcom/google/obf/aj;

    return-object p1

    .line 18
    :cond_34
    new-instance p1, Lcom/google/obf/am$e;

    iget-object v0, p0, Lcom/google/obf/am$c;->a:[Lcom/google/obf/aj;

    invoke-direct {p1, v0}, Lcom/google/obf/am$e;-><init>([Lcom/google/obf/aj;)V

    throw p1
.end method

.method public a()V
    .registers 2

    .line 21
    iget-object v0, p0, Lcom/google/obf/am$c;->c:Lcom/google/obf/aj;

    if-eqz v0, :cond_a

    .line 22
    invoke-interface {v0}, Lcom/google/obf/aj;->c()V

    const/4 v0, 0x0

    .line 23
    iput-object v0, p0, Lcom/google/obf/am$c;->c:Lcom/google/obf/aj;

    :cond_a
    return-void
.end method