.class public abstract Lk/b;
.super Ljava/lang/Object;
.source ""


# instance fields
.field public final a:Ljava/lang/Object;

.field public b:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lr/h<",
            "Lg0/b;",
            "Landroid/view/MenuItem;",
            ">;"
        }
    .end annotation
.end field

.field public c:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lr/h<",
            "Lg0/c;",
            "Landroid/view/SubMenu;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

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

    iput-object p1, p0, Lk/b;->a:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public c(Landroid/view/MenuItem;)Landroid/view/MenuItem;
    .registers 5

    instance-of v0, p1, Lg0/b;

    if-eqz v0, :cond_31

    move-object v0, p1

    check-cast v0, Lg0/b;

    iget-object v1, p0, Lk/b;->b:Ljava/lang/Object;

    check-cast v1, Lr/h;

    if-nez v1, :cond_14

    new-instance v1, Lr/h;

    invoke-direct {v1}, Lr/h;-><init>()V

    iput-object v1, p0, Lk/b;->b:Ljava/lang/Object;

    :cond_14
    iget-object v1, p0, Lk/b;->b:Ljava/lang/Object;

    check-cast v1, Lr/h;

    const/4 v2, 0x0

    .line 1
    invoke-virtual {v1, p1, v2}, Lr/h;->getOrDefault(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    .line 2
    check-cast p1, Landroid/view/MenuItem;

    if-nez p1, :cond_31

    new-instance p1, Lk/c;

    iget-object v1, p0, Lk/b;->a:Ljava/lang/Object;

    check-cast v1, Landroid/content/Context;

    invoke-direct {p1, v1, v0}, Lk/c;-><init>(Landroid/content/Context;Lg0/b;)V

    iget-object v1, p0, Lk/b;->b:Ljava/lang/Object;

    check-cast v1, Lr/h;

    invoke-virtual {v1, v0, p1}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_31
    return-object p1
.end method

.method public d(Landroid/view/SubMenu;)Landroid/view/SubMenu;
    .registers 4

    instance-of v0, p1, Lg0/c;

    if-eqz v0, :cond_30

    check-cast p1, Lg0/c;

    iget-object v0, p0, Lk/b;->c:Ljava/lang/Object;

    check-cast v0, Lr/h;

    if-nez v0, :cond_13

    new-instance v0, Lr/h;

    invoke-direct {v0}, Lr/h;-><init>()V

    iput-object v0, p0, Lk/b;->c:Ljava/lang/Object;

    :cond_13
    iget-object v0, p0, Lk/b;->c:Ljava/lang/Object;

    check-cast v0, Lr/h;

    invoke-virtual {v0, p1}, Lr/h;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/SubMenu;

    if-nez v0, :cond_2f

    new-instance v0, Lk/g;

    iget-object v1, p0, Lk/b;->a:Ljava/lang/Object;

    check-cast v1, Landroid/content/Context;

    invoke-direct {v0, v1, p1}, Lk/g;-><init>(Landroid/content/Context;Lg0/c;)V

    iget-object v1, p0, Lk/b;->c:Ljava/lang/Object;

    check-cast v1, Lr/h;

    invoke-virtual {v1, p1, v0}, Lr/h;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_2f
    return-object v0

    :cond_30
    return-object p1
.end method
