apkfuckery/com.discord/smali/androidx/collection/LruCacheKt.smali
2020-07-08 16:44:49 +00:00

134 lines
3.4 KiB
Smali

.class public final Landroidx/collection/LruCacheKt;
.super Ljava/lang/Object;
.source "LruCache.kt"
# direct methods
.method public static final lruCache(ILkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;)Landroidx/collection/LruCache;
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(I",
"Lkotlin/jvm/functions/Function2<",
"-TK;-TV;",
"Ljava/lang/Integer;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-TK;+TV;>;",
"Lkotlin/jvm/functions/Function4<",
"-",
"Ljava/lang/Boolean;",
"-TK;-TV;-TV;",
"Lkotlin/Unit;",
">;)",
"Landroidx/collection/LruCache<",
"TK;TV;>;"
}
.end annotation
const/4 v0, 0x0
if-eqz p1, :cond_2
if-eqz p2, :cond_1
if-eqz p3, :cond_0
new-instance v0, Landroidx/collection/LruCacheKt$lruCache$4;
move-object v1, v0
move-object v2, p1
move-object v3, p2
move-object v4, p3
move v5, p0
move v6, p0
invoke-direct/range {v1 .. v6}, Landroidx/collection/LruCacheKt$lruCache$4;-><init>(Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;II)V
return-object v0
:cond_0
const-string p0, "onEntryRemoved"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_1
const-string p0, "create"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
:cond_2
const-string p0, "sizeOf"
invoke-static {p0}, Lj0/n/c/h;->c(Ljava/lang/String;)V
throw v0
.end method
.method public static synthetic lruCache$default(ILkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;ILjava/lang/Object;)Landroidx/collection/LruCache;
.locals 6
and-int/lit8 p5, p4, 0x2
if-eqz p5, :cond_0
sget-object p1, Landroidx/collection/LruCacheKt$lruCache$1;->INSTANCE:Landroidx/collection/LruCacheKt$lruCache$1;
:cond_0
move-object v1, p1
and-int/lit8 p1, p4, 0x4
if-eqz p1, :cond_1
sget-object p2, Landroidx/collection/LruCacheKt$lruCache$2;->INSTANCE:Landroidx/collection/LruCacheKt$lruCache$2;
:cond_1
move-object v2, p2
and-int/lit8 p1, p4, 0x8
if-eqz p1, :cond_2
sget-object p3, Landroidx/collection/LruCacheKt$lruCache$3;->INSTANCE:Landroidx/collection/LruCacheKt$lruCache$3;
:cond_2
move-object v3, p3
const-string p1, "sizeOf"
invoke-static {v1, p1}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "create"
invoke-static {v2, p1}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
const-string p1, "onEntryRemoved"
invoke-static {v3, p1}, Lj0/n/c/h;->checkParameterIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
new-instance p1, Landroidx/collection/LruCacheKt$lruCache$4;
move-object v0, p1
move v4, p0
move v5, p0
invoke-direct/range {v0 .. v5}, Landroidx/collection/LruCacheKt$lruCache$4;-><init>(Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function4;II)V
return-object p1
.end method