package androidx.compose.foundation;

import j2.s1;
import kotlin.jvm.internal.v;
import l1.i;
import o2.s;
import o2.u;

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes.dex */
public final class n extends i.c implements s1 {
    private o C;
    private boolean D;
    private b0.n E;
    private boolean F;
    private boolean G;

    /* loaded from: classes.dex */
    static final class a extends v implements dn.a {
        a() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Float invoke() {
            return Float.valueOf(n.this.h2().m());
        }
    }

    /* loaded from: classes.dex */
    static final class b extends v implements dn.a {
        b() {
            super(0);
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public final Float invoke() {
            return Float.valueOf(n.this.h2().l());
        }
    }

    public n(o oVar, boolean z10, b0.n nVar, boolean z11, boolean z12) {
        this.C = oVar;
        this.D = z10;
        this.E = nVar;
        this.F = z11;
        this.G = z12;
    }

    @Override // j2.s1
    public void B0(u uVar) {
        s.s0(uVar, true);
        o2.g gVar = new o2.g(new a(), new b(), this.D);
        if (this.G) {
            s.u0(uVar, gVar);
        } else {
            s.c0(uVar, gVar);
        }
    }

    public final o h2() {
        return this.C;
    }

    public final void i2(b0.n nVar) {
        this.E = nVar;
    }

    public final void j2(boolean z10) {
        this.D = z10;
    }

    public final void k2(boolean z10) {
        this.F = z10;
    }

    public final void l2(o oVar) {
        this.C = oVar;
    }

    public final void m2(boolean z10) {
        this.G = z10;
    }
}
