package J0;

import android.os.Handler;
import android.os.Looper;
import n0.C2605f;
import w4.C3137A;

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

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

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

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

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f3064a) {
            case 0:
                ((n0.o) this.f3065b.getFocusOwner()).h(((C2605f) obj).f21520a, false);
                return C3137A.f25453a;
            case 1:
                J4.a aVar = (J4.a) obj;
                A a6 = this.f3065b;
                a6.getUncaughtExceptionHandler$ui();
                Handler handler = a6.getHandler();
                if ((handler != null ? handler.getLooper() : null) == Looper.myLooper()) {
                    aVar.invoke();
                } else {
                    Handler handler2 = a6.getHandler();
                    if (handler2 != null) {
                        handler2.post(new RunnableC0394y(aVar, 0));
                    }
                }
                return C3137A.f25453a;
            default:
                A a7 = this.f3065b;
                return new X(a7, a7.getTextInputService(), (V4.C) obj);
        }
    }
}
