.class public Lf/h$d;
.super Lj/h;
.source ""


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

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "d"
.end annotation


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


# direct methods
.method public constructor <init>(Lf/h;Landroid/view/Window$Callback;)V
    .registers 3

    iput-object p1, p0, Lf/h$d;->s:Lf/h;

    invoke-direct {p0, p2}, Lj/h;-><init>(Landroid/view/Window$Callback;)V

    return-void
.end method


# virtual methods
.method public final a(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;
    .registers 11

    new-instance v0, Lj/e$a;

    iget-object v1, p0, Lf/h$d;->s:Lf/h;

    iget-object v1, v1, Lf/h;->u:Landroid/content/Context;

    invoke-direct {v0, v1, p1}, Lj/e$a;-><init>(Landroid/content/Context;Landroid/view/ActionMode$Callback;)V

    iget-object p1, p0, Lf/h$d;->s:Lf/h;

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

    .line 1
    iget-object v1, p1, Lf/h;->E:Lj/a;

    if-eqz v1, :cond_15

    invoke-virtual {v1}, Lj/a;->c()V

    :cond_15
    new-instance v1, Lf/h$c;

    invoke-direct {v1, p1, v0}, Lf/h$c;-><init>(Lf/h;Lj/a$a;)V

    .line 2
    invoke-virtual {p1}, Lf/h;->P()V

    iget-object v2, p1, Lf/h;->y:Lf/a;

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x0

    if-eqz v2, :cond_78

    .line 3
    check-cast v2, Lf/s;

    .line 4
    iget-object v6, v2, Lf/s;->i:Lf/s$d;

    if-eqz v6, :cond_2d

    invoke-virtual {v6}, Lf/s$d;->c()V

    :cond_2d
    iget-object v6, v2, Lf/s;->c:Landroidx/appcompat/widget/ActionBarOverlayLayout;

    invoke-virtual {v6, v4}, Landroidx/appcompat/widget/ActionBarOverlayLayout;->setHideOnContentScrollEnabled(Z)V

    iget-object v6, v2, Lf/s;->f:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v6}, Landroidx/appcompat/widget/ActionBarContextView;->h()V

    new-instance v6, Lf/s$d;

    iget-object v7, v2, Lf/s;->f:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v7}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v7

    invoke-direct {v6, v2, v7, v1}, Lf/s$d;-><init>(Lf/s;Landroid/content/Context;Lj/a$a;)V

    .line 5
    iget-object v7, v6, Lf/s$d;->u:Landroidx/appcompat/view/menu/e;

    invoke-virtual {v7}, Landroidx/appcompat/view/menu/e;->y()V

    :try_start_47
    iget-object v7, v6, Lf/s$d;->v:Lj/a$a;

    iget-object v8, v6, Lf/s$d;->u:Landroidx/appcompat/view/menu/e;

    invoke-interface {v7, v6, v8}, Lj/a$a;->b(Lj/a;Landroid/view/Menu;)Z

    move-result v7
    :try_end_4f
    .catchall {:try_start_47 .. :try_end_4f} :catchall_71

    iget-object v8, v6, Lf/s$d;->u:Landroidx/appcompat/view/menu/e;

    invoke-virtual {v8}, Landroidx/appcompat/view/menu/e;->x()V

    if-eqz v7, :cond_64

    .line 6
    iput-object v6, v2, Lf/s;->i:Lf/s$d;

    invoke-virtual {v6}, Lf/s$d;->i()V

    iget-object v7, v2, Lf/s;->f:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v7, v6}, Landroidx/appcompat/widget/ActionBarContextView;->f(Lj/a;)V

    invoke-virtual {v2, v3}, Lf/s;->d(Z)V

    goto :goto_65

    :cond_64
    move-object v6, v5

    .line 7
    :goto_65
    iput-object v6, p1, Lf/h;->E:Lj/a;

    if-eqz v6, :cond_78

    iget-object v2, p1, Lf/h;->x:Lf/f;

    if-eqz v2, :cond_78

    invoke-interface {v2, v6}, Lf/f;->j(Lj/a;)V

    goto :goto_78

    :catchall_71
    move-exception p1

    .line 8
    iget-object v0, v6, Lf/s$d;->u:Landroidx/appcompat/view/menu/e;

    invoke-virtual {v0}, Landroidx/appcompat/view/menu/e;->x()V

    throw p1

    .line 9
    :cond_78
    :goto_78
    iget-object v2, p1, Lf/h;->E:Lj/a;

    if-nez v2, :cond_1f3

    .line 10
    invoke-virtual {p1}, Lf/h;->I()V

    iget-object v2, p1, Lf/h;->E:Lj/a;

    if-eqz v2, :cond_86

    invoke-virtual {v2}, Lj/a;->c()V

    :cond_86
    iget-object v2, p1, Lf/h;->x:Lf/f;

    if-eqz v2, :cond_93

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

    if-nez v6, :cond_93

    :try_start_8e
    invoke-interface {v2, v1}, Lf/f;->h(Lj/a$a;)Lj/a;

    move-result-object v2
    :try_end_92
    .catch Ljava/lang/AbstractMethodError; {:try_start_8e .. :try_end_92} :catch_93

    goto :goto_94

    :catch_93
    :cond_93
    move-object v2, v5

    :goto_94
    if-eqz v2, :cond_9a

    iput-object v2, p1, Lf/h;->E:Lj/a;

    goto/16 :goto_1e4

    :cond_9a
    iget-object v2, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    if-nez v2, :cond_154

    iget-boolean v2, p1, Lf/h;->S:Z

    if-eqz v2, :cond_127

    new-instance v2, Landroid/util/TypedValue;

    invoke-direct {v2}, Landroid/util/TypedValue;-><init>()V

    iget-object v6, p1, Lf/h;->u:Landroid/content/Context;

    invoke-virtual {v6}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;

    move-result-object v6

    const v7, 0x7f04000b

    invoke-virtual {v6, v7, v2, v3}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z

    iget v7, v2, Landroid/util/TypedValue;->resourceId:I

    if-eqz v7, :cond_d8

    iget-object v7, p1, Lf/h;->u:Landroid/content/Context;

    invoke-virtual {v7}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v7

    invoke-virtual {v7}, Landroid/content/res/Resources;->newTheme()Landroid/content/res/Resources$Theme;

    move-result-object v7

    invoke-virtual {v7, v6}, Landroid/content/res/Resources$Theme;->setTo(Landroid/content/res/Resources$Theme;)V

    iget v6, v2, Landroid/util/TypedValue;->resourceId:I

    invoke-virtual {v7, v6, v3}, Landroid/content/res/Resources$Theme;->applyStyle(IZ)V

    new-instance v6, Lj/c;

    iget-object v8, p1, Lf/h;->u:Landroid/content/Context;

    invoke-direct {v6, v8, v4}, Lj/c;-><init>(Landroid/content/Context;I)V

    invoke-virtual {v6}, Lj/c;->getTheme()Landroid/content/res/Resources$Theme;

    move-result-object v8

    invoke-virtual {v8, v7}, Landroid/content/res/Resources$Theme;->setTo(Landroid/content/res/Resources$Theme;)V

    goto :goto_da

    :cond_d8
    iget-object v6, p1, Lf/h;->u:Landroid/content/Context;

    :goto_da
    new-instance v7, Landroidx/appcompat/widget/ActionBarContextView;

    .line 11
    invoke-direct {v7, v6, v5}, Landroidx/appcompat/widget/ActionBarContextView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 12
    iput-object v7, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    new-instance v7, Landroid/widget/PopupWindow;

    const v8, 0x7f04001a

    invoke-direct {v7, v6, v5, v8}, Landroid/widget/PopupWindow;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    iput-object v7, p1, Lf/h;->G:Landroid/widget/PopupWindow;

    const/4 v8, 0x2

    .line 13
    invoke-static {v7, v8}, Lo0/f;->d(Landroid/widget/PopupWindow;I)V

    .line 14
    iget-object v7, p1, Lf/h;->G:Landroid/widget/PopupWindow;

    iget-object v8, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v7, v8}, Landroid/widget/PopupWindow;->setContentView(Landroid/view/View;)V

    iget-object v7, p1, Lf/h;->G:Landroid/widget/PopupWindow;

    const/4 v8, -0x1

    invoke-virtual {v7, v8}, Landroid/widget/PopupWindow;->setWidth(I)V

    invoke-virtual {v6}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;

    move-result-object v7

    const v8, 0x7f040005

    invoke-virtual {v7, v8, v2, v3}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z

    iget v2, v2, Landroid/util/TypedValue;->data:I

    invoke-virtual {v6}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    invoke-virtual {v6}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v6

    invoke-static {v2, v6}, Landroid/util/TypedValue;->complexToDimensionPixelSize(ILandroid/util/DisplayMetrics;)I

    move-result v2

    iget-object v6, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v6, v2}, Landroidx/appcompat/widget/ActionBarContextView;->setContentHeight(I)V

    iget-object v2, p1, Lf/h;->G:Landroid/widget/PopupWindow;

    const/4 v6, -0x2

    invoke-virtual {v2, v6}, Landroid/widget/PopupWindow;->setHeight(I)V

    new-instance v2, Lf/k;

    invoke-direct {v2, p1}, Lf/k;-><init>(Lf/h;)V

    iput-object v2, p1, Lf/h;->H:Ljava/lang/Runnable;

    goto :goto_154

    :cond_127
    iget-object v2, p1, Lf/h;->K:Landroid/view/ViewGroup;

    const v6, 0x7f0a0041

    invoke-virtual {v2, v6}, Landroid/view/ViewGroup;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroidx/appcompat/widget/ViewStubCompat;

    if-eqz v2, :cond_154

    .line 15
    invoke-virtual {p1}, Lf/h;->P()V

    iget-object v6, p1, Lf/h;->y:Lf/a;

    if-eqz v6, :cond_140

    .line 16
    invoke-virtual {v6}, Lf/a;->b()Landroid/content/Context;

    move-result-object v6

    goto :goto_141

    :cond_140
    move-object v6, v5

    :goto_141
    if-nez v6, :cond_145

    iget-object v6, p1, Lf/h;->u:Landroid/content/Context;

    .line 17
    :cond_145
    invoke-static {v6}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v6

    invoke-virtual {v2, v6}, Landroidx/appcompat/widget/ViewStubCompat;->setLayoutInflater(Landroid/view/LayoutInflater;)V

    invoke-virtual {v2}, Landroidx/appcompat/widget/ViewStubCompat;->a()Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroidx/appcompat/widget/ActionBarContextView;

    iput-object v2, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    :cond_154
    :goto_154
    iget-object v2, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    if-eqz v2, :cond_1e4

    invoke-virtual {p1}, Lf/h;->I()V

    iget-object v2, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v2}, Landroidx/appcompat/widget/ActionBarContextView;->h()V

    new-instance v2, Lj/d;

    iget-object v6, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v6}, Landroid/view/ViewGroup;->getContext()Landroid/content/Context;

    move-result-object v6

    iget-object v7, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    iget-object v8, p1, Lf/h;->G:Landroid/widget/PopupWindow;

    if-nez v8, :cond_16f

    goto :goto_170

    :cond_16f
    move v3, v4

    :goto_170
    invoke-direct {v2, v6, v7, v1, v3}, Lj/d;-><init>(Landroid/content/Context;Landroidx/appcompat/widget/ActionBarContextView;Lj/a$a;Z)V

    .line 18
    iget-object v3, v2, Lj/d;->y:Landroidx/appcompat/view/menu/e;

    .line 19
    invoke-virtual {v1, v2, v3}, Lf/h$c;->b(Lj/a;Landroid/view/Menu;)Z

    move-result v1

    if-eqz v1, :cond_1e2

    invoke-virtual {v2}, Lj/d;->i()V

    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v1, v2}, Landroidx/appcompat/widget/ActionBarContextView;->f(Lj/a;)V

    iput-object v2, p1, Lf/h;->E:Lj/a;

    invoke-virtual {p1}, Lf/h;->V()Z

    move-result v1

    const/high16 v2, 0x3f800000    # 1.0f

    if-eqz v1, :cond_1b1

    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    const/4 v3, 0x0

    invoke-virtual {v1, v3}, Landroid/view/ViewGroup;->setAlpha(F)V

    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-static {v1}, Ll0/u;->b(Landroid/view/View;)Ll0/x;

    move-result-object v1

    invoke-virtual {v1, v2}, Ll0/x;->a(F)Ll0/x;

    iput-object v1, p1, Lf/h;->I:Ll0/x;

    new-instance v2, Lf/l;

    invoke-direct {v2, p1}, Lf/l;-><init>(Lf/h;)V

    .line 20
    iget-object v3, v1, Ll0/x;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v3}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Landroid/view/View;

    if-eqz v3, :cond_1d2

    invoke-virtual {v1, v3, v2}, Ll0/x;->e(Landroid/view/View;Ll0/y;)V

    goto :goto_1d2

    .line 21
    :cond_1b1
    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v1, v2}, Landroid/view/ViewGroup;->setAlpha(F)V

    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v1, v4}, Landroidx/appcompat/widget/ActionBarContextView;->setVisibility(I)V

    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v1}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    instance-of v1, v1, Landroid/view/View;

    if-eqz v1, :cond_1d2

    iget-object v1, p1, Lf/h;->F:Landroidx/appcompat/widget/ActionBarContextView;

    invoke-virtual {v1}, Landroid/view/ViewGroup;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    check-cast v1, Landroid/view/View;

    sget-object v2, Ll0/u;->a:Ljava/util/WeakHashMap;

    .line 22
    invoke-static {v1}, Ll0/u$h;->c(Landroid/view/View;)V

    .line 23
    :cond_1d2
    :goto_1d2
    iget-object v1, p1, Lf/h;->G:Landroid/widget/PopupWindow;

    if-eqz v1, :cond_1e4

    iget-object v1, p1, Lf/h;->v:Landroid/view/Window;

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    iget-object v2, p1, Lf/h;->H:Ljava/lang/Runnable;

    invoke-virtual {v1, v2}, Landroid/view/View;->post(Ljava/lang/Runnable;)Z

    goto :goto_1e4

    :cond_1e2
    iput-object v5, p1, Lf/h;->E:Lj/a;

    :cond_1e4
    :goto_1e4
    iget-object v1, p1, Lf/h;->E:Lj/a;

    if-eqz v1, :cond_1ef

    iget-object v2, p1, Lf/h;->x:Lf/f;

    if-eqz v2, :cond_1ef

    invoke-interface {v2, v1}, Lf/f;->j(Lj/a;)V

    :cond_1ef
    iget-object v1, p1, Lf/h;->E:Lj/a;

    .line 24
    iput-object v1, p1, Lf/h;->E:Lj/a;

    :cond_1f3
    iget-object p1, p1, Lf/h;->E:Lj/a;

    if-eqz p1, :cond_1fc

    .line 25
    invoke-virtual {v0, p1}, Lj/e$a;->e(Lj/a;)Landroid/view/ActionMode;

    move-result-object p1

    return-object p1

    :cond_1fc
    return-object v5
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .registers 3

    iget-object v0, p0, Lf/h$d;->s:Lf/h;

    invoke-virtual {v0, p1}, Lf/h;->G(Landroid/view/KeyEvent;)Z

    move-result v0

    if-nez v0, :cond_13

    .line 1
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v0, p1}, Landroid/view/Window$Callback;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    if-eqz p1, :cond_11

    goto :goto_13

    :cond_11
    const/4 p1, 0x0

    goto :goto_14

    :cond_13
    :goto_13
    const/4 p1, 0x1

    :goto_14
    return p1
.end method

.method public dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z
    .registers 8

    .line 1
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v0, p1}, Landroid/view/Window$Callback;->dispatchKeyShortcutEvent(Landroid/view/KeyEvent;)Z

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-nez v0, :cond_70

    .line 2
    iget-object v0, p0, Lf/h$d;->s:Lf/h;

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v3

    .line 3
    invoke-virtual {v0}, Lf/h;->P()V

    iget-object v4, v0, Lf/h;->y:Lf/a;

    if-eqz v4, :cond_3f

    .line 4
    check-cast v4, Lf/s;

    .line 5
    iget-object v4, v4, Lf/s;->i:Lf/s$d;

    if-nez v4, :cond_1e

    goto :goto_3b

    .line 6
    :cond_1e
    iget-object v4, v4, Lf/s$d;->u:Landroidx/appcompat/view/menu/e;

    if-eqz v4, :cond_3b

    .line 7
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getDeviceId()I

    move-result v5

    invoke-static {v5}, Landroid/view/KeyCharacterMap;->load(I)Landroid/view/KeyCharacterMap;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/KeyCharacterMap;->getKeyboardType()I

    move-result v5

    if-eq v5, v2, :cond_32

    move v5, v2

    goto :goto_33

    :cond_32
    move v5, v1

    :goto_33
    invoke-interface {v4, v5}, Landroid/view/Menu;->setQwertyMode(Z)V

    invoke-virtual {v4, v3, p1, v1}, Landroidx/appcompat/view/menu/e;->performShortcut(ILandroid/view/KeyEvent;I)Z

    move-result v3

    goto :goto_3c

    :cond_3b
    :goto_3b
    move v3, v1

    :goto_3c
    if-eqz v3, :cond_3f

    goto :goto_6b

    .line 8
    :cond_3f
    iget-object v3, v0, Lf/h;->W:Lf/h$i;

    if-eqz v3, :cond_54

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v4

    invoke-virtual {v0, v3, v4, p1, v2}, Lf/h;->T(Lf/h$i;ILandroid/view/KeyEvent;I)Z

    move-result v3

    if-eqz v3, :cond_54

    iget-object p1, v0, Lf/h;->W:Lf/h$i;

    if-eqz p1, :cond_6b

    iput-boolean v2, p1, Lf/h$i;->l:Z

    goto :goto_6b

    :cond_54
    iget-object v3, v0, Lf/h;->W:Lf/h$i;

    if-nez v3, :cond_6d

    invoke-virtual {v0, v1}, Lf/h;->N(I)Lf/h$i;

    move-result-object v3

    invoke-virtual {v0, v3, p1}, Lf/h;->U(Lf/h$i;Landroid/view/KeyEvent;)Z

    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v4

    invoke-virtual {v0, v3, v4, p1, v2}, Lf/h;->T(Lf/h$i;ILandroid/view/KeyEvent;I)Z

    move-result p1

    iput-boolean v1, v3, Lf/h$i;->k:Z

    if-eqz p1, :cond_6d

    :cond_6b
    :goto_6b
    move p1, v2

    goto :goto_6e

    :cond_6d
    move p1, v1

    :goto_6e
    if-eqz p1, :cond_71

    :cond_70
    move v1, v2

    :cond_71
    return v1
.end method

.method public onContentChanged()V
    .registers 1

    return-void
.end method

.method public onCreatePanelMenu(ILandroid/view/Menu;)Z
    .registers 4

    if-nez p1, :cond_8

    instance-of v0, p2, Landroidx/appcompat/view/menu/e;

    if-nez v0, :cond_8

    const/4 p1, 0x0

    return p1

    .line 1
    :cond_8
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

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

    move-result p1

    return p1
.end method

.method public onCreatePanelView(I)Landroid/view/View;
    .registers 3

    .line 1
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v0, p1}, Landroid/view/Window$Callback;->onCreatePanelView(I)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public onMenuOpened(ILandroid/view/Menu;)Z
    .registers 5

    .line 1
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

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

    .line 2
    iget-object p2, p0, Lf/h$d;->s:Lf/h;

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

    const/16 v0, 0x6c

    const/4 v1, 0x1

    if-ne p1, v0, :cond_19

    .line 3
    invoke-virtual {p2}, Lf/h;->P()V

    iget-object p1, p2, Lf/h;->y:Lf/a;

    if-eqz p1, :cond_19

    .line 4
    invoke-virtual {p1, v1}, Lf/a;->a(Z)V

    :cond_19
    return v1
.end method

.method public onPanelClosed(ILandroid/view/Menu;)V
    .registers 5

    .line 1
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v0, p1, p2}, Landroid/view/Window$Callback;->onPanelClosed(ILandroid/view/Menu;)V

    .line 2
    iget-object p2, p0, Lf/h$d;->s:Lf/h;

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

    const/4 v0, 0x0

    const/16 v1, 0x6c

    if-ne p1, v1, :cond_1a

    .line 3
    invoke-virtual {p2}, Lf/h;->P()V

    iget-object p1, p2, Lf/h;->y:Lf/a;

    if-eqz p1, :cond_27

    .line 4
    invoke-virtual {p1, v0}, Lf/a;->a(Z)V

    goto :goto_27

    :cond_1a
    if-nez p1, :cond_27

    invoke-virtual {p2, p1}, Lf/h;->N(I)Lf/h$i;

    move-result-object p1

    iget-boolean v1, p1, Lf/h$i;->m:Z

    if-eqz v1, :cond_27

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

    :cond_27
    :goto_27
    return-void
.end method

.method public onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z
    .registers 7

    instance-of v0, p3, Landroidx/appcompat/view/menu/e;

    if-eqz v0, :cond_8

    move-object v0, p3

    check-cast v0, Landroidx/appcompat/view/menu/e;

    goto :goto_9

    :cond_8
    const/4 v0, 0x0

    :goto_9
    const/4 v1, 0x0

    if-nez p1, :cond_f

    if-nez v0, :cond_f

    return v1

    :cond_f
    if-eqz v0, :cond_14

    const/4 v2, 0x1

    .line 1
    iput-boolean v2, v0, Landroidx/appcompat/view/menu/e;->x:Z

    .line 2
    :cond_14
    iget-object v2, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v2, p1, p2, p3}, Landroid/view/Window$Callback;->onPreparePanel(ILandroid/view/View;Landroid/view/Menu;)Z

    move-result p1

    if-eqz v0, :cond_1e

    .line 3
    iput-boolean v1, v0, Landroidx/appcompat/view/menu/e;->x:Z

    :cond_1e
    return p1
.end method

.method public onProvideKeyboardShortcuts(Ljava/util/List;Landroid/view/Menu;I)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Landroid/view/KeyboardShortcutGroup;",
            ">;",
            "Landroid/view/Menu;",
            "I)V"
        }
    .end annotation

    iget-object v0, p0, Lf/h$d;->s:Lf/h;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lf/h;->N(I)Lf/h$i;

    move-result-object v0

    iget-object v0, v0, Lf/h$i;->h:Landroidx/appcompat/view/menu/e;

    if-eqz v0, :cond_11

    .line 1
    iget-object p2, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {p2, p1, v0, p3}, Landroid/view/Window$Callback;->onProvideKeyboardShortcuts(Ljava/util/List;Landroid/view/Menu;I)V

    goto :goto_16

    :cond_11
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v0, p1, p2, p3}, Landroid/view/Window$Callback;->onProvideKeyboardShortcuts(Ljava/util/List;Landroid/view/Menu;I)V

    :goto_16
    return-void
.end method

.method public onWindowStartingActionMode(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;
    .registers 2

    const/4 p1, 0x0

    return-object p1
.end method

.method public onWindowStartingActionMode(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
    .registers 4

    iget-object v0, p0, Lf/h$d;->s:Lf/h;

    .line 1
    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    if-eqz p2, :cond_e

    .line 2
    iget-object v0, p0, Lj/h;->r:Landroid/view/Window$Callback;

    invoke-interface {v0, p1, p2}, Landroid/view/Window$Callback;->onWindowStartingActionMode(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;

    move-result-object p1

    return-object p1

    .line 3
    :cond_e
    invoke-virtual {p0, p1}, Lf/h$d;->a(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;

    move-result-object p1

    return-object p1
.end method
