package o;

import android.view.MenuItem;
import androidx.appcompat.widget.Toolbar;
import java.util.Iterator;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Mf0 implements InterfaceC1728l1, AO {
    public final /* synthetic */ Toolbar l;

    public /* synthetic */ Mf0(Toolbar toolbar) {
        this.l = toolbar;
    }

    @Override // o.AO
    public boolean l(CO co, MenuItem menuItem) {
        return false;
    }

    @Override // o.AO
    public void s(CO co) {
        Toolbar toolbar = this.l;
        C1444i1 c1444i1 = toolbar.l.E;
        if (c1444i1 == null || !c1444i1.h()) {
            Iterator it = toolbar.R.b.iterator();
            while (it.hasNext()) {
                ((C0698aC) ((InterfaceC1189fP) it.next())).a.s(co);
            }
        }
        Sf0 sf0 = toolbar.c0;
        if (sf0 != null) {
            sf0.s(co);
        }
    }
}
