package d3;

import java.util.List;
import w4.C3137A;
import x4.AbstractC3252r;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class I1 implements J4.c {

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

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

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

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

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ n0.x f15151f;

    public /* synthetic */ I1(int i6, List list, List list2, List list3, n0.x xVar) {
        this.f15147b = i6;
        this.f15148c = list;
        this.f15149d = list2;
        this.f15150e = list3;
        this.f15151f = xVar;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        n0.q focusProperties = (n0.q) obj;
        switch (this.f15146a) {
            case 0:
                kotlin.jvm.internal.o.h(focusProperties, "$this$focusProperties");
                int i6 = this.f15147b;
                List list = this.f15148c;
                focusProperties.i((n0.x) (i6 == 0 ? list.get(i6) : list.get(i6 - 1)));
                focusProperties.b((n0.x) (i6 == AbstractC3252r.A(this.f15149d) ? list.get(i6) : list.get(i6 + 1)));
                focusProperties.e(this.f15151f);
                List list2 = this.f15150e;
                int iA = AbstractC3252r.A(list2);
                if (i6 > iA) {
                    i6 = iA;
                }
                focusProperties.g((n0.x) list2.get(i6));
                break;
            default:
                kotlin.jvm.internal.o.h(focusProperties, "$this$focusProperties");
                int i7 = this.f15147b;
                List list3 = this.f15148c;
                focusProperties.i((n0.x) (i7 == 0 ? list3.get(i7) : list3.get(i7 - 1)));
                focusProperties.b((n0.x) (i7 == AbstractC3252r.A(this.f15149d) ? list3.get(i7) : list3.get(i7 + 1)));
                List list4 = this.f15150e;
                int iA2 = AbstractC3252r.A(list4);
                if (i7 > iA2) {
                    i7 = iA2;
                }
                focusProperties.e((n0.x) list4.get(i7));
                focusProperties.g(this.f15151f);
                break;
        }
        return C3137A.f25453a;
    }

    public /* synthetic */ I1(int i6, List list, List list2, n0.x xVar, List list3) {
        this.f15147b = i6;
        this.f15148c = list;
        this.f15149d = list2;
        this.f15151f = xVar;
        this.f15150e = list3;
    }
}
