package com.google.maps.android.compose;

import androidx.compose.foundation.layout.PaddingValues;
import androidx.compose.ui.unit.Density;
import com.google.android.gms.maps.GoogleMap;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: MapUpdater.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(k = 3, mv = {2, 0, 0}, xi = 176)
public final class MapUpdaterKt$MapUpdater$2$14 implements Function2<MapPropertiesNode, PaddingValues, Unit> {
    final /* synthetic */ GoogleMap $map;

    public MapUpdaterKt$MapUpdater$2$14(GoogleMap googleMap) {
        this.$map = googleMap;
    }

    @Override // kotlin.jvm.functions.Function2
    public /* bridge */ /* synthetic */ Unit invoke(MapPropertiesNode mapPropertiesNode, PaddingValues paddingValues) {
        invoke2(mapPropertiesNode, paddingValues);
        return Unit.INSTANCE;
    }

    /* JADX INFO: renamed from: invoke, reason: avoid collision after fix types in other method */
    public final void invoke2(MapPropertiesNode set, PaddingValues it) {
        Intrinsics.checkNotNullParameter(set, "$this$set");
        Intrinsics.checkNotNullParameter(it, "it");
        Density density = set.getDensity();
        this.$map.setPadding(density.mo413roundToPx0680j_4(it.mo776calculateLeftPaddingu2uoSUM(set.getLayoutDirection())), density.mo413roundToPx0680j_4(it.getTop()), density.mo413roundToPx0680j_4(it.mo777calculateRightPaddingu2uoSUM(set.getLayoutDirection())), density.mo413roundToPx0680j_4(it.getBottom()));
    }
}