package s1;

import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import h2.p0;
import l1.i;

/* loaded from: classes.dex */
public final class x extends i.c implements j2.b0 {
    private dn.l C;

    /* loaded from: classes.dex */
    static final class a extends kotlin.jvm.internal.v implements dn.l {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ h2.p0 f35380p;

        /* renamed from: q, reason: collision with root package name */
        final /* synthetic */ x f35381q;

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        a(h2.p0 p0Var, x xVar) {
            super(1);
            this.f35380p = p0Var;
            this.f35381q = xVar;
        }

        public final void a(p0.a aVar) {
            p0.a.v(aVar, this.f35380p, 0, 0, BitmapDescriptorFactory.HUE_RED, this.f35381q.h2(), 4, null);
        }

        @Override // dn.l
        public /* bridge */ /* synthetic */ Object invoke(Object obj) {
            a((p0.a) obj);
            return rm.n0.f34904a;
        }
    }

    public x(dn.l lVar) {
        this.C = lVar;
    }

    @Override // l1.i.c
    public boolean M1() {
        return false;
    }

    @Override // j2.b0
    public h2.f0 h(h2.g0 g0Var, h2.d0 d0Var, long j10) {
        h2.p0 Y = d0Var.Y(j10);
        return h2.g0.j0(g0Var, Y.S0(), Y.F0(), null, new a(Y, this), 4, null);
    }

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

    public final void i2() {
        j2.z0 A2 = j2.k.h(this, j2.b1.a(2)).A2();
        if (A2 != null) {
            A2.o3(this.C, true);
        }
    }

    public final void j2(dn.l lVar) {
        this.C = lVar;
    }

    public String toString() {
        return "BlockGraphicsLayerModifier(block=" + this.C + ')';
    }
}
