.class public final Lf/h$j;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Landroidx/appcompat/view/menu/i$a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lf/h;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "j"
.end annotation


# instance fields
.field public final synthetic r:Lf/h;


# direct methods
.method public constructor <init>(Lf/h;)V
    .registers 2

    iput-object p1, p0, Lf/h$j;->r:Lf/h;

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

    return-void
.end method


# virtual methods
.method public a(Landroidx/appcompat/view/menu/e;Z)V
    .registers 7

    invoke-virtual {p1}, Landroidx/appcompat/view/menu/e;->k()Landroidx/appcompat/view/menu/e;

    move-result-object v0

    const/4 v1, 0x1

    if-eq v0, p1, :cond_9

    move v2, v1

    goto :goto_a

    :cond_9
    const/4 v2, 0x0

    :goto_a
    iget-object v3, p0, Lf/h$j;->r:Lf/h;

    if-eqz v2, :cond_f

    move-object p1, v0

    :cond_f
    invoke-virtual {v3, p1}, Lf/h;->L(Landroid/view/Menu;)Lf/h$i;

    move-result-object p1

    if-eqz p1, :cond_29

    if-eqz v2, :cond_24

    iget-object p2, p0, Lf/h$j;->r:Lf/h;

    iget v2, p1, Lf/h$i;->a:I

    invoke-virtual {p2, v2, p1, v0}, Lf/h;->C(ILf/h$i;Landroid/view/Menu;)V

    iget-object p2, p0, Lf/h$j;->r:Lf/h;

    invoke-virtual {p2, p1, v1}, Lf/h;->E(Lf/h$i;Z)V

    goto :goto_29

    :cond_24
    iget-object v0, p0, Lf/h$j;->r:Lf/h;

    invoke-virtual {v0, p1, p2}, Lf/h;->E(Lf/h$i;Z)V

    :cond_29
    :goto_29
    return-void
.end method

.method public b(Landroidx/appcompat/view/menu/e;)Z
    .registers 4

    invoke-virtual {p1}, Landroidx/appcompat/view/menu/e;->k()Landroidx/appcompat/view/menu/e;

    move-result-object v0

    if-ne p1, v0, :cond_1d

    iget-object v0, p0, Lf/h$j;->r:Lf/h;

    iget-boolean v1, v0, Lf/h;->P:Z

    if-eqz v1, :cond_1d

    invoke-virtual {v0}, Lf/h;->O()Landroid/view/Window$Callback;

    move-result-object v0

    if-eqz v0, :cond_1d

    iget-object v1, p0, Lf/h$j;->r:Lf/h;

    iget-boolean v1, v1, Lf/h;->a0:Z

    if-nez v1, :cond_1d

    const/16 v1, 0x6c

    invoke-interface {v0, v1, p1}, Landroid/view/Window$Callback;->onMenuOpened(ILandroid/view/Menu;)Z

    :cond_1d
    const/4 p1, 0x1

    return p1
.end method
