.class public Lj2/a;
.super Lu2/b;
.source ""

# interfaces
.implements Lv2/c;


# instance fields
.field public v:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lv2/d;",
            ">;"
        }
    .end annotation
.end field


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

    invoke-direct {p0}, Lu2/b;-><init>()V

    return-void
.end method


# virtual methods
.method public A(Lw2/i;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .registers 4

    new-instance p2, Ljava/util/ArrayList;

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

    iput-object p2, p0, Lj2/a;->v:Ljava/util/List;

    .line 1
    iget-object p2, p1, Lw2/i;->z:Ljava/util/List;

    invoke-interface {p2, p0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_29

    new-instance p2, Ljava/lang/StringBuilder;

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

    const-string p3, "InPlayListener "

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

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

    const-string p3, " has been already registered"

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

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

    move-result-object p2

    invoke-virtual {p1, p2}, Lc3/d;->w(Ljava/lang/String;)V

    goto :goto_2e

    :cond_29
    iget-object p1, p1, Lw2/i;->z:Ljava/util/List;

    invoke-interface {p1, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_2e
    return-void
.end method

.method public C(Lw2/i;Ljava/lang/String;)V
    .registers 4

    .line 1
    iget-object p2, p1, Lw2/i;->z:Ljava/util/List;

    invoke-interface {p2, p0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 2
    invoke-virtual {p1}, Lw2/i;->C()Ljava/lang/Object;

    move-result-object p2

    instance-of v0, p2, Lj2/b;

    if-eqz v0, :cond_24

    check-cast p2, Lj2/b;

    .line 3
    new-instance v0, Ljava/util/HashMap;

    iget-object p1, p1, Lw2/i;->x:Ljava/util/Map;

    invoke-direct {v0, p1}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V

    .line 4
    iget-object p1, p0, Lj2/a;->v:Ljava/util/List;

    invoke-static {p2}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 5
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result p2

    const/4 v0, 0x1

    sub-int/2addr p2, v0

    invoke-interface {p1, v0, p2}, Ljava/util/List;->subList(II)Ljava/util/List;

    :cond_24
    return-void
.end method

.method public m(Lv2/d;)V
    .registers 3

    iget-object v0, p0, Lj2/a;->v:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method
