package androidx.collection; import kotlin.jvm.functions.Function1; import kotlin.jvm.functions.Function2; import kotlin.jvm.functions.Function4; import kotlin.jvm.internal.Intrinsics; import kotlin.jvm.internal.SourceDebugExtension; /* JADX INFO: Add missing generic type declarations: [V, K] */ @SourceDebugExtension({"SMAP\nLruCache.kt\nKotlin\n*S Kotlin\n*F\n+ 1 LruCache.kt\nandroidx/collection/LruCacheKt$lruCache$4\n*L\n1#1,355:1\n*E\n"}) /* loaded from: classes.dex */ public final class LruCacheKt$lruCache$4 extends LruCache { final /* synthetic */ Function1 $create; final /* synthetic */ Function4 $onEntryRemoved; final /* synthetic */ Function2 $sizeOf; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public LruCacheKt$lruCache$4(int i, Function2 function2, Function1 function1, Function4 function4) { super(i); this.$sizeOf = function2; this.$create = function1; this.$onEntryRemoved = function4; } @Override // androidx.collection.LruCache public int sizeOf(K key, V value) { Intrinsics.checkNotNullParameter(key, "key"); Intrinsics.checkNotNullParameter(value, "value"); return ((Number) this.$sizeOf.invoke(key, value)).intValue(); } @Override // androidx.collection.LruCache public V create(K key) { Intrinsics.checkNotNullParameter(key, "key"); return (V) this.$create.invoke(key); } @Override // androidx.collection.LruCache public void entryRemoved(boolean z, K key, V oldValue, V v) { Intrinsics.checkNotNullParameter(key, "key"); Intrinsics.checkNotNullParameter(oldValue, "oldValue"); this.$onEntryRemoved.invoke(Boolean.valueOf(z), key, oldValue, v); } }