package androidx.collection; import kotlin.Unit; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.functions.Function4; import kotlin.jvm.internal.Intrinsics; /* loaded from: classes.dex */ public final class LruCacheKt { public static /* synthetic */ LruCache lruCache$default(int i, Function2 sizeOf, Function1 create, Function4 onEntryRemoved, int i2, Object obj) { if ((i2 & 2) != 0) { sizeOf = new Function2() { // from class: androidx.collection.LruCacheKt$lruCache$1 @Override // kotlin.jvm.functions.Function2 public final Integer invoke(Object obj2, Object obj3) { Intrinsics.checkNotNullParameter(obj2, ""); Intrinsics.checkNotNullParameter(obj3, ""); return 1; } }; } if ((i2 & 4) != 0) { create = new Function1() { // from class: androidx.collection.LruCacheKt$lruCache$2 @Override // kotlin.jvm.functions.Function1 public final Object invoke(Object it) { Intrinsics.checkNotNullParameter(it, "it"); return null; } }; } if ((i2 & 8) != 0) { onEntryRemoved = new Function4() { // from class: androidx.collection.LruCacheKt$lruCache$3 public final void invoke(boolean z, Object obj2, Object obj3, Object obj4) { Intrinsics.checkNotNullParameter(obj2, ""); Intrinsics.checkNotNullParameter(obj3, ""); } @Override // kotlin.jvm.functions.Function4 public /* bridge */ /* synthetic */ Object invoke(Object obj2, Object obj3, Object obj4, Object obj5) { invoke(((Boolean) obj2).booleanValue(), obj3, obj4, obj5); return Unit.INSTANCE; } }; } Intrinsics.checkNotNullParameter(sizeOf, "sizeOf"); Intrinsics.checkNotNullParameter(create, "create"); Intrinsics.checkNotNullParameter(onEntryRemoved, "onEntryRemoved"); return new LruCacheKt$lruCache$4(i, sizeOf, create, onEntryRemoved); } public static final LruCache lruCache(int i, Function2 sizeOf, Function1 create, Function4 onEntryRemoved) { Intrinsics.checkNotNullParameter(sizeOf, "sizeOf"); Intrinsics.checkNotNullParameter(create, "create"); Intrinsics.checkNotNullParameter(onEntryRemoved, "onEntryRemoved"); return new LruCacheKt$lruCache$4(i, sizeOf, create, onEntryRemoved); } }