package G0;

import h1.C2069a;
import java.util.List;

/* JADX INFO: loaded from: classes.dex */
public final class Q extends I0.E {

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ J4.e f1927c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public Q(W w6, J4.e eVar, String str) {
        super(str);
        this.f1926b = w6;
        this.f1927c = eVar;
    }

    @Override // G0.InterfaceC0245a0
    /* JADX INFO: renamed from: measure-3p2s80s */
    public final InterfaceC0247b0 mo1measure3p2s80s(InterfaceC0249c0 interfaceC0249c0, List list, long j4) {
        W w6 = this.f1926b;
        h1.m layoutDirection = interfaceC0249c0.getLayoutDirection();
        O o6 = w6.f1943k;
        o6.f1917a = layoutDirection;
        o6.f1918b = interfaceC0249c0.a();
        o6.f1919c = interfaceC0249c0.T();
        boolean zU = interfaceC0249c0.U();
        J4.e eVar = this.f1927c;
        if (zU || w6.f1936a.l == null) {
            w6.f1939d = 0;
            InterfaceC0247b0 interfaceC0247b0 = (InterfaceC0247b0) eVar.invoke(o6, new C2069a(j4));
            return new P(interfaceC0247b0, w6, w6.f1939d, interfaceC0247b0, 1);
        }
        w6.f1940e = 0;
        InterfaceC0247b0 interfaceC0247b02 = (InterfaceC0247b0) eVar.invoke(w6.l, new C2069a(j4));
        return new P(interfaceC0247b02, w6, w6.f1940e, interfaceC0247b02, 0);
    }
}
