package o;

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

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ long f819o;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C3067z6(A6 a6, long j, int i) {
        super(1);
        this.m = i;
        this.n = a6;
        this.f819o = j;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        long j;
        InterfaceC3052yy interfaceC3052yy;
        long j2;
        switch (this.m) {
            case 0:
                InterfaceC2544tg0 interfaceC2544tg0 = (InterfaceC2544tg0) obj;
                Object objB = interfaceC2544tg0.b();
                A6 a6 = this.n;
                if (F3.c(objB, a6.B.b())) {
                    j = C1470iI.a(a6.C, androidx.compose.animation.a.a) ? this.f819o : a6.C;
                } else {
                    InterfaceC3007ya0 interfaceC3007ya0 = (InterfaceC3007ya0) a6.B.c.g(interfaceC2544tg0.b());
                    j = interfaceC3007ya0 != null ? ((C1470iI) interfaceC3007ya0.getValue()).a : 0L;
                }
                InterfaceC3007ya0 interfaceC3007ya02 = (InterfaceC3007ya0) a6.B.c.g(interfaceC2544tg0.c());
                long j3 = interfaceC3007ya02 != null ? ((C1470iI) interfaceC3007ya02.getValue()).a : 0L;
                C0695a90 c0695a90 = (C0695a90) a6.A.getValue();
                return (c0695a90 == null || (interfaceC3052yy = (InterfaceC3052yy) c0695a90.a.f(new C1470iI(j), new C1470iI(j3))) == null) ? IJ.G(0.0f, 400.0f, null, 5) : interfaceC3052yy;
            default:
                A6 a62 = this.n;
                if (F3.c(obj, a62.B.b())) {
                    j2 = C1470iI.a(a62.C, androidx.compose.animation.a.a) ? this.f819o : a62.C;
                } else {
                    InterfaceC3007ya0 interfaceC3007ya03 = (InterfaceC3007ya0) a62.B.c.g(obj);
                    j2 = interfaceC3007ya03 != null ? ((C1470iI) interfaceC3007ya03.getValue()).a : 0L;
                }
                return new C1470iI(j2);
        }
    }
}
