package d0.t; import d0.z.d.m; import java.util.Map; import java.util.NoSuchElementException; /* compiled from: MapWithDefault.kt */ public class f0 { public static final V getOrImplicitDefaultNullable(Map map, K k) { m.checkNotNullParameter(map, "$this$getOrImplicitDefault"); if (map instanceof e0) { return (V) ((e0) map).getOrImplicitDefault(k); } V v = (V) map.get(k); if (v != null || map.containsKey(k)) { return v; } throw new NoSuchElementException("Key " + ((Object) k) + " is missing in the map."); } }