package J0;

import android.os.SystemClock;
import android.view.MotionEvent;
import w4.C3137A;

/* JADX INFO: renamed from: J0.u, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0386u extends kotlin.jvm.internal.p implements J4.a {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f3070a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ A f3071b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C0386u(A a6, int i6) {
        super(0);
        this.f3070a = i6;
        this.f3071b = a6;
    }

    @Override // J4.a
    public final Object invoke() {
        int actionMasked;
        switch (this.f3070a) {
            case 0:
                return O.h(this.f3071b);
            case 1:
                A a6 = this.f3071b;
                MotionEvent motionEvent = a6.f2773x0;
                if (motionEvent != null && ((actionMasked = motionEvent.getActionMasked()) == 7 || actionMasked == 9)) {
                    a6.f2775y0 = SystemClock.uptimeMillis();
                    a6.post(a6.f2708D0);
                }
                return C3137A.f25453a;
            default:
                return this.f3071b.get_viewTreeOwners();
        }
    }
}
