package n0;

import G0.InterfaceC0252e;
import I0.AbstractC0303l;
import e.C1950d;
import o0.C2632c;

/* JADX INFO: loaded from: classes.dex */
public final class G extends kotlin.jvm.internal.p implements J4.c {

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ E f21507c;

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

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ C1950d f21509e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ Object f21510f;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ G(E e6, E e7, Object obj, int i6, C1950d c1950d, int i7) {
        super(1);
        this.f21505a = i7;
        this.f21506b = e6;
        this.f21507c = e7;
        this.f21510f = obj;
        this.f21508d = i6;
        this.f21509e = c1950d;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f21505a) {
            case 0:
                InterfaceC0252e interfaceC0252e = (InterfaceC0252e) obj;
                E e6 = this.f21507c;
                if (this.f21506b != ((o) ((J0.A) AbstractC0303l.u(e6)).getFocusOwner()).g()) {
                    return Boolean.TRUE;
                }
                boolean zD = AbstractC2603d.D(e6, (E) this.f21510f, this.f21508d, this.f21509e);
                Boolean boolValueOf = Boolean.valueOf(zD);
                if (zD || !interfaceC0252e.a()) {
                    return boolValueOf;
                }
                return null;
            default:
                InterfaceC0252e interfaceC0252e2 = (InterfaceC0252e) obj;
                E e7 = this.f21507c;
                if (this.f21506b != ((o) ((J0.A) AbstractC0303l.u(e7)).getFocusOwner()).g()) {
                    return Boolean.TRUE;
                }
                boolean zC = AbstractC2603d.C(this.f21508d, this.f21509e, e7, (C2632c) this.f21510f);
                Boolean boolValueOf2 = Boolean.valueOf(zC);
                if (zC || !interfaceC0252e2.a()) {
                    return boolValueOf2;
                }
                return null;
        }
    }
}
