package G0;

import androidx.compose.runtime.collection.MutableVector;
import java.util.List;
import java.util.Map;

/* JADX INFO: loaded from: classes.dex */
public final class L implements C0, InterfaceC0249c0 {

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

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

    public L(W w6) {
        this.f1890b = w6;
        this.f1889a = w6.f1943k;
    }

    @Override // h1.c
    public final long I(float f6) {
        return this.f1889a.I(f6);
    }

    @Override // h1.c
    public final float L(int i6) {
        return this.f1889a.L(i6);
    }

    @Override // h1.c
    public final float N(float f6) {
        return f6 / this.f1889a.a();
    }

    @Override // h1.c
    public final float T() {
        return this.f1889a.f1919c;
    }

    @Override // G0.InterfaceC0274t
    public final boolean U() {
        return this.f1889a.U();
    }

    @Override // h1.c
    public final float Y(float f6) {
        return this.f1889a.a() * f6;
    }

    @Override // h1.c
    public final float a() {
        return this.f1889a.f1918b;
    }

    @Override // G0.InterfaceC0249c0
    public final InterfaceC0247b0 e(int i6, int i7, Map map, J4.c cVar) {
        return this.f1889a.p(i6, i7, map, null, cVar);
    }

    @Override // h1.c
    public final int g0(float f6) {
        return this.f1889a.g0(f6);
    }

    @Override // G0.InterfaceC0274t
    public final h1.m getLayoutDirection() {
        return this.f1889a.f1917a;
    }

    @Override // G0.C0
    public final List j(Object obj, J4.e eVar) {
        W w6 = this.f1890b;
        I0.H h5 = (I0.H) w6.f1942j.d(obj);
        I0.H h6 = w6.f1936a;
        if (h5 != null && h6.m().indexOf(h5) < w6.f1939d) {
            return h5.k();
        }
        MutableVector mutableVector = w6.f1947p;
        if (mutableVector.getSize() < w6.f1940e) {
            F0.a.a("Error: currentApproachIndex cannot be greater than the size of theapproachComposedSlotIds list.");
        }
        n.N n6 = w6.f1942j;
        I0.H h7 = (I0.H) n6.d(obj);
        int size = mutableVector.getSize();
        int i6 = w6.f1940e;
        if (size == i6) {
            mutableVector.add(obj);
        } else {
            mutableVector.set(i6, obj);
        }
        w6.f1940e++;
        n.N n7 = w6.f1944m;
        boolean zA = n7.a(obj);
        n.N n8 = w6.f1946o;
        if (zA || h7 != null) {
            if (!zA && h7 != null) {
                w6.h(h6.m().indexOf(h7), h6.m().size());
                w6.f1949r++;
                n6.j(obj);
                n7.l(obj, h7);
                n8.l(obj, w6.d(obj));
                if (h6.F()) {
                    w6.f();
                }
            }
            I0.H h8 = (I0.H) n7.d(obj);
            M m6 = h8 != null ? (M) w6.f1941f.d(h8) : null;
            if (m6 != null && m6.f1905d) {
                w6.k(h8, obj, false, eVar);
            }
            if ((m6 != null ? m6.f1907f : null) != null) {
                w6.b(m6, true);
            }
        } else {
            w6.i(obj, eVar, false);
            n8.l(obj, w6.d(obj));
        }
        I0.H h9 = (I0.H) n7.d(obj);
        if (h9 == null) {
            return x4.y.f26065a;
        }
        List listV0 = h9.f2163K.f2227p.v0();
        int size2 = listV0.size();
        for (int i7 = 0; i7 < size2; i7++) {
            ((I0.Y) listV0.get(i7)).f2313f.f2214b = true;
        }
        return listV0;
    }

    @Override // h1.c
    public final long k0(long j4) {
        return this.f1889a.k0(j4);
    }

    @Override // h1.c
    public final long n(float f6) {
        return this.f1889a.n(f6);
    }

    @Override // h1.c
    public final long o(long j4) {
        return this.f1889a.o(j4);
    }

    @Override // h1.c
    public final float o0(long j4) {
        return this.f1889a.o0(j4);
    }

    @Override // G0.InterfaceC0249c0
    public final InterfaceC0247b0 p(int i6, int i7, Map map, C0.Z z6, J4.c cVar) {
        return this.f1889a.p(i6, i7, map, z6, cVar);
    }

    @Override // h1.c
    public final float v(long j4) {
        return this.f1889a.v(j4);
    }
}
