package o;

import android.view.accessibility.AccessibilityEvent;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.x3, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2871x3 extends AbstractC0706aK implements OC {
    public final /* synthetic */ int m;
    public final /* synthetic */ C2966y3 n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C2871x3(C2966y3 c2966y3, int i) {
        super(1);
        this.m = i;
        this.n = c2966y3;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.m) {
            case 0:
                C2966y3 c2966y3 = this.n;
                return Boolean.valueOf(c2966y3.d.getParent().requestSendAccessibilityEvent(c2966y3.d, (AccessibilityEvent) obj));
            default:
                W40 w40 = (W40) obj;
                if (w40.m.contains(w40)) {
                    C2966y3 c2966y32 = this.n;
                    c2966y32.d.getSnapshotObserver().a(w40, c2966y32.P, new C1352h3(1, w40, c2966y32));
                }
                return Oh0.a;
        }
    }
}
