private boolean onKeyUpPanel(int p6, android.view.KeyEvent p7)
    {
        if (this.mActionMode == null) {
            boolean v0_1 = 0;
            android.support.v7.app.AppCompatDelegateImplV9$PanelFeatureState v3 = this.getPanelState(p6, 1);
            if ((p6 != 0) || ((this.mDecorContentParent == null) || ((!this.mDecorContentParent.canShowOverflowMenu()) || (android.view.ViewConfiguration.get(this.mContext).hasPermanentMenuKey())))) {
                if ((!v3.isOpen) && (!v3.isHandled)) {
                    if (v3.isPrepared) {
                        android.support.v7.widget.DecorContentParent v2_1 = 1;
                        if (v3.refreshMenuContent) {
                            v3.isPrepared = 0;
                            v2_1 = this.preparePanel(v3, p7);
                        }
                        if (v2_1 != null) {
                            this.openPanel(v3, p7);
                            v0_1 = 1;
                        }
                    }
                } else {
                    v0_1 = v3.isOpen;
                    this.closePanel(v3, 1);
                }
            } else {
                if (this.mDecorContentParent.isOverflowMenuShowing()) {
                    v0_1 = this.mDecorContentParent.hideOverflowMenu();
                } else {
                    if ((!this.isDestroyed()) && (this.preparePanel(v3, p7))) {
                        v0_1 = this.mDecorContentParent.showOverflowMenu();
                    }
                }
            }
            if (v0_1) {
                android.support.v7.widget.DecorContentParent v2_11 = ((android.media.AudioManager) this.mContext.getSystemService(audio));
                if (v2_11 == null) {
                    android.util.Log.w(AppCompatDelegate, Couldn't get audio manager);
                } else {
                    v2_11.playSoundEffect(0);
                }
            }
            return v0_1;
        } else {
            return 0;
        }
    }