package defpackage;

import android.view.MenuItem;
import androidx.leanback.widget.HorizontalGridView;

/* JADX INFO: renamed from: ˀˋᵭ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class C0548 implements InterfaceC1272, InterfaceC0251, InterfaceC2087, InterfaceC1633 {

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public final /* synthetic */ int f2788;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public final /* synthetic */ Object f2789;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public final /* synthetic */ Object f2790;

    public /* synthetic */ C0548(int i, C1303 c1303, C1303 c13032) {
        this.f2788 = i;
        this.f2790 = c1303;
        this.f2789 = c13032;
    }

    public /* synthetic */ C0548(Object obj, int i, Object obj2) {
        this.f2790 = obj;
        this.f2789 = obj2;
        this.f2788 = i;
    }

    public /* synthetic */ C0548(InterfaceC3822 interfaceC3822, int i, InterfaceC0321 interfaceC0321) {
        this.f2790 = interfaceC3822;
        this.f2788 = i;
        this.f2789 = interfaceC0321;
    }

    @Override // defpackage.InterfaceC2087
    public boolean onMenuItemClick(MenuItem menuItem) {
        ᵽʣᵛᵽ r0 = (ᵽʣᵛᵽ) this.f2790;
        ᵱᵖˁ r1 = (ᵱᵖˁ) this.f2789;
        int i = this.f2788;
        InterfaceC1073[] interfaceC1073Arr = ᵽʣᵛᵽ.ᵿᵲᵻ;
        if (!ᵕᵛ.ᵲᵶᵳˈ) {
            r0.ᵖᵷᵳᵮ(true);
            ˌᵨʽʙ.ᵬᵦˋ(r0);
            return false;
        }
        if (menuItem.getItemId() != 1) {
            return false;
        }
        ᵖˎˌᵛ adapter = ((HorizontalGridView) r1.ᵵᵽ).getAdapter();
        ᵖˎˌᵛ r7 = adapter instanceof ᵖˎˌᵛ ? adapter : null;
        ᵢˇᵭ r6 = r7 != null ? r7.ᵱʡˏ(i) : null;
        ˉᵟᵯ r62 = r6 instanceof ˉᵟᵯ ? (ˉᵟᵯ) r6 : null;
        if (r62 != null) {
            ᵲᵧˇ.ᵱʡˏ(ᵕᵛ.ˈⁱᵡ(r0), (InterfaceC3822) null, 0, new ᵡᵥ(r0, r62, (InterfaceC2643) null, 5), 3);
        }
        return true;
    }

    @Override // defpackage.InterfaceC1272
    /* JADX INFO: renamed from: ʽˈˋ */
    public void mo1072(Object obj) {
        C1303 c1303 = (C1303) this.f2790;
        C1303 c13032 = (C1303) this.f2789;
        InterfaceC0623 interfaceC0623 = (InterfaceC0623) obj;
        interfaceC0623.getClass();
        interfaceC0623.mo2265(this.f2788, c1303, c13032);
    }

    @Override // defpackage.InterfaceC1633
    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public Object mo2135() {
        C3420 c3420 = (C3420) this.f2790;
        ((ᵯᵨᵲ) c3420.f13171).ᵗᵭ((C3147) this.f2789, this.f2788 + 1, false);
        return null;
    }

    @Override // defpackage.InterfaceC0251
    /* JADX INFO: renamed from: ᵷᵺʾᵖ */
    public Object mo1464(C3394 c3394) {
        InterfaceC3822 interfaceC3822 = (InterfaceC3822) this.f2790;
        InterfaceC0321 interfaceC0321 = (InterfaceC0321) this.f2789;
        RunnableC4972 runnableC4972 = new RunnableC4972(0, (InterfaceC4645) interfaceC3822.mo2664(C3664.f13909));
        C4764 c4764 = c3394.f13083;
        if (c4764 != null) {
            c4764.mo834(runnableC4972, EnumC5134.f19304);
        }
        return ᵲᵧˇ.ᵱʡˏ(ˋˀᵧ.ᵲᵶᵳˈ(interfaceC3822), (InterfaceC3822) null, this.f2788, new ʽᵦᵺ(interfaceC0321, c3394, (InterfaceC2643) null, 0), 1);
    }
}
