package u5;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import com.google.android.flexbox.FlexboxLayout;
import com.martsnew.tv.R;
import com.martsnew.tv.customviews.TvButton;

/* JADX INFO: renamed from: u5.f, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C1622f extends AbstractC1620e {

    /* JADX INFO: renamed from: O, reason: collision with root package name */
    public static final SparseIntArray f17721O;

    /* JADX INFO: renamed from: N, reason: collision with root package name */
    public long f17722N;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        f17721O = sparseIntArray;
        sparseIntArray.put(R.id.layoutGenres, 1);
        sparseIntArray.put(R.id.buttonCancel, 2);
    }

    /* JADX WARN: Illegal instructions before constructor call */
    public C1622f(View view) {
        Object[] objArrI = U.g.I(view, 3, null, f17721O);
        super(null, view, (TvButton) objArrI[2], (FlexboxLayout) objArrI[1]);
        this.f17722N = -1L;
        ((LinearLayout) objArrI[0]).setTag(null);
        L(view);
        G();
    }

    @Override // U.g
    public final void C() {
        synchronized (this) {
            this.f17722N = 0L;
        }
    }

    @Override // U.g
    public final boolean F() {
        synchronized (this) {
            try {
                return this.f17722N != 0;
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    @Override // U.g
    public final void G() {
        synchronized (this) {
            this.f17722N = 1L;
        }
        J();
    }
}
