package com.google.maps.android.compose;

import androidx.compose.runtime.MutableState;
import androidx.compose.runtime.SnapshotStateKt__SnapshotStateKt;
import com.google.android.gms.maps.model.TileOverlay;
import kotlin.Metadata;

/* JADX INFO: compiled from: TileOverlay.kt */
/* JADX INFO: loaded from: classes2.dex */
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u0002\n\u0000\b\u0007\u0018\u00002\u00020\u0001B\t\b\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0006\u0010\r\u001a\u00020\u000eR/\u0010\u0006\u001a\u0004\u0018\u00010\u00052\b\u0010\u0004\u001a\u0004\u0018\u00010\u00058@@@X\u0080\u008e\u0002¢\u0006\u0012\n\u0004\b\u000b\u0010\f\u001a\u0004\b\u0007\u0010\b\"\u0004\b\t\u0010\n¨\u0006\u000f"}, d2 = {"Lcom/google/maps/android/compose/TileOverlayState;", "", "<init>", "()V", "<set-?>", "Lcom/google/android/gms/maps/model/TileOverlay;", "tileOverlay", "getTileOverlay$maps_compose_release", "()Lcom/google/android/gms/maps/model/TileOverlay;", "setTileOverlay$maps_compose_release", "(Lcom/google/android/gms/maps/model/TileOverlay;)V", "tileOverlay$delegate", "Landroidx/compose/runtime/MutableState;", "clearTileCache", "", "maps-compose_release"}, k = 1, mv = {2, 0, 0}, xi = 48)
public final class TileOverlayState {
    public static final int $stable = 0;

    /* JADX INFO: renamed from: tileOverlay$delegate, reason: from kotlin metadata */
    private final MutableState tileOverlay = SnapshotStateKt__SnapshotStateKt.mutableStateOf$default(null, null, 2, null);

    /* JADX WARN: Multi-variable type inference failed */
    public final TileOverlay getTileOverlay$maps_compose_release() {
        return (TileOverlay) this.tileOverlay.getValue();
    }

    public final void setTileOverlay$maps_compose_release(TileOverlay tileOverlay) {
        this.tileOverlay.setValue(tileOverlay);
    }

    public final void clearTileCache() {
        TileOverlay tileOverlay$maps_compose_release = getTileOverlay$maps_compose_release();
        if (tileOverlay$maps_compose_release == null) {
            throw new IllegalStateException("This TileOverlayState is not used in any TileOverlay".toString());
        }
        tileOverlay$maps_compose_release.clearTileCache();
    }
}