package com.google.maps.android.compose;

import androidx.compose.runtime.Applier;
import androidx.compose.runtime.Composer;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: ReattachClickListeners.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\u001a\u0013\u0010\u0000\u001a\b\u0012\u0004\u0012\u00020\u00020\u0001H\u0007¢\u0006\u0002\u0010\u0003¨\u0006\u0004"}, d2 = {"rememberReattachClickListenersHandle", "Lkotlin/Function0;", "", "(Landroidx/compose/runtime/Composer;I)Lkotlin/jvm/functions/Function0;", "maps-compose_release"}, k = 2, mv = {2, 0, 0}, xi = 48)
public final class ReattachClickListenersKt {
    public static final Function0<Unit> rememberReattachClickListenersHandle(Composer composer, int i) {
        composer.startReplaceableGroup(1516905133);
        Applier<?> applier = composer.getApplier();
        Intrinsics.checkNotNull(applier, "null cannot be cast to non-null type com.google.maps.android.compose.MapApplier");
        final MapApplier mapApplier = (MapApplier) applier;
        composer.startReplaceableGroup(1901233450);
        boolean zChanged = composer.changed(mapApplier);
        Object objRememberedValue = composer.rememberedValue();
        if (zChanged || objRememberedValue == Composer.INSTANCE.getEmpty()) {
            objRememberedValue = new Function0() { // from class: com.google.maps.android.compose.ReattachClickListenersKt$$ExternalSyntheticLambda0
                @Override // kotlin.jvm.functions.Function0
                public final Object invoke() {
                    return ReattachClickListenersKt.rememberReattachClickListenersHandle$lambda$1$lambda$0(mapApplier);
                }
            };
            composer.updateRememberedValue(objRememberedValue);
        }
        Function0<Unit> function0 = (Function0) objRememberedValue;
        composer.endReplaceableGroup();
        composer.endReplaceableGroup();
        return function0;
    }

    /* JADX INFO: Access modifiers changed from: private */
    public static final Unit rememberReattachClickListenersHandle$lambda$1$lambda$0(MapApplier map) {
        Intrinsics.checkNotNullParameter(map, "$map");
        map.attachClickListeners$maps_compose_release();
        return Unit.INSTANCE;
    }
}